Material surface properties: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleanup, otherlang2)
No edit summary
Line 4: Line 4:
}}
}}


This is the list of material types that [[VMT|VMTs]] can recognize. They are used as a parameter of [[$surfaceprop]]. Models use [[$surfaceprop]] instead.
{{toc-right}}


Each material setting has its own unique properties, which affect the gibs they produce (if breakable) and the sound of impacts or footsteps.
This is the list of physical surface types that Source recognises, as defined by the files referenced in <code>\scripts\surfaceproperties_manifest.txt</code>.


The surface properties are defined in ''scripts/surfaceproperties.txt'' and ''scripts/surfaceproperties_hl2.txt'' and are referenced by ''scripts/surfaceproperties_manifest.txt''.
Surface types define the physical properties of an object including friction and density, collision/footstep sounds, the effect of bullet impacts and, if the object is destructible, health and [[gib]] type.


All materials and models that do not define a surfaceprop go to default.
Both [[material]]s and [[model]]s define their surfaces with the [[$surfaceprop]] command.


==List==
==See also==
 
* [[Creating a Material]]
* [[$surfaceprop]]
 
== Types ==
 
=== Special ===
 
*default
*default_silent
*floatingstandable
*item
*ladder
*no_decal
*player
*player_control_clip
 
===Concrete / Rock===


===Concrete & Rock===
*baserock
*baserock
*boulder
*boulder
Line 23: Line 40:
*rock
*rock


===Liquid===
===Metal===
*slime
*water
*wade


===Metal===
*canister
*canister
*chain
*chain
Line 54: Line 67:
*weapon
*weapon


===Miscellaneous===
===Wood===
*brakingrubbertire
 
*cardboard
*wood
*carpet
*Wood_Box
*ceiling_tile
*Wood_Crate
*combine_glass
*Wood_Furniture
*computer
*Wood_lowdensity
*default
*Wood_Plank
*default_silent
*Wood_Panel
*floatingstandable
*Wood_Solid
 
=== Terrain ===
 
*dirt
*grass
*gravel
*mud
*quicksand
*sand
*slipperyslime
*antlionsand
 
===Liquid===
 
*slime
*water
*wade
 
=== Frozen ===
 
*ice
*snow
 
===Organic===
 
*alienflesh
*antlion
*armorflesh
*bloodyflesh
*flesh
*foliage
*watermelon
*zombieflesh
 
=== Manufactured ===
 
*glass
*glass
*glassbottle
*glassbottle
*item
*combine_glass
*jeeptire
*tile
*ladder
*no_decal
*paper
*paper
*papercup
*papercup
*cardboard
*plaster
*plaster
*plastic_barrel
*plastic_barrel
Line 77: Line 125:
*Plastic_Box
*Plastic_Box
*plastic
*plastic
*player
*player_control_clip
*pottery
*rubber
*rubber
*rubbertire
*rubbertire
Line 85: Line 130:
*slidingrubbertire_front
*slidingrubbertire_front
*slidingrubbertire_rear
*slidingrubbertire_rear
*jeeptire
*brakingrubbertire


===Organic===
===Miscellaneous===
*alienflesh
*antlion
*armorflesh
*bloodyflesh
*flesh
*foliage
*watermelon
*zombieflesh


===Snow===
*carpet
*ice
*ceiling_tile
*snow
*computer
 
*pottery
===Terrain===
*antlionsand
*dirt
*grass
*gravel
*mud
*quicksand
*sand
*slipperyslime
*tile
 
===Wood===
*wood
*Wood_Box
*Wood_Crate
*Wood_Furniture
*Wood_lowdensity
*Wood_Plank
*Wood_Panel
*Wood_Solid
 
==See also==
 
* [[Material Creation]]


[[Category:Material System]]
[[Category:Material System]]

Revision as of 08:50, 22 July 2009

Template:Otherlang2

This is the list of physical surface types that Source recognises, as defined by the files referenced in \scripts\surfaceproperties_manifest.txt.

Surface types define the physical properties of an object including friction and density, collision/footstep sounds, the effect of bullet impacts and, if the object is destructible, health and gib type.

Both materials and models define their surfaces with the $surfaceprop command.

See also

Types

Special

  • default
  • default_silent
  • floatingstandable
  • item
  • ladder
  • no_decal
  • player
  • player_control_clip

Concrete / Rock

  • baserock
  • boulder
  • brick
  • concrete
  • concrete_block
  • gravel
  • rock

Metal

  • canister
  • chain
  • chainlink
  • combine_metal
  • crowbar
  • floating_metal_barrel
  • grenade
  • gunship
  • metal
  • metal_barrel
  • metal_bouncy
  • Metal_Box
  • metal_seafloorcar
  • metalgrate
  • metalpanel
  • metalvent
  • metalvehicle
  • paintcan
  • popcan
  • roller
  • slipperymetal
  • solidmetal
  • strider
  • weapon

Wood

  • wood
  • Wood_Box
  • Wood_Crate
  • Wood_Furniture
  • Wood_lowdensity
  • Wood_Plank
  • Wood_Panel
  • Wood_Solid

Terrain

  • dirt
  • grass
  • gravel
  • mud
  • quicksand
  • sand
  • slipperyslime
  • antlionsand

Liquid

  • slime
  • water
  • wade

Frozen

  • ice
  • snow

Organic

  • alienflesh
  • antlion
  • armorflesh
  • bloodyflesh
  • flesh
  • foliage
  • watermelon
  • zombieflesh

Manufactured

  • glass
  • glassbottle
  • combine_glass
  • tile
  • paper
  • papercup
  • cardboard
  • plaster
  • plastic_barrel
  • plastic_barrel_buoyant
  • Plastic_Box
  • plastic
  • rubber
  • rubbertire
  • slidingrubbertire
  • slidingrubbertire_front
  • slidingrubbertire_rear
  • jeeptire
  • brakingrubbertire

Miscellaneous

  • carpet
  • ceiling_tile
  • computer
  • pottery