Env physexplosion: Difference between revisions
Jump to navigation
Jump to search
m (Added samples) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{wrongtitle|title=env_physexplosion | ||
==Entity Description== | |||
env_physexplosion | |||
Source(core) Point Entity: An entity that creates an explosion at it's origin. If the no-damage spawnflag is set, the explosion won't be visible, but will apply force to any physics objects within it's radius. | Source(core) Point Entity: An entity that creates an explosion at it's origin. If the no-damage spawnflag is set, the explosion won't be visible, but will apply force to any physics objects within it's radius. | ||
==Keyvalues== | |||
* {{kv targetname}} | |||
* {{kv parentname}} | |||
* '''magnitude''' | |||
: <float> Amount of physics force applied by the explosion. | |||
* '''radius''' | |||
: <float> Clamp radius (0 = auto) If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude. | |||
* '''targetentityname''' | |||
Amount of physics force applied by the explosion. | : <target_destination> If specified, the explosion will only affect the matching entity. | ||
==Flags== | |||
If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude. | * 1 : No Damage - Only Force | ||
==Inputs== | |||
If specified, the explosion will only affect the matching entity. | * {{i targetname}} | ||
* {{i parentname}} | |||
* '''Explode''' | |||
: Trigger the explosion. | |||
==Outputs== | |||
* {{o targetname}} | |||
==See Also== | |||
*[http://www.akilling.org/akg/tutorials/wiseExplosion.asp Explosions for effect] | |||
*[http://www.akilling.org/akg/tutorials/wisePhysbox2.asp Method of propelling objects] | |||
*[http://www.akilling.org/akg/tutorials/wiseCollapse.asp Creating wall collapses] | |||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 14:58, 24 August 2005
{{wrongtitle|title=env_physexplosion
Entity Description
Source(core) Point Entity: An entity that creates an explosion at it's origin. If the no-damage spawnflag is set, the explosion won't be visible, but will apply force to any physics objects within it's radius.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- magnitude
- <float> Amount of physics force applied by the explosion.
- radius
- <float> Clamp radius (0 = auto) If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.
- targetentityname
- <target_destination> If specified, the explosion will only affect the matching entity.
Flags
- 1 : No Damage - Only Force
Inputs
- Trigger the explosion.