Template:KV BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added the option to choose specifically the older version (with DXLevelChoice) or the newer version (with SystemLevelChoice). the default is unchanged.)
(Replaced content with "{{note|Page left for viewable history, content moved to prop_physics}}")
Tag: Replaced
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{tip|Put <code>{{!}}old{{=}}1</code> when calling this template to have it show the Src13-and-older version of the template, or <code>{{!}}new{{=}}1</code> to have it show the L4D-and-later version.}}
{{note|Page left for viewable history, content moved to [[prop_physics]]}}
</noinclude>{{minititle|BasePropPhysics}}
{{KV|Physics Impact Damage Scale|intn=physdamagescale|float|Multiplies damage received from physics impacts. 0 means the feature is disabled for backwards compatibility.}}
{{KV|Impact damage type|intn=Damagetype|bool|If true (1), damage type is sharp and the object can slice others.}}
{{KV|Damaging it Doesn't Push It|intn=nodamageforces|bool|Whether damaging the entity applies force to it.}}
{{KV|Scale Factor For Inertia|intn=inertiascale|float|Scales the angular mass of an object. Used to hack angular damage and collision response. {{confirm|Doesn't actually affect ''inertia''?}}}}
{{KV|Mass Scale|intn=massscale|float|Multiplier for the object's mass.}}
{{KV|Override Parameters|intn=overridescript|string|A list of physics keyvalues that are usually [[prop_data|embedded in the model]]. Format is <code>key,value,key,value,...</code>.}}
{{KV|Health Level to Override Motion|intn=damagetoenablemotion|int|If specified, this object will start with motion disabled. Once its health has dropped below this specified amount, it will enable motion.}}
{{KV|Physics Impact Force to Override Motion|intn=forcetoenablemotion|float|If specified, this object will start motion disabled. Any impact that imparts a force greater than this value will enable motion.}}
{{#if: {{{new|}}} || {{KV DXLevelChoice}} }}
{{#if: {{{old|}}} || {{KV SystemLevelChoice}} }}
{{KV GMOD}}

Latest revision as of 07:55, 2 July 2024

Note.pngNote:Page left for viewable history, content moved to prop_physics