x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

"circle" around crosshair

Created 7th August 2012 @ 22:44

Add A Reply Pages: 1

TWEEKARN\

ez-sports.ru

i’ve got a few questions about this http://cloud-2.steampowered.com/ugc/559823083394069598/EBA28AF6676F56802185F89C04D9B698982F962B/ and it’s easy

go to your steam folder > steamapps > “accname” > team fortress 2 > tf > scripts > hudlayout, then you scroll down a lil and find this http://vvcap.net/db/WFQFvifQ_FrXymTJqHEM.htp
don’t get stressed out now, you just need to do one thing
the “0” left next to “visible” needs to be replaced with “1”
“visible” “1”

i’m not sure if you need garm3n’s hud for this and there’s probably a thread for this already

Starkie

ulti?
sniper

You do need garm3n’s HUD as he created the crosshair (or at least implemented it) and put it in hudlayout.res

Brov

Using this crosshair on other huds is possible.
In order to do that you need to copy the ‘CrossHairCircle’ section (below) from hudlayout.res from the scripts folder of Garm3n hud and add it to the hudlayout.res in the hud you wish to add the circle to.

CrossHairCircle
{
“controlName” “CExLabel”
“fieldName” “CrossHairCircle”
“visible” “1”
“enabled” “1”
“zpos” “2”

“xpos” “c-100”
“ypos” “c-100”
“wide” “200”
“tall” “200”

“font” “CrossHairCircle”
“labelText” “i”
“textAlignment” “center”

“fgcolor” “235 226 202 255”
}

After doing that you need to go ClientScheme.res in the Garm3n hud resource folder, copy the ‘CrossHairCircle’ section (below) and add it to the ClientScheme.res (under the fonts area) of your hud.

“CrossHairCircle”
{
“1”
{
“name” “Formas germetricas 1”
“tall” “28”
“weight” “0”
“antialias” “1”
}
}

I’m pretty sure you are going to need to copy the font file that the crosshair uses (“Formas germetricas 1” in this case) and add it to the resource folder of your hud.
The font file is in the Garm3n hud resource folder.
If you want to hide the circle just change “visible” to “0”.
Can be applied to any hud crosshair at any hud and does not have to be done necessarily in that order.


Last edited by Brov,

TWEEKARN\

ez-sports.ru

Quoted from Brov

TL;DR

would be great with broesel’s hud, but i’m too lazy(

ouch

copy and paste into two files is hard work

Brov

Quoted from TWEEKARN\

[…]

would be great with broesel’s hud, but i’m too lazy(

I think broesel’s updated hud does include Garm3n’s hud crosshairs, check hudlayout.res in broesel hud.

arD

-[S2L]

when i added the text to the files a Big i Letter appears on my crosshair in the middle of the screen

MIndYe

[hePPa]

Quoted from arD

when i added the text to the files a Big i Letter appears on my crosshair in the middle of the screen

install the font

arD

-[S2L]

Quoted from MIndYe

[…]
install the font

Did just that and it worked

arD

-[S2L]

nvm


Last edited by arD,

Add A Reply Pages: 1