Point tesla: Difference between revisions
Jump to navigation
Jump to search
(bot-assisted creation) |
m (→Keyvalues) |
||
Line 11: | Line 11: | ||
*{{kv Targetname}} | *{{kv Targetname}} | ||
*'''m_SourceEntityName''' | *'''m_SourceEntityName''' | ||
:< | :<target_destination> If specified, tesla lightning will originate from the specified entity. Otherwise, they originate from this entity. | ||
*'''m_SoundName''' | *'''m_SoundName''' | ||
:< | :<sound> Sound to be played whenever lightning is created. | ||
*'''texture''' | *'''texture''' | ||
:<sprite> Material to use for the tesla lightning beams. | :<sprite> Material to use for the tesla lightning beams. (sprites/physbeam.vmt) | ||
*'''m_Color''' | *'''m_Color''' | ||
:<color255> Color. | :<color255> Color. | ||
*'''m_flRadius''' | *'''m_flRadius''' | ||
:<integer> Radius around the origin to find a point to strike with a tesla lightning beam. | :<integer> Radius around the origin to find a point to strike with a tesla lightning beam. | ||
*'''beamcount_min''' | *'''beamcount_min''' | ||
:<integer> Minimum number of tesla lightning beams to create when creating an arc. | :<integer> Minimum number of tesla lightning beams to create when creating an arc. | ||
*'''beamcount_max''' | *'''beamcount_max''' | ||
:<integer> Maximum number of tesla lightning beams to create when creating an arc. | :<integer> Maximum number of tesla lightning beams to create when creating an arc. | ||
*'''thick_min''' | *'''thick_min''' | ||
:< | :<float> Minimum width of the tesla lightning beams. | ||
*'''thick_max''' | *'''thick_max''' | ||
:< | :<float> Maximum width of the tesla lightning beams. | ||
*'''lifetime_min''' | *'''lifetime_min''' | ||
:< | :<float> Minimum lifetime of the tesla lightning beams. | ||
*'''lifetime_max''' | *'''lifetime_max''' | ||
:< | :<float> Maximum lifetime of the tesla lightning beams. | ||
*'''interval_min''' | *'''interval_min''' | ||
:< | :<float> Minimum time delay between random arcing. | ||
*'''interval_max''' | *'''interval_max''' | ||
:< | :<float> Maximum time delay between random arcing. | ||
==Inputs== | ==Inputs== |
Revision as of 12:57, 8 October 2005
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
- <target_destination> If specified, tesla lightning will originate from the specified entity. Otherwise, they originate from this entity.
- m_SoundName
- <sound> Sound to be played whenever lightning is created.
- texture
- <sprite> Material to use for the tesla lightning beams. (sprites/physbeam.vmt)
- m_Color
- <color255> Color.
- m_flRadius
- <integer> Radius around the origin to find a point to strike with a tesla lightning beam.
- beamcount_min
- <integer> Minimum number of tesla lightning beams to create when creating an arc.
- beamcount_max
- <integer> Maximum number of tesla lightning beams to create when creating an arc.
- thick_min
- <float> Minimum width of the tesla lightning beams.
- thick_max
- <float> Maximum width of the tesla lightning beams.
- lifetime_min
- <float> Minimum lifetime of the tesla lightning beams.
- lifetime_max
- <float> Maximum lifetime of the tesla lightning beams.
- interval_min
- <float> Minimum time delay between random arcing.
- interval_max
- <float> Maximum time delay between random arcing.
Inputs
- TurnOn
- Turn emitter on.
- TurnOff
- Turn emitter off.
- DoSpark
- Force a single arc.