Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Env explosion
From HalfLife 2 Knowledge Base
Contents |
[edit]
env_explosion
Source(core) Point Entity
[edit]
description
An entity that creates an explosion at it's origin.
[edit]
properties
- Name targetname(target_source)
The name that other entities refer to this entity by. - Parent parentname(target_destination)
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent. - Magnitude iMagnitude(Integer) - default: 100
The amount of damage done by the explosion. - Radius Override iRadiusOverride(Integer) - default: 0
If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude. - Fireball Sprite fireballsprite(sprite) - default: sprites/zerogxplode.spr
- Render Mode rendermode(choices)
5- 0 - Normal
- 4 - Solid
- 5 - Additive
[edit]
spawn flags
- 1: No Damage - default: OFF
- 2: Repeatable - default: OFF
- 4: No Fireball - default: OFF
- 8: No Smoke - default: OFF
- 16: No Decal - default: OFF
- 32: No Sparks - default: OFF
- 64: No Sound - default: OFF
- 128: Random Orientation - default: OFF
- 256: No Fireball Smoke - default: OFF
- 512: No particles - default: OFF
- 1024: No DLights - default: OFF
- 2048: Don't clamp Min - default: OFF
- 4096: Don't clamp Max - default: OFF
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - SetParent(string)
Changes the entity's parent in the movement hierarchy. - SetParentAttachment(string)
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. - ClearParent(void)
Removes this entity from the the movement hierarchy, leaving it free to move independently. - Explode(void)
Triggers the explosion.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input.
[edit]
related tutorials
Submit your tutorial for env_explosion

