Env physexplosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(A env_physexplosion is NEVER visible.)
Line 1: Line 1:
{{wrongtitle|title=env_physexplosion}}
{{wrongtitle|title=env_physexplosion}}
==Entity Description==
==Entity Description==
[[Image:{{PAGENAME}}.png|left]]An entity that creates an explosion at its origin. If the no-damage spawnflag is set, the explosion won't be visible, but will apply force to any physics objects within its radius. If the force is set to be fairly low, this entity can be useful for gently 'nudging' physics objects, for instance to get lights swinging or floating debris moving.{{clr}}
[[Image:{{PAGENAME}}.png|left]]
An entity that applies a physical force to physics objects within its radius, anything from a gentle nudge to a big explosion, depending on its magnitude. (The explosion will not be visible in itself.)
 
If its ''No Damage - Only Force'' flag isn't set, the object will also take damage from the explosion. (This damage is applied to the object only - the explosion will never directly damage the player.)
 
{{note|Env_physexplosions set to emit a fairly low force, can be useful to get lights swinging or floating debris moving.}}
{{clr}}


==Availability==
==Availability==
Line 18: Line 25:
==Flags==
==Flags==
* 1 : No Damage - Only Force
* 1 : No Damage - Only Force
: Don't make the object take damage from the explosion.
==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}
Line 23: Line 33:
* '''Explode'''
* '''Explode'''
: Trigger the explosion.
: Trigger the explosion.
==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}
==See Also==
==See Also==
*[http://www.akilling.org/akg/tutorials/wiseExplosion.asp Explosions for effect]
* [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/wisePhysbox2.asp Method of propelling objects]
*[http://www.akilling.org/akg/tutorials/wiseCollapse.asp Creating wall collapses]
* [http://www.akilling.org/akg/tutorials/wiseCollapse.asp Creating wall collapses]
 
[[Category:Entities]]
[[Category:Entities]]

Revision as of 23:00, 11 April 2006

Template:Wrongtitle

Entity Description

Env physexplosion.png

An entity that applies a physical force to physics objects within its radius, anything from a gentle nudge to a big explosion, depending on its magnitude. (The explosion will not be visible in itself.)

If its No Damage - Only Force flag isn't set, the object will also take damage from the explosion. (This damage is applied to the object only - the explosion will never directly damage the player.)

Note.pngNote:Env_physexplosions set to emit a fairly low force, can be useful to get lights swinging or floating debris moving.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<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
Don't make the object take damage from the explosion.


Inputs

Trigger the explosion.

Outputs

See Also