Upvote Upvoted 1 Downvote Downvoted
Hud Crosshair to VTF?
posted in Customization
1
#1
0 Frags +

Title, I was wondering if anyone knew how to take font crosshairs and make them into a vtf file, I tried typing the font in on paint and saving as a picture then using vtfedit, however I am unfamiliar with image editing and after and hour and a half of failures I think its time to ask around.

Title, I was wondering if anyone knew how to take font crosshairs and make them into a vtf file, I tried typing the font in on paint and saving as a picture then using vtfedit, however I am unfamiliar with image editing and after and hour and a half of failures I think its time to ask around.
2
#2
1 Frags +

type your crosshair in paint, save it as a .tga file. then open up vtfedit and click on import. use these settings: http://pastebin.com/KkzRvru8. Then save the file and name it Crosshair.vtf. Then create a text document and fill it with the following:

"UnlitGeneric"
        {
                "$translucent"  1
                "$basetexture" "vgui\replay\thumbnails\Crosshair"
                "$vertexcolor" 1
                "$no_fullbright" 1
                "$ignorez" 1
        }

Then save the text doc as Crosshair.vmt, put both files in custom/ ** any_name** /materials/vgui/replay/thumbnails, and you're set to use it as an in-game crosshair or a hud crosshair.

if you have any more questions you can refer to the guide that i wrote for huds.tf which can be located here:
https://docs.google.com/document/d/1cpANKL3GRq7IcS3TzH2zD_59ydkU2QWNOuegmyzMxZU/edit

type your crosshair in paint, save it as a .tga file. then open up vtfedit and click on import. use these settings: http://pastebin.com/KkzRvru8. Then save the file and name it Crosshair.vtf. Then create a text document and fill it with the following:
[code]"UnlitGeneric"
{
"$translucent" 1
"$basetexture" "vgui\replay\thumbnails\Crosshair"
"$vertexcolor" 1
"$no_fullbright" 1
"$ignorez" 1
}[/code]
Then save the text doc as Crosshair.vmt, put both files in custom/ ** any_name** /materials/vgui/replay/thumbnails, and you're set to use it as an in-game crosshair or a hud crosshair.

if you have any more questions you can refer to the guide that i wrote for huds.tf which can be located here:
https://docs.google.com/document/d/1cpANKL3GRq7IcS3TzH2zD_59ydkU2QWNOuegmyzMxZU/edit
3
#3
0 Frags +

http://steamcommunity.com/sharedfiles/filedetails/?id=271842217 Looks basically the exact same as any other attempt I made, I feel like I must be missing something obvious at this point, any comment?

http://steamcommunity.com/sharedfiles/filedetails/?id=271842217 Looks basically the exact same as any other attempt I made, I feel like I must be missing something obvious at this point, any comment?
4
#4
0 Frags +

i've never used paint, looks like you need to have the background of your image be an alpha layer (transparent) instead of white. try downloading gimp, it's a free photoshop alternative, like i detailed in the guide, and very useful, i can personally vouch for it.

i've never used paint, looks like you need to have the background of your image be an alpha layer (transparent) instead of white. try downloading gimp, it's a free photoshop alternative, like i detailed in the guide, and very useful, i can personally vouch for it.
5
#5
0 Frags +

k thanks for the help!

k thanks for the help!
6
#6
1 Frags +

Solution in case anyone was having the same problem, in vtf edit if you go to "tools" then "create vmt file" click on it and go to the options tab, if you check the translucent tab then its fine. The original problem was that I would have the white background even though I used paint to make the background transparent.

Solution in case anyone was having the same problem, in vtf edit if you go to "tools" then "create vmt file" click on it and go to the options tab, if you check the translucent tab then its fine. The original problem was that I would have the white background even though I used paint to make the background transparent.
7
#7
0 Frags +
hanbroloi've never used paint, looks like you need to have the background of your image be an alpha layer (transparent) instead of white. try downloading gimp, it's a free photoshop alternative, like i detailed in the guide, and very useful, i can personally vouch for it.

If for some reason you don't like GIMP, Paint.net is a nice alternative. The user interface is easier to use than GIMP's, but lacks the same depth.

[quote=hanbrolo]i've never used paint, looks like you need to have the background of your image be an alpha layer (transparent) instead of white. try downloading gimp, it's a free photoshop alternative, like i detailed in the guide, and very useful, i can personally vouch for it.[/quote]
If for some reason you don't like GIMP, Paint.net is a nice alternative. The user interface is easier to use than GIMP's, but lacks the same depth.
Please sign in through STEAM to post a comment.