Env particle tesla: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|Particle Name|intn=particletesla|particlesystem|Particle name to use for the beams.}}
{{KV|Particle Name|intn=particletesla|particlesystem|Particle name to use for the beams.}}
{{KV|Spawn Frequency|intn=frequency|float|Spawn frequency for beams.}}
{{KV|Spawn Frequency|intn=frequency|float|Spawn frequency for beams.}}
Line 12: Line 13:
{{KV|Maxs|intn=max|vector|Maximum beam spread value.}}
{{KV|Maxs|intn=max|vector|Maximum beam spread value.}}
{{KV|Decal Name|intn=decalname|string|Decal to be applied at the end of the beams.}}
{{KV|Decal Name|intn=decalname|string|Decal to be applied at the end of the beams.}}
{{KV BaseEntity|base=1}}


==Flags==
==Flags==
Line 19: Line 19:


==Inputs==
==Inputs==
{{IO|TurnOn|param=void|Turns entity on.}}
{{I|TurnOn|param=void|Turns entity on.}}
{{IO|TurnOff|param=void|Turns entity off.}}
{{I|TurnOff|param=void|Turns entity off.}}
{{I BaseEntity|base=1}}
 
==Outputs==
{{IO|TurnOn|param=void|Turns entity on.}}
{{IO|TurnOff|param=void|Turns entity off.}}
{{O BaseEntity|}}


==See also==
==See also==
*{{ent|env_particle_beam}}
*{{ent|env_particle_beam}}

Revision as of 18:03, 25 September 2024

Activated particle tesla that uses tesla_lc_beams particle system.

env_particle_tesla is a point entity available in Black Mesa Black Mesa. Similar to point_tesla, but uses particles for beams.

Keyvalues

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

Particle Name (particletesla) <particlesystem>
Particle name to use for the beams.
Spawn Frequency (frequency) <float>
Spawn frequency for beams.
Min Spawn Count (mincount) <integer>
Minimum count of beams.
Max Spawn Count (maxcount) <integer>
Maximum count of beams.
Range (range) <integer>
Max beam range.
System Life (life) <float>
Number of seconds before it turns itself off. Will never turn off self with -1.
Mins (min) <vector>
Minimum beam spread value.
Maxs (max) <vector>
Maximum beam spread value.
Decal Name (decalname) <string>
Decal to be applied at the end of the beams.

Flags

Start On : [1]
If checked, entity turns on when spawned.
Normalize Mins & Max : [2]
Normalizes Mins and Maxs properties.

Inputs

TurnOn <void>
Turns entity on.
TurnOff <void>
Turns entity off.

See also