Phys convert: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 9: | Line 9: | ||
==Keyvalues== | ==Keyvalues== | ||
*{{ | *{{KV Targetname}} | ||
*'''target''' <target_destination> | *'''target''' <target_destination> | ||
:Name of the entity that will be converted to a physics object when the '''ConvertTarget''' input is fired. | :Name of the entity that will be converted to a physics object when the '''ConvertTarget''' input is fired. |
Revision as of 19:57, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
Turns an arbitrary entity into a physically simulated entity. i.e. brush entities will behave like func_physbox, model entities behave like prop_physics.
- See also Blowout Doors - A phys_convert in use.
- See also Prop_physics_override - Should act somewhat similar to this.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- target <target_destination>
- Name of the entity that will be converted to a physics object when the ConvertTarget input is fired.
- swapmodel <target_destination>
- Model Swap Entity
Flags
- 1: Convert Asleep
Inputs
- ConvertTarget
- Converts this entity's target to a physically simulated object.
Outputs
- Template:O targetname
- OnConvert
- Fires after the conversion has taken place. (!activator is the activator)