Template:KV Breakable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed targetname and shadow. Added pressuredelay. (Lots of changes to follow now.))
mNo edit summary
Line 1: Line 1:
{{kv damagefilter}}
{{kv damagefilter}}
* '''ExplodeDamage'''
* '''[[propdata|ExplodeDamage]]''' <float>
: <float> If non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage. See also 'Explosion Radius'.
: If non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage. See also 'Explosion Radius'.
* '''ExplodeRadius'''
* '''[[propdata|ExplodeRadius]]''' <float>
: <float> If non-zero, when this entity breaks it will create an explosion with a radius of the specified amount. See also 'Explosion Damage'.
: If non-zero, when this entity breaks it will create an explosion with a radius of the specified amount. See also 'Explosion Damage'.
* '''PerformanceMode'''
* '''[[propdata|PerformanceMode]]''' <choices>
: <choices> Used to limit the amount of gibs produced when this entity breaks, for performance reasons.
: Used to limit the amount of gibs produced when this entity breaks, for performance reasons.
:{|
:{|
! Literal Value || Description
! Literal Value || Description
Line 15: Line 15:
| 2 || Full Gibs on All Platforms
| 2 || Full Gibs on All Platforms
|}
|}
* '''pressuredelay'''
* '''[[propdata|pressuredelay]]''' <float>  
: <float> Delay, in seconds, after 'broken' by pressure before breaking apart (allows for sound to play before breaking apart).
: Delay, in seconds, after 'broken' by pressure before breaking apart (allows for sound to play before breaking apart).

Revision as of 10:53, 20 April 2008

Template:Kv damagefilter

If non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage. See also 'Explosion Radius'.
If non-zero, when this entity breaks it will create an explosion with a radius of the specified amount. See also 'Explosion Damage'.
Used to limit the amount of gibs produced when this entity breaks, for performance reasons.
Literal Value Description
0 Normal
1 Limit Gibs
2 Full Gibs on All Platforms
Delay, in seconds, after 'broken' by pressure before breaking apart (allows for sound to play before breaking apart).