Template:I BreakableProp

From Valve Developer Community
Jump to: navigation, search

Add nohl2 to hide the hl2-specific inputs.BreakableProp:

physdamagescale  <float>
Sets Physics Impact Damage Scale. 0 means this feature is disabled for backwards compatibility.
EnablePhyscannonPickup
Makes the breakable able to picked up by the gravity gun.
DisablePhyscannonPickup
Makes the breakable not able to picked up by the gravity gun.
EnablePuntSound  (New with Half-Life 2: Episode One / Source 2006)
Allow this prop from playing its Punt Sound sound when punted by the gravity gun.
DisablePuntSound  (New with Half-Life 2: Episode One / Source 2006)
Prevent this prop from playing its Punt Sound sound when punted by the gravity gun.

Breakable:

Break
Breaks the breakable.
SetHealth  <integer>
Sets a new value for the breakable's health. If the breakable's health reaches zero it will break.
AddHealth  <integer>
Adds health to the breakable.
RemoveHealth  <integer>
Removes health from the breakable.