Upvote Upvoted 1 Downvote Downvoted
how to get fog's custom crosshairs working?
1
#1
0 Frags +

i just don't understand how this works pls halp.

/willfeelstupidafterirealizeitseasy

thanks

i just don't understand how this works pls halp.

/willfeelstupidafterirealizeitseasy

thanks
2
#2
1 Frags +

read into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1

read into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1
3
#3
4 Frags +

you rang?

you rang?
4
#4
-4 Frags +
Fogyou rang?

what?

32hzread into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1

after i put this in hudlayout.res:

"pluscrosshair"
{
"controlName" "CExLabel"
"fieldName" "pluscrosshair"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-29"
"ypos" "c-24"
"wide" "49"
"tall" "49"
"font" "crosshairs"
"labelText" "+"
"textAlignment" "center"
"fgcolor" "0 255 0 255"

then this in client scheme.res:

"pluscrosshair"
{
"1"
{
"name" "crosshairs"
"tall" "18"
"weight" "0"
"antialias" "1"
"12"
{
"font" "resource/crosshairs.ttf"
"name" "crosshairs"

now nothing shows up :c

[quote=Fog]you rang?[/quote]
what?

[quote=32hz]read into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1[/quote]

after i put this in hudlayout.res:

"pluscrosshair"
{
"controlName" "CExLabel"
"fieldName" "pluscrosshair"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-29"
"ypos" "c-24"
"wide" "49"
"tall" "49"
"font" "crosshairs"
"labelText" "+"
"textAlignment" "center"
"fgcolor" "0 255 0 255"

then this in client scheme.res:

"pluscrosshair"
{
"1"
{
"name" "crosshairs"
"tall" "18"
"weight" "0"
"antialias" "1"
"12"
{
"font" "resource/crosshairs.ttf"
"name" "crosshairs"

now nothing shows up :c
5
#5
0 Frags +
atidereFogyou rang?what?
32hzread into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1

after i put this in hudlayout.res:

"pluscrosshair"
{
"controlName" "CExLabel"
"fieldName" "pluscrosshair"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-29"
"ypos" "c-24"
"wide" "49"
"tall" "49"
"font" "crosshairs"
"labelText" "+"
"textAlignment" "center"
"fgcolor" "0 255 0 255"
}
then this in client scheme.res:

"pluscrosshair"
{
"1"
{
"name" "crosshairs"
"tall" "18"
"weight" "0"
"antialias" "1"
}
"12"
{
"font" "resource/crosshairs.ttf"
"name" "crosshairs"
}

now nothing shows up :c

you need to close the brackets I'm pretty sure? could be wrong about that, but in my hud it looks more like the changes in bold. also you need to have the file 'crosshairs.ttf' in /tf/resource if you don't already.

[quote=atidere][quote=Fog]you rang?[/quote]
what?

[quote=32hz]read into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1[/quote]

after i put this in hudlayout.res:

"pluscrosshair"
{
"controlName" "CExLabel"
"fieldName" "pluscrosshair"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-29"
"ypos" "c-24"
"wide" "49"
"tall" "49"
"font" "crosshairs"
"labelText" "+"
"textAlignment" "center"
"fgcolor" "0 255 0 255"
[b]}[/b]
then this in client scheme.res:

"pluscrosshair"
{
"1"
{
"name" "crosshairs"
"tall" "18"
"weight" "0"
"antialias" "1"
[b]}[/b]
"12"
{
"font" "resource/crosshairs.ttf"
"name" "crosshairs"
[b]}[/b]

now nothing shows up :c[/quote]
you need to close the brackets I'm pretty sure? could be wrong about that, but in my hud it looks more like the changes in bold. also you need to have the file 'crosshairs.ttf' in /tf/resource if you don't already.
6
#6
-1 Frags +
hanbroloatidereFogyou rang?what?
32hzread into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1

after i put this in hudlayout.res:

"pluscrosshair"
{
"controlName" "CExLabel"
"fieldName" "pluscrosshair"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-29"
"ypos" "c-24"
"wide" "49"
"tall" "49"
"font" "crosshairs"
"labelText" "+"
"textAlignment" "center"
"fgcolor" "0 255 0 255"
}
then this in client scheme.res:

"pluscrosshair"
{
"1"
{
"name" "crosshairs"
"tall" "18"
"weight" "0"
"antialias" "1"
}
"12"
{
"font" "resource/crosshairs.ttf"
"name" "crosshairs"
}

now nothing shows up :c
you need to close the brackets I'm pretty sure? could be wrong about that, but in my hud it looks more like the changes in bold. also you need to have the file 'crosshairs.ttf' in /tf/resource if you don't already.

will try. its in the resource folder already. thats the easy part! thanks for help if this works.
edit:didnt work :c

[quote=hanbrolo][quote=atidere][quote=Fog]you rang?[/quote]
what?

[quote=32hz]read into this thread im sure its a similar process, if its not im so sorry

http://teamfortress.tv/forum/thread/6917/1[/quote]

after i put this in hudlayout.res:

"pluscrosshair"
{
"controlName" "CExLabel"
"fieldName" "pluscrosshair"
"visible" "1"
"enabled" "1"
"zpos" "2"
"xpos" "c-29"
"ypos" "c-24"
"wide" "49"
"tall" "49"
"font" "crosshairs"
"labelText" "+"
"textAlignment" "center"
"fgcolor" "0 255 0 255"
[b]}[/b]
then this in client scheme.res:

"pluscrosshair"
{
"1"
{
"name" "crosshairs"
"tall" "18"
"weight" "0"
"antialias" "1"
[b]}[/b]
"12"
{
"font" "resource/crosshairs.ttf"
"name" "crosshairs"
[b]}[/b]

now nothing shows up :c[/quote]
you need to close the brackets I'm pretty sure? could be wrong about that, but in my hud it looks more like the changes in bold. also you need to have the file 'crosshairs.ttf' in /tf/resource if you don't already.[/quote]
will try. its in the resource folder already. thats the easy part! thanks for help if this works.
edit:didnt work :c
7
#7
0 Frags +

just incase put the crosshairs font in your resource folder

then paste this in your clientscheme

fogCrosshair
{
"1"
{
"name" "Crosshairs"
"tall" "28"
"additive" "0"
"antialias" "0"
"weight" "0"
"outline" "1"
}
}

as well as this *this one should be put at the bottom of your clientscheme

"13" // replace this with a number that isnt being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

and then this goes in scripts/ hudlayout

fogCrosshair
{
"controlname" "CExLabel"
"fieldname" "fogCrosshair"

"visible" "1"
"enabled" "1"

"xpos" "c-15"
"ypos" "c-11"
"zpos" "2"

"wide" "28"
"tall" "28"

"font" "fogCrosshair"
"labeltext" "d"
"textAlignment" "center"

"fgcolor" "255 255 255 255" // Yellow
}

the xpos/ypos are for my res at 1024x768 so you might have to play with those, fog also explains all this in the readme a lot better than i have

just incase put the crosshairs font in your resource folder

then paste this in your clientscheme

fogCrosshair
{
"1"
{
"name" "Crosshairs"
"tall" "28"
"additive" "0"
"antialias" "0"
"weight" "0"
"outline" "1"
}
}

as well as this *this one should be put at the bottom of your clientscheme

"13" // replace this with a number that isnt being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}


and then this goes in scripts/ hudlayout

fogCrosshair
{
"controlname" "CExLabel"
"fieldname" "fogCrosshair"

"visible" "1"
"enabled" "1"

"xpos" "c-15"
"ypos" "c-11"
"zpos" "2"

"wide" "28"
"tall" "28"

"font" "fogCrosshair"
"labeltext" "d"
"textAlignment" "center"

"fgcolor" "255 255 255 255" // Yellow
}

the xpos/ypos are for my res at 1024x768 so you might have to play with those, fog also explains all this in the readme a lot better than i have
8
#8
0 Frags +

Make sure there's a font called crosshairs in your resource folder and in the fonts folder if your hud has that. Under the first curly bracket put in a random number that isnt already being used i.e. "6". x/y position and wide/tall are all trial and error. Your label text should correspond to the crosshair you want from this image.

https://dl.dropbox.com/u/21833101/crosshairs.png

It seems you want a cross so try "1", "2", "a", or "b".

Make sure there's a font called crosshairs in your resource folder and in the fonts folder if your hud has that. Under the first curly bracket put in a random number that isnt already being used i.e. "6". x/y position and wide/tall are all trial and error. Your label text should correspond to the crosshair you want from this image.

[img]https://dl.dropbox.com/u/21833101/crosshairs.png[/img]
It seems you want a cross so try "1", "2", "a", or "b".
9
#9
-2 Frags +

it worked but it shows up as the letter/number that i put in hudlayout.res.

it worked but it shows up as the letter/number that i put in hudlayout.res.
10
#10
0 Frags +

in clientscheme.res under fonts section

	fogCrosshair
		{
			"9"
			{
				"name"		"Crosshairs"
				"tall"		"28"
				"additive"	"0"
				"antialias" 	"0"
				"weight"	"0"
				"outline"	"1"
			}
		}

In hudlayout.res

fogCrosshair
	{
		"controlname"	"CExLabel"
		"fieldname"	"fogCrosshair"

		"visible"	"1"
		"enabled"	"1"

		"xpos"		"c-17"
		"ypos"		"c-13"
		"zpos"		"2"

		"wide"		"28"
		"tall"		"30"

		"font"		"fogCrosshair"
		"labeltext"	"1"
		"textAlignment"	"center"

		"fgcolor"	"255 255 255 255"
	}

That works for 1680x1050.

Make sure the same things that are matching between clientscheme and hudlayout here are matching in your clientscheme and hudlayout. Make sure you have the font file in your resource. I don't know what else i can possibly tell you.

in clientscheme.res under fonts section

[code] fogCrosshair
{
"9"
{
"name" "Crosshairs"
"tall" "28"
"additive" "0"
"antialias" "0"
"weight" "0"
"outline" "1"
}
}
[/code]

In hudlayout.res

[code]fogCrosshair
{
"controlname" "CExLabel"
"fieldname" "fogCrosshair"

"visible" "1"
"enabled" "1"

"xpos" "c-17"
"ypos" "c-13"
"zpos" "2"

"wide" "28"
"tall" "30"

"font" "fogCrosshair"
"labeltext" "1"
"textAlignment" "center"

"fgcolor" "255 255 255 255"
}[/code]

That works for 1680x1050.

Make sure the same things that are matching between clientscheme and hudlayout here are matching in your clientscheme and hudlayout. Make sure you have the font file in your resource. I don't know what else i can possibly tell you.
11
#11
-2 Frags +

i have and have always had fog's font file in my resource folder. i put what you told me to do in the correct spots, same result as last time.

i have and have always had fog's font file in my resource folder. i put what you told me to do in the correct spots, same result as last time.
12
#12
0 Frags +

are you positive you pasted the clientscheme.res part in the correct part of clientscheme.res? it has to be with the other custom font files at the bottom and the two parts need to be in their respective separate sections. you can't just paste it in at the top.

are you positive you pasted the clientscheme.res part in the correct part of clientscheme.res? it has to be with the other custom font files at the bottom and the two parts need to be in their respective separate sections. you can't just paste it in at the top.
13
#13
-2 Frags +
hanbroloare you positive you pasted the clientscheme.res part in the correct part of clientscheme.res? it has to be with the other custom font files at the bottom and the two parts need to be in their respective separate sections. you can't just paste it in at the top.

yes its at the bottom.

[quote=hanbrolo]are you positive you pasted the clientscheme.res part in the correct part of clientscheme.res? it has to be with the other custom font files at the bottom and the two parts need to be in their respective separate sections. you can't just paste it in at the top.[/quote]
yes its at the bottom.
14
#14
0 Frags +

pastebin your clientscheme.res for me please

pastebin your clientscheme.res for me please
15
#15
0 Frags +

hes most likely missing this part

"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

which should be at the bottom of clientscheme

hes most likely missing this part


"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

which should be at the bottom of clientscheme
16
#16
-3 Frags +
Fogpastebin your clientscheme.res for me please

http://pastebin.com/w1Ydkks5
there u go fog.

leonhes most likely missing this part

"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

which should be at the bottom of clientscheme

actually im not.

[quote=Fog]pastebin your clientscheme.res for me please[/quote]
http://pastebin.com/w1Ydkks5
there u go fog.
[quote=leon]hes most likely missing this part


"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

which should be at the bottom of clientscheme[/quote]
actually im not.
17
#17
0 Frags +
leonhes most likely missing this part

"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

which should be at the bottom of clientscheme

For the record, I've always placed any custom fonts I used for crosshairs at the very top of the fonts section in my clientscheme and disregarded the number as well and I've never had a problem as long as I copy and paste correctly.

[quote=leon]hes most likely missing this part


"8" // replace with number not being used
{
"font" "resource/crosshairs.ttf"
"name" "Crosshairs"
}

which should be at the bottom of clientscheme[/quote]
For the record, I've always placed any custom fonts I used for crosshairs at the very top of the fonts section in my clientscheme and disregarded the number as well and I've never had a problem as long as I copy and paste correctly.
18
#18
0 Frags +

Alright, it looks like you're using omphud, which already has my crosshairs installed. All you need to do is edit hudlayout.res and find OmpCrosshairBlah (except plus, because that's not my font). then you can edit or copy/paste one of them and edit that with what you want. Also, looking at your ClientScheme.res you did install this:
"FogCrosshair"
{
"13"
}
"name" "Crosshairs"
"tall" "28"
"weight" "0"
"antialias" "1"
}
In the wrong place.

Alright, it looks like you're using omphud, which already has my crosshairs installed. All you need to do is edit hudlayout.res and find OmpCrosshairBlah (except plus, because that's not my font). then you can edit or copy/paste one of them and edit that with what you want. Also, looking at your ClientScheme.res you did install this:
"FogCrosshair"
{
"13"
}
"name" "Crosshairs"
"tall" "28"
"weight" "0"
"antialias" "1"
}
In the wrong place.
19
#19
-2 Frags +
FogAlright, it looks like you're using omphud, which already has my crosshairs installed. All you need to do is edit hudlayout.res and find OmpCrosshairBlah (except plus, because that's not my font). then you can edit or copy/paste one of them and edit that with what you want. Also, looking at your ClientScheme.res you did install this:
"FogCrosshair"
{
"13"
}
"name" "Crosshairs"
"tall" "28"
"weight" "0"
"antialias" "1"
}
In the wrong place.

where would it go? also i cant find OmpCrosshairsBlah

[quote=Fog]Alright, it looks like you're using omphud, which already has my crosshairs installed. All you need to do is edit hudlayout.res and find OmpCrosshairBlah (except plus, because that's not my font). then you can edit or copy/paste one of them and edit that with what you want. Also, looking at your ClientScheme.res you did install this:
"FogCrosshair"
{
"13"
}
"name" "Crosshairs"
"tall" "28"
"weight" "0"
"antialias" "1"
}
In the wrong place.[/quote]

where would it go? also i cant find OmpCrosshairsBlah
20
#20
2 Frags +
atidere
where would it go? also i cant find OmpCrosshairsBlah

just search OmpCrosshair inside hudlayout.res and choose any one of them, just don't choose/change OmpCrosshairPlus.

[quote=atidere]

where would it go? also i cant find OmpCrosshairsBlah[/quote] just search OmpCrosshair inside hudlayout.res and choose any one of them, just don't choose/change OmpCrosshairPlus.
21
#21
0 Frags +
Fogatidere
where would it go? also i cant find OmpCrosshairsBlah
just search OmpCrosshair inside hudlayout.res and choose any one of them, just don't choose/change OmpCrosshairPlus.

i did search it. nothing found, and why not use ompcrosshairplus?

also you never answered where to put it. youre readme says put it in custom fonts in clientscheme.res (at the bottom) and thats where its at

[quote=Fog][quote=atidere]

where would it go? also i cant find OmpCrosshairsBlah[/quote] just search OmpCrosshair inside hudlayout.res and choose any one of them, just don't choose/change OmpCrosshairPlus.[/quote]
i did search it. nothing found, and why not use ompcrosshairplus?

also you never answered where to put it. youre readme says put it in custom fonts in clientscheme.res (at the bottom) and thats where its at
22
#22
0 Frags +

OmpCrosshairPlus doesn't use my font.

Also it is to be at the bottom of ///////////////// FONTS /////////////////, not the bottom of the entire document.

Edit: paste bin your hudlayout.res and I'll do it for you when I get home

OmpCrosshairPlus doesn't use my font.

Also it is to be at the bottom of ///////////////// FONTS /////////////////, not the bottom of the entire document.

Edit: paste bin your hudlayout.res and I'll do it for you when I get home
23
#23
0 Frags +
FogOmpCrosshairPlus doesn't use my font.

Also it is to be at the bottom of ///////////////// FONTS /////////////////, not the bottom of the entire document.

Edit: paste bin your hudlayout.res and I'll do it for you when I get home

gotcha.
heres the pastebin:
http://pastebin.com/5KNLqbXw

edit: can you do my clientscheme.res also? it seems i have problems with that too.

editedit: dont need anymore help fog helped me. thanks fog!

[quote=Fog]OmpCrosshairPlus doesn't use my font.

Also it is to be at the bottom of ///////////////// FONTS /////////////////, not the bottom of the entire document.

Edit: paste bin your hudlayout.res and I'll do it for you when I get home[/quote]
gotcha.
heres the pastebin:
http://pastebin.com/5KNLqbXw

edit: can you do my clientscheme.res also? it seems i have problems with that too.

editedit: dont need anymore help fog helped me. thanks fog!
Please sign in through STEAM to post a comment.