Upvote Upvoted 270 Downvote Downvoted
1 ⋅⋅ 113 114 115 116 117 118 119 ⋅⋅ 206
HUD editing: short questions, quick answers
posted in Customization
3451
#3451
0 Frags +
Jackal176Apologies if this has already been answered here before, but I've been trying to make a custom HUD for some time now, and while I was trying to update it for Meet Your Match, I noticed that the SpectatorTargetID would be in the wrong place (not above the target's head) or not present at all. I tried messing around with the SpectatorGuiHealth.res file, I even deleted it and started it from scratch but the issue is still there. Can anyone help me?

Here's a picture: http://imgur.com/3Z8Ob6s

It looks like you have floating health numbers disabled

tf_hud_target_id_disable_floating_health 0 should be the command to replace the value above the player's head. Then you can go and edit the file to your liking.

[quote=Jackal176]Apologies if this has already been answered here before, but I've been trying to make a custom HUD for some time now, and while I was trying to update it for Meet Your Match, I noticed that the SpectatorTargetID would be in the wrong place (not above the target's head) or not present at all. I tried messing around with the SpectatorGuiHealth.res file, I even deleted it and started it from scratch but the issue is still there. Can anyone help me?

Here's a picture: http://imgur.com/3Z8Ob6s[/quote]

It looks like you have floating health numbers disabled

tf_hud_target_id_disable_floating_health 0 should be the command to replace the value above the player's head. Then you can go and edit the file to your liking.
3452
#3452
0 Frags +
Wiethoofd @Koncept: mp_forcewin 1-3 on a local server together with sv_pausable 1 and vgui_drawtree 1 and a pause bind allows you to inspect the winpanel, a hud_reloadscheme and another forcewin to see the changes

thanks for the help on that

also, how would I edit the chatbox so it doesn't return to the default ypos when playing casual or competitive, if possible at all?

reference

where my chat is by default

[quote=Wiethoofd] @Koncept: mp_forcewin 1-3 on a local server together with sv_pausable 1 and vgui_drawtree 1 and a pause bind allows you to inspect the winpanel, a hud_reloadscheme and another forcewin to see the changes[/quote]
thanks for the help on that

also, how would I edit the chatbox so it doesn't return to the default ypos when playing casual or competitive, if possible at all?

