Description
My textures are organised something like:
.\cstrike\custom\lody\materials\lody
I typically store raw png/tga in here and drag them into VMT Editor to auto convert to VTF/VMT.
Games like Counter Strike will mount anything in custom
as if it were included at the root directory.
However, VMT Editor is creating the $basetexture
like this:
$basetexture "../custom/lody/materials/lody/texture"
This actually works in Hammer, but the textures like this do not get picked up for the inclusion list when packed.
My suggestion is to detect when the {game}/custom/{name}/{texture}
directory is used and map it to {texture}
So in my example it would be:
$basetexture "lody/texture"
I have also noticed that the image preview works for the long name, but no preview appears for the shortened one.
Activity