Material surface properties: Difference between revisions
Jump to navigation
Jump to search
Note:For
, use sounds/materials.txt. This file usually has documentation at the top dictating which surface types are available in the given mod.
m (tried to make the list more readable) |
SirYodaJedi (talk | contribs) m (brief mention of GoldSrc method) |
||
Line 7: | Line 7: | ||
Both [[material]]s and [[model]]s define their surfaces with the [[$surfaceprop]] command. | Both [[material]]s and [[model]]s define their surfaces with the [[$surfaceprop]] command. | ||
{{note|For {{goldsrc}}, use {{code|sounds/materials.txt}}. This file usually has documentation at the top dictating which surface types are available in the given mod.}} | |||
==Types== | ==Types== |
Revision as of 11:09, 12 December 2022
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.


Types
Special |
Description |
---|---|
default | |
default_silent | |
floatingstandable | |
item | |
ladder | |
no_decal | |
player | |
player_control_clip | |
Concrete/Rock |
Description |
baserock | missing? |
boulder | Will cause material glitches if used in models |
brick | |
concrete | |
concrete_block | |
gravel | |
rock | |
Metal |
Description |
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 |
Description |
Wood | |
Wood_Box | |
Wood_Crate | (in all games since ![]() ![]() ![]() |
Wood_Furniture | |
Wood_LowDensity | (in all games since ![]() ![]() ![]() |
Wood_Plank | |
Wood_Panel | |
Wood_Solid | |
Terrain |
Description |
dirt | |
grass | |
gravel | |
mud | |
quicksand | |
sand | |
slipperyslime | |
antlionsand | |
Liquid |
Description |
slime | |
water | |
wade | |
puddle | |
Frozen |
Description |
ice | |
snow | |
Organic |
Description |
alienflesh | |
antlion | |
armorflesh | |
bloodyflesh | |
flesh | |
foliage | |
watermelon | |
zombieflesh | |
Manufactured |
Description |
asphalt | missing? |
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 |
Description |
carpet | |
ceiling_tile | |
computer | |
pottery |