Env spark: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (ext link to AKG tut)
No edit summary
Line 1: Line 1:
{{wrongtitle|title=env_spark}}
{{wrongtitle|title=env_spark}}
[[Image:env_spark.jpg|thumb|300px|right|env_spark with directional, glowing medium sized sparks]]
==Entity Description==
==Entity Description==
An entity used to create sparks at its origin.
An entity used to create sparks at its origin.
==Notes==
* By default, the sparks jump up a bit from the origin of the entity, so if you are attempting to create a situation like in the picture on the right, you must use the '''Directional''' flag and direct the entity downwards.
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* {{kv parentname}}
* {{kv parentname}}
Line 32: Line 42:
| 3 || Long
| 3 || Long
|}
|}
==Flags==
==Flags==
* 64 : Start ON
* 64 : Start ON
* 128 : Glow
* 128 : Glow
* 256 : Silent
* 256 : Silent
* 512 : Directional
* 512 : Directional
==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}
* {{i parentname}}
* {{i parentname}}
Line 48: Line 62:
* '''SparkOnce'''
* '''SparkOnce'''
: Spark once.
: Spark once.
==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}
==External links==
==External links==
*[http://www.akilling.org/akg/tutorials/wiseElec.asp Shocking]
*[http://www.akilling.org/akg/tutorials/wiseElec.asp Shocking]
[[Category:Entities]]
[[Category:Entities]]
[[Category:Special Effects]]

Revision as of 14:23, 5 March 2006

Template:Wrongtitle

env_spark with directional, glowing medium sized sparks

Entity Description

An entity used to create sparks at its origin.

Notes

  • By default, the sparks jump up a bit from the origin of the entity, so if you are attempting to create a situation like in the picture on the right, you must use the Directional flag and direct the entity downwards.

Keyvalues

<integer> The longest delay between sparks (in seconds).
  • Magnitude
<integer> The size of the sparks. Feel free to try other values than the following:
Literal Value Description
1 Small
2 Medium
5 Large
8 Huge
  • TrailLength
<choices> Spark Trail Length
Literal Value Description
1 Short
2 Medium
3 Long

Flags

  • 64 : Start ON
  • 128 : Glow
  • 256 : Silent
  • 512 : Directional

Inputs

Start the spark effect.
  • StopSpark
Stop the spark effect.
  • ToggleSpark
Toggle the on/off state of the spark effect.
  • SparkOnce
Spark once.

Outputs

External links