Upvote Upvoted 327 Downvote Downvoted
1 ⋅⋅ 6 7 8 9 10 11 12 ⋅⋅ 232
HUD editing: short questions, quick answers
posted in Customization
241
#241
-1 Frags +

can u share that edit ?

can u share that edit ?
242
#242
-2 Frags +

-

-
243
#243
-1 Frags +

I am trying to convert form my outdated version of cmyk hud to the newer version of yahud. I am curious if anyone has made a sort of mix between the two? I like aspects of both huds, but I would like to see what other people have done with them, thanks :3

I am trying to convert form my outdated version of cmyk hud to the newer version of yahud. I am curious if anyone has made a sort of mix between the two? I like aspects of both huds, but I would like to see what other people have done with them, thanks :3
244
#244
-1 Frags +

What does hudarenavspanel control?

What does hudarenavspanel control?
245
#245
-1 Frags +

.

.
246
#246
-1 Frags +

nvm

nvm
247
#247
-1 Frags +
glissI just want to do this

if i understand right you used the .vtf to replace the health cross/bonus health cross?

if so that won't work, tf2 uses the same vtf and just colors it differently.

instead do this:

    [li]open up hudplayerhealth.res and make three elements with your vtfs: [list]
    [li]one normal face with alpha set to 255
    [li]one hurt face with alpha 0
    [li]one buffed face with alpha 0.[/list]
    [li]go into hud_animations_tf.tx and animate the hurt image to change alpha to 255 when low, and same for buff.
    [li]make sure your buffed and hurt elements have a higher zpos than your normal one.

hope this made sense, pm me or add me on steam if i did a shitty job explaining. or give me the vtfs and ill do it for you.

[quote=gliss]
I just want to do this
[/quote]

if i understand right you used the .vtf to replace the health cross/bonus health cross?

if so that won't work, tf2 uses the same vtf and just colors it differently.

instead do this:


[olist]
[li]open up hudplayerhealth.res and make three elements with your vtfs: [list]
[li]one normal face with alpha set to 255
[li]one hurt face with alpha 0
[li]one buffed face with alpha 0.[/list]
[li]go into hud_animations_tf.tx and animate the hurt image to change alpha to 255 when low, and same for buff.
[li]make sure your buffed and hurt elements have a higher zpos than your normal one.
[/olist]




hope this made sense, pm me or add me on steam if i did a shitty job explaining. or give me the vtfs and ill do it for you.
248
#248
-1 Frags +

I can't get my item effect meter label to show on top of the meter, LF help

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

Here's the relevant text from the HudItemEffectMeter file:

"ItemEffectMeterBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "ItemEffectMeterBG"
"xpos" "12"
"ypos" "6"
"zpos" "0"
"wide" "100"//100
"tall" "50"//50
"visible" "0"
"enabled" "0"
"image" "../hud/misc_ammo_area_horiz1_blue"
"scaleImage" "1"
"teambg_2" "../hud/misc_ammo_area_horiz1_red"
"teambg_2_lodef" "../hud/misc_ammo_area_red_lodef"
"teambg_3" "../hud/misc_ammo_area_horiz1_blue"
"teambg_3_lodef" "../hud/misc_ammo_area_blue_lodef"
}

"ItemEffectMeterLabel"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "0"
"ypos" "50"
"zpos" "2"//I've also tried zpos 3 and above
"wide" "150"
"tall" "5"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Ball"
"textAlignment" "east"
"dulltext" "0"
"brighttext" "0"
"font" "TFFontSmall"
"fgcolor_override" "255 0 0 255"
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"font" "Default"
"xpos" "0"
"ypos" "50"
"zpos" "2"
"wide" "150"
"tall" "5"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"bgcolor_override" "15 15 15 100"

}
I can't get my item effect meter label to show on top of the meter, LF help
[img]http://i.imgur.com/ssfbFd4.jpg[/img]
Here's the relevant text from the HudItemEffectMeter file:
[quote]"ItemEffectMeterBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "ItemEffectMeterBG"
"xpos" "12"
"ypos" "6"
[b]"zpos" "0"[/b]
"wide" "100"//100
"tall" "50"//50
"visible" "0"
"enabled" "0"
"image" "../hud/misc_ammo_area_horiz1_blue"
"scaleImage" "1"
"teambg_2" "../hud/misc_ammo_area_horiz1_red"
"teambg_2_lodef" "../hud/misc_ammo_area_red_lodef"
"teambg_3" "../hud/misc_ammo_area_horiz1_blue"
"teambg_3_lodef" "../hud/misc_ammo_area_blue_lodef"
}

