mkdir -shader LightmappedGeneric C:\Valve\Steam\SteamApps\username\sourcesdk_content\cstrike\materialsrc\texturedir\*.tga
Doesn't accept that,please help!
It is currently Fri May 31, 2024 5:50 am
mkdir -shader LightmappedGeneric C:\Valve\Steam\SteamApps\username\sourcesdk_content\cstrike\materialsrc\texturedir\*.tga

Nick99 wrote:mkdir -shader LightmappedGeneric C:\Valve\Steam\SteamApps\username\sourcesdk_content\cstrike\materialsrc\texturedir\*.tga
Doesn't accept that,please help!


doral wrote:alright... ive made the vmt and vft files... and there in a folder in materials... This is my VMT file...
"LightmappedGeneric"
{
"$basetexture" "bmptexture/bmptexture"
"$decal" 1
"$decalscale" 0.10
"$translucent" 1
}
And it comes out to be pink/black checkerd.... help plz













vcool wrote:Just ignore that bit, there's an easier way. In your game folder (if it were Episode 2, it would be "steamapps/account/half life 2 episode 2/ep2") create a newfolder called "materialsrc". Place all your TGA files in it. Then open another window, and navigate to "steamapps\account\sourcesdk\bin\orangebox\bin". Make both of the windows small so you can see both. Then select your TGA files, and just move them over and place them onto VTEX. A command prompt will appear. If something doesn't work it will say there. Now your TGA are convereted into VTF, and you can find them in your "steamapps/account/half life 2 episode 2/ep2/materials" folder. Now all that's left to do is a VMT file.
Similarly, if you are doing this for episode 1, then just do the same but instead of using the VTEX in "steamapps\account\sourcesdk\bin\orangebox\bin", use "steamapps\account\sourcesdk\bin\ep1\bin".



vcool wrote:OK, instead of making a materialsrc folder, go to your "steamapps/account/sourcesdk_content\hl2\materialsrc" and place your TGAs there. Repeat the procedure of dragging the TGAs onto VTEX.
If that still doesn't work, then there is something wrong with the texture.
1) are the sizes powers of 2?
2) Is it a TGA?
3) Have you saved the TGA with RLE compression? If yes, then you must save it without the compression.

Users browsing this forum: No registered users