asw_env_explosion

From Valve Developer Community
Jump to: navigation, search

asw_env_explosion is a point entity available in Alien Swarm Alien Swarm.

Entity description

Env explosion.png

An entity that creates an explosion at its origin. Identical to env_explosion, except it has more features in use with Alien Swarm.

One significant difference between this explosion entity and the normal env_explosion is the look and sound of the explosion. The asw_env_explosion produces a "heat ripple" look, has a larger fireball, and the blast sound is "wetter".

Keyvalues

Damage ([todo internal name (i)]) <integer>
The amount of damage done by the explosion.
Radius Override ([todo internal name (i)]) <integer>
If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude. (doesn't affect the fireball effect, yet)
Explosion Sound ([todo internal name (i)]) <sound>
Choose what sound to play when the explosion happens. If you don't want a sound to play, click the No Sound flag.
Ignored Entity ([todo internal name (i)]) <targetname>
Do not harm or affect the named entity.
Name (targetname) <string>
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.

Flags

  • 1 : No Damage
  • 2 : Repeatable
  • 4 : No Fireball
  • 8 : No Decal
  • 16 : No Sound
  • 32 : Damage above surface only
  • 64 : Generic damage

Inputs

Explode
Triggers the explosion.


Parentname:
SetParent <string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <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 <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