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.
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
[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
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?
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.
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.
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.
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.