Template:I BreakableProp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Redirected page to Template:I Breakable)
 
(add {{lang}})
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#redirect [[Template:I Breakable]]
{{lang|Template:I BreakableProp}}
In fact, this template is {{tl2|I Breakable|prop{{=}}1|brush{{=}}0}}.
* {{param|nohl2|0}} - If nonzero, hides [[weapon_physcannon]] related inputs.
The following is the result with no parameters.
 
 
{{ {{PAGENAME}} }}
 
<onlyinclude><includeonly>{{I Breakable|prop=1|brush=0|nohl2={{{nohl2|0}}}}}</includeonly></onlyinclude>
 
[[Category:Input Templates|BreakableProp]]

Latest revision as of 01:54, 2 January 2023

In fact, this template is {{I Breakable|prop=1|brush=0}}.

The following is the result with no parameters.


BreakableProp:

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.
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  (in all games since Half-Life 2: Episode One)
Allow this prop from playing its Punt Sound sound when punted by the gravity gun.
DisablePuntSound  (in all games since Half-Life 2: Episode One)
Prevent this prop from playing its Punt Sound sound when punted by the gravity gun.