I need help getting a texture to work.

Kazagin

L3: Member
Aug 4, 2009
130
9
I'm nearly done with my map, I just need to decorate it with props and add Lava.
I am obviously here for the latter of the two.
I downloaded MangyCarface's texture "Lava!", but I cannot get it to work.
It came in a folder "scrollinglava", and there were two files, a VMT and a VFT.
I put the "scrollinglava" folder (with the two files) into "tf>materials", and loaded up Hammer.
When I found it in the Texture Browser, it was a broken texture. (The pink/black checkerboard)
If I made a brush with it, it was broken. If I compiled, it was broken. (Although it did make a squishy noise when I walked on it.)

Is there ANYTHING I need to do besides put it in the "tf>materials" folder and apply it to a brush?
 

Eternal

L69: Deviant Member
Jul 8, 2009
69
10
Did you make sure both the VTF and VMT files have the same name(besides of course the extension) Also try taking them out of the "scrollinglava" folder and placing them both directly into the materials folder, that might fix it.
 

Open Blade

L420: High Member
Nov 30, 2007
439
34
Which ever folder you put them under, be sure to open the vmt file and make sure the path is set up correctly to match where you placed the file.
 

Kazagin

L3: Member
Aug 4, 2009
130
9
Both files have the same name "lava".
How do I open the VMT file and how do I check to make sure that the path is set up correctly to match where I put the files?
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
open it in notepad, and check the path it should say something like materials/scrollinglava
 

Kazagin

L3: Member
Aug 4, 2009
130
9
Copy-pasta'd straight from the VMT

"LightmappedGeneric"
{
"$basetexture" "shmitz/signs/lava"
"$surfaceprop" "slime"
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .05
"texturescrollangle" 270.00
}
}
}

I can't make heads or tails of it.
 
Last edited:

Ravidge

Grand Vizier
aa
May 14, 2008
1,544
2,818
that says you should have files called lava.vtf and lava.vmt in the /tf/materials/shmitz/signs/ folder.
 

Kazagin

L3: Member
Aug 4, 2009
130
9
Seriously... I made a "shmitz" and a "signs" folder, I put the "shmitz" in my materials, the "signs" in my "shmitz" and the "lava.vtf and lava(both with the .vmt and without)" in my "signs" and it still doesn't work!
What else could possible be going wrong?
 

Open Blade

L420: High Member
Nov 30, 2007
439
34
Seriously... I made a "shmitz" and a "signs" folder, I put the "shmitz" in my materials, the "signs" in my "shmitz" and the "lava.vtf and lava(both with the .vmt and without)" in my "signs" and it still doesn't work!
What else could possible be going wrong?

It should work. But I would just create your own folder and change the path in the file. A lava texture really isn't a sign. Just make your own folder under materials and place both your vtf and vmt there and then make sure your vmt path is correct. Then close hammer (although you shouldn't have to) and open again and you should see your custom texture. The only other thing I could think of is if the texture itself (vtf) wasn't built right but I doubt shmitz would build a bad texture.

Double check all the little thing, those are usually the reasons why it wouldn't work (spelling, spaces, etc...)

You can double check the vtf file in vtfedit, just to make sure it's valid.

again, make sure this is your full path where you place your files:
Steam/steamapps/username/team fortress 2/tf/materials/your new folder

then in your vmt file, you only need to start your path string with the parent folder, so in the case above, you would only have 1 folder before the file name (your new folder/filename)

Exampe: I made a custom blue roof texture for a map and this is my vmt (which I placed under materials/Blades Textures).

"LightmappedGeneric"
{
"$basetexture" "Blades Textures/roofbluemetal"
"$surfaceprop" "metal"
"%keywords" "tf"
}



.........and I'm not sure what you mean about placing a vmt file with and without the vmt??? all you need is 2 files, spelled the exact same way with different extensions (vmt, vtf). Don't put any other files in there.

Looking at your vmt data, I'm not sure what that "proxies" is but that could be a problem. I'm by no means a texture expert but I've never had a custom texture with that in there.

Another texture I made (a wall texture), again, no proxies.

"LightmappedGeneric"
{
"$baseTexture" "Wood/wood_wall005a"
"$surfaceprop" "wood"
"%keywords" "tf"
"$detail" "overlays/detail006"
"$detailscale" "1"
"$detailblendmode" "0"
"$detailblendfactor" "1"
}



You might want to ask shmitz what that proxies is or if anything addition is needed to make that texture show up in Hammer.
 
Last edited:

Dr. ROCKZO

L8: Fancy Shmancy Member
Jul 25, 2009
580
159
You don't still have it called Lava! do you? Anything ither than abc/123/_ won't work in a folder name..
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
I put it in here

team fortress 2\tf\materials\shmitz\signs

worked fine for me. Try deleting the one you have and redownload it maybe something got messed up.
 

Kazagin

L3: Member
Aug 4, 2009
130
9
SWEET! It works! Thanks everyone! :D
Now my volcano looks like a volcano and not a giant hole in a mountain filled with Dev Texture.
Expect the first release next Weekend.