Team Fortress 2
having trouble importing sprays.
hey, im trying to make a spray with a transparent background.
i followed multiple guides on how to do it, and so far whenever i try to import it, it just shows up as a missing texture checkerboard in the menu and doesnt work in game.

steps i followed:
go into gimp
make my spray
delete background
export as .tga, gimp doesnt have many settings for this export so i simply left it default
import .tga into vtfedit
-guides say: check 'no mipmap/no level of detail'
-also tried not checkint these, same result either way
save as .vtf
import .vtf in tf2's options menu.

ive also tried generating vmt files as well, but it seems tf2 already does this on it's own, and it hasnt helped anyway.
at one point it seemingly, completely at random decided to work...but then i decided i wanted to change the spray around some and now it doesnt work again.
Last edited by Darth Zed; May 12 @ 12:11am
< >
Showing 1-6 of 6 comments
apchistuz May 12 @ 12:33am 
are you using 7.5 version of VTF? (not vtfedit) if yes, then change it to 7.4
Originally posted by apchistuz:
are you using 7.5 version of VTF? (not vtfedit) if yes, then change it to 7.4

i remade the spray, exported it as a tga with no background, and a jpg with a background.

importing the tga directly without converting it into a vtf didnt work.
importing the jpg directly didnt work.
so i re opened the gimp file, re exported them, deleted all existing copies in the materials/vgui/logos folder and now suddenly they both worked.

no idea what this issue is, maybe it was with my version of vtf edit? since i never imported anything into vtf edit this time.

but then why did it take 2 tries!? it wasnt the deleting ive done that before. i didnt edit the images inbetween the export attempts, i even repoened the new vtf tf2 created in my vtf edit, checked the no mipmap/LOD boxes, and it still works and is indeed now forced high quality.

ugh, im confused but at least it works for some reason now.
Last edited by Darth Zed; May 12 @ 1:05am
Originally posted by Darth Zed:
Originally posted by apchistuz:
are you using 7.5 version of VTF? (not vtfedit) if yes, then change it to 7.4

i remade the spray, exported it as a tga with no background, and a jpg with a background.

importing the tga directly without converting it into a vtf didnt work.
importing the jpg directly didnt work.
so i re opened the gimp file, re exported them, deleted all existing copies in the materials/vgui/logos folder and now suddenly they both worked.

no idea what this issue is, maybe it was with my version of vtf edit? since i never imported anything into vtf edit this time.

but then why did it take 2 tried!?

ugh, im confused by at least it works for some reason now.
you can use png
Originally posted by apchistuz:
Originally posted by Darth Zed:

i remade the spray, exported it as a tga with no background, and a jpg with a background.

importing the tga directly without converting it into a vtf didnt work.
importing the jpg directly didnt work.
so i re opened the gimp file, re exported them, deleted all existing copies in the materials/vgui/logos folder and now suddenly they both worked.

no idea what this issue is, maybe it was with my version of vtf edit? since i never imported anything into vtf edit this time.

but then why did it take 2 tried!?

ugh, im confused by at least it works for some reason now.
you can use png

tf2 cant import png far as i can tell
Originally posted by Darth Zed:
Originally posted by apchistuz:
you can use png

tf2 cant import png far as i can tell
I mean into VTFEdit.
Originally posted by apchistuz:
Originally posted by Darth Zed:

tf2 cant import png far as i can tell
I mean into VTFEdit.
gotcha, and yeah after playing around in vtfedit some more it was totally the version 7.5 thing.

so therefore anything i imported into vtf became basically permanently 'corrupted' and nothing i would do would make it work.
even if i exported it back into tga, brought it into gimp, editing, and re-exported it.

when i made a new spray, and exported them without every using vtfedit on them, thats when they started working.
i then did make a nice png, 512 square for good resolution, and imported it as the 7.4 then it worked perfectly, thank you

https://steamcommunity.com/sharedfiles/filedetails/?id=3244946917
Last edited by Darth Zed; May 12 @ 1:42am
< >
Showing 1-6 of 6 comments
Per page: 1530 50