Env smoketrail

From Valve Developer Community
Revision as of 06:58, 24 July 2011 by Barracuda (talk | contribs) (Cleanup)
Jump to navigation Jump to search

Template:Base point It creates a smoke trail.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

Sprite Opacity ([todo internal name (i)]) <float>
Opacity of the sprites (range from 0 - 1).
Spawn Rate ([todo internal name (i)]) <float>
Number of particles to emit each second.
Particle Life Time ([todo internal name (i)]) <float>
Number of seconds until each particle dies.
Start Color ([todo internal name (i)]) <color255>
Starting color of the emitted particles.
End Color ([todo internal name (i)]) <color255>
Ending color of the emitted particles.
Emitter Life Time ([todo internal name (i)]) <float>
Number of seconds until the env_smoketrail stops emitting particles. 0 means never stop emitting particles.
Minimum Random Speed ([todo internal name (i)]) <float>
Minimum randomly-directed speed to use for emitted particles.
Maximum Random Speed ([todo internal name (i)]) <float>
Maximum randomly-directed speed to use for emitted particles.
Minimum Directed Speed ([todo internal name (i)]) <float>
Minimum speed along the env_smoketrail's forward direction (x axis) to use for emitted particles.
Maximum Directed Speed ([todo internal name (i)]) <float>
Maximum speed along the env_smoketrail's forward direction (x axis) to use for emitted particles.
Starting particle size ([todo internal name (i)]) <float>
Starting particle size.
Ending particle size ([todo internal name (i)]) <float>
Ending particle size.
Spawn radius ([todo internal name (i)]) <float>
Distance from env_smoketrail at which particles are emitted.
Fire Sprite ([todo internal name (i)]) <sprite>
Smoke Puff ([todo internal name (i)]) <sprite>
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs