Problem creating new textures
Post Reply
Quote
Re: Problem creating new textures
Posted by Loco on Thu Dec 9th at 8:13am 2004


Just followed the tutorial for creating materials from tga files, but every time I drag the file into the vtex program it says it "can't open C:Program FilesValveSteamSteamApps<username>sourcesdksdkcontentmaterialsrccustomtexbase_floor2.vtf" file and won't go any further. Bear in mind I'm using the sdkcontent folder instead of the counter-strike folder, but it should work all the same. Any ideas why?
[addsig]




Quote
Re: Problem creating new textures
Posted by Leperous on Thu Dec 9th at 11:40am 2004


"Can't open *.vtf"? Are you dragging a .TGA onto the VTEX program? Please copy and paste what it says in the window fully (right click, "select all", press CTRL+C). Here is an example of it going right when I drag something from the materialsrc folder onto VTEX (from one window into another)

input file: C:/Steam/SteamApps/leperous/sourcesdk/sdkcontent/materialsrc/SDK/bump_height
output directory: C:/Steam/SteamApps/leperous/sourcesdk/sdkcontent/materials/SDK

config file C:/Steam/SteamApps/leperous/sourcesdk/sdkcontent/materialsrc/SDK/bump_height.txt not present, making an empty one
Hit a key to continue





Quote
Re: Problem creating new textures
Posted by Loco on Fri Dec 10th at 8:16am 2004


input file: C:/Program Files/Valve/Steam/SteamApps/loco161104/sourcesdk/sdkconte
nt/materialsrc/customtex/base_floor2
output directory: C:/Program Files/Valve/Steam/SteamApps/loco161104/sourcesdk/sd
kcontent/materials/customtex
config file C:/Program Files/Valve/Steam/SteamApps/loco161104/sourcesdk/sdkconte
nt/materialsrc/customtex/base_floor2.txt not present, making an empty one
Can't open: C:/Program Files/Valve/Steam/SteamApps/loco161104/sourcesdk/sdkconte
nt/materials/customtex/base_floor2.vtf
Hit a key to continue

That's the full thing. No file is created (except the text file), and voila! No texture/material.
[addsig]




Quote
Re: Problem creating new textures
Posted by Leperous on Fri Dec 10th at 11:42am 2004


Create the directory customtex in your materials directory and it should work. I just tested something similar, and it seems VTEX can't create directories.





Quote
Re: Problem creating new textures
Posted by Loco on Fri Dec 10th at 1:49pm 2004


Will test in a minute - I've just had to re-install Windows so it'll be a while before I can do anything yet! Thanks for the help. [addsig]




Post Reply