hammer doesnt load texture

  • Thread starter Thread starter kazaq
  • Start date Start date
K

kazaq

Guest
I created a texture 512 by 512 in photoshop, saved it as a 24 bit tga, and ran vtex with the info file with the folowing peramiters.
"LightmappedGeneric"
{
"$basetexture" "core/rock"
}
The name of the file is rock and it is in the core folder and Vtex creates a vtf file in the right place. But when I load hammer my texture is nowhere to be found. Am I missing a step somewhere here?
 
The VTEX information file is a .txt file containing VTEX-specific parameters. What you've written there is the desired content of a .vmt.
 
so what should my txt file look like?

Ive also tried compiling without one to get the default stuff and it also didnt work.
 
Place what you've written in a .txt file with the same name as your .tga in the same folder as your .tga
When you run VTEX it will look for that .txt file and use it to make the .vmt for you.

Or if you already have your .vtf you can make a .txt file, put what you've written above into it, and then rename it to .vmt

When you have your .vtf/.vmt pair place them in your game's /materials folder and under another folder (in this case "core") for organizational purposes. Now when hammer loads it should see it.
 
Back
Top