asw_env_explosion

From Source Entities
Jump to navigation Jump to search

Code classes:

Env explosion.png

asw_env_explosion is a point entity present in Asw.pngAlien Swarm. It's a variation of env_explosion with mostly cosmetic changes.

Bug: This entity seems to be incapable of dealing damage.

Flags[edit | edit source]

  • 1: No Damage
  • 2: Repeatable
  • 4: No Fireball
  • 8: No Decal
  • 16: No Sound
  • 32: Damage above surface only - Does not work.
  • 64: Generic damage - Do DMG_GENERIC damage, as opposed to DMG_BLAST.
  • 256 (Not in FGD): Ice Explosion - No effect, except for attempting to spawn a decal that doesn't exist.

Keyvalues[edit | edit source]

Damage (iDamage) <integer>
The amount of damage done by the explosion. This will also determine the radius.
Radius Override (iRadiusOverride) <integer>
The radius from the entity's origin to damage any other entities. The radius set will also affect how far flames will be expelled from the center. If not specified, the radius is determined by Damage.
Explosion Sound (ExplosionSound) <sound>
What sound to play when the explosion happens.
Ignored Character (Not in FGD) (ignoredClass) <integer>
Does not work.
Ignored Entity (ignoredEntity) <target_destination>
Does not work.
Damage Force (Not in FGD) (DamageForce) <float>
No effects observed.

Inputs[edit | edit source]

Explode
Makes the explosion happen.
Bug: Even if the Repeatable flag is not active, the explosion can still go off again within exactly one second after the last explosion. This delay probably exists in order to prevent errors related to attributing damage/kills to the entity.
Fix: Send Kill shortly after the Explode input is sent.