[url=https://gyazo.com/75bba3f3c9489069ac27c8d6da8a3a06]reference[/url]

[url=https://gyazo.com/c8badf68b2872ad800397b0cb274cfcf]where my chat is by default[/url]
3453
#3453
1 Frags +

Does anybody know the file to fix this problem?

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

Does anybody know the file to fix this problem?

[img]http://i.imgur.com/EuEULwC.jpg[/img]
3454
#3454
0 Frags +
face2facePertthe only things i could imagine would cause this is your HudHealthDyingPulseStop and HudHealthBonusPulse moving health numbers somehow, youve probably checked your hudanimations but if you havent go look if theres a movement animation there
also i guess look for leftover minmode positions and such in hudplayerhealth.res
also you seem to be asking what files edit what a bit, if u dont already u should use doodles hud resource files list and hudlayout.res resource list for a (slightly outdated) list of what edits what

you were exactly right! there was a movement animation in HudHealthDyingPulseStop that I was unaware of. Also thanks for the hud editing guide links, thats a fantastic resource!

Wiethoofd@Pert as f2f said: check your HudHealthBonus/DyingStop animation events, on 'reset' they for some reason reposition your health, for something as simple as changing colors you should not be messing with ypos stuff in those animations.

yep f2f was correct! I actually never touched the animations, I am just making edits to an existing hud and I didnt realize this animation even existed until I changed the player health location

[quote=face2face]
[quote=Pert][/quote]
the only things i could imagine would cause this is your HudHealthDyingPulseStop and HudHealthBonusPulse moving health numbers somehow, youve probably checked your hudanimations but if you havent go look if theres a movement animation there
also i guess look for leftover minmode positions and such in hudplayerhealth.res
also you seem to be asking what files edit what a bit, if u dont already u should use [url=http://doodlesstuff.com/?tutorial=tf2hud&page=resource]doodles hud resource files list[/url] and [url=http://doodlesstuff.com/?tutorial=tf2hud&res=hudlayout]hudlayout.res resource list[/url] for a (slightly outdated) list of what edits what[/quote]

you were exactly right! there was a movement animation in HudHealthDyingPulseStop that I was unaware of. Also thanks for the hud editing guide links, thats a fantastic resource!


[quote=Wiethoofd]@Pert as f2f said: check your HudHealthBonus/DyingStop animation events, on 'reset' they for some reason reposition your health, for something as simple as changing colors you should not be messing with ypos stuff in those animations.[/quote]

yep f2f was correct! I actually never touched the animations, I am just making edits to an existing hud and I didnt realize this animation even existed until I changed the player health location
3455
#3455
0 Frags +

How do i change the low health box that ahud uses here http://puu.sh/qsbDW/4bb23d0fe2.jpg

How do i change the low health box that ahud uses here http://puu.sh/qsbDW/4bb23d0fe2.jpg
3456
#3456
whitelist.tf
2 Frags +
Konceptalso, how would I edit the chatbox so it doesn't return to the default ypos when playing casual or competitive, if possible at all?

hud animation events

  • CompetitiveGame_LowerChatWindow
  • CompetitiveGame_RestoreChatWindow

And yes, it's disgusting tf2 devs didn't simply duplicate the BaseChat file from /tf/resource and added in a if_comp ypos but use animations for this.

duck_How do i change the low health box that ahud uses here http://puu.sh/qsbDW/4bb23d0fe2.jpg

HudSpyDisguiseStatus.res uses SpectatorGuiHealth.res

You're already on a local server: sv_pausable 1; pause; vgui_drawtree 1 and just navigate the tree to figure out the name of the hud element that is now visible and search inside the modified hud files.

puoi1Does anybody know the file to fix this problem?

HudMatchSummary.res is the file responsible for the end of round (casual/ranked) stats overview

[quote=Koncept]also, how would I edit the chatbox so it doesn't return to the default ypos when playing casual or competitive, if possible at all?[/quote]
hud animation events
[list][*]CompetitiveGame_LowerChatWindow[*]CompetitiveGame_RestoreChatWindow[/list]
And yes, it's disgusting tf2 devs didn't simply duplicate the BaseChat file from /tf/resource and added in a if_comp ypos but use animations for this.

[quote=duck_]How do i change the low health box that ahud uses here http://puu.sh/qsbDW/4bb23d0fe2.jpg[/quote]
HudSpyDisguiseStatus.res uses SpectatorGuiHealth.res

You're already on a local server: sv_pausable 1; pause; vgui_drawtree 1 and just navigate the tree to figure out the name of the hud element that is now visible and search inside the modified hud files.

[quote=puoi1]Does anybody know the file to fix [url=http://i.imgur.com/EuEULwC.jpg]this problem[/url]?[/quote]
HudMatchSummary.res is the file responsible for the end of round (casual/ranked) stats overview
3457
#3457
1 Frags +

IK I've probably asked this a million times but i can never figure out how to add a team colored bar in targetid that works in spectator like in https://youtu.be/8kpgvn7XmKU?t=405 and I'll like to put it in so it looks good with this http://puu.sh/qsAIa/fc62760796.jpg

IK I've probably asked this a million times but i can never figure out how to add a team colored bar in targetid that works in spectator like in https://youtu.be/8kpgvn7XmKU?t=405 and I'll like to put it in so it looks good with this http://puu.sh/qsAIa/fc62760796.jpg
3458
#3458
0 Frags +
CubekolHow to change color and font of this text ?

And also I digged through many files and I couldn't find where do i edit font of item's description and name

[quote=Cubekol]How to change color and font of [url=http://imgur.com/a/XdsLi]this[/url] text ?[/quote]

And also I digged through many files and I couldn't find where do i edit font of [url=http://imgur.com/a/IkRtK]item's description and name[/url]
3459
#3459
0 Frags +
WiethoofdKonceptalso, how would I edit the chatbox so it doesn't return to the default ypos when playing casual or competitive, if possible at all?hud animation events
  • CompetitiveGame_LowerChatWindow
  • CompetitiveGame_RestoreChatWindow
And yes, it's disgusting tf2 devs didn't simply duplicate the BaseChat file from /tf/resource and added in a if_comp ypos but use animations for this.

So should I code it like this:

event CompetitiveGame_LowerChatWindow
{
Animate HudChat Position xpos "105"	//what should I put after this as the start time and duration values?
Animate HudChat Position ypos "395" 
}

I'm honestly not sure what to put in the event CompetitiveGame_RestoreChatWindow. Just the same thing as above?

[quote=Wiethoofd][quote=Koncept]also, how would I edit the chatbox so it doesn't return to the default ypos when playing casual or competitive, if possible at all?[/quote]
hud animation events
[list][*]CompetitiveGame_LowerChatWindow[*]CompetitiveGame_RestoreChatWindow[/list]
And yes, it's disgusting tf2 devs didn't simply duplicate the BaseChat file from /tf/resource and added in a if_comp ypos but use animations for this.[/quote]
So should I code it like this:

[code]
event CompetitiveGame_LowerChatWindow
{
Animate HudChat Position xpos "105" //what should I put after this as the start time and duration values?
Animate HudChat Position ypos "395"
}[/code]

I'm honestly not sure what to put in the event CompetitiveGame_RestoreChatWindow. Just the same thing as above?
3460
#3460
whitelist.tf
1 Frags +

Duplicate the original events, modify the ypos in 'Lower' to move the chat down with the height of the window in BaseChat.res and set the ypos in the 'Restore' to be the one you set in BaseChat for the original position of the chat window.

Duplicate the original events, modify the ypos in 'Lower' to move the chat down with the height of the window in BaseChat.res and set the ypos in the 'Restore' to be the one you set in BaseChat for the original position of the chat window.
3461
#3461
1 Frags +

Whats the name of the animation that controls the casual maps dropdown dialog? I got rid of the game mode descriptions and made the boxes shorter and now the maps container hangs out the bottom like so

Whats the name of the animation that controls the casual maps dropdown dialog? I got rid of the game mode descriptions and made the boxes shorter and now the maps container hangs out the bottom like [url=http://i.imgur.com/1QoMRvS.png]so[/url]
3462
#3462
0 Frags +
WiethoofdDuplicate the original events, modify the ypos in 'Lower' to move the chat down with the height of the window in BaseChat.res and set the ypos in the 'Restore' to be the one you set in BaseChat for the original position of the chat window.

how does this look?

event CompetitiveGame_RestoreChatWindow
{
	Animate HudChat Position ypos "395" Linear 0.0 0.00001
}

event CompetitiveGame_LowerChatWindow
{
	Animate HudChat Position xpos "105" Linear 0.0 0.00001

}
[quote=Wiethoofd]Duplicate the original events, modify the ypos in 'Lower' to move the chat down with the height of the window in BaseChat.res and set the ypos in the 'Restore' to be the one you set in BaseChat for the original position of the chat window.[/quote]
how does this look?

[code]
event CompetitiveGame_RestoreChatWindow
{
Animate HudChat Position ypos "395" Linear 0.0 0.00001
}

event CompetitiveGame_LowerChatWindow
{
Animate HudChat Position xpos "105" Linear 0.0 0.00001

}
[/code]
3463
#3463
whitelist.tf
1 Frags +

@Koncept, way to overcomplicated, you can get away with simply modifying the default ones:

// Default Chat animation events
event CompetitiveGame_LowerChatWindow
{ // ypos is r'tall' value of BaseChat
	Animate HudChat ypos r140 Accel 0 0
}
event CompetitiveGame_RestoreChatWindow
{ // ypos is original value from BaseChat
	Animate HudChat ypos 275 Accel 0 0
}
@Koncept, way to overcomplicated, you can get away with simply modifying the default ones:
[code]// Default Chat animation events
event CompetitiveGame_LowerChatWindow
{ // ypos is r'tall' value of BaseChat
Animate HudChat ypos r140 Accel 0 0
}
event CompetitiveGame_RestoreChatWindow
{ // ypos is original value from BaseChat
Animate HudChat ypos 275 Accel 0 0
}[/code]
3464
#3464
0 Frags +

Anyone know how to remove the votemap ui? In pubs/dm I don't care what map I play I just want to get rid of it

Anyone know how to remove the votemap ui? In pubs/dm I don't care what map I play I just want to get rid of it
3465
#3465
0 Frags +

http://i.imgur.com/8yfKXAy.jpg

(Ignore red rectangle)
Does anyone know how to restore the background of the avatars on top? I use ToonHUD and it has removed background below the avatars and I want it back.

[img]http://i.imgur.com/8yfKXAy.jpg[/img]

[b](Ignore red rectangle)[/b]
Does anyone know how to restore the background of the avatars on top? I use ToonHUD and it has removed background below the avatars and I want it back.
3466
#3466
whitelist.tf
1 Frags +

HudMatchStatus.res there should be a BGFrame (check the default file otherwise)

HudMatchStatus.res there should be a BGFrame (check the [url=https://github.com/Tewgon/tf2basehud/blob/master/resource/ui/hudmatchstatus.res#L210]default file[/url] otherwise)
3467
#3467
0 Frags +

I use m0rehudblack and want to change the overheal health color, but I can't seem to find where its located. Also, I want to disable the charge meter at the bottom, but same issue, can't find it in HudMedicCharge.res (despite trying to disable everything one by one)

I use m0rehudblack and want to change the overheal health color, but I can't seem to find where its located. Also, I want to disable the charge meter at the bottom, but same issue, can't find it in HudMedicCharge.res (despite trying to disable everything one by one)
3468
#3468
1 Frags +
N3voI use m0rehudblack and want to change the overheal health color, but I can't seem to find where its located. Also, I want to disable the charge meter at the bottom, but same issue, can't find it in HudMedicCharge.res (despite trying to disable everything one by one)

HudAnimations > PlayerStatusHealthValueShadow for the overheal color
HudMedicCharge > ChargeMeter (if I'm not wrong it doesn't go away with visible 0, try wide 0 or something like that)

[quote=N3vo]I use m0rehudblack and want to change the overheal health color, but I can't seem to find where its located. Also, I want to disable the charge meter at the bottom, but same issue, can't find it in HudMedicCharge.res (despite trying to disable everything one by one)[/quote]

HudAnimations > PlayerStatusHealthValueShadow for the overheal color
HudMedicCharge > ChargeMeter (if I'm not wrong it doesn't go away with visible 0, try wide 0 or something like that)
3469
#3469
0 Frags +
HypnotizeN3voI use m0rehudblack and want to change the overheal health color, but I can't seem to find where its located. Also, I want to disable the charge meter at the bottom, but same issue, can't find it in HudMedicCharge.res (despite trying to disable everything one by one)
HudAnimations > PlayerStatusHealthValueShadow for the overheal color
HudMedicCharge > ChargeMeter (if I'm not wrong it doesn't go away with visible 0, try wide 0 or something like that)

Thanks a bunch!

[quote=Hypnotize][quote=N3vo]I use m0rehudblack and want to change the overheal health color, but I can't seem to find where its located. Also, I want to disable the charge meter at the bottom, but same issue, can't find it in HudMedicCharge.res (despite trying to disable everything one by one)[/quote]

HudAnimations > PlayerStatusHealthValueShadow for the overheal color
HudMedicCharge > ChargeMeter (if I'm not wrong it doesn't go away with visible 0, try wide 0 or something like that)[/quote]
Thanks a bunch!
3470
#3470
0 Frags +

I attempted to add Overwatch HUD's overheal effect into mine (bastHUD) and added everything but the HealthBGLow snippets into hudanimations_tf.txt: http://pastebin.com/KREfcKWg

I copied as well the related VTF/VMT's and added this part in HUDPlayerHealth.res: http://pastebin.com/2gfRMd9t

...but it looks like this: https://imgur.com/1F7BeaF . What could be wrong?

I attempted to add Overwatch HUD's overheal effect into mine (bastHUD) and added everything but the HealthBGLow snippets into hudanimations_tf.txt: http://pastebin.com/KREfcKWg

I copied as well the related VTF/VMT's and added this part in HUDPlayerHealth.res: http://pastebin.com/2gfRMd9t

...but it looks like this: https://imgur.com/1F7BeaF . What could be wrong?
3471
#3471
0 Frags +

would like to know how to change the color of flamehud's scoreboard stats, like how it turns green instead being white.

would like to know how to change the color of flamehud's scoreboard stats, like how it turns green instead being white.
3472
#3472
0 Frags +

nvm. Got Extracrispy to help me.

nvm. Got Extracrispy to help me.
3473
#3473
0 Frags +

I've got problem I recently decided to finally change huds and went for CJHud. Now inside of the files is a file named

"HLextract" I may have clicked on it but now I can't even open my tf2.

Because once I reach the Loading screen it closes off and shows a message that says "hl2.exe stopped working".

So I was wondering if I could get some help with that

I've got problem I recently decided to finally change huds and went for [url=fabricator.tf/other/CJHUD.zip]CJHud[/url]. Now inside of the files is a file named

"HLextract" I may have clicked on it but now I can't even open my tf2.

Because once I reach the Loading screen it closes off and shows a message that says "hl2.exe stopped working".

So I was wondering if I could get some help with that
3474
#3474
1 Frags +
ZetosI attempted to add Overwatch HUD's overheal effect into mine (bastHUD) and added everything but the HealthBGLow snippets into hudanimations_tf.txt: http://pastebin.com/KREfcKWg

I copied as well the related VTF/VMT's and added this part in HUDPlayerHealth.res: http://pastebin.com/2gfRMd9t

...but it looks like this: https://imgur.com/1F7BeaF . What could be wrong?

It looks like the overheal part doesn't span the entirety of your screen. From a glance it looks like it's just in your hudplayerhealth panel. To change this you would most likely have to make your hudplayerhealth panel be the width and length of your screen

[quote=Zetos]I attempted to add Overwatch HUD's overheal effect into mine (bastHUD) and added everything but the HealthBGLow snippets into hudanimations_tf.txt: http://pastebin.com/KREfcKWg

I copied as well the related VTF/VMT's and added this part in HUDPlayerHealth.res: http://pastebin.com/2gfRMd9t

...but it looks like this: https://imgur.com/1F7BeaF . What could be wrong?[/quote]
It looks like the overheal part doesn't span the entirety of your screen. From a glance it looks like it's just in your hudplayerhealth panel. To change this you would most likely have to make your hudplayerhealth panel be the width and length of your screen
3475
#3475
0 Frags +
GrinReaperI've got problem I recently decided to finally change huds and went for CJHud. Now inside of the files is a file named

"HLextract" I may have clicked on it but now I can't even open my tf2.

Because once I reach the Loading screen it closes off and shows a message that says "hl2.exe stopped working".

So I was wondering if I could get some help with that

you need to extract the hud files using the batch file

[quote=GrinReaper]I've got problem I recently decided to finally change huds and went for [url=fabricator.tf/other/CJHUD.zip]CJHud[/url]. Now inside of the files is a file named

"HLextract" I may have clicked on it but now I can't even open my tf2.

Because once I reach the Loading screen it closes off and shows a message that says "hl2.exe stopped working".

So I was wondering if I could get some help with that[/quote]

you need to extract the hud files using the batch file
3476
#3476
0 Frags +

I'm very late to this, but no one mentioned it to me until now. Apparently my HUD does not work with tf_scoreboard_mouse_mode. Is there something I need to add to make the popup show up? Nothing happens when you click on a player in my scoreboard with that command set to 1 or 2.

I'm very late to this, but no one mentioned it to me until now. Apparently my HUD does not work with tf_scoreboard_mouse_mode. Is there something I need to add to make the popup show up? Nothing happens when you click on a player in my scoreboard with that command set to 1 or 2.
3477
#3477
1 Frags +
KonceptZetosIt looks like the overheal part doesn't span the entirety of your screen. From a glance it looks like it's just in your hudplayerhealth panel. To change this you would most likely have to make your hudplayerhealth panel be the width and length of your screen

That did the trick, thanks!

[quote=Koncept][quote=Zetos][/quote]It looks like the overheal part doesn't span the entirety of your screen. From a glance it looks like it's just in your hudplayerhealth panel. To change this you would most likely have to make your hudplayerhealth panel be the width and length of your screen[/quote]
That did the trick, thanks!
3478
#3478
0 Frags +

Anyway to remove this completely? http://prntscr.com/c4b4lm

Anyway to move this down? http://prntscr.com/c4b4tc

Anyway to remove this completely? http://prntscr.com/c4b4lm

Anyway to move this down? http://prntscr.com/c4b4tc
3479
#3479
0 Frags +

anyone know how to resize specgui?
screenshot for ez explanation: http://imgur.com/a/7Le37

anyone know how to resize specgui?
screenshot for ez explanation: http://imgur.com/a/7Le37
3480
#3480
0 Frags +

how do I edit the background for the casual and competitive lobby/finding a match screen?

edit: strolled through the files its not really a background its just a panel

how do I edit the background for the casual and competitive lobby/finding a match screen?

edit: strolled through the files its not really a background its just a panel
1 ⋅⋅ 113 114 115 116 117 118 119 ⋅⋅ 206
Please sign in through STEAM to post a comment.