Where can I edit the white background and border parts?
For some reason as soon as I changed these buttons, they won't actually open their loadouts. Anyone know why?
http://puu.sh/jFp43/7f4282507d.jpg
http://puu.sh/jFp43/7f4282507d.jpg
_KermitAzazelDan_xpos_minmode and ypos_minmode are for changing the position in minmode.
EDIT: Oops, didn't read your full post. Where are you trying to move the shadows to?
I am trying to move the health shadow just a bit to the right so it matches the ammo shadow.
Sure the text alignment is the same for both?
Text Alignment is the same for the Ammo In Clip + Shadow and Health + Shadow, all "West".
xpos_minmode and ypos_minmode are for changing the position in minmode.
EDIT: Oops, didn't read your full post. Where are you trying to move the shadows to?
[/quote]
I am trying to move the health shadow just a bit to the right so it matches the ammo shadow.[/quote]
Sure the text alignment is the same for both?[/quote]
Text Alignment is the same for the Ammo In Clip + Shadow and Health + Shadow, all "West".
i might of asked this before, how do i replace a hud scoreboard
gargleburryi might of asked this before, how do i replace a hud scoreboard
Copy and paste one resource/ui/scoreboard.res to the other resource/ui/ folder
Install any custom fonts it uses + make clientscheme.res entries for those fonts
Copy and paste one resource/ui/scoreboard.res to the other resource/ui/ folder
Install any custom fonts it uses + make clientscheme.res entries for those fonts
So I have an edited version of bwhud and at one point I must have messed up the html window that comes up in game (like when you check logs/sizzling stats in game). I cannot close it. Clicking continue doesn't do anything. Any help?
[img]http://i.imgur.com/X9d4jxL.png?1[/img]
From the looks of it it's resource/ui/textwindow.res
You're probably missing this line: https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/textwindow.res#L103
If so just add "command" "okay" in the "ok" section
You're probably missing this line: https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/textwindow.res#L103
If so just add "command" "okay" in the "ok" section
For some reason my medic ubercharge number shows up a percentage sign after the number.
I installed fonts and hud correctly that i am pretty sure, but it still shows up like this.
Anyone could help please?
I installed fonts and hud correctly that i am pretty sure, but it still shows up like this.
Anyone could help please?
http://imgur.com/vEc9StI
How do I edit these things circled in the picture?
Thanks in advance!
Thanks in advance!
I want to copy the main menu and class selection screen from another hud into my current hud, what files do I need to overwrite? Also what do I need to copy to keep my current in-menu keybinds working (eg q to back out of a menu instead of 0 and r to random pick a class)
deetrI want to copy the main menu and class selection screen from another hud into my current hud, what files do I need to overwrite? Also what do I need to copy to keep my current in-menu keybinds working (eg q to back out of a menu instead of 0 and r to random pick a class)
As for mainmenu, it's mainmenuoverride.res and gamemenu.res. You'll probably also need to copy color definitions and fonts from clientscheme.res. Class-selection is classselection.res.
Bit3rFor some reason my medic ubercharge number shows up a percentage sign after the number.
I installed fonts and hud correctly that i am pretty sure, but it still shows up like this.
Anyone could help please?
http://imgur.com/vEc9StI
That's how it is by default, the % coming after the actual value. To hide it, just mess with the width of resource/ui/hudmediccharge.res or the width of the hudmediccharge entry in scripts/hudlayout.res so it only shows numbers, if that's what you want.
ninjajiroHow do I edit these things circled in the picture?
Thanks in advance!
I'm not too sure about this but the files associated with them look like:
- CharInfoArmorySubpanel.res - The page that loads class-specific loadouts
- ItemModelPane.resl - Seems like the panel that comes up when you mouseover a loadout slot
- ItemModelPanelCollectionItem.res - Same as ItemModelPanel, but for skinned weapons.
Good luck (sorry if things don't work / anyone can feel free to correct me)
deetrI want to copy the main menu and class selection screen from another hud into my current hud, what files do I need to overwrite? Also what do I need to copy to keep my current in-menu keybinds working (eg q to back out of a menu instead of 0 and r to random pick a class)
The main menu is resource/ui/mainmenuoverride.res, class slection is classselection.res, team select is teammenu.res.
For in-menu keybinds, you need to use "labeltext" "&Q" or whichever key you want to press and then a "command" line - so look for labeltext and the command to match. Looks like for R for random, put "&R" after labeltext here
E:
RawrsorFor some reason as soon as I changed these buttons, they won't actually open their loadouts. Anyone know why?
http://puu.sh/jFp43/7f4282507d.jpg
From the looks of the default charinfoloadoutsubpanel.res
You need to make sure ControlName is ImageButton and Command is "loadout soldier" and the other classes.
I installed fonts and hud correctly that i am pretty sure, but it still shows up like this.
Anyone could help please?
http://imgur.com/vEc9StI[/quote]
That's how it is by default, the % coming after the actual value. To hide it, just mess with the [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudmediccharge.res#L20]width of resource/ui/hudmediccharge.res[/url] or [url=https://github.com/MFSTATE/tf2basehud/blob/master/scripts/hudlayout.res#L74]the width of the hudmediccharge entry in scripts/hudlayout.res[/url] so it only shows numbers, if that's what you want.
[quote=ninjajiro]How do I edit [url=http://imgur.com/dJVSmxy]these things [/url]circled in the picture?
Thanks in advance![/quote]
I'm not too sure about this but the files associated with them look like:
[list]
[*][url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/charinfoarmorysubpanel.res]CharInfoArmorySubpanel.res[/url] - The page that loads class-specific loadouts
[*] [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/econ/itemmodelpanel.res]ItemModelPane.resl[/url] - Seems like the panel that comes up when you mouseover a loadout slot
[*] [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/econ/itemmodelpanelcollectionitem.res]ItemModelPanelCollectionItem.res[/url] - Same as ItemModelPanel, but for skinned weapons.
[/list]
Good luck (sorry if things don't work / anyone can feel free to correct me)
[quote=deetr]I want to copy the main menu and class selection screen from another hud into my current hud, what files do I need to overwrite? Also what do I need to copy to keep my current in-menu keybinds working (eg q to back out of a menu instead of 0 and r to random pick a class)[/quote]
The main menu is resource/ui/mainmenuoverride.res, class slection is classselection.res, team select is teammenu.res.
For in-menu keybinds, you need to use "labeltext" "&Q" or whichever key you want to press and then a "command" line - so look for labeltext and the command to match. Looks like for R for random, put "&R" after labeltext [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/classselection.res#L51]here[/url]
E:
[quote=Rawrsor]For some reason as soon as I changed these buttons, they won't actually open their loadouts. Anyone know why?
http://puu.sh/jFp43/7f4282507d.jpg[/quote]
From the looks of the [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/charinfoloadoutsubpanel.res]default charinfoloadoutsubpanel.res[/url]
You need to make sure ControlName is ImageButton and Command is "loadout soldier" and the other classes.
I switched to yaHUD because I coudn't fix the other one, but now I have this problem - http://steamcommunity.com/sharedfiles/filedetails/?id=504451389
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?
AzazelI switched to yaHUD because I coudn't fix the other one, but now I have this problem - http://steamcommunity.com/sharedfiles/filedetails/?id=504451389
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?
Mess around with the widths and xpos' of ammoinclip (what's loaded) and ammoinreserve + their shadows
It's in HUDAmmoWeapons.res
If it's a problem with weapons that don't have a clip (ones you don't reload, like flamethrowers and miniguns) mess with AmmoNoClip's width and xpos too.
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?[/quote]
Mess around with the widths and xpos' of ammoinclip (what's loaded) and ammoinreserve + their shadows
It's in [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudammoweapons.res#L54]HUDAmmoWeapons.res[/url]
If it's a problem with weapons that don't have a clip (ones you don't reload, like flamethrowers and miniguns) mess with AmmoNoClip's width and xpos too.
JermAzazelI switched to yaHUD because I coudn't fix the other one, but now I have this problem - http://steamcommunity.com/sharedfiles/filedetails/?id=504451389
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?
Mess around with the widths and xpos' of ammoinclip (what's loaded) and ammoinreserve + their shadows
It's in HUDAmmoWeapons.res
If it's a problem with weapons that don't have a clip (ones you don't reload, like flamethrowers and miniguns) mess with AmmoNoClip's width and xpos too.
Messing with the width/x-pos just moves the cut off numbers to the right/left.
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?[/quote]
Mess around with the widths and xpos' of ammoinclip (what's loaded) and ammoinreserve + their shadows
It's in [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudammoweapons.res#L54]HUDAmmoWeapons.res[/url]
If it's a problem with weapons that don't have a clip (ones you don't reload, like flamethrowers and miniguns) mess with AmmoNoClip's width and xpos too.[/quote]
Messing with the width/x-pos just moves the cut off numbers to the right/left.
AzazelJermAzazelI switched to yaHUD because I coudn't fix the other one, but now I have this problem - http://steamcommunity.com/sharedfiles/filedetails/?id=504451389
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?
Mess around with the widths and xpos' of ammoinclip (what's loaded) and ammoinreserve + their shadows
It's in HUDAmmoWeapons.res
If it's a problem with weapons that don't have a clip (ones you don't reload, like flamethrowers and miniguns) mess with AmmoNoClip's width and xpos too.
Messing with the width/x-pos just moves the cut off numbers to the right/left.
Might be a resolution thing then, some fonts cut off at some resolutions but display just fine on others
The widths of the items' "boxes" or whatever in hudlayout.res are all "f0".
My resolution is 1680 x 1050.
How do I stop all the numbers from cutting off?[/quote]
Mess around with the widths and xpos' of ammoinclip (what's loaded) and ammoinreserve + their shadows
It's in [url=https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudammoweapons.res#L54]HUDAmmoWeapons.res[/url]
If it's a problem with weapons that don't have a clip (ones you don't reload, like flamethrowers and miniguns) mess with AmmoNoClip's width and xpos too.[/quote]
Messing with the width/x-pos just moves the cut off numbers to the right/left.[/quote]
Might be a resolution thing then, some fonts cut off at some resolutions but display just fine on others
1. How do i get rid of this?
http://i.imgur.com/gGKo1O7.png
2. In what file can i change the position of the Ammo Numbers?
For Example from
This
http://i.imgur.com/99f46di.png
To this.
[img]http://i.imgur.com/gGKo1O7.png[/img]
2. In what file can i change the position of the Ammo Numbers?
For Example from
This
[img]http://i.imgur.com/99f46di.png[/img]
To this.
[img]http://i.imgur.com/AkH3UB1.png[/img]
Smesi1. How do i get rid of this?
http://i.imgur.com/gGKo1O7.png
2. In what file can i change the position of the Ammo Numbers?
For Example from
This
http://i.imgur.com/99f46di.png
To this.
http://i.imgur.com/AkH3UB1.png
1. resource/ui/HudPlayerClass.res - I believe you have to change classmodelpanel's visible from 1 to 0 - here's the specific line you should try, or just move it off screen. https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudplayerclass.res#L141
2. resource/ui/hudammoweapons - Change the x and y values of "AmmoInReserve"
[img]http://i.imgur.com/gGKo1O7.png[/img]
2. In what file can i change the position of the Ammo Numbers?
For Example from
This
[img]http://i.imgur.com/99f46di.png[/img]
To this.
[img]http://i.imgur.com/AkH3UB1.png[/img][/quote]
1. resource/ui/HudPlayerClass.res - I believe you have to change classmodelpanel's visible from 1 to 0 - here's the specific line you should try, or just move it off screen. https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudplayerclass.res#L141
2. resource/ui/hudammoweapons - Change the x and y values of "AmmoInReserve"
Jerm1. resource/ui/HudPlayerClass.res - I believe you have to change classmodelpanel's visible from 1 to 0 - here's the specific line you should try, or just move it off screen. https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudplayerclass.res#L141
2. resource/ui/hudammoweapons - Change the x and y values of "AmmoInReserve"
http://i.imgur.com/7WzQDU1.jpg
http://i.imgur.com/NSc6h0J.jpg
Hey.
1. It didn't worked.
2. It worked,but with guns with more than 9 things in the clip,the clip number goes over the Reserve number.
So help?
I guess.
1. resource/ui/HudPlayerClass.res - I believe you have to change classmodelpanel's visible from 1 to 0 - here's the specific line you should try, or just move it off screen. https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/hudplayerclass.res#L141
2. resource/ui/hudammoweapons - Change the x and y values of "AmmoInReserve"[/quote]
[img]http://i.imgur.com/7WzQDU1.jpg[/img]
[img]http://i.imgur.com/NSc6h0J.jpg[/img]
Hey.
1. It didn't worked.
2. It worked,but with guns with more than 9 things in the clip,the clip number goes over the Reserve number.
So help?
I guess.
1. My bad, it's actually at the top of hudplayerclass.res, in "HudPlayerClass" change "enabled" and "visible" to 0.
2. Just play around with the AmmoInReserve X values until you get something that works for you. Keep using hud_reloadscheme instead of restarting your game to save time.
2. Just play around with the AmmoInReserve X values until you get something that works for you. Keep using hud_reloadscheme instead of restarting your game to save time.
Smesi1. It didn't worked.
2. It worked,but with guns with more than 9 things in the clip,the clip number goes over the Reserve number.
So help?
I guess.
1. Set enabled and visible to 0 for PlayerStatusClassImage, PlayerStatusSpyImage and PlayerStatusSpyOutlineImage to remove the 2D player image (or xpos 9999 if that doesn't work).
2. I'm guessing the textAlignment for AmmoInReserve is east? Change it to west and adjust the xpos accordingly.
EDIT: Jerm beat me to it.
2. It worked,but with guns with more than 9 things in the clip,the clip number goes over the Reserve number.
So help?
I guess.[/quote]
1. Set enabled and visible to 0 for PlayerStatusClassImage, PlayerStatusSpyImage and PlayerStatusSpyOutlineImage to remove the 2D player image (or xpos 9999 if that doesn't work).
2. I'm guessing the textAlignment for AmmoInReserve is east? Change it to west and adjust the xpos accordingly.
EDIT: Jerm beat me to it.
Not a hud thing but there isn't a cvar/script thread, and you guys usually know stuff.
My water started rendering weird recently:
My water started rendering weird recently:
[img]http://i.imgur.com/zeWAK2H.jpg[/img]
[url=https://github.com/PipingHotCoffee/TF2-cfg/blob/master/cfg/client_settings.cfg]Here is my cfg.[/url]
If your Trade Ups don't work: update your hudanimations_tf.txt to contain the bottom part of the default hud file with regards to the contract stuff!
WiethoofdIf your Trade Ups don't work: update your hudanimations_tf.txt to contain the bottom part of the default hud file with regards to the contract stuff!
Here's what you need to add: http://pastebin.com/raw.php?i=yUYay9Kh
Here's what you need to add: http://pastebin.com/raw.php?i=yUYay9Kh
the freezepanel itempanel doesn't consistently expand from bottom to top like the other itempanels (hudinspectpanel, spectator, spectatortournament).
Has this been fixed yet?
Has this been fixed yet?
sorry if this has been asked before-- how do I remove the lime green from the scoreboard numbers?
http://i.imgur.com/av2OY1m.jpg
also what's the setting to make imagepanels rounded?
answered,
thanks jerm
[img]http://i.imgur.com/av2OY1m.jpg[/img]
also what's the setting to make imagepanels rounded?
[/s]
answered,
thanks jerm
http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers/?page=52#1544 for removing green from scoreboard numbers
For round corners play with these attributes:
"src_corner_height" "24"
"src_corner_width" "24"
"draw_corner_width" "5"
"draw_corner_height" "5"
src: http://doodlesstuff.com/?tutorial=tf2hud&page=core#borders
For round corners play with these attributes:
[code]"src_corner_height" "24"
"src_corner_width" "24"
"draw_corner_width" "5"
"draw_corner_height" "5" [/code]
src: http://doodlesstuff.com/?tutorial=tf2hud&page=core#borders