Upvote Upvoted 15 Downvote Downvoted
1 2 3
Uber Tracking Hud Mod
posted in Customization
31
#31
4 Frags +
SchalalaaAdmirableOh I don't need to use this autohotkey timer any more? =DI was going to make one before I read this thread, would you mind linking yours?

Here's a fairly simple one off the top of my head. Mouse 4 triggers it, after 40 seconds it will beep once and after 80 seconds it will beep twice. Someone else can elaborate on this thing if they want to.

XButton1::
  SetTimer, quiet, -40000
  SetTimer, loud, -80000
return

quiet:
  SoundBeep, 5000, 250
return

loud:
  SoundBeep, 5000, 1000
return
[quote=Schalalaa][quote=Admirable]Oh I don't need to use this autohotkey timer any more? =D[/quote]
I was going to make one before I read this thread, would you mind linking yours?[/quote]
Here's a fairly simple one off the top of my head. Mouse 4 triggers it, after 40 seconds it will beep once and after 80 seconds it will beep twice. Someone else can elaborate on this thing if they want to.
[code]XButton1::
SetTimer, quiet, -40000
SetTimer, loud, -80000
return

quiet:
SoundBeep, 5000, 250
return

loud:
SoundBeep, 5000, 1000
return[/code]
32
#32
3 Frags +
hanbroloLittle off topic but couldn't you then use the menuclose animation to toggle a hud crosshair on/off as well?

You certainly could. Any animation can be hooked into menuopen or menuclose (or any other animation event for that matter), and you can animate anything that has any xpos, ypos, tall, wide, alpha, fgcolor, or bgcolor attribute (pretty much everything one way or another).

All it'd take is something like:

Animate HUDXhairToggle alpha "255" Linear 0.0 0.0

That said you'd need to hook into a new animation (most likely the other menuopen/close animation) to undo it.

[quote=hanbrolo]Little off topic but couldn't you then use the menuclose animation to toggle a hud crosshair on/off as well?[/quote]
You certainly could. Any animation can be hooked into menuopen or menuclose (or any other animation event for that matter), and you can animate anything that has any xpos, ypos, tall, wide, alpha, fgcolor, or bgcolor attribute (pretty much everything one way or another).

All it'd take is something like:[code]Animate HUDXhairToggle alpha "255" Linear 0.0 0.0[/code]

That said you'd need to hook into a new animation (most likely the other menuopen/close animation) to undo it.
33
#33
2 Frags +
Arrsnip

Ty, gonna try this out. :)

[quote=Arr]
snip
[/quote]
Ty, gonna try this out. :)
34
#34
3 Frags +

.

.
35
#35
2 Frags +

Hmm, could something like this be done to show you when you have crit heals?

Hmm, could something like this be done to show you when you have crit heals?
36
#36
7 Frags +
taighaHmm, could something like this be done to show you when you have crit heals?

only if you want to hit a bind every time you take damage

[quote=taigha]Hmm, could something like this be done to show you when you have crit heals?[/quote]

only if you want to hit a bind every time you take damage
37
#37
3 Frags +
AyRis there a way to stop the actual voicemenu coming up for a sec when using this? everything else works perfectly fine but i wanted to know if i could get rid of that as well :)

you can but it disables all menus like that (eg. admin menus, map voting, etc.)

[quote=AyR]is there a way to stop the actual voicemenu coming up for a sec when using this? everything else works perfectly fine but i wanted to know if i could get rid of that as well :)[/quote]

you can but it disables all menus like that (eg. admin menus, map voting, etc.)
38
#38
2 Frags +
taighaHmm, could something like this be done to show you when you have crit heals?

you can make your hit notices(red lines in your screen pointed towards damage source) last for 10 seconds but you're gonna have to make them really small or else they get distracting.

[quote=taigha]Hmm, could something like this be done to show you when you have crit heals?[/quote]
you can make your hit notices(red lines in your screen pointed towards damage source) last for 10 seconds but you're gonna have to make them really small or else they get distracting.
39
#39
2 Frags +
PhrakturetaighaHmm, could something like this be done to show you when you have crit heals?
only if you want to hit a bind every time you take damage

I was thinking more along the lines of having the bar go off based on when the damage taken event in hud animations goes off

[quote=Phrakture][quote=taigha]Hmm, could something like this be done to show you when you have crit heals?[/quote]

only if you want to hit a bind every time you take damage[/quote]


