Custom Texture not showing up in Hammer

I

IcedEarth

Guest
I read some tutorials on importing custom textures into Hammer but still can't get it right.
This is the vmt file in my \half-life 2\hl2\materials\Custom directory

"LightmappedGeneric"
{
"$BaseTexture" "Custom\Helipad1"
"$decal" 1
"$translucent" 1

}

The VTF is also there. In my sourcesdk_content\materialsrc\Custom folder I have the Helipad1.tga file and and an empty Helipad1.txt file that was created by Vtex. What am I doing wrong?
 
Are you sure the VTF is in the right directory? I think vtex puts compiled textures in the materials directory by default. Go to you 'materials' directory and if it's there move it to the correct directory which should be materials\Custom
 
Yup, I have the VTF and the VTM in half-life 2\hl2\materials\Custom
 
VMT? Make sure the paths are exactly the same.
 
Yeah, make sure the paths are correct. The VTF must be in the directory specified in the VMT. The VMT can be placed pretty much anywhere but it's best to put if with the VTF. Also, make sure you have you SDK set-up to use HL2 (although I think it does anyway regardless). When looking for you file in Hammer use the file name to search for it.

I've also just noticed you're using a "\" in the VMT. All mine use "/" but I don't know if it makes a difference.
 
Sorry, I meant VMT. I changed the slashes to "/" but it still doesn't work. The SDK is configured to use HL2. I pretty sure it's pointing to the right directory. The VMT is referencing the "Custom" directory in the Materials folder. Within that folder is the Helipad1.vtf and the Helipad1.vmt. I'm sure I forgot to do something really obvious here but I can't spot it.
 
In my sourcesdk_content\materialsrc\Custom folder I have the Helipad1.tga file and and an empty Helipad1.txt file that was created by Vtex. What am I doing wrong?

Not sure if that looks right. I never did it this way. But anyway, I recommend getting the VTEX Photoshop plugin. It makes adding custom textures pretty damn simple. Might be worth trying if you can't get this to work.
 
Ok I got the plugin...and it still won't show up. I saved the file using the plugin and put it in the "half-life 2\hl2\materialsdirectory" directory and I still get nothing. I tried adding a vmf in the "half-life 2\hl2\materialsdirectory" that is the same as the one above without the "Custom" directory... that didn't work either :(
 
er, you're making a decal? Do you mean it's not showing up in game or in hammer? cause I know decals need lights or else they show up black.

I'd try removing the
"$decal" 1
"$translucent" 1

and trying just a standard texture. It might be that the transparency is dicked up. It took me a few times to get decals to work right too.
 
It isn't showing up in Hammer, even if I remove those two line from the vmt
 
I'm having the same problem with a photo I turned into a texture. I used the photoshop plugin, AND vtex.exe. My texture shows up in the hammer texture browser as a pink and black checker board and applies to the block as transparent. Same results when I run my map.
 
Back
Top