Material surface properties: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Types: Copied all descriptions from L4D2's Surfaceproperties file)
(Added surfaceproperties found in L4d2, csgo and HL2EP2)
Line 1: Line 1:
{{lang|Material surface properties}}
{{Lang|Material surface properties}}
{{toc-right}}
{{toc-right}}


Line 16: Line 16:
! Description
! Description
|-
|-
|default
|Blockbullets
|{{in|{{csgo}}}} Blocks bullets entirely, because the <code>Tools/ToolsBlockBullets</code> doesn't really block bullets
|-
|Default
|
|
|-
|-
|default_silent
|Default_silent
|For invisible collision materials, like sky.
|For invisible collision materials, like sky.
|-
|-
|floatingstandable
|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.
|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
|Item
|Small med kit, smaller tech items, battery.
|Small med kit, smaller tech items, battery.
|-
|-
|ladder
|Ladder
|Ladder is a fake material for walking on ladders.
|Ladder is a fake material for walking on ladders.
|-
|-
|no_decal
|No_decal
|
|
|-
|-
|player
|Player
|Special materials for player controller.
|Special materials for player controller.
|-
|-
|player_control_clip
|Player_control_clip
|Special materials for player controller.
|Special materials for player controller.
|-
|Bat<br>Blade<br>Chainsaw<br>Cricketbat<br>Crowbar<br>Fireaxe<br>Fryingpan<br>Golfclub<br>Guitar<br>Pitchfork<br>Shovel<br>Sword
| {{in|{{l4d2}}}} Like "Weapon" but used for the melee weapons to give specific sounds when they are dropped.
|-
|-
!
!
Line 44: Line 50:
! Description
! Description
|-
|-
|baserock
|Baserock
|''missing?''
|''missing?''
|-
|-
|boulder
|Boulder
|Will cause material glitches if used in models
|Will cause material glitches if used in models
|-
|-
|brick
|Brick
|
|
|-
|-
|concrete
|Concrete
|
|
|-
|-
|concrete_block
|Concrete_block
|9x12 prefabricated concrete cinder blocks.
|9x12 prefabricated concrete cinder blocks.
|-
|-
|gravel
|Gravel
|
|
|-
|-
|rock
|Rock
|Solid rock (small sounds).
|Solid rock (small sounds).
|-
|Sheetrock
|{{in|{{l4d2}}{{csgo}}}}
|-
|Cavern_rock
|{{in|{{hl2ep2}}}}
|-
|-
!
!
Line 69: Line 81:
! Description
! Description
|-
|-
|canister
|Canister
|Large oxygen tank, propane tank, welding tank.
|Large oxygen tank, propane tank, welding tank.
|-
|-
|chain
|Chain
|Metal chain.
|Metal chain.
|-
|-
|chainlink
|Chainlink
|Chainlink fencing material.
|Chainlink fencing material.
|-
|-
|combine_metal
|Combine_metal
|
|
|-
|-
|crowbar
|Crowbar
|
|
|-
|-
|floating_metal_barrel
|Floating_metal_barrel
|
|
|-
|-
|grenade
|Grenade
|Solid hand grenade.
|Solid hand grenade.
|-
|-
|gunship
|Gunship
|
|
|-
|-
|metal
|Metal
|
|
|-
|-
|metal_barrel
|Metal_barrel<br>metal_sand_barrel {{in|{{csgo}}}}
|Larger metal barrel, metal oil drum.
|Larger metal barrel, metal oil drum.
|-
|-
|metal_bouncy
|Metal_bouncy
|
|
|-
|-
Line 105: Line 117:
|Smaller metal box (< 2' width/height/depth)
|Smaller metal box (< 2' width/height/depth)
|-
|-
|metal_seafloorcar
|Metal_seafloorcar
|
|
|-
|-
|metalgrate
|Metalgrate
|Metal grating, used for decking
|Metal grating, used for decking
|-
|-
|metalpanel
|Metalpanel
|Thick solid steel panel - used for solid wall, floor, machine construction.
|Thick solid steel panel - used for solid wall, floor, machine construction.
|-
|-
|metalvent
|Metalvent
|~1mm thick metal
|~1mm thick metal
|-
|-
|metalvehicle
|Metalvehicle
|
|
|-
|-
|paintcan
|Paintcan
|Smaller metal can
|Smaller metal can
|-
|-
|popcan
|Popcan
|Small aluminum can, full.
|Small aluminum can, full.
|-
|-
|roller
|Roller
|Roller NPC
|Roller NPC
|-
|-
|slipperymetal
|Slipperymetal
|
|
|-
|-
|solidmetal
|Solidmetal
|{{ModernNote|Almost nothing is solid metal - so metal is sheet metal}}
|{{ModernNote|Almost nothing is solid metal - so metal is sheet metal}}
|-
|-
|strider
|Strider
|
|
|-
|-
|weapon
|Weapon
|Sounds for when weapons drop.
|Sounds for when weapons drop.
|-
|Strongman_bell
|{{in|{{l4d2}}{{csgo}}}} Sounds like a boxing ring bell when hit.
|-
|Slipperyslide
|{{in|{{l4d2}}{{csgo}}}} Like SlipperyMetal, but uses SolidMetal sounds.
|-
|Metal_shield
|{{in|{{csgo}}}} Uses weapon sounds.
|-
|-
!
!
Line 152: Line 173:
|-
|-
|Wood_Crate
|Wood_Crate
|Large crate, large wood furniture (bookcases, tables).{{portal2|since}} {{l4dseries|also}} {{tf2|also}}
|Large crate, large wood furniture (bookcases, tables).{{Portal2|since}} {{l4dseries|also}} {{tf2|also}}
|-
|-
|Wood_Dense
|{{in|{{csgo}}}}
|-
|-
|Wood_Furniture
|Wood_Furniture
Line 158: Line 183:
|-
|-
|Wood_LowDensity
|Wood_LowDensity
|Small crate.{{portal2|since}} {{l4dseries|also}} {{tf2|also}}
|Small crate.{{Portal2|since}} {{l4dseries|also}} {{tf2|also}}
|-
|-
|Wood_Plank
|Wood_Plank
Line 168: Line 193:
|Wood_Solid
|Wood_Solid
|Solid 6x6 or greater block, post or tree.
|Solid 6x6 or greater block, post or tree.
|-
|Woodladder
|{{in|{{l4d2}}{{csgo}}}} A ladder that makes wood sound swhen climbing.
|-
|-
!
!
Line 173: Line 201:
! Description
! Description
|-
|-
|dirt
|Dirt
|
|
|-
|-
|grass
|Grass
|
|
|-
|-
|gravel
|Gravel
|
|
|-
|-
|mud
|Mud
|
|
|-
|-
|quicksand
|Quicksand
|
|
|-
|-
|sand
|Sand
|
|
|-
|-
|slipperyslime
|Slipperyslime
|
|
|-
|-
|antlionsand
|Antlionsand
|
|
|-
|Sugarcane
|{{in|{{l4d2}}{{csgo}}}}
|-
|-
!
!
Line 201: Line 232:
! Description
! Description
|-
|-
|slime
|Slime
|
|
|-
|-
|water
|Water
|
|
|-
|-
|wade
|Wade
|Wade is a water material for walking in/on water at knee height.
|Wade is a water material for walking in/on water at knee height.
|-
|-
|puddle
|Puddle
|
|
|-
|Wet
|{{in|{{l4d2}}{{csgo}}}} Doesn't actually do anything.
|-
|-
!
!
Line 217: Line 251:
! Description
! Description
|-
|-
|ice
|Ice
|
|
|-
|-
|snow
|Snow
|
|
|-
|-
Line 227: Line 261:
! Description
! Description
|-
|-
|alienflesh
|Alienflesh
|
|
|-
|-
|antlion
|Antlion
|
|
|-
|-
|armorflesh
|Antlion_eggshell
|{{in|{{hl2ep2}}}}
|-
|Armorflesh
|Flesh for physics, metal for bullet fx.
|Flesh for physics, metal for bullet fx.
|-
|-
|bloodyflesh
|Bloodyflesh
|
|
|-
|-
|flesh
|Flesh
|Medium sized body.
|Medium sized body.
|-
|-
|foliage
|Foliage
|
|
|-
|-
|watermelon
|Foliage_leaf
|{{in|{{l4d2}}}}Same as Foliage, but uses Foliage sounds, instead of Dirt sounds.
|-
|Hunter
|{{in|{{hl2ep2}}}}
|-|-
|Watermelon
|
|
|-
|-
|zombieflesh
|Zombieflesh
|
|
|-
|-
Line 255: Line 298:
! Description
! Description
|-
|-
|asphalt
|Advisor_shield
|{{in|{{hl2ep2}}}}
|-
|Asphalt
|''missing?''
|''missing?''
|-
|-
|glass
|Glass
|Pane of glass, computer screen, window, glass door...
|Pane of glass, computer screen, window, glass door...
|-
|-
|glassbottle
|Glassbottle
|Glass soda bottle, cup, plate, jar...
|Glass soda bottle, cup, plate, jar...
|-
|-
|combine_glass
|Combine_glass
|
|
|-
|-
|tile
|Tile
|
|
|-
|-
|paper
|Paper
|
|
|-
|-
|papercup
|Papercup
|
|
|-
|-
|cardboard
|Cardboard
|
|
|-
|-
|plaster
|Plaster
|Drywall, office wall material, sheetrock.
|Drywall, office wall material, sheetrock.
|-
|-
|plastic_barrel
|Plastic_barrel
|Larger plastic barrel, hollow, soft plastic.
|Larger plastic barrel, hollow, soft plastic.
|-
|-
|plastic_barrel_buoyant
|Plastic_barrel_buoyant
|
|
|-
|-
Line 291: Line 337:
|Small - Medium plastic box, hard plastic.
|Small - Medium plastic box, hard plastic.
|-
|-
|plastic
|Plastic
|Smaller generic hard plastic.
|Smaller generic hard plastic.
|-
|-
|rubber
|Rubber
|Solid rubber floor mat, solid rubber tire.
|Solid rubber floor mat, solid rubber tire.
|-
|-
|rubbertire
|Rubbertire
|Hollow rubber tire
|Hollow rubber tire
|-
|-
|slidingrubbertire
|Slidingrubbertire
|
|-
|Slidingrubbertire_front
|
|
|-
|-
|slidingrubbertire_front
|Slidingrubbertire_rear
|
|
|-
|-
|slidingrubbertire_rear
|Jeeptire
|
|
|-
|-
|jeeptire
|Brakingrubbertire
|
|
|-
|-
|brakingrubbertire
|Jalopy
|{{in|{{hl2ep2}}}}
|-
|Jalopytire
|{{in|{{hl2ep2}}}}
|-
|Slidingrubbertire_jalopyfront
|{{in|{{hl2ep2}}}}
|-
|Slidingrubbertire_jalopyrear
|{{in|{{hl2ep2}}}}
|-
|Clay
|{{in|{{l4d2}}{{csgo}}}} Ceramic jug, mug.
|-
|Porcelain
|Tubs, urinals, sinks
|-
|Upholstery
|
|
|-
|-
!
!
===Miscellaneous===
===Miscellaneous===
! Description
! Description
|-
|-
|carpet
|Carpet
|
|
|-
|-
|ceiling_tile
|Ceiling_tile
|Accoustic ceiling tiles, sound baffles, crumbly plaster.
|Accoustic ceiling tiles, sound baffles, crumbly plaster.
|-
|-
|computer
|Computer
|Computer case, tech equipment case.
|Computer case, tech equipment case.
|-
|-
|pottery
|Pottery
|
|
|}
|}