I was thinking more along the lines of having the bar go off based on when the damage taken event in hud animations goes off
40
#40
1 Frags +
taighaPhrakturetaighaHmm, could something like this be done to show you when you have crit heals?
only if you want to hit a bind every time you take damage

I was thinking more along the lines of having the bar go off based on when the damage taken event in hud animations goes off

I already tried that, the damage taken event is not functional in tf2 for some reason

[quote=taigha][quote=Phrakture][quote=taigha]Hmm, could something like this be done to show you when you have crit heals?[/quote]

only if you want to hit a bind every time you take damage[/quote]


I was thinking more along the lines of having the bar go off based on when the damage taken event in hud animations goes off[/quote]

I already tried that, the damage taken event is not functional in tf2 for some reason
41
#41
5 Frags +
SchalalaaAdmirableOh I don't need to use this autohotkey timer any more? =DI was going to make one before I read this thread, would you mind linking yours?

Enjoy https://www.dropbox.com/s/hu5tx75py3xughy/uberNew.ahk

Legend has it that some German produced the original, I just made it a bit more readable and changed some cosmetic stuff.

You may have to change the "On Screen Display Position" section to see it, as it draws on my second screen.

Default keys are:
Shift to Start Timer
NumpadEnter to Pause Timer
NumpadAdd to Reduce Timer by one Ubersaw hit
NumpadSub to Hide Timer

[quote=Schalalaa][quote=Admirable]Oh I don't need to use this autohotkey timer any more? =D[/quote]
I was going to make one before I read this thread, would you mind linking yours?[/quote]

Enjoy https://www.dropbox.com/s/hu5tx75py3xughy/uberNew.ahk

Legend has it that some German produced the original, I just made it a bit more readable and changed some cosmetic stuff.

You may have to change the "On Screen Display Position" section to see it, as it draws on my second screen.

Default keys are:
Shift to Start Timer
NumpadEnter to Pause Timer
NumpadAdd to Reduce Timer by one Ubersaw hit
NumpadSub to Hide Timer
42
#42
1 Frags +

So is there a fix so you can reset the timer when you are dead? or am I better off using an autohotkey script?

So is there a fix so you can reset the timer when you are dead? or am I better off using an autohotkey script?
43
#43
1 Frags +
AdmirableSchalalaaAdmirableOh I don't need to use this autohotkey timer any more? =DI was going to make one before I read this thread, would you mind linking yours?
Enjoy https://www.dropbox.com/s/hu5tx75py3xughy/uberNew.ahk

Legend has it that some German produced the original, I just made it a bit more readable and changed some cosmetic stuff.

You may have to change the "On Screen Display Position" section to see it, as it draws on my second screen.

Default keys are:
Shift to Start Timer
NumpadEnter to Pause Timer
NumpadAdd to Reduce Timer by one Ubersaw hit
NumpadSub to Hide Timer

Thanks a lot. I think this method is still better than the hud implementation, I might try and implement a charge bar if I get bored enough to do it.

[quote=Admirable][quote=Schalalaa][quote=Admirable]Oh I don't need to use this autohotkey timer any more? =D[/quote]
I was going to make one before I read this thread, would you mind linking yours?[/quote]

Enjoy https://www.dropbox.com/s/hu5tx75py3xughy/uberNew.ahk

Legend has it that some German produced the original, I just made it a bit more readable and changed some cosmetic stuff.

You may have to change the "On Screen Display Position" section to see it, as it draws on my second screen.

Default keys are:
Shift to Start Timer
NumpadEnter to Pause Timer
NumpadAdd to Reduce Timer by one Ubersaw hit
NumpadSub to Hide Timer[/quote]
Thanks a lot. I think this method is still better than the hud implementation, I might try and implement a charge bar if I get bored enough to do it.
44
#44
2 Frags +
Admirableuber ahk timer

this is so cool!
if only it could be in a hud

[quote=Admirable]uber ahk timer[/quote]
this is so cool!
if only it could be in a hud
45
#45
5 Frags +

if you really wanna be gay you get a stopwatch program that uses hotkeys and put it next to tf2 in windowed mode
but honestly tracking uber is piss easy this kind of stuff shouldn't even be controversial

if you really wanna be gay you get a stopwatch program that uses hotkeys and put it next to tf2 in windowed mode
but honestly tracking uber is piss easy this kind of stuff shouldn't even be controversial
46
#46
6 Frags +

