if i got a image of some piece of wood ( http://www.noctua-graphics.de/images/download/tex/wood/planks01.jpg )
and i saved it in "my pics" then how can i get them on brushes in sdk?
btw, didnt understand anything of that import texture tutorial...
Created 17 years ago2007-07-05 17:38:38 UTC by Snusmumrikken
YAY I got custom textures to finally work in HL2 etc:
I misread the guide at the end where it said convert to .vmt so thats why it didn't work :S
I explained this to another guy and I wrote this as to how to do it!
Get your .jpg, use Irfanview to convert it to .tga, make a folder called mytexes in this place
C:Program FilesValveSteamSteamAppshabboicounte
r-strike sourcecstrikematerialsmytexes
and here as well:
C:Program FilesValveSteamSteamAppshabboisource
sdk_contentcstrikematerialsrcmytexes
ok now you have the .tga so right click vtex.exe and send it to desktop, now open up the place where the .tga is and drag it onto the desktop as well.
then again drag it onto vtex.exe and a black box should appear, if successful it will say something like:
input, output directory blah blah and then press any key to continue
you should end up with a .vtf in the folder called mytexes and also an empty .txt
open up the .txt and write:
"LightmappedGeneric"
{ "$basetexture" "yourfoldername/yourtexname" }
(exactly as I have written it but in place of folder name put mytexes and your texname put fence1.
ok nearly done, save as and rename it
to fence1.vmt and copy this new .vmt to the two folder called mytexes in the css materials folder and the sdk one as well!
Ok thats basically it so start hammer, go to browser and type the name of the texture and if it comes up then you are successful!
Make a quick map and it should hopefully work!
Thats it and I found it very useful
* Double-click My Computer
* Choose Tools, Folder Options from the menu bar of the "My Computer" window.
* Click the View tab
* Scroll down a bit and remove the check mark next to "Hide extensions for known file types" as shown below.
* Under "HIdden files and folders" click "Show hidden files and folders"
* Make sure the other options are set the way you want them for all folders on you computer
* Click OK