Env physexplosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
env_physexplosion
env_physexplosion


Point_Entity: Provides an explosion, which impairs all physical objects. If the NoDamage flag is activated, the explosion is invisible, and causes to only physical objects damage.
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.


Properties
Properties


     * Name - name of the Entity.
     * Name - targetname(target_source)
     * Parent - name related Entity. Thus the Entity is bound to another, so that it along-moves.
The name that other entities refer to this entity by.  
     * Magnitude - standard: 100 - Strength of the explosion
     * Parent - parentname(target_destination)
     * lamp radius (0 = car) - standard: 0 - Indicates the radius, in which physical objects are concerned. If the value is 0, after the radius the Magnitude one calculates automatically.
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.  
     * Limit ton of Entity - if indicated, the explosion is transferred only to this Entity.
     * Magnitude - magnitude(string) - default: 100
Amount of physics force applied by the explosion.
     * Clamp radius (0 = auto) radius(string) - default: 0
If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.
     * Limit to Entity - targetentityname(target_destination)
If specified, the explosion will only affect the matching entity.  


Flag
Flag


     * NO Damage - standard: OFF - see above
     * NO Damage - Only Force - default: ON


Input
Input


     * Kill - the Entity removes
     * Kill - Removes this entity from the world.
     * KillHierarchy - the Entity and all this removes �verwandten� Entities
     * KillHierarchy - Removes this entity and all its children from the world.
     * ADD output - a new input/output adds being thing.
     * ADD output - Adds an entity I/O connection to this entity. Format
     * FireUser1 - triggers the output Onuser1.
     * FireUser1 - triggers the output OnUser1.
     * FireUser2 - triggers the output Onuser2.
     * FireUser2 - triggers the output OnUser2.
     * FireUser3 - triggers the output Onuser3.
     * FireUser3 - triggers the output OnUser3.
     * FireUser4 - triggers the output Onuser4.
     * FireUser4 - triggers the output OnUser4.
     * SetParent - related Entity (' Parent value) change
     * SetParent - Changes the entity's parent in the movement hierarchy.
     * SetParentAttachment - if, places itself this Entity at one of these points has related Entity the Attachements.
     * SetParentAttachment - 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 - the connection between the Entities removes, so that this Entity can move again freely.
     * ClearParent - Removes this entity from the the movement hierarchy, leaving it free to move independently.
     * Explode - the explosion releases.
     * Explode - Trigger the explosion.


Output
Output


     * OnUser1 - by input FireUser1 one releases.
     * OnUser1 - Fired in response to FireUser1 input.
     * OnUser2 - by input FireUser2 one releases.
     * OnUser2 - Fired in response to FireUser2 input.
     * OnUser3 - by input FireUser3 one releases.
     * OnUser3 - Fired in response to FireUser3 input.
     * OnUser4 - by input FireUser4 one releases.
     * OnUser4 - Fired in response to FireUser4 input.


Remarks
Remarks


None.
None.
The use of all documents including the illustrations excluding for nichtkomerziellen purposes. Spreading of the document on storage media, (in particular on CD Rome as supplement to magazines and magazines or sucked. "mission luggage" etc..) is forbidden.

Revision as of 03:03, 24 August 2005

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.

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 - magnitude(string) - default: 100

Amount of physics force applied by the explosion.

   * Clamp radius (0 = auto) radius(string) - default: 0

If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.

   * Limit to Entity - targetentityname(target_destination)

If specified, the explosion will only affect the matching entity.

Flag

   * NO Damage - Only Force - default: ON

Input

   * Kill - Removes this entity from the world.
   * KillHierarchy - Removes this entity and all its children from the world.
   * ADD output - Adds an entity I/O connection to this entity. Format
   * FireUser1 - triggers the output OnUser1.
   * FireUser2 - triggers the output OnUser2.
   * FireUser3 - triggers the output OnUser3.
   * FireUser4 - triggers the output OnUser4.
   * SetParent - Changes the entity's parent in the movement hierarchy.
   * SetParentAttachment - 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 - Removes this entity from the the movement hierarchy, leaving it free to move independently.
   * Explode - Trigger the explosion.

Output

   * OnUser1 - Fired in response to FireUser1 input.
   * OnUser2 - Fired in response to FireUser2 input.
   * OnUser3 - Fired in response to FireUser3 input.
   * OnUser4 - Fired in response to FireUser4 input.

Remarks

None.