I found this to be much better when I decided to turn it from a bar into numbers, where I would display what percentage the kritz/uber could be at rather than just have a physical bar that shows it. I don't know, abstract numbers make more sense in my head than geometric lengths. I've thought about toying with making it seconds until as well, but I think percentages are more accurate if you die during it.

I found this to be much better when I decided to turn it from a bar into numbers, where I would display what percentage the kritz/uber could be at rather than just have a physical bar that shows it. I don't know, abstract numbers make more sense in my head than geometric lengths. I've thought about toying with making it seconds until as well, but I think percentages are more accurate if you die during it.
47
#47
2 Frags +
Admirable(...)
Legend has it that some German produced the original, I just made it a bit more readable and changed some cosmetic stuff.
(...)

:D

[quote=Admirable]
(...)
Legend has it that some German produced the original, I just made it a bit more readable and changed some cosmetic stuff.
(...)
[/quote]

:D
48
#48
6 Frags +
TMPI found this to be much better when I decided to turn it from a bar into numbers, where I would display what percentage the kritz/uber could be at rather than just have a physical bar that shows it. I don't know, abstract numbers make more sense in my head than geometric lengths. I've thought about toying with making it seconds until as well, but I think percentages are more accurate if you die during it.

Care to share your version, it sound interesting

[quote=TMP]I found this to be much better when I decided to turn it from a bar into numbers, where I would display what percentage the kritz/uber could be at rather than just have a physical bar that shows it. I don't know, abstract numbers make more sense in my head than geometric lengths. I've thought about toying with making it seconds until as well, but I think percentages are more accurate if you die during it.[/quote]

Care to share your version, it sound interesting
49
#49
1 Frags +

I really like it helps me alot.Great job!

I really like it helps me alot.Great job!
50
#50
0 Frags +

Has anyone implemented this mod to eveHud yet ?

Has anyone implemented this mod to eveHud yet ?
51
#51
0 Frags +

I would be willing to give a hat or two for someone who could implement this to eveHUD :D

I would be willing to give a hat or two for someone who could implement this to eveHUD :D
52
#52
12 Frags +

Just wrote a version that has percentages rather than a bar. Its also hidden until pressed then hides again after running through. The hud im using is my edited Garm3n QuakeLive Hud.

https://www.youtube.com/watch?v=UzQ7W9xe5NI

Copy http://pastebin.com/6D1iG101 and edit the font and x,y position to match your HUD. (Highly recommend using replace all)
Then copy into hudlayout.res for all classes or hudmediccharge.res for just medic.

Copy http://pastebin.com/j5NiNwSY into hudanimations_tf.txt
Edit hudanimations_tf.txt add under event MenuClose

RunEvent FillUber 0.0
RunEvent FillKritz 0.0

Use the same script to show the timer.

alias +uber_counter "voice_menu_1"
alias -uber_counter "voice_menu_1"
bind r +uber_counter
Just wrote a version that has percentages rather than a bar. Its also hidden until pressed then hides again after running through. The hud im using is my edited Garm3n QuakeLive Hud.
[youtube]https://www.youtube.com/watch?v=UzQ7W9xe5NI[/youtube]

Copy http://pastebin.com/6D1iG101 and [u]edit[/u] the font and x,y position to match your HUD. (Highly recommend using replace all)
Then copy into hudlayout.res for all classes or hudmediccharge.res for just medic.


Copy http://pastebin.com/j5NiNwSY into hudanimations_tf.txt
Edit hudanimations_tf.txt add under event MenuClose [code]RunEvent FillUber 0.0
RunEvent FillKritz 0.0[/code]


Use the same script to show the timer.
[code]alias +uber_counter "voice_menu_1"
alias -uber_counter "voice_menu_1"
bind r +uber_counter[/code]
53
#53
2 Frags +
VaskieI would be willing to give a hat or two for someone who could implement this to eveHUD :D

For you and anyone else who's interested:
http://www45.zippyshare.com/v/12207640/file.html

Then just add:

alias +uber_counter "voice_menu_1"
alias -uber_counter "voice_menu_1"
bind r +uber_counter

to your autoexec.

This also includes the helpful markers that WhiskerBiscuit added, thanks for that :)

[quote=Vaskie]I would be willing to give a hat or two for someone who could implement this to eveHUD :D[/quote]

For you and anyone else who's interested:
http://www45.zippyshare.com/v/12207640/file.html

