Point tesla
Jump to navigation
Jump to search
Entity Description
An entity that creates tesla lightning arcs around its origin.
Availability
Template:In game Template:Game-base Template:In code
Keyvalues
- Template:Kv Targetname
- m_SourceEntityName
- <string> If specified, tesla lightning will originate from the specified entity. Otherwise, they originate from this entity.
- m_SoundName
- <string> Sound to be played whenever lightning is created. Default: DoSpark
- texture
- <sprite> Material to use for the tesla lightning beams. Default: sprites/physbeam.vmt
- m_Color
- <color255> Color. Default: 255 255 255
- m_flRadius
- <integer> Radius around the origin to find a point to strike with a tesla lightning beam. Default: 200
- beamcount_min
- <integer> Minimum number of tesla lightning beams to create when creating an arc. Default: 6
- beamcount_max
- <integer> Maximum number of tesla lightning beams to create when creating an arc. Default: 8
- thick_min
- <string> Minimum width of the tesla lightning beams. Default: 4
- thick_max
- <string> Maximum width of the tesla lightning beams. Default: 5
- lifetime_min
- <string> Minimum lifetime of the tesla lightning beams. Default: 0.3
- lifetime_max
- <string> Maximum lifetime of the tesla lightning beams. Default: 0.3
- interval_min
- <string> Minimum time delay between random arcing. Default: 0.5
- interval_max
- <string> Maximum time delay between random arcing. Default: 2
Inputs
- TurnOn
- Turn emitter on.
- TurnOff
- Turn emitter off.
- DoSpark
- Force a single arc.