Revision as of 08:15, 17 April 2023

English (en)Deutsch (de)Français (fr)日本語 (ja)Русский (ru)Translate (Translate)

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.

Template:ModernNote

Types

Special

Description
Blockbullets (in Counter-Strike: Global Offensive) Blocks bullets entirely, because the 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 Left 4 Dead 2) Like "Weapon" but used for the melee weapons to give specific sounds when they are dropped.

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 Left 4 Dead 2Counter-Strike: Global Offensive)
Cavern_rock (in Half-Life 2: Episode Two)

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 Counter-Strike: Global Offensive)
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 Template:ModernNote
Strider
Weapon Sounds for when weapons drop.
Strongman_bell (in Left 4 Dead 2Counter-Strike: Global Offensive) Sounds like a boxing ring bell when hit.
Slipperyslide (in Left 4 Dead 2Counter-Strike: Global Offensive) Like SlipperyMetal, but uses SolidMetal sounds.
Metal_shield (in Counter-Strike: Global Offensive) Uses weapon sounds.

Wood

Description
Wood Generic wood Template:ModernNote
Wood_Box
Wood_Crate Large crate, large wood furniture (bookcases, tables).(in all games since Portal 2) (also in Left 4 Dead seriesLeft 4 Dead series) (also in Team Fortress 2)
Wood_Dense (in Counter-Strike: Global Offensive)
Wood_Furniture small wood furniture - chairs, small tables.
Wood_LowDensity Small crate.(in all games since Portal 2) (also in Left 4 Dead seriesLeft 4 Dead series) (also in Team Fortress 2)
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 Left 4 Dead 2Counter-Strike: Global Offensive) A ladder that makes wood sound swhen climbing.

