So a while back I installed a hud crosshair onto KBNhud, pretty much following #7 in this thread to the t, since it's the exact same situation as me:
http://teamfortress.tv/forum/thread/1665/1
Worked fine for a while, this was back in late november/december. I didn't play on my desktop over the winter break, and when I get back and update KBNhud (as well as the above-mentioned files to reinstall the hud crosshair), the crosshair doesn't work. Instead, it just displays an "i", which is the "labeltext" in hudlayout.res. I can edit said labeltext to be any letter and it displays that letter, so the "i" is not significant.
I was talking to a friend about it and he said it may be that the font is not installed, but I don't know how this could be the case given that the font file never left my resources folder. Considering it's literally the exact same code as before, I'm completely stumped as to why it's not working.
Some of my hud files. This code is in scripts/hudlayout.res:
CrossHairKonrWings
{
"controlName" "CExLabel"
"fieldName" "CrossHairKonrWings"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-38"
"ypos" "c-17"
"wide" "61"
"tall" "35"
"font" "CrossHairKonrWings"
"labelText" "i"
"textAlignment" "center"
"fgcolor" "255 255 255 255"
}
This is in resources/ClientScheme.res:
// Fonts //
"CrossHairKonrWings"
{
"1"
{
"name" "Garm3nFont"
"tall" "24"
"weight" "0"
"antialias" "1"
}
}
// Custom Font Files //
"13"
{
"font" "resource/Garm3nFont.ttf"
"name" "Garm3nFont"
}
Any ideas on what's wrong? Again, the Garm3nFont.ttf is located in resources, as it should be.
So a while back I installed a hud crosshair onto KBNhud, pretty much following #7 in this thread to the t, since it's the exact same situation as me:
http://teamfortress.tv/forum/thread/1665/1
Worked fine for a while, this was back in late november/december. I didn't play on my desktop over the winter break, and when I get back and update KBNhud (as well as the above-mentioned files to reinstall the hud crosshair), the crosshair doesn't work. Instead, it just displays an "i", which is the "labeltext" in hudlayout.res. I can edit said labeltext to be any letter and it displays that letter, so the "i" is not significant.
I was talking to a friend about it and he said it may be that the font is not installed, but I don't know how this could be the case given that the font file never left my resources folder. Considering it's literally the exact same code as before, I'm completely stumped as to why it's not working.
Some of my hud files. This code is in scripts/hudlayout.res:
[code] CrossHairKonrWings
{
"controlName" "CExLabel"
"fieldName" "CrossHairKonrWings"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-38"
"ypos" "c-17"
"wide" "61"
"tall" "35"
"font" "CrossHairKonrWings"
"labelText" "i"
"textAlignment" "center"
"fgcolor" "255 255 255 255"
}[/code]
This is in resources/ClientScheme.res:
[code]
// Fonts //
"CrossHairKonrWings"
{
"1"
{
"name" "Garm3nFont"
"tall" "24"
"weight" "0"
"antialias" "1"
}
}
// Custom Font Files //
"13"
{
"font" "resource/Garm3nFont.ttf"
"name" "Garm3nFont"
}
[/code]
Any ideas on what's wrong? Again, the Garm3nFont.ttf is located in resources, as it should be.
"font" "CrossHairKonrWings"
"labelText" "i"
"textAlignment" "center"
SHOULD BE:
"font" "CrossHairKonrWings"
"labelText" "Z"
"textAlignment" "center"
If that doesn't work, you should download yz50's settings on his youtube and use his garm3nfont, as he edited it to fit his liking
"font" "CrossHairKonrWings"
"labelText" "i"
"textAlignment" "center"
SHOULD BE:
"font" "CrossHairKonrWings"
"labelText" "Z"
"textAlignment" "center"
If that doesn't work, you should download yz50's settings on his youtube and use his garm3nfont, as he edited it to fit his liking
edit: Unless if ^ works
if you want i can just fix it for you right now
edit: Unless if ^ works
if you want i can just fix it for you right now
Before seeing these replies, I talked to another friend who told me to actually install the font on the computer, which seemed to do the trick. I tried editing what #2 said out of curiosity, and it seemed to change the crosshair (made it larger and thinner), so I don't know.
But I appreciate the responses regardless.
Before seeing these replies, I talked to another friend who told me to actually install the font on the computer, which seemed to do the trick. I tried editing what #2 said out of curiosity, and it seemed to change the crosshair (made it larger and thinner), so I don't know.
But I appreciate the responses regardless.
was the font in your tf/resource folder?
was the font in your tf/resource folder?
It was, but I opened it and there was an option to "install" it, so I'm assuming it put it in the list of windows fonts on the computer as well.
It was, but I opened it and there was an option to "install" it, so I'm assuming it put it in the list of windows fonts on the computer as well.