ParticleTemplates: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "{{HashLink" to "{{Link") |
Lou Montana (talk | contribs) m (Text replacement - "[[Image:" to "[[File:") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
== BIS Burning Vehicle Fire Look-Alike == | == BIS Burning Vehicle Fire Look-Alike == | ||
[[ | [[File:PE_BurningVehicleLookAlike.jpg|left|100px]] | ||
This one requires 3 particle sources, 1 for the fire and 2 smokes. They should all be attached to the same object. | This one requires 3 particle sources, 1 for the fire and 2 smokes. They should all be attached to the same object. | ||
Line 44: | Line 44: | ||
== Fire == | == Fire == | ||
[[ | [[File:PE fire.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_PS setParticleCircle [0, [0, 0, 0]]; | _PS setParticleCircle [0, [0, 0, 0]]; | ||
_PS setParticleRandom [0.2, [ 1, 1, 0], [2, 2, 1], 0.2, 0.2, [0, 0, 0, 0], 0, 0]; | _PS setParticleRandom [0.2, [1, 1, 0], [2, 2, 1], 0.2, 0.2, [0, 0, 0, 0], 0, 0]; | ||
_PS setDropInterval 0.05; | _PS setDropInterval 0.05; | ||
_PS setParticleParams [["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim", 8, 2, 7], "", "Billboard", 1, 1, [random 0.5, random 0.5, 0], [0, 0, 2], 1, 1, 0.9, 0.3, [4,6],[[1,1,1,0.7],[1,1,1,0.5],[1,1,1,0]], [0,1], 1, 1, "", "", _obj]; | _PS setParticleParams [["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim", 8, 2, 7], "", "Billboard", 1, 1, [random 0.5, random 0.5, 0], [0, 0, 2], 1, 1, 0.9, 0.3, [4,6],[[1,1,1,0.7],[1,1,1,0.5],[1,1,1,0]], [0,1], 1, 1, "", "", _obj]; | ||
Line 59: | Line 59: | ||
_PS1 setParticleParams [["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim", 8, 2, 1], "", "Billboard", 1, 2, [0, random 0.5, random 1], [0, 0, 1], 10, 1, 0.9, 0.3, [1],[[1,1,1,0.5],[1,1,1,0.2],[1,1,1,0]], [0.5,0.5,0], 1, 1, "", "", _obj]; | _PS1 setParticleParams [["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim", 8, 2, 1], "", "Billboard", 1, 2, [0, random 0.5, random 1], [0, 0, 1], 10, 1, 0.9, 0.3, [1],[[1,1,1,0.5],[1,1,1,0.2],[1,1,1,0]], [0.5,0.5,0], 1, 1, "", "", _obj]; | ||
</sqf> | </sqf> | ||
Contributor: '''Lost [OTK]''' (simplified, full version | Contributor: '''Lost [OTK]''' (simplified, full version {{Link|http://www.flashpoint.ru/forum/archive/index.php/t-43552.html|here}}) | ||
{{Clear}} | {{Clear}} | ||
== Floating orb == | == Floating orb == | ||
[[ | [[File:PE_FloatingOrb.jpg|left|100px]] | ||
(this one is actually pretty useful for figuring out the shapename and associated numbers you want) | (this one is actually pretty useful for figuring out the shapename and associated numbers you want) | ||
<sqf> | <sqf> | ||
Line 78: | Line 78: | ||
== Heavy Oily Smoke Small == | == Heavy Oily Smoke Small == | ||
[[ | [[File:PE_HeavyOilySmokeSmall.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_ps setParticleCircle [0, [0, 0, 0]]; | _ps setParticleCircle [0, [0, 0, 0]]; | ||
Line 91: | Line 91: | ||
== Heavy Oily Smoke Medium == | == Heavy Oily Smoke Medium == | ||
[[ | [[File:PE_HeavyOilySmokeMedium.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_ps setParticleCircle [0, [0, 0, 0]]; | _ps setParticleCircle [0, [0, 0, 0]]; | ||
Line 104: | Line 104: | ||
== Heavy Oily Smoke Large == | == Heavy Oily Smoke Large == | ||
[[ | [[File:PE_HeavyOilySmokeLarge.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_ps setParticleCircle [0, [0, 0, 0]]; | _ps setParticleCircle [0, [0, 0, 0]]; | ||
Line 117: | Line 117: | ||
== Light Wood Smoke Small == | == Light Wood Smoke Small == | ||
[[ | [[File:PE_LightWoodSmokeSmall.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_ps setParticleCircle [0, [0, 0, 0]]; | _ps setParticleCircle [0, [0, 0, 0]]; | ||
Line 130: | Line 130: | ||
== Light Wood Smoke Medium == | == Light Wood Smoke Medium == | ||
[[ | [[File:PE_LightWoodSmokeMedium.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_ps setParticleCircle [0, [0, 0, 0]]; | _ps setParticleCircle [0, [0, 0, 0]]; | ||
Line 143: | Line 143: | ||
== Light Wood Smoke Large == | == Light Wood Smoke Large == | ||
[[ | [[File:PE_LightWoodSmokeLarge.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_ps setParticleCircle [0, [0, 0, 0]]; | _ps setParticleCircle [0, [0, 0, 0]]; | ||
Line 156: | Line 156: | ||
== Mixed Smoke Small == | == Mixed Smoke Small == | ||
[[ | [[File:PE_MixedSmokeSmall.jpg|left|100px]] | ||
This one requires 2 particle sources, both smokes. They should both be attached to the same object. | This one requires 2 particle sources, both smokes. They should both be attached to the same object. | ||
<sqf> | <sqf> | ||
Line 176: | Line 176: | ||
== Mixed Smoke Medium == | == Mixed Smoke Medium == | ||
[[ | [[File:PE_MixedSmokeMedium.jpg|left|100px]] | ||
This one requires 2 particle sources, both smokes. They should both be attached to the same object. | This one requires 2 particle sources, both smokes. They should both be attached to the same object. | ||
<sqf> | <sqf> | ||
Line 196: | Line 196: | ||
== Mixed Smoke Large == | == Mixed Smoke Large == | ||
[[ | [[File:PE_MixedSmokeLarge.jpg|left|100px]] | ||
This one requires 2 particle sources, both smokes. They should both be attached to the same object. | This one requires 2 particle sources, both smokes. They should both be attached to the same object. | ||
<sqf> | <sqf> | ||
Line 216: | Line 216: | ||
== Rock Shower == | == Rock Shower == | ||
[[ | [[File:PE_RockShower.jpg|left|100px]] | ||
<sqf> | <sqf> | ||
_PS setParticleCircle [0, [0, 0, 0]]; | _PS setParticleCircle [0, [0, 0, 0]]; |
Latest revision as of 23:09, 20 November 2023
Listed on this page are several basic particle effects, that can be used as they are, or as templates for further customization.
To use these examples a variable named _OBJ has to exist, which points to an in-game object (a Game Logic, for example) to define the location of the effect.
In addition, a particle source has to be defined:
After this the following commands can then be used.
BIS Burning Vehicle Fire Look-Alike
This one requires 3 particle sources, 1 for the fire and 2 smokes. They should all be attached to the same object.
Fire:
Smoke Part 1:
Smoke Part 2:
Contributor: ColonelSandersLite
Fire
Contributor: Lost [OTK] (simplified, full version here)
Floating orb
(this one is actually pretty useful for figuring out the shapename and associated numbers you want)
Contributor: ColonelSandersLite
Heavy Oily Smoke Small
Contributor: ColonelSandersLite
Heavy Oily Smoke Medium
Contributor: ColonelSandersLite
Heavy Oily Smoke Large
Contributor: ColonelSandersLite
Light Wood Smoke Small
Contributor: ColonelSandersLite
Light Wood Smoke Medium
Contributor: ColonelSandersLite
Light Wood Smoke Large
Contributor: ColonelSandersLite
Mixed Smoke Small
This one requires 2 particle sources, both smokes. They should both be attached to the same object.
Contributor: ColonelSandersLite
Mixed Smoke Medium
This one requires 2 particle sources, both smokes. They should both be attached to the same object.
Contributor: ColonelSandersLite
Mixed Smoke Large
This one requires 2 particle sources, both smokes. They should both be attached to the same object.
Contributor: ColonelSandersLite
Rock Shower
Contributor: ColonelSandersLite