Then just add:
[code]alias +uber_counter "voice_menu_1"
alias -uber_counter "voice_menu_1"
bind r +uber_counter[/code] to your autoexec.


This also includes the helpful markers that WhiskerBiscuit added, thanks for that :)
54
#54
1 Frags +

can´t get this to work on pvhud if someone does it please share it
if i copy the code from benz i get nothing, if i get the code from khan i get the meters but not the labels i don´t think he included them. I´ve changed the font and the xypos from benz and no success

can´t get this to work on pvhud if someone does it please share it
if i copy the code from benz i get nothing, if i get the code from khan i get the meters but not the labels i don´t think he included them. I´ve changed the font and the xypos from benz and no success
55
#55
2 Frags +
BenNZLpost about Uber/Kritz percentage labels

Just tried this, didn't work. After playing around with it for a while, I figured out why:

BenNZLEdit hudanimations_tf.txt add under event MenuClose
RunEvent FillUberBar 0.0

However, your animations are called FillUber and FillKritz, which is why nothing shows up on the screen since all of the elements have their "default" alpha set to 0.

To fix this, you can add

 RunEvent FillUber 0.0
RunEvent FillKritz 0.0

in hudanimations_tf under Event MenuClose

After that, it's just changing font to fix your hud and adjusting xpos/ypos as you've already explained. Thanks for this by the way :)

[quote=BenNZL]post about Uber/Kritz percentage labels[/quote]
Just tried this, didn't work. After playing around with it for a while, I figured out why:

[quote=BenNZL]
Edit hudanimations_tf.txt add under event MenuClose [code]RunEvent FillUberBar 0.0[/code][/quote]
However, your animations are called FillUber and FillKritz, which is why nothing shows up on the screen since all of the elements have their "default" alpha set to 0.

To fix this, you can add
[code] RunEvent FillUber 0.0
RunEvent FillKritz 0.0[/code]in hudanimations_tf under Event MenuClose

After that, it's just changing font to fix your hud and adjusting xpos/ypos as you've already explained. Thanks for this by the way :)
56
#56
0 Frags +

ok its working now but everytime i die when i respawn it stops counting

http://i.imgur.com/vnmpbQM.jpg

ok its working now but everytime i die when i respawn it stops counting
[IMG]http://i.imgur.com/vnmpbQM.jpg[/IMG]
57
#57
3 Frags +
mousiopecan´t get this to work on pvhud if someone does it please share it
if i copy the code from benz i get nothing, if i get the code from khan i get the meters but not the labels i don´t think he included them. I´ve changed the font and the xypos from benz and no success

I have got it working fine for pvhud but altered the position of it.
Notes:
- HudAnimations_tf.txt and hudlayout.res are located in SteamApps>common>Team Fortress 2>tf>custom>pvhud>scripts
- The positions were set in 16:9 1920x1080 res cant confirm if it will work on others

How to:
1. Use Ben's link:
http://pastebin.com/j5NiNwSY and paste that into your HudAnimations_tf.txt file.

2. Then as per Khan's post add:

RunEvent FillUber 0.0
RunEvent FillKritz 0.0

into your HudAnimations_tf under Event MenuClose

3. Now choose which pvhud font you prefer:

Small Style Font:

http://i.imgur.com/pVSa0x7.jpg

TF2 Style Font:

http://i.imgur.com/hNmyCKt.jpg

4. Once you choose a font:
If you prefer the Small Style Font then paste:
http://pastebin.com/rEDdPiUr into your hudlayout.res file

If you prefer the TF2 Style Font then paste:
http://pastebin.com/bgA8vBYy into your hudlayout.res file

If you want the same position as Ben's then simply use both his pastebins then follow step 2

mousiopeok its working now but everytime i die when i respawn it stops counting

This is a bug that is yet to be fixed / not fixable.

[quote=mousiope]can´t get this to work on pvhud if someone does it please share it
if i copy the code from benz i get nothing, if i get the code from khan i get the meters but not the labels i don´t think he included them. I´ve changed the font and the xypos from benz and no success[/quote]

I have got it working fine for pvhud but altered the position of it.
[b]Notes:[/b]
- [u]HudAnimations_tf.txt and hudlayout.res are located in SteamApps>common>Team Fortress 2>tf>custom>pvhud>scripts[/u]
- [u]The positions were set in 16:9 1920x1080 res cant confirm if it will work on others[/u]

