Material surface properties: Difference between revisions
Jump to navigation
Jump to search
Note:For
GoldSrc, use
m (→Wood: Fixed typo) |
Thunder4ik (talk | contribs) m (clean up, replaced: {{ModernNote| → {{note| (3)) |
||
Line 8: | Line 8: | ||
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|4}}, use <code>sounds/materials.txt</code>. This file usually has documentation at the top dictating which surface types are available in the given mod.}} | ||
==Types== | ==Types== | ||
Line 145: | Line 145: | ||
|- | |- | ||
|Solidmetal | |Solidmetal | ||
|{{ | |{{note|Almost nothing is solid metal - so metal is sheet metal}} | ||
|- | |- | ||
|Strider | |Strider | ||
Line 167: | Line 167: | ||
|- | |- | ||
|Wood | |Wood | ||
|Generic wood {{ | |Generic wood {{note|materials should use wood_box, wood_crate, wood_plank, wood_panel etc.}} | ||
|- | |- | ||
|Wood_Box | |Wood_Box |
Revision as of 00:38, 4 January 2024
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.


sounds/materials.txt
. This file usually has documentation at the top dictating which surface types are available in the given mod.Types
Special |
Description |
---|---|
Blockbullets | (in ![]() Tools/ToolsBlockBullets doesn't really block bullets
|
Default | |
Default_silent | For invisible collision materials, like sky. |
Floatingstandable | This one is used for puzzles where we want something that floats but the player can stand on without it sinking beneath the water. |
Item | Small med kit, smaller tech items, battery. |
Ladder | Ladder is a fake material for walking on ladders. |
No_decal | |
Player | Special materials for player controller. |
Player_control_clip | Special materials for player controller. |
Bat Blade Chainsaw Cricketbat Crowbar Fireaxe Fryingpan Golfclub Guitar Pitchfork Shovel Sword |
(in ![]() |
Concrete/Rock |
Description |
Baserock | missing? |
Boulder | Will cause material glitches if used in models |
Brick | |
Concrete | |
Concrete_block | 9x12 prefabricated concrete cinder blocks. |
Gravel | |
Rock | Solid rock (small sounds). |
Sheetrock | (in ![]() ![]() |
Cavern_rock | (in ![]() |
Metal |
Description |
Canister | Large oxygen tank, propane tank, welding tank. |
Chain | Metal chain. |
Chainlink | Chainlink fencing material. |
Combine_metal | |
Crowbar | |
Floating_metal_barrel | |
Grenade | Solid hand grenade. |
Gunship | |
Metal | |
Metal_barrel metal_sand_barrel (in ![]() |
Larger metal barrel, metal oil drum. |
Metal_bouncy | |
Metal_Box | Smaller metal box (< 2' width/height/depth) |
Metal_seafloorcar | |
Metalgrate | Metal grating, used for decking |
Metalpanel | Thick solid steel panel - used for solid wall, floor, machine construction. |
Metalvent | ~1mm thick metal |
Metalvehicle | |
Paintcan | Smaller metal can |
Popcan | Small aluminum can, full. |
Roller | Roller NPC |
Slipperymetal | |
Solidmetal | ![]() |
Strider | |
Weapon | Sounds for when weapons drop. |
Strongman_bell | (in ![]() ![]() |
Slipperyslide | (in ![]() ![]() |
Metal_shield | (in ![]() |
Wood |
Description |
Wood | Generic wood ![]() |
Wood_Box | |
Wood_Crate | Large crate, large wood furniture (bookcases, tables).(in all games since ![]() ![]() ![]() ![]() |
Wood_Dense | (in ![]() |
Wood_Furniture | small wood furniture - chairs, small tables. |
Wood_LowDensity | Small crate.(in all games since ![]() ![]() ![]() ![]() |
Wood_Plank | Wood board, floorboard, plank. |
Wood_Panel | Plywood panel, wood door panel. |
Wood_Solid | Solid 6x6 or greater block, post or tree. |
Woodladder | (in ![]() ![]() |
Terrain |
Description |
Dirt | |
Grass | |
Gravel | |
Mud | |
Quicksand | |
Sand | |
Slipperyslime | |
Antlionsand | |
Sugarcane | (in ![]() ![]() |
Liquid |
Description |
Slime | |
Water | |
Wade | Wade is a water material for walking in/on water at knee height. |
Puddle | |
Wet | (in ![]() ![]() |
Frozen |
Description |
Ice | |
Snow | |
Organic |
Description |
Alienflesh | |
Antlion | |
Antlion_eggshell | (in ![]() |
Armorflesh | Flesh for physics, metal for bullet fx. |
Bloodyflesh | |
Flesh | Medium sized body. |
Foliage | |
Foliage_leaf | (in ![]() |
Hunter | (in ![]() |
Watermelon | |
Zombieflesh | |
Manufactured |
Description |
Advisor_shield | (in ![]() |
Asphalt | missing? |
Glass | Pane of glass, computer screen, window, glass door... |
Glassbottle | Glass soda bottle, cup, plate, jar... |
Glassfloor | (in ![]() |
Combine_glass | |
Tile | |
Paper | |
Papercup | |
Cardboard | |
Plaster | Drywall, office wall material, sheetrock. |
Plastic_barrel | Larger plastic barrel, hollow, soft plastic. |
Plastic_barrel_buoyant | |
Plastic_Box | Small - Medium plastic box, hard plastic. |
Plastic | Smaller generic hard plastic. |
Rubber | Solid rubber floor mat, solid rubber tire. |
Rubbertire | Hollow rubber tire |
Slidingrubbertire | |
Slidingrubbertire_front | |
Slidingrubbertire_rear | |
Jeeptire | |
Brakingrubbertire | |
Jalopy | (in ![]() |
Jalopytire | (in ![]() |
Slidingrubbertire_jalopyfront | (in ![]() |
Slidingrubbertire_jalopyrear | (in ![]() |
Clay | (in ![]() ![]() |
Porcelain | Tubs, urinals, sinks |
Upholstery | |
Miscellaneous |
Description |
Carpet | |
Ceiling_tile | Accoustic ceiling tiles, sound baffles, crumbly plaster. |
Computer | Computer case, tech equipment case. |
Pottery |