ValveTime.co.uk | Valve News, Forums, Steam

So I'm working from a materialsrc directory of C:/TestModSP/TestModSP/materialsrc/ .

The mod is of course in C:/Program Files/Valve/Steam/SteamApps/SourceMods/TestModSP/ .

Vtex sends .vtf materials to C:/Program Files/Valve/Steam/SteamApps/SourceMods/TestModSP/materials/XXX/XXX.vtf

So I made a couple of texes for this map in working on and placed them in the right folder (C:/testmodsp/.../materialsrc/maps/XXX/XXX.tga) and had vtex generate some .txt control files and left them blank. I then selected and dragged the corresponding .tga and .txt files to the vtex.exe and made the .vtf's in the appropriate folder in my steammods/testmodSP/materials area.

I make .vmts for them containing this:

Code:
"LightmappedGeneric"



{

    "$basetexture "maps\test_leadworks\lightstripLights"

    "$selfillumtexture "maps\test_leadworks\lightstripLights_glow"



    "$surfaceprop" "metal"

}
And this for another file:

Code:
"LightmappedGeneric"



{

    "$basetexture "maps\test_leadworks\lightstrip"



    "$surfaceprop" "metal"

}
In hammer, the materials show up in the texture browser and appear fine there, but when applied to a brush face, they become pink and black checkers.


Did I leave something out or do somethign wrong
Back
Top