Upvote Upvoted 1 Downvote Downvoted
TF2 HUD Repositioning Help
posted in Q/A Help
1
#1
0 Frags +

I apologize in advance if this has been asked before.

So I am trying to reposition my Health and Ammo via HudWeaponsAmmo and HudPlayerHealth, the Health is fine but for the ammo I run into a problem
http://i.imgur.com/eCrzOeG.jpg
Whenever I try to move it down, it gets cut off by what seems to be an invisible box. is there any way to not cutoff (Yes, I realize I haven't moved the shadow yet)? Additionally, this problem isn't as important but how do I move the bleeding image separate from the HP or just flat up disable it?

Finally, in case anyone is wondering, the base HUD is OMP
The Ammo:

Show Content
"AmmoInClip"
{
"ControlName" "CExLabel"
"fieldName" "AmmoInClip"
"font" "FuturaHeavy56"
"fgcolor" "OmpAmmoClip"
"xpos" "0"
"ypos" "95"
"zpos" "5
"wide" "63"
"tall" "56"
"visible" "0"
"enabled" "1"
"textAlignment" "east"
"labelText" "%Ammo%"

"font_minmode" "FuturaHeavy36"
"xpos_minmode" "0"
"ypos_minmode" "27" // omp -- -6 Mac fix.
"wide_minmode" "44"
"tall_minmode" "37" // omp -- +12 Mac fix.

I apologize in advance if this has been asked before.

So I am trying to reposition my Health and Ammo via HudWeaponsAmmo and HudPlayerHealth, the Health is fine but for the ammo I run into a problem
http://i.imgur.com/eCrzOeG.jpg
Whenever I try to move it down, it gets cut off by what seems to be an invisible box. is there any way to not cutoff (Yes, I realize I haven't moved the shadow yet)? Additionally, this problem isn't as important but how do I move the bleeding image separate from the HP or just flat up disable it?

Finally, in case anyone is wondering, the base HUD is OMP
The Ammo:
[spoiler] "AmmoInClip"
{
"ControlName" "CExLabel"
"fieldName" "AmmoInClip"
"font" "FuturaHeavy56"
"fgcolor" "OmpAmmoClip"
"xpos" "0"
"ypos" "95"
"zpos" "5
"wide" "63"
"tall" "56"
"visible" "0"
"enabled" "1"
"textAlignment" "east"
"labelText" "%Ammo%"

"font_minmode" "FuturaHeavy36"
"xpos_minmode" "0"
"ypos_minmode" "27" // omp -- -6 Mac fix.
"wide_minmode" "44"
"tall_minmode" "37" // omp -- +12 Mac fix.[img][/img][/spoiler]
2
#2
1 Frags +

Pretty sure its in Hudlayout.res somewhere, i'm not at my home pc so I can't check.

Pretty sure its in Hudlayout.res somewhere, i'm not at my home pc so I can't check.
3
#3
0 Frags +
WithADanceNumberPretty sure its in Hudlayout.res somewhere, i'm not at my home pc so I can't check.

Oh wow, yeah it is in there. Thanks a lot!

Guess the only question remains is the bleeding image.

[quote=WithADanceNumber]Pretty sure its in Hudlayout.res somewhere, i'm not at my home pc so I can't check.[/quote]

Oh wow, yeah it is in there. Thanks a lot!

Guess the only question remains is the bleeding image.
4
#4
0 Frags +

If you're ever wondering about the structure of your hud, make a local server, turn on sv_cheats, then use vgui_drawtree in console.

http://www.vanillatf2.org/2012/07/rads-hud-making-tutorial-videos/ I think it's in here.

If you're ever wondering about the structure of your hud, make a local server, turn on sv_cheats, then use vgui_drawtree in console.

http://www.vanillatf2.org/2012/07/rads-hud-making-tutorial-videos/ I think it's in here.
5
#5
0 Frags +
SchyligeGuess the only question remains is the bleeding image.

that's in hudplayerhealth isn't it?

[quote=Schylige]
Guess the only question remains is the bleeding image.[/quote]
that's in hudplayerhealth isn't it?
6
#6
0 Frags +
TysroneSchyligeGuess the only question remains is the bleeding image.that's in hudplayhealth isn't it?

Possibly, I looked around in it and I found the "PlayerStatusBleedImage" and I tried moving the xpos and ypos and it didn't seem to make a difference. Then I tried to disable it completely and still no changes occurred.

Edit: I was possibly thinking of simply making a blank v_gui image and replace it but I'm not quite sure if it will actually work

[quote=Tysrone][quote=Schylige]
Guess the only question remains is the bleeding image.[/quote]
that's in hudplayhealth isn't it?[/quote]

Possibly, I looked around in it and I found the "PlayerStatusBleedImage" and I tried moving the xpos and ypos and it didn't seem to make a difference. Then I tried to disable it completely and still no changes occurred.

Edit: I was possibly thinking of simply making a blank v_gui image and replace it but I'm not quite sure if it will actually work
7
#7
0 Frags +
SchyligeTysroneSchyligeGuess the only question remains is the bleeding image.that's in hudplayhealth isn't it?
Possibly, I looked around in it and I found the "PlayerStatusBleedImage" and I tried moving the xpos and ypos and it didn't seem to make a difference. Then I tried to disable it completely and still no changes occurred.

Edit: I was possibly thinking of simply making a blank v_gui image and replace it but I'm not quite sure if it will actually work

did you try changing the xpos/ypos to 99999?

[quote=Schylige][quote=Tysrone][quote=Schylige]
Guess the only question remains is the bleeding image.[/quote]
that's in hudplayhealth isn't it?[/quote]

Possibly, I looked around in it and I found the "PlayerStatusBleedImage" and I tried moving the xpos and ypos and it didn't seem to make a difference. Then I tried to disable it completely and still no changes occurred.

Edit: I was possibly thinking of simply making a blank v_gui image and replace it but I'm not quite sure if it will actually work[/quote]
did you try changing the xpos/ypos to 99999?
8
#8
1 Frags +
did you try changing the xpos/ypos to 99999?

Thanks, that did it. I previously just tried changing it by adding 100 to see if it would even change. Thanks again! :)

[quote]
did you try changing the xpos/ypos to 99999?[/quote]

Thanks, that did it. I previously just tried changing it by adding 100 to see if it would even change. Thanks again! :)
9
#9
0 Frags +
Schyligedid you try changing the xpos/ypos to 99999?
Thanks, that did it. I previously just tried changing it by adding 100 to see if it would even change. Thanks again! :)

glad I could help

[quote=Schylige][quote]
did you try changing the xpos/ypos to 99999?[/quote]

Thanks, that did it. I previously just tried changing it by adding 100 to see if it would even change. Thanks again! :)[/quote]
glad I could help
10
#10
0 Frags +

