Editing A VTF

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
So, I want to edit nature/blendgroundtograss008 to have no detail sprites, but I cant seem to get the vtf decompiled. Any suggestions/somone who made that texture already?
 

Beetle

L9: Fashionable Member
Aug 17, 2008
627
178
VTFEdit > Load the vtf > Export as png (renamed, of course)

also, I'm pretty sure it's the vmt that gives a texture sprites.
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
You can edit the sprites out of a vtf im pretty sure. How do I edit the parameters of the vtf?
 

Beetle

L9: Fashionable Member
Aug 17, 2008
627
178
You can edit the sprites out of a vtf im pretty sure. How do I edit the parameters of the vtf?

I'm not sure what you mean. The parameters of the vtf ARE what's in the vmt. Maybe someone else knows something I don't.
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
Is there a way to edit them? When I open a vtf in vtfedit, its just the image
 

wareya

L420: High Member
Jun 17, 2012
493
191
Brush textures in TF2 are made up of a vmt (material) and vtf (image) combination. Every valid brush texture has a vmt/material, which at the minimum, defines the image that makes up the texture and what kind of "material" it is. The material defines things like what kind of decals and sounds the texture makes, special properties like having different friction, and for blending textures, what textures blend together with what mask. It also states what detail textures, like grass blades, the texture has. You want to edit the vmt, not the vtf. The vtf only contains image data.
 

Beetle

L9: Fashionable Member
Aug 17, 2008
627
178
and you open the vmts the same way to open the vtfs - in VTFEdit
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
Oh, ok ty. Would I have to tie the vmt to the vmf or something?
 

wareya

L420: High Member
Jun 17, 2012
493
191
The vmt contains lines that state what vtfs it uses. That part's in text. The vmf then refers to vmt files based on wherever you use a texture on a brush. That part's in hammer.

vmf - map source, text based

vmt - material, text based
vtf - texture, binary blob
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
Where would the vmf's be located? It took me long enough to find the vtfs.
 

wareya

L420: High Member
Jun 17, 2012
493
191
tf2_misc_dir.vpk -- under the same directory in there as in the texture vpk
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Well, they should be in there, under /materials/.
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
?All thats in there is vtfs. Could someone send me the vtf for blendgroundtograss008_tooltexture?
 

henke37

aa
Sep 23, 2011
2,075
515
The file extension is vmt, not vmf or vtf.

You can find the vmt at tf2_misc_dir.vpk/materials/nature/blendgroundtograss008.vmt. Right next to the blendgroundtograss008_nodetail.vmt material file...
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
I keep getting the file extension names mixed up, lol. But there are no vmts. All thats there are vtfs
 

Exactol

Certified Hammer Hacker
aa
Jul 11, 2013
421
537
Finally found a site that had a download for it. Thanks to all that tried to help