[b]How to:[/b]
[b]1.[/b] Use Ben's link:
http://pastebin.com/j5NiNwSY and paste that into your HudAnimations_tf.txt file.

[b]2.[/b] Then as per Khan's post add:
[code]RunEvent FillUber 0.0
RunEvent FillKritz 0.0[/code]
into your HudAnimations_tf under Event MenuClose

[b]3.[/b] Now choose which pvhud font you prefer:

Small Style Font:
[img]http://i.imgur.com/pVSa0x7.jpg[/img]

TF2 Style Font:
[img]http://i.imgur.com/hNmyCKt.jpg[/img]

[b]4.[/b] Once you choose a font:
If you prefer the Small Style Font then paste:
http://pastebin.com/rEDdPiUr into your hudlayout.res file

If you prefer the TF2 Style Font then paste:
http://pastebin.com/bgA8vBYy into your hudlayout.res file


If you want the same position as Ben's then simply use both his pastebins then follow step 2




[quote=mousiope]ok its working now but everytime i die when i respawn it stops counting [/quote]
This is a bug that is yet to be fixed / not fixable.
58
#58
1 Frags +
Lockricelong post

are you sure

StopEvent FillUber 0.0
RunEvent ClearUber 0.01
StopEvent FillKritz 0.0
RunEvent ClearKritz 0.01

needs to be added to Event MenuOpen?
RunEvent FillUber/FillKritz already includes RunEvent ClearUber/ClearKritz and would thus function properly without doing this. From my understanding, doing what you suggested would only make the voicemenus disfunctional, since the meter/percentage label would reset everytime upon pressing z/x/c. As it currently is, the animation is triggered by closing the menu, which still leaves people with the option to use the voicemenu normally, as long as they're not closing if after opening but instead selecting one of the voice options. I feel like adding this serves no real purpose except if the intention is to instantly hide the meter no matter what the percentage is.

Adding on what you said about fonts, pretty much every font can be used, the choices you present here seem like very good options. If you have a hud that uses custom fonts and want the percentage to fit the rest of your hud, just take a look into your clientscheme (where custom fonts are defined), scroll down a bit and pick the one that suits your needs.

Sadly, there is no fix yet for the meter/percentage label stopping upon respawning, either this is a limitation that tf2 has (animations in general stopping on respawn) or there is a different animation which would not stop if the player is respawning, that could be used to surpass this. Would be cool if someone had an idea!

[quote=Lockrice]long post[/quote]
are you sure [code]StopEvent FillUber 0.0
RunEvent ClearUber 0.01
StopEvent FillKritz 0.0
RunEvent ClearKritz 0.01[/code] needs to be added to Event MenuOpen?
RunEvent FillUber/FillKritz already includes RunEvent ClearUber/ClearKritz and would thus function properly without doing this. From my understanding, doing what you suggested would only make the voicemenus disfunctional, since the meter/percentage label would reset everytime upon pressing z/x/c. As it currently is, the animation is triggered by closing the menu, which still leaves people with the option to use the voicemenu normally, as long as they're not closing if after opening but instead selecting one of the voice options. I feel like adding this serves no real purpose except if the intention is to instantly hide the meter no matter what the percentage is.

Adding on what you said about fonts, pretty much every font can be used, the choices you present here seem like very good options. If you have a hud that uses custom fonts and want the percentage to fit the rest of your hud, just take a look into your clientscheme (where custom fonts are defined), scroll down a bit and pick the one that suits your needs.

Sadly, there is no fix yet for the meter/percentage label stopping upon respawning, either this is a limitation that tf2 has (animations in general stopping on respawn) or there is a different animation which would not stop if the player is respawning, that could be used to surpass this. Would be cool if someone had an idea!
59
#59
2 Frags +
KhanTF2long post

Khans correct I fixed my post with the correct instructions. I wrote it at 4am my bad.

[quote=KhanTF2]long post[/quote]
Khans correct I fixed my post with the correct instructions. I wrote it at 4am my bad.
60
#60
2 Frags +

@Khan,
Yea the MenuOpen part is not really needed, ill take it out to make the process simpler.

And I just used those 2 fonts as examples as they are the 'default' fonts that pvhud uses.

@Khan,
Yea the MenuOpen part is not really needed, ill take it out to make the process simpler.

And I just used those 2 fonts as examples as they are the 'default' fonts that pvhud uses.
1 2 3
Please sign in through STEAM to post a comment.