asw_env_explosion
Jump to navigation
Jump to search
Code classes:
CASWEnvExplosion
CPointEntity
CBaseEntity
(all ents)
asw_env_explosion
is a point entity present in Alien 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 toDMG_BLAST
.
- 128 (Not in FGD):
No DLights- No effect.
- 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.