Upvote Upvoted 3 Downvote Downvoted
Disabling hud crosshair while scoped in?
posted in Q/A Help
1
#1
2 Frags +

As title states, I've got a hud crosshair that I'd like to have automatically disable whenever I scope in as sniper.

I've tried looking for event names for HudAnimations_tf.txt to perhaps change alpha for crosshair elements as I'm scoping in. But I can't find any list of event names.

If anyone has looked through the tf2 gcf's for a list of events or a file that has all the events, I'd like to know where to look...

As title states, I've got a hud crosshair that I'd like to have automatically disable whenever I scope in as sniper.

I've tried looking for event names for HudAnimations_tf.txt to perhaps change alpha for crosshair elements as I'm scoping in. But I can't find any list of event names.

If anyone has looked through the tf2 gcf's for a list of events or a file that has all the events, I'd like to know where to look...
2
#2
0 Frags +

I was gonna ask that too, thanks

I was gonna ask that too, thanks
3
#3
huds.tf
0 Frags +

IGNORE THIS OR DELETE IT

IGNORE THIS OR DELETE IT
4
#4
0 Frags +
omniIt's in the advanced options, or you can use:
tf_hud_no_crosshair_on_scope_zoom "0"

That's only for standard crosshair.

The only way to do this would be to have a crosshair that is on in only one state of HUD mini-mode. You could have a script to toggle it based on scope status.

[quote=omni]It's in the advanced options, or you can use:
[code]tf_hud_no_crosshair_on_scope_zoom "0"[/code][/quote]
That's only for standard crosshair.

The only way to do this would be to have a crosshair that is on in only one state of HUD mini-mode. You could have a script to toggle it based on scope status.
5
#5
3 Frags +
BerethomniIt's in the advanced options, or you can use:
tf_hud_no_crosshair_on_scope_zoom "0"
That's only for standard crosshair.

The only way to do this would be to have a crosshair that is on in only one state of HUD mini-mode. You could have a script to toggle it based on scope status.

This wouldn't be a very good implementation since toggling between minmode and non-minmode will give you a bit of lag similar to reloading your hud. However, tying your hud crosshair to the hud achievement tracker doesn't give that bit of lag, and can be used to toggle crosshair seamlessly. For reference on hud achievement tracker stuff, download gmang hud, and look at his resource/hudachievementtracker file.

[quote=Bereth][quote=omni]It's in the advanced options, or you can use:
[code]tf_hud_no_crosshair_on_scope_zoom "0"[/code][/quote]
That's only for standard crosshair.

The only way to do this would be to have a crosshair that is on in only one state of HUD mini-mode. You could have a script to toggle it based on scope status.[/quote]
This wouldn't be a very good implementation since toggling between minmode and non-minmode will give you a bit of lag similar to reloading your hud. However, tying your hud crosshair to the hud achievement tracker doesn't give that bit of lag, and can be used to toggle crosshair seamlessly. For reference on hud achievement tracker stuff, download gmang hud, and look at his resource/hudachievementtracker file.
6
#6
0 Frags +

if I knew, I would be useing it

if I knew, I would be useing it
Please sign in through STEAM to post a comment.