custom material purple in game, but visible in hammer

poseyjmac

Newbie
Joined
Sep 13, 2003
Messages
4,766
Reaction score
0
its been a while since ive done this. i got a custom texture that ive put on some faces a level, it looks fine in hammer, but when i go into the game, its purple checkerboard.

the texture is in:

C:\steam\SteamApps\*******\sourcesdk\cstrike_sample_content\materials

so just \texture according to hammer. i got an error msg when compiling that it couldn't find it so i also put the vmt&vtf in

C:\steam\SteamApps\*******\counter-strike source\cstrike\maps\materials

now i don't get an error msg when compiling, but its still purple checkboard. can someone help me out? i read what valve had about materials, but it only says how to create them not have them show up in game. where do i need to put the material so the game will display it correctly?

and the texture is just a simple lightmappedgeneric:

"LightmappedGeneric"
{
"$basetexture" "/DarkWindowRailMetal"
}
 
try putting them where the other textures are, or in a subfolder with the map name
 
there are no other textures, they are in the cache files because i can't find them.

now where would i put the mapname subfolder?

ugh ive tried so many things, im getting tired of this. there is no documentation about this. only documentation on how to create the material, which ive done, but not how to see it in cs:s
 
Put the texture also in: C:\steam\SteamApps\*******\counter-strike source\cstrike\materials
 
Back
Top