Terrain

Description
Dirt
Grass
Gravel
Mud
Quicksand
Sand
Slipperyslime
Antlionsand
Sugarcane (in Left 4 Dead 2Counter-Strike: Global Offensive)

Liquid

Description
Slime
Water
Wade Wade is a water material for walking in/on water at knee height.
Puddle
Wet (in Left 4 Dead 2Counter-Strike: Global Offensive) Doesn't actually do anything.

Frozen

Description
Ice
Snow

Organic

Description
Alienflesh
Antlion
Antlion_eggshell (in Half-Life 2: Episode Two)
Armorflesh Flesh for physics, metal for bullet fx.
Bloodyflesh
Flesh Medium sized body.
Foliage
Foliage_leaf (in Left 4 Dead 2)Same as Foliage, but uses Foliage sounds, instead of Dirt sounds.
Hunter (in Half-Life 2: Episode Two)
Watermelon
Zombieflesh

Manufactured

Description
Advisor_shield (in Half-Life 2: Episode Two)
Asphalt missing?
Glass Pane of glass, computer screen, window, glass door...
Glassbottle Glass soda bottle, cup, plate, jar...
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 Half-Life 2: Episode Two)
Jalopytire (in Half-Life 2: Episode Two)
Slidingrubbertire_jalopyfront (in Half-Life 2: Episode Two)
Slidingrubbertire_jalopyrear (in Half-Life 2: Episode Two)
Clay (in Left 4 Dead 2Counter-Strike: Global Offensive) Ceramic jug, mug.
Porcelain Tubs, urinals, sinks
Upholstery

Miscellaneous

Description
Carpet
Ceiling_tile Accoustic ceiling tiles, sound baffles, crumbly plaster.
Computer Computer case, tech equipment case.
Pottery

See also