cod/Documentation/Materials.md

36 lines
659 B
Markdown
Raw Permalink Normal View History

2025-02-02 04:11:23 +00:00
# Materials in Call of Duty
(trace_surfaceflags>>20i)&0xffi to get the bit
or maybe (trace_surfaceflags>>20i)&0x1fi to get the bit,
since:
0x02000000 0x01000001 mantleOn
0x04000000 0x01000001 mantleOver
otherwise, these are the material surfaceflags:
bit,material
0x00000000,none
0x01600000,asphalt
0x00100000,bark
0x00200000,brick
0x00300000,carpet
0x00400000,cloth
0x00500000,concrete
0x00600000,dirt
0x00700000,flesh
0x00800000,foliage
0x00900000,glass
0x00a00000,grass
0x00b00000,gravel
0x00c00000,ice
0x00d00000,metal
0x00e00000,mud
0x00f00000,paper
0x01000000,plaster
0x01100000,rock
0x01200000,sand
0x01300000,snow
0x01400000,water
0x01500000,wood