Opening any Source VMT file for a game texture, the properties will usually have what type of surface prop to use so it reacts properly in the world when bullets or something else interacts with it (metal, grass, glass, snow, etc) via '$surfaceprop'.
Is there any way possible for SourceMod to detect this?
Some examples, find out what the player is standing on... or if a traceray was pointed at a "grass" texture ...or a bullet hit it...etc.
Example VMT
Code:
"lightmappedGeneric"
{
"$basetexture" "sometexturename"
"$surfaceprop" "metal"
}
Thanks for any insight!
__________________