"ItemEffectMeterLabel"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel"
"xpos" "0"
"ypos" "50"
[b]"zpos" "2"//I've also tried zpos 3 and above[/b]
"wide" "150"
"tall" "5"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_Ball"
"textAlignment" "east"
"dulltext" "0"
"brighttext" "0"
"font" "TFFontSmall"
"fgcolor_override" "255 0 0 255"
}

"ItemEffectMeter"
{
"ControlName" "ContinuousProgressBar"
"fieldName" "ItemEffectMeter"
"font" "Default"
"xpos" "0"
"ypos" "50"
[b]"zpos" "2"[/b]
"wide" "150"
"tall" "5"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"bgcolor_override" "15 15 15 100"

} [/quote]
249
#249
0 Frags +

Can I have the code for radial "boxes"?

Just like the boxes you use for backgrounds, but this time, taking in the shape of a circle, a perfect one.

Can I have the code for radial "boxes"?

Just like the boxes you use for backgrounds, but this time, taking in the shape of a circle, a perfect one.
250
#250
-1 Frags +

how would i go about adding a field for damage on this

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

how would i go about adding a field for damage on this
[img]http://i.imgur.com/c5HXv3F.jpg[/img]
251
#251
0 Frags +
WithADanceNumberhow would i go about adding a field for damage on this
http://i.imgur.com/c5HXv3F.jpg

Taken from my hud:

