Env spark: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Icon & formatting)
m (Removed non-relevant web page link.)
Line 68: Line 68:
==External links==
==External links==


*[http://www.akilling.org/akg/tutorials/wiseElec.asp Shocking]
 


[[Category:Entities]]
[[Category:Entities]]
[[Category:Special Effects]]
[[Category:Special Effects]]

Revision as of 19:08, 24 September 2007

Template:Wrongtitle

env_spark with directional, glowing medium sized sparks

Entity Description

Env spark.png

An entity used to create sparks at its origin.

Note.pngNote: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