env_explosion |
| Description |
An entity that creates an explosion at its center when it receives an Explode input. Its flags and properties control the explosion effects.
The formula for the scale of the sprite is ((iMagnitude - 50) * 0.6). By default the scale is clamped to between 10 and 50; using the two Don't Clamp flags, you reduce the lower limit to 1 and raise the upper limit to 200. |
| Properties |
- "Name" [targetname(target_source)] - The name of this entity. Allows other entities in the map to trigger this one.
- "Parent" [parentname(target_destination)] - "The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent." For instance, if you set this property to the name of a func_door in the map, then this entity will move every time the func_door moves.
- "Magnitude" [iMagnitude(integer)] - The power of the explosion. Used to determine how much damage to deal over how much distance, and how big to make the explosion sprite.
- "Radius Override" [iRadiusOverride(integer)] - Overrides the magnitude-determined radius of the explosion.
- "Fireball Sprite" [fireballsprite(sprite)] - The material to display as an explosion sprite when the env_explosion is triggered.
- "Render Mode" [rendermode(choices)] - Overrides the way the sprite is rendered. See this thread. Additive should be correct for most sprites. |
| Flags |
These flags control various effects of the explosion. They're mostly self-explanatory.
- "No Damage"
- "Repeatable"
- "No Fireball"
- "No Decal"
- "No Sparks"
- "No Sound"
- "Random Orientation for Explosion Sprite"
- "No Fireball Smoke"
- "No Particles"
- "No Light"
- "Don't clamp sprite scale to >= 10"
- "Don't clamp sprite scale to <= 50"
- "Don't damage underwater objects" |
| Inputs |
- "SetParent"
- "SetParentAttachment"
- "ClearParent"
- "Explode" |
| Outputs |
|
This entity supports no outputs. |
|
|
|