"DamageLabel"
{
"ControlName" "CExLabel"
"fieldName" "DamageLabel"
"font" "monofonto24"
"labelText" "#TF_Scoreboard_Damage"
"textAlignment" "west"
"xpos" "120" [$WIN32]
"ypos" "40" [$WIN32]
"zpos" "3"
"wide" "95"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
"Damage"
{
"ControlName" "CExLabel"
"fieldName" "Damage"
"font" "monofonto24"
"labelText" "%damage%"
"textAlignment" "west" [$WIN32]
"xpos" "190" [$WIN32]
"ypos" "40" [$WIN32]
"zpos" "3"
"wide" "100"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
}
[quote=WithADanceNumber]how would i go about adding a field for damage on this
[img]http://i.imgur.com/c5HXv3F.jpg[/img][/quote]
Taken from my hud:
[quote]"DamageLabel"
{
"ControlName" "CExLabel"
"fieldName" "DamageLabel"
"font" "monofonto24"
"labelText" "#TF_Scoreboard_Damage"
"textAlignment" "west"
"xpos" "120" [$WIN32]
"ypos" "40" [$WIN32]
"zpos" "3"
"wide" "95"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
"Damage"
{
"ControlName" "CExLabel"
"fieldName" "Damage"
"font" "monofonto24"
"labelText" "%damage%"
"textAlignment" "west" [$WIN32]
"xpos" "190" [$WIN32]
"ypos" "40" [$WIN32]
"zpos" "3"
"wide" "100"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
}[/quote]
252
#252
-1 Frags +

worked perfectly, thanks.

worked perfectly, thanks.
253
#253
0 Frags +

Hi, completely new to hud editing. I'd like to know how I can change the size and colour of my damage numbers and get my health to change to a different colour when I have an overheal, thanks.

Also, I tried putting the above text for damage into scoreboard.res but it didn't show up, I'm guessing it's because my scoreboard is laid out differently, any ideas?

ps. what are those unknowns on the scoreboard and how do I get them to show what they should or get rid of them?

http://i.imgur.com/3ENb2kA.jpg

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

Hi, completely new to hud editing. I'd like to know how I can change the size and colour of my damage numbers and get my health to change to a different colour when I have an overheal, thanks.

Also, I tried putting the above text for damage into scoreboard.res but it didn't show up, I'm guessing it's because my scoreboard is laid out differently, any ideas?

ps. what are those unknowns on the scoreboard and how do I get them to show what they should or get rid of them?

[IMG]http://i.imgur.com/3ENb2kA.jpg[/IMG]
[IMG]http://i.imgur.com/sRiw994.jpg[/IMG]
254
#254
0 Frags +
Teapot_post

Colours are defined in the clientscheme, look there first if therfor being buffed/low. If not, SpectatorGUIHealth.res in resource/ui deals with the health numbers

For the Scoreboard: you have to put the code postwd above in the LocalPlayerStatsPanel of your scoreboard.res and then edit xpos/ypos as well as the font (check the clientscheme for your hud's custom fonts)

[quote=Teapot_]post[/quote]
Colours are defined in the clientscheme, look there first if therfor being buffed/low. If not, SpectatorGUIHealth.res in resource/ui deals with the health numbers

For the Scoreboard: you have to put the code postwd above in the LocalPlayerStatsPanel of your scoreboard.res and then edit xpos/ypos as well as the font (check the clientscheme for your hud's custom fonts)
255
#255
-1 Frags +

Thanks, everythings working as it should! As for the unknowns, judging the by LocalPlayerStatsPanel, the ones on the right are map name and gametype. No idea what the one next to k/d is.

Thanks, everythings working as it should! As for the unknowns, judging the by LocalPlayerStatsPanel, the ones on the right are map name and gametype. No idea what the one next to k/d is.
256
#256
0 Frags +
Teapot_Thanks, everythings working as it should! As for the unknowns, judging the by LocalPlayerStatsPanel, the ones on the right are map name and gametype. No idea what the one next to k/d is.

That should be PlayerLabel, just set visible to 0 and see if that removes it. Also, did you know you can still have the MapName show up on your scoreboard? You just have to move the entry out of LocalPlayerStatsPanel

[quote=Teapot_]Thanks, everythings working as it should! As for the unknowns, judging the by LocalPlayerStatsPanel, the ones on the right are map name and gametype. No idea what the one next to k/d is.[/quote]

That should be PlayerLabel, just set visible to 0 and see if that removes it. Also, did you know you can still have the MapName show up on your scoreboard? You just have to move the entry out of LocalPlayerStatsPanel
257
#257
0 Frags +

Edit - nvm all that, decided to scrap most of the unknowns and move the rest of them accordingly and this is how it looks -

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

Now all I need to know is how to decrease the size of the LocalPlayerStatsPanel from the right and then centre it without then manually pushing every stat to the right..

Edit 2 - So I decided to shove everything to the right by a little bit instead of shortening the panel and here's how it looks now, pretty happy with how it turned out :)

http://i.imgur.com/9P4lj8m.jpg

Edit - nvm all that, decided to scrap most of the unknowns and move the rest of them accordingly and this is how it looks -

[IMG]http://i.imgur.com/mcRqTjv.jpg[/IMG]

Now all I need to know is how to decrease the size of the LocalPlayerStatsPanel from the right and then centre it without then manually pushing every stat to the right..

Edit 2 - So I decided to shove everything to the right by a little bit instead of shortening the panel and here's how it looks now, pretty happy with how it turned out :)

[IMG]http://i.imgur.com/9P4lj8m.jpg[/IMG]
258
#258
-2 Frags +
MorgusWhat does hudarenavspanel control?

pls?

[quote=Morgus]What does hudarenavspanel control?[/quote]
pls?
259
#259
-1 Frags +

what determines whether a hud font works with mac or not?
(by not working i mean the little bit of cutoff)

what determines whether a hud font works with mac or not?
(by not working i mean the little bit of cutoff)
260
#260
-1 Frags +

whats the huditemeffectmeter file that contains the mvm medic shield thing ?

whats the huditemeffectmeter file that contains the mvm medic shield thing ?
261
#261
huds.tf
0 Frags +
mousiopewhats the huditemeffectmeter file that contains the mvm medic shield thing ?

I think it's shared with huditemeffectmeter_heavy.res

[quote=mousiope]whats the huditemeffectmeter file that contains the mvm medic shield thing ?[/quote]

I think it's shared with huditemeffectmeter_heavy.res
262
#262
-1 Frags +

I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?

I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?
263
#263
huds.tf
0 Frags +
Teapot_I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?

I don't think it's possible, I've tried before but the method that's laid out doesn't seem to work.

[quote=Teapot_]I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?[/quote]

I don't think it's possible, I've tried before but the method that's laid out doesn't seem to work.
264
#264
-1 Frags +
omnimousiopewhats the huditemeffectmeter file that contains the mvm medic shield thing ?
I think it's shared with huditemeffectmeter_heavy.res

yeah i can see the logic .... god the way the hud its build its so retarded ....
tks though !

[quote=omni][quote=mousiope]whats the huditemeffectmeter file that contains the mvm medic shield thing ?[/quote]

I think it's shared with huditemeffectmeter_heavy.res[/quote]


yeah i can see the logic .... god the way the hud its build its so retarded ....
tks though !
265
#265
-2 Frags +
Teapot_I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?

no

[quote=Teapot_]I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?[/quote]

no
266
#266
huds.tf
-1 Frags +
mousiopeomnimousiopewhats the huditemeffectmeter file that contains the mvm medic shield thing ?
I think it's shared with huditemeffectmeter_heavy.res

yeah i can see the logic .... god the way the hud its build its so retarded ....
tks though !

It's because it uses the same file as the Heavy's Rage meter; another meter only found in MvM. It makes sense that the files are shared, but not with the current name.

[quote=mousiope][quote=omni][quote=mousiope]whats the huditemeffectmeter file that contains the mvm medic shield thing ?[/quote]

I think it's shared with huditemeffectmeter_heavy.res[/quote]


yeah i can see the logic .... god the way the hud its build its so retarded ....
tks though ![/quote]

It's because it uses the same file as the Heavy's Rage meter; another meter only found in MvM. It makes sense that the files are shared, but not with the current name.
267
#267
-1 Frags +
Teapot_I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?

I'm not sure, but there is something in SpectatorGUIHealth at least along the lines of "change colour when below) and you can enter a value, I think it's normally set to 0.49 which would make the health a different colour when under 50% health. But I don't know if changing that value does anything or if there's something similar in HudPlayerHealth

[quote=Teapot_]I'm not sure if this is hud related but is it possible to change at what amount health/ammo start to flash red?[/quote]

I'm not sure, but there is something in SpectatorGUIHealth at least along the lines of "change colour when below) and you can enter a value, I think it's normally set to 0.49 which would make the health a different colour when under 50% health. But I don't know if changing that value does anything or if there's something similar in HudPlayerHealth
268
#268
-1 Frags +

http://cloud-4.steampowered.com/ugc/27342821882001177/D2275476A5002EEB0CEF799FB593D58581E5A38D/

(Don't mind the uncentered avatar) Does anyone have any clue what causes hud elements to disappear once they've moved over on the x position too much? I only changed the x position of the achievements panel and it and the class panel start cutting off, if I try moving it over more it causes both panels to disappear. I looked in hudlayout.res and didn't find anything useful. I can understand if no one is sure since these old panels were resurrected only a few days ago.

[img]http://cloud-4.steampowered.com/ugc/27342821882001177/D2275476A5002EEB0CEF799FB593D58581E5A38D/[/img]
(Don't mind the uncentered avatar) Does anyone have any clue what causes hud elements to disappear once they've moved over on the x position too much? I only changed the x position of the achievements panel and it and the class panel start cutting off, if I try moving it over more it causes both panels to disappear. I looked in hudlayout.res and didn't find anything useful. I can understand if no one is sure since these old panels were resurrected only a few days ago.
269
#269
-1 Frags +

vgui_drawtree 1 is a useful tool to see which elements reside in which panels, make sure to check "highlight selected" and just click your way down to your relevent element and see if that helps; it's helped me a lot before.

vgui_drawtree 1 is a useful tool to see which elements reside in which panels, make sure to check "highlight selected" and just click your way down to your relevent element and see if that helps; it's helped me a lot before.
270
#270
-1 Frags +

That console command is really cool, but it didn't tell me anything I didn't know already, the only file affecting this is mainmenuoverride.res. However, I tried out this old menu file, http://tf2.gamebanana.com/guis/24179, and noticed it had both panels on the same side without cutting off (though the text and buttons weren't there), for some reason negative numbers work for the x position. I'm not sure how I'll get them on the right side with negative numbers though, at least the 3 images aren't affected by this oddity.

That console command is really cool, but it didn't tell me anything I didn't know already, the only file affecting this is mainmenuoverride.res. However, I tried out this old menu file, http://tf2.gamebanana.com/guis/24179, and noticed it had both panels on the same side without cutting off (though the text and buttons weren't there), for some reason negative numbers work for the x position. I'm not sure how I'll get them on the right side with negative numbers though, at least the 3 images aren't affected by this oddity.
1 ⋅⋅ 6 7 8 9 10 11 12 ⋅⋅ 232
Please sign in through STEAM to post a comment.