Env particle tesla: Difference between revisions
Jump to navigation
Jump to search
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) (→Inputs) |
||
Line 21: | Line 21: | ||
{{I|TurnOn|param=void|Turns entity on.}} | {{I|TurnOn|param=void|Turns entity on.}} | ||
{{I|TurnOff|param=void|Turns entity off.}} | {{I|TurnOff|param=void|Turns entity off.}} | ||
==Outputs== | |||
{{I|OnTurnOn|param=void|Fires via TurnOn input.}} | |||
{{I|OnTurnOff|param=void|Fires via TurnOff input.}} | |||
==See also== | ==See also== | ||
*{{ent|env_particle_beam}} | *{{ent|env_particle_beam}} |
Latest revision as of 15:28, 7 October 2025
![]() |
---|
CEnv_ParticleTesla |
env_particle_tesla
is a point entity available in Black Mesa. Similar to point_tesla, but uses particles for beams.
Keyvalues
- 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.
Outputs
- OnTurnOn <void>
- Fires via TurnOn input.
- OnTurnOff <void>
- Fires via TurnOff input.