need help making VTF!

  • If you're asking a question make sure to set the thread type to be a question!

Twist.vmf

L420: High Member
Jul 29, 2016
439
208
so i want to make an image into a .vtf so i can put it in my map, but i can't get it to work!
i use VTFedit and when i make a .vtf it makes 2 files of the same name one is .vmf the other is .vtf
but when i go into hammer not only is it not there but hammer crashes if i try to go to tf

pleas help!
 

Grubzer

L5: Dapper Member
Jan 3, 2016
203
39
so i want to make an image into a .vtf so i can put it in my map, but i can't get it to work!
i use VTFedit and when i make a .vtf it makes 2 files of the same name one is .vmf the other is .vtf
but when i go into hammer not only is it not there but hammer crashes if i try to go to tf

pleas help!
Install .vtf exporter on your adobe ps, open your image in ps, export it, open in vtfedit, click "create vmt file" and bingo, you have your vtf and vmt, you just have to configure it. Place them in tf/materials/*yourfolder*
And make sure you set right path to vtf in vmt
 

Twist.vmf

L420: High Member
Jul 29, 2016
439
208
Install .vtf exporter on your adobe ps, open your image in ps, export it, open in vtfedit, click "create vmt file" and bingo, you have your vtf and vmt, you just have to configure it. Place them in tf/materials/*yourfolder*
And make sure you set right path to vtf in vmt
Sorry but I can't afford Adobe Photoshop
 

Twist.vmf

L420: High Member
Jul 29, 2016
439
208
Besides my new problem is making stuff like posters to put on walls they don't show up in game and they look weird in hammer, like trying to overlay a normal texture
 

Twist.vmf

L420: High Member
Jul 29, 2016
439
208
you can find it somewhere else... if you know waht i mean ;)
Is your 3d view in hammer set to 3D textured, not 3D shaded textured polygons?

And what do you mean under "weird"
By weird I mean they flash with little vents of the bottom texture as if fighting for dominance
 

frankvega

L1: Registered
Jun 27, 2014
21
12
Go to VTFEdit, create both the .vtf and .vmt file. Check the .vtf to see if thats the correct image (just in case), now go to "tf/materials" and make a folder called "twistmapper" or any other name , put the .vtf and .vmt file there and open .vmt, replace all the text in the vmt for this:

"LightmappedGeneric"
{
"$basetexture" "twistmapper/filename"
"$decal" 1
"$decalsacle" 0.25
"$traslucent" 1
}


That's the config if you are talking about making a poster like the ones used in HL2 for instance.You can play around the configs and you can edit the "basetexture" line with the folder you want the files to be on, just remember to replace "filename" for the name of your vtf and vmt, you don't need to write down the extension in the vmt.

If everything is ok, you should be able to see the new texture in the texture tab. In order to place it as a decal you need to select the texture and use the "Apply overlays" tool and remember to have Texture Lock selected in order to change the size of the decal.

I hope that helped, and I hope I understood what you tried to do.