Prop physics override: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Explanation.)
m (More concise)
Line 26: Line 26:
* [[prop_physics]]
* [[prop_physics]]
* [[Prop Types Overview]]
* [[Prop Types Overview]]
* [[Prop Footsteps]] - A tutorial that shows how to make it so that when you walk on entitys like this, a sound specific to the surfaceprop is played.
* [[Prop Footsteps]] - A tutorial that provides essential code for when players walk on entities like this, it's not ignored during footstep sound computation.


[[Category:Entities]]
[[Category:Entities]]

Revision as of 20:29, 12 April 2006

Template:Wrongtitle

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.

Keyvalues

<integer> Number of points of damage to take before breaking. Doesn't break with 0 set here.

Flags

Inputs

Outputs

See Also