Material Types

From Valve Developer Community
Revision as of 22:35, 3 July 2008 by Mdurand (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following is a list of material types as of 1/11/08. This is stored in src/engine/decal.h, so you can check that list to see if it is up-to-date. To make a material use a particular material type, edit your surfaceproperties.txt file and set "gamematerial" to a string containing the letter shown below. For example, to make something metal, you would use

"gamematerial" "M"

Material type letters

ANTLION		A
BLOODYFLESH            B
CONCRETE		C
DIRT			D
EGGSHELL		E
FLESH			F
GRATE			G
ALIENFLESH		H
CLIP			I
PLASTIC		L
METAL			M
SAND			N
FOLIAGE		O
COMPUTER		P
SLOSH			S
TILE			T
VENT			V
WOOD			W
GLASS			Y