Prop physics override: Difference between revisions
Jump to navigation
Jump to search
m (cleanup) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=prop_physics_override}} | {{wrongtitle|title=prop_physics_override}} | ||
{{base_point}} | |||
== Entity Description == | == Entity Description == | ||
Line 7: | Line 8: | ||
Although this entity provides the freedom of turning any prop into a physics prop, be aware of that players will rely on the behavior of props to be more or less consistent with other maps, and even other Source games. | Although this entity provides the freedom of turning any prop into a physics prop, be aware of that players will rely on the behavior of props to be more or less consistent with other maps, and even other Source games. | ||
* [[prop_physics]] | |||
* [[Prop Types Overview]] | |||
* [[Prop Footsteps]] - A tutorial that provides essential code for when players walk on entities like this, it's not ignored during footstep sound computation. | |||
{{in code|class=class_c_physics_prop.html CPhysicsProp|file=props_8cpp-source.html props.cpp}} | {{in code|class=class_c_physics_prop.html CPhysicsProp|file=props_8cpp-source.html props.cpp}} | ||
Line 26: | Line 28: | ||
== Outputs == | == Outputs == | ||
* {{o basepropphysics}} | * {{o basepropphysics}} | ||
Revision as of 16:05, 12 April 2008
Template:Wrongtitle Template:Base point
Entity Description
A prop type that will override the properties built into its model, making it work like a prop_physics
entity. The health of props can also be overridden by using this entity.
Generally, if a prop_physics
in your map has been removed because its model wasn't meant to be a physics prop, you can use this entity to still make it a prop_physics
, without any drawbacks.
Although this entity provides the freedom of turning any prop into a physics prop, be aware of that players will rely on the behavior of props to be more or less consistent with other maps, and even other Source games.
- prop_physics
- Prop Types Overview
- Prop Footsteps - A tutorial that provides essential code for when players walk on entities like this, it's not ignored during footstep sound computation.
Keyvalues
- Template:Kv basepropphysics
- health
- <integer> Number of points of damage to take before breaking. Doesn't break with 0 set here.
Flags
Inputs
- Template:I basepropphysics
- Ignite