Template:I BreakableProp: Difference between revisions
Jump to navigation
Jump to search
(TomEdwards you thotty little man) |
(param note) |
||
Line 1: | Line 1: | ||
{{minititle|BreakableProp}} | <noinclude>Add <code>nohl2</code> to hide the hl2-specific inputs.</noinclude>{{minititle|BreakableProp}} | ||
{{IO|physdamagescale|param=float|Sets '''Physics Impact Damage Scale'''. 0 means this feature is disabled for backwards compatibility.}}<!-- | {{IO|physdamagescale|param=float|Sets '''Physics Impact Damage Scale'''. 0 means this feature is disabled for backwards compatibility.}}<!-- | ||
-->{{#ifeq: {{{nohl2}}}|1||{{IO|EnablePhyscannonPickup|Makes the breakable able to picked up by the gravity gun.}} | -->{{#ifeq: {{{nohl2}}}|1||{{IO|EnablePhyscannonPickup|Makes the breakable able to picked up by the gravity gun.}} |
Revision as of 23:00, 13 September 2018
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 (in all games since
)
- Allow this prop from playing its Punt Sound sound when punted by the gravity gun.
- DisablePuntSound (in all games since
)
- 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.