shouldnt there be a stickied thread regarding all the hud questions ?
i see new ones being created everyday

shouldnt there be a stickied thread regarding all the hud questions ?
i see new ones being created everyday
11
#11
1 Frags +

"megathreads" normally get incredibly messy incredibly fast and also make stuff slightly harder to search for. Granted most of the problems asked are fairly simple and have been asked before. Perhaps merging the similar request/help threads would make it a bit easier to find things?

"megathreads" normally get incredibly messy incredibly fast and also make stuff slightly harder to search for. Granted most of the problems asked are fairly simple and have been asked before. Perhaps merging the similar request/help threads would make it a bit easier to find things?
12
#12
6 Frags +

Threw together a video for this:

http://www.youtube.com/watch?v=aDtBX63PBd8

If anyone would be interested in any other types of HUD videos, I think I'm going to start making smaller, quicker videos that address questions such as this, so I'm open to questions. I was going to do a HUD workshop that addressed questions such as this awhile ago, but decided not to due to lack of interest.

Threw together a video for this:

[youtube]http://www.youtube.com/watch?v=aDtBX63PBd8[/youtube]

If anyone would be interested in any other types of HUD videos, I think I'm going to start making smaller, quicker videos that address questions such as this, so I'm open to questions. I was going to do a HUD workshop that addressed questions such as this awhile ago, but decided not to due to lack of interest.
13
#13
0 Frags +
atmoIf you're ever wondering about the structure of your hud, make a local server, turn on sv_cheats, then use vgui_drawtree in console.

http://www.vanillatf2.org/2012/07/rads-hud-making-tutorial-videos/ I think it's in here.

could u developp more what u said? ive tried using vgui_drawtree but cant rly do anything with it and the video u mentioned its not available

[quote=atmo]If you're ever wondering about the structure of your hud, make a local server, turn on sv_cheats, then use vgui_drawtree in console.

http://www.vanillatf2.org/2012/07/rads-hud-making-tutorial-videos/ I think it's in here.[/quote]


could u developp more what u said? ive tried using vgui_drawtree but cant rly do anything with it and the video u mentioned its not available
14
#14
-5 Frags +

what will the xpos and ypos of the amoo be if i wanna place it just on the right to the health?

what will the xpos and ypos of the amoo be if i wanna place it just on the right to the health?
15
#15
-1 Frags +
krebisalwaysremainrusty29what will the xpos and ypos of the amoo be if i wanna place it just on the right to the health?

just mess around with them until you get it into a position you like

[quote=krebisalwaysremainrusty29]what will the xpos and ypos of the amoo be if i wanna place it just on the right to the health?[/quote]

just mess around with them until you get it into a position you like
16
#16
4 Frags +

http://i.imgur.com/aUfD9Uu.png

[img]http://i.imgur.com/aUfD9Uu.png[/img]
17
#17
-2 Frags +

(i am sry if this is the wrong place for that)

i need help to change the y position of the med % the picture

thx for your help :)

(i am sry if this is the wrong place for that)

i need help to change the y position of the med % [url=http://www.directupload.net/file/d/4281/evqcbgw5_jpg.htm] the picture [/url]

thx for your help :)
18
#18
3 Frags +

Charge percentage is controlled by ChargeLabel in ..\resource\ui\hudmediccharge.res. IndividualChargesLabel controls the vaccinator's charge count.

For future reference, post your HUD questions here: http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers
This site will also answer a lot of your questions: http://doodlesstuff.com/?tutorial=tf2hud&page=resource

Charge percentage is controlled by ChargeLabel in [b]..\resource\ui\hudmediccharge.res[/b]. IndividualChargesLabel controls the vaccinator's charge count.

For future reference, post your HUD questions here: http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers
This site will also answer a lot of your questions: http://doodlesstuff.com/?tutorial=tf2hud&page=resource
Please sign in through STEAM to post a comment.