Upvote Upvoted 4 Downvote Downvoted
Toggling Crosshair
posted in Customization
1
#1
3 Frags +

So I hope this hasn't already been posted, sorry if so, I looked but couldn't find one. Povohat (the based god of tf2 customization) found a new way to toggle an image crosshair (http://teamfortress.tv/forum/thread/9842-rainbow-konr-wings-for-everyoneimage-to-crosshair) off or on without minmode toggling which freezes your game. Copied over from ozfortress.

With the recent patch, you can use part of the new 3d player model hud shit to toggle a hud image on and off without any of the game stutter that cl_hud_minmode causes. It's called classmodelpanelBG and located in HudPlayerClass.res.

Heres some example code

Code:
"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "c-32"
"ypos" "c-32"
"zpos" "3"
"wide" "64"
"tall" "64"
"enabled" "1"
"image" "replay/thumbnails/ql_3"
"scaleImage" "1"
}
Toggle cl_hud_playerclass_use_playermodel to enable/disable the image. Feel free to also push "classmodelpanel" off the screen with high xpos/ypos values if you dont enjoy that particular feature.

EDIT: it's important to note that you MUST keep visible set to 0 and enabled set to 1, otherwise you won't be able to toggle your image crosshair on or off at will.

So I hope this hasn't already been posted, sorry if so, I looked but couldn't find one. Povohat (the based god of tf2 customization) found a new way to toggle an image crosshair (http://teamfortress.tv/forum/thread/9842-rainbow-konr-wings-for-everyoneimage-to-crosshair) off or on without minmode toggling which freezes your game. Copied over from ozfortress.

[quote]With the recent patch, you can use part of the new 3d player model hud shit to toggle a hud image on and off without any of the game stutter that cl_hud_minmode causes. It's called classmodelpanelBG and located in HudPlayerClass.res.

Heres some example code

Code:
"classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "c-32"
"ypos" "c-32"
"zpos" "3"
"wide" "64"
"tall" "64"
"enabled" "1"
"image" "replay/thumbnails/ql_3"
"scaleImage" "1"
}
Toggle cl_hud_playerclass_use_playermodel to enable/disable the image. Feel free to also push "classmodelpanel" off the screen with high xpos/ypos values if you dont enjoy that particular feature.[/quote]


EDIT: it's important to note that you MUST keep visible set to 0 and enabled set to 1, otherwise you won't be able to toggle your image crosshair on or off at will.
2
#2
0 Frags +

theres also a method w/ hud achievement tracker but this seems simpler

theres also a method w/ hud achievement tracker but this seems simpler
3
#3
0 Frags +

Ive been using both for slot2 and 2, it's prettty cool. And if anyone works out how to use a font xhair with the 3dplayer class method I would be very interested.

Ive been using both for slot2 and 2, it's prettty cool. And if anyone works out how to use a font xhair with the 3dplayer class method I would be very interested.
4
#4
0 Frags +

I've been wanting to use something like this, but I'm not sure if I should use this method. I'm on a laptop getting 60 fps in ideal conditions and 10-50 if there's a lot going on. Considering that, enabling the 3D models thing might not be ideal, because if I understand correctly you're just moving it off the screen?
That achievement tracker method might be better for me I guess.. would that enable/disable a feature though, and if so, which one(s)?

I've been wanting to use something like this, but I'm not sure if I should use this method. I'm on a laptop getting 60 fps in ideal conditions and 10-50 if there's a lot going on. Considering that, enabling the 3D models thing might not be ideal, because if I understand correctly you're just moving it off the screen?
That achievement tracker method might be better for me I guess.. would that enable/disable a feature though, and if so, which one(s)?
5
#5
0 Frags +

Wrong thread.

Wrong thread.
6
#6
0 Frags +

I'm sure you could make a font xhair using this just like an achievement one but as with achievement crosshairs they cannot be animated. For most people that's not a big deal though so you can potentially have all sorts of custom image/font xhairs going on now without stuttering on switching them.

I'm sure you could make a font xhair using this just like an achievement one but as with achievement crosshairs they cannot be animated. For most people that's not a big deal though so you can potentially have all sorts of custom image/font xhairs going on now without stuttering on switching them.
7
#7
1 Frags +
BenroadsI'm sure you could make a font xhair using this just like an achievement one but as with achievement crosshairs they cannot be animated. For most people that's not a big deal though so you can potentially have all sorts of custom image/font xhairs going on now without stuttering on switching them.

In the ozfortress thread there was someone having some difficulty using this with a font xhair and povohat said he hadn't tried it as the element is originally an image and not a text so he didn't think it was possible. Hope it is though, that would be amazing.

[quote=Benroads]I'm sure you could make a font xhair using this just like an achievement one but as with achievement crosshairs they cannot be animated. For most people that's not a big deal though so you can potentially have all sorts of custom image/font xhairs going on now without stuttering on switching them.[/quote]

In the ozfortress thread there was someone having some difficulty using this with a font xhair and povohat said he hadn't tried it as the element is originally an image and not a text so he didn't think it was possible. Hope it is though, that would be amazing.
8
#8
-5 Frags +

I just i installed it and i can't toggle it on and of and i have visible set to 0....

I just i installed it and i can't toggle it on and of and i have visible set to 0....
9
#9
1 Frags +

I've got a toggle that works fine for toggling on the 3d player model, I dunno if it can be animated, I've just never tried. You can see how it works in this version of broeselHUD here.

The only class image that is still visible is medic, everything else is invisible.

I've got a toggle that works fine for toggling on the 3d player model, I dunno if it can be animated, I've just never tried. You can see how it works in this version of broeselHUD [url=https://www.dropbox.com/s/ypa8axe02vargts/hud.rar?dl=0]here.[/url]

The only class image that is still visible is medic, everything else is invisible.
Please sign in through STEAM to post a comment.