Info particle system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-more con)
(-more concise page, added info_particle_target to see also)
Line 18: Line 18:


== See Also ==
== See Also ==
* [[info_particle_target]]
* [[:Category:Particle Effects]]
* [[:Category:Particle Effects]]
* [[:Category:Particle System]].
* [[:Category:Particle System]].


[[Category:Particle System]]
[[Category:Particle System]]

Revision as of 01:57, 23 October 2022

English (en)Translate (Translate)

Template:Base point It dispatches and offers some control over a specified particle system.

Keyvalues

Particle System Name (effect_name) <string>
The name of the particle system to spawn. NOT the name of a PCF file!
Start Active? (start_active) <boolean>
Whether the particle system should begin as soon as the entity spawns.
Flag as Weather? (flag_as_weather) <boolean> (in all games since Source 2009)
Is this particle system going to be used as a weather effect? If so the particle system will not be rendered if the user has disabled weather effects.
Render in front? (render_in_front) <boolean> (only in Left 4 Dead 2)
Hack to allow particles to render in front of everything else.
Control Point 1 (cpoint1) to Control Point 63 (cpoint63) <targetname>
Parents a control point to the given entity's origin. If any value is left blank all those following it will be ignored.
Tip.pngTip:Control point 0(1) is the origin of the info_particle_system itself.
Note.pngNote:Because the control point is configured on the client, the entity you specify must exist there. This means that most invisible entities (info_target is an exception, as it has the "Transmit to client" spawnflag) will not work. Your best bet is an info_particle_system, e.g. itself or another one with blank particle name.
Control Point 1's Parent (cpoint1_parent) to Control Point 7's Parent (cpoint7_parent) <integer>
The control point to act as a parent to this one.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Start
Stop
Tell the particle system to start/stop emitting.
Note.pngNote:To forcibly restart an effect, you must fire Stop first. Start has no effect if the server thinks the system is already running.
DestroyImmediately  (in all games since Portal 2) (also in Mapbase)
Particle System disappears immediately instead of fading out
StopPlayEndCap  (in all games since Portal 2)
Seems to be the same as stop

See Also