Env spark: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(spam removed)
(Icon & formatting)
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]]
{{TOC|left}}
[[Image:env_spark.jpg|thumb|300px|right|env_spark with directional, glowing medium sized sparks]]{{clr}}


==Entity Description==
==Entity Description==


An entity used to create sparks at its origin.
[[Image:{{PAGENAME}}.png|left]]An entity used to create sparks at its origin.{{clr}}


==Notes==
{{note|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.}}
 
* 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==

Revision as of 00:30, 30 March 2006

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