Difference between revisions of "Template:KV BasePropPhysics"

From Valve Developer Community
Jump to: navigation, search
(Added SystemLevelChoice)
(Add GMOD keyvalues)
Line 10: Line 10:
 
{{KV DXLevelChoice}}
 
{{KV DXLevelChoice}}
 
{{KV SystemLevelChoice}}
 
{{KV SystemLevelChoice}}
 +
{{KV GMOD}}

Revision as of 19:21, 24 May 2019

BasePropPhysics:

Physics Impact Damage Scale (physdamagescale) <float>
Multiplies damage received from physics impacts. 0 means the feature is disabled for backwards compatibility.
Impact damage type (Damagetype) <boolean>
If true (1), damage type is sharp and the object can slice others.
Damaging it Doesn't Push It (nodamageforces) <boolean>
Whether damaging the entity applies force to it.
Scale Factor For Inertia (inertiascale) <float>
Scales the angular mass of an object. Used to hack angular damage and collision response.
Confirm:Doesn't actually affect inertia?
Mass Scale (massscale) <float>
Multiplier for the object's mass.
Override Parameters (overridescript) <string>
A list of physics keyvalues that are usually embedded in the model. Format is key,value,key,value,....
Health Level to Override Motion (damagetoenablemotion) <integer>
If specified, this object will start with motion disabled. Once its health has dropped below this specified amount, it will enable motion.
Physics Impact Force to Override Motion (forcetoenablemotion) <float>
If specified, this object will start motion disabled. Any impact that imparts a force greater than this value will enable motion.

DXLevelChoice:

Minimum DX Level (mindxlevel) <choices>
The entity will not exist if the engine is running outside the given range of DirectX Versions. Replaced by SystemLevelChoice from <Left 4 Dead> Left 4 Dead onwards.
Warning.png Warning: If these are used, the object may break when the user switches their DirectX settings.
Maximum DX Level (maxdxlevel) <choices>

SystemLevelChoice (in all games since <Left 4 Dead>) :

Minimum Effect Details Level (mincpulevel) <choices> (in all games since <Left 4 Dead>)
Effect Details level of a user's lower than this will not render this entity.
Maximum Effect Details Level (maxcpulevel) <choices> (in all games since <Left 4 Dead>)
Effect Details level of a user's higher than this will not render this entity.
  • 0: Default ("Low" formincpulevel, "High" formaxcpulevel)
  • 1: Low
  • 2: Medium
  • 3: High
Note.png Note: The commandcpu_levelrelates to Effect Details, thus the keys's names.
Minimum Shader Details Level (mingpulevel) <choices> (in all games since <Left 4 Dead>)
Shader Details levels (orgpu_levelcommand) lower than this will not render this object.
Maximum Shader Details Level (maxgpulevel) <choices> (in all games since <Left 4 Dead>)
Shader Details levels (orgpu_levelcommand) higher than this will not render this object.
  • 0: Default ("Low" formingpulevel, "Very High" formaxgpulevel)
  • 1: Low
  • 2: Medium
  • 3: High
  • 4: Very High
Note.png Note: The commandgpu_levelrelates to Shader Details, thus the keys's names.

GMODSandbox:

Allow Physics Gun (gmod_allowphysgun) <boolean> (only in <Garry's Mod>)
If set, players cannot use Physics Gun on this entity.
Sandbox Tool Whitelist (gmod_allowtools) <string> (only in <Garry's Mod>)
If set, only given tools can be used on this entity. You need to supply the tool class names, the names of the .lua files of those tools. This also includes the context menu properties!