So I've got a couple HUD questions that are basically all that's holding me back from releasing my HUD.
1) How would I change the size of the item's name on the inspect panel?
http://puu.sh/5HSte.png
Talking about the big yellow name.
2) Is there a way for fonts to auto-install themselves?
Some of the beta testers don't get the fonts for my HUD on their version unless they go into resource/ui and install the fonts themselves. I don't remember doing that for any other HUD i've used-is this a bug?
3) How would I remove the little "Name____Score___Ping" bar at the top of the scoreboard?
http://puu.sh/5HSzp.png
(above the player names/avatars/etc)
Like in ya_hud.
4) Where are the border files located in gcfscape?
Not sure if this is a clientscheme.res thing but there are some border colors that I cannot change through clientscheme. Are there any of these files inside the tf2 gcfscape files?
5) Is there any way to make a background only show up for one class?
So I wanted to put a team-colored background on the targetID for medics (http://puu.sh/5HSIF.png). Is there a way to only make that background show up when looking at a Medic? (doubt it)
6) Is the "[MAX]: X" on the Class Selection Screen somehow disableable? Or do I have to rework the menu?
Talking about this. I doubt there is a separate hud element for this (seems to be added on by the config).
Thanks in advance.
So I've got a couple HUD questions that are basically all that's holding me back from releasing my HUD.
1) How would I change the size of the item's name on the inspect panel?
[img]http://puu.sh/5HSte.png[/img]
Talking about the big yellow name.
2) Is there a way for fonts to auto-install themselves?
Some of the beta testers don't get the fonts for my HUD on their version unless they go into resource/ui and install the fonts themselves. I don't remember doing that for any other HUD i've used-is this a bug?
3) How would I remove the little "Name____Score___Ping" bar at the top of the scoreboard?
[img]http://puu.sh/5HSzp.png[/img]
(above the player names/avatars/etc)
Like in ya_hud.
4) Where are the border files located in gcfscape?
Not sure if this is a clientscheme.res thing but there are some border colors that I cannot change through clientscheme. Are there any of these files inside the tf2 gcfscape files?
5) Is there any way to make a background only show up for one class?
So I wanted to put a team-colored background on the targetID for medics (http://puu.sh/5HSIF.png). Is there a way to only make that background show up when looking at a Medic? (doubt it)
6) Is the "[MAX]: X" on the Class Selection Screen somehow disableable? Or do I have to rework the menu?
Talking about [url=http://puu.sh/5HSP0.png]this[/url]. I doubt there is a separate hud element for this (seems to be added on by the config).
Thanks in advance.
1. Unsure, I don't work with that
2. Put the font in clientscheme.res, the syntax is at the bottom and should be put there anyway
3. The more conventional way removes the entire bar as well, so I would advise - eh, no. Not a good answer I can say here.
4. It's a clientscheme.res thing based on colors. Or it could be hardcoded, but you could just create your own border?
5. Not really. I mean you COULD put a "border" on TargetDataLabel in targetid.res (which won't appear if there isn't a target data label) which A) would make it appear on things like buildings and thanks to the new ammo and killstreak things, would make it appear on that as well and B) couldn't display team-colors AFAIK. Besides, it looks really ugly in practice and probably would require 3+ hours to make a border specifically for that. Wouldn't recommend it.
6. Isn't that a HUD-based thing, just for comp aesthetics? Probably could disable it.
1. Unsure, I don't work with that
2. Put the font in clientscheme.res, the syntax is at the bottom and should be put there anyway
3. The more conventional way removes the entire bar as well, so I would advise - eh, no. Not a good answer I can say here.
4. It's a clientscheme.res thing based on colors. Or it could be hardcoded, but you could just create your own border?
5. Not really. I mean you COULD put a "border" on TargetDataLabel in targetid.res (which won't appear if there isn't a target data label) which A) would make it appear on things like buildings and thanks to the new ammo and killstreak things, would make it appear on that as well and B) couldn't display team-colors AFAIK. Besides, it looks really ugly in practice and probably would require 3+ hours to make a border specifically for that. Wouldn't recommend it.
6. Isn't that a HUD-based thing, just for comp aesthetics? Probably could disable it.
My fonts are set up like this at the bottom of ClientScheme.res:
"14" // BigNoodleTitling (Main font)
{
"font" "resource/big-noodle-titling.ttf"
"name" "BigNoodleTitling"
}
"16" // WeblySleek (Body font)
{
"font" "resource/weblysleekuil.ttf"
"name" "WeblySleek UI Semibold"
}
"17" //Blocks (Body font)
{
"font" "resource/Blocks.ttf"
"name" "Blocks"
}
My fonts are set up like this at the bottom of ClientScheme.res:
"14" // BigNoodleTitling (Main font)
{
"font" "resource/big-noodle-titling.ttf"
"name" "BigNoodleTitling"
}
"16" // WeblySleek (Body font)
{
"font" "resource/weblysleekuil.ttf"
"name" "WeblySleek UI Semibold"
}
"17" //Blocks (Body font)
{
"font" "resource/Blocks.ttf"
"name" "Blocks"
}
Because we're totally not missing #15 here.
I think that's your problem.
Because we're totally not missing #15 here.
I think that's your problem.
All right, messed around with my clientscheme and fixed the font issue (hopefully, I can't really test it).
Changed everything I could think of in clientscheme to try and fix the borders still being cyan, no dice. Also couldn't find anything about Max:X values in ClassSelection.res
All right, messed around with my clientscheme and fixed the font issue (hopefully, I can't really test it).
Changed everything I could think of in clientscheme to try and fix the borders still being cyan, no dice. Also couldn't find anything about Max:X values in ClassSelection.res
7) how can you remove the kill streak number from the kill feed & scoreboard?
7) how can you remove the kill streak number from the kill feed & scoreboard?
Sorry it's taken me so long to answer these questions - I've been busy with stressing over finals during the day, then playing video games at night to console myself over my stress.
Also please note that I'm not at desktop and these answers haven't been tested, but what I would assume would be correct. If you've already tried some of this and it hasn't worked, I'm sorry ahead of time; I'll try to help you further when I'm at my PC.
1) Change the font field under the nested "ItemLabel" section of HudInspectPanel.res within the "itempanel" section of code. Just remember that you'll have to do this each place there is an instance of the "itempanel". (This means killcams in FreezePanel_Basic, SpectatorTournament, etc).
2) That's more of a font issue than anything. I'm no entirely sure, but I'm going to assume it has something to do with the security placed on the font file itself, preventing it from being accessed and used unless installed on another system. I'd double check for any ClientScheme.res errors (which it looks like you've already done), though.
3) I would assume this is done by setting the zpos of of the player list to be lower than the background of the team-colored indicator at the top, then moving the background down some so it covers up the top part of the board that indicates ping, score, streak, etc, and only leaves the players themselves. Even if this isn't how whayay did it, this method should still work.
4) All borders are in ClientScheme.res labeled under the section that starts with "/// BORDERS ///". Since you're using my HUD as a base, all of the cyan borders I used I believe I defined in ClientScheme within that section.
5) By just editing the HudPlayerClass.res file, no, not to my knowledge. That border only takes into account what team you're not, not what class you're playing, meaning that there is no correlation causing that background to be present depending on your class; only your team. I suppose if you really wanted though, you could set it up so the background was toggleable via min-mode.
6) I can't remember this off of the top of my head, I'll have to check later to be sure, but as far as I know, no; it's tied in with the total number of a certain class that you have on a team I think.
7) You can remove the killstreak from the scoreboard by making the "score_width" section of the scoreboard really high. Note that this will remove both ping and score from the board though, in addition to streak. Valve made it so that "score_width" controls both the width of your current score, as well as your current streak.
As for removing it from killfeed, that's something that you might be able to do by changing the font in your killfeed to only contain letters and no numbers so that the number itself would show up blank on the killfeed. This holds a few drawbacks though, as it means that everyone who showed up on the killfeed that had a number in their name would also have that number removed, so this prevents several problems. I would say that there isn't an easy solution to that.
Hopefully this helps a bit. :3
Sorry it's taken me so long to answer these questions - I've been busy with stressing over finals during the day, then playing video games at night to console myself over my stress.
Also please note that I'm not at desktop and these answers haven't been tested, but what I would assume would be correct. If you've already tried some of this and it hasn't worked, I'm sorry ahead of time; I'll try to help you further when I'm at my PC.
1) Change the font field under the nested "ItemLabel" section of HudInspectPanel.res within the "itempanel" section of code. Just remember that you'll have to do this each place there is an instance of the "itempanel". (This means killcams in FreezePanel_Basic, SpectatorTournament, etc).
2) That's more of a font issue than anything. I'm no entirely sure, but I'm going to assume it has something to do with the security placed on the font file itself, preventing it from being accessed and used unless installed on another system. I'd double check for any ClientScheme.res errors (which it looks like you've already done), though.
3) I would assume this is done by setting the zpos of of the player list to be lower than the background of the team-colored indicator at the top, then moving the background down some so it covers up the top part of the board that indicates ping, score, streak, etc, and only leaves the players themselves. Even if this isn't how whayay did it, this method should still work.
4) All borders are in ClientScheme.res labeled under the section that starts with "/// BORDERS ///". Since you're using my HUD as a base, all of the cyan borders I used I believe I defined in ClientScheme within that section.
5) By just editing the HudPlayerClass.res file, no, not to my knowledge. That border only takes into account what team you're not, not what class you're playing, meaning that there is no correlation causing that background to be present depending on your class; only your team. I suppose if you really wanted though, you could set it up so the background was toggleable via min-mode.
6) I can't remember this off of the top of my head, I'll have to check later to be sure, but as far as I know, no; it's tied in with the total number of a certain class that you have on a team I think.
7) You can remove the killstreak from the scoreboard by making the "score_width" section of the scoreboard really high. Note that this will remove both ping and score from the board though, in addition to streak. Valve made it so that "score_width" controls both the width of your current score, as well as your current streak.
As for removing it from killfeed, that's something that you might be able to do by changing the font in your killfeed to only contain letters and no numbers so that the number itself would show up blank on the killfeed. This holds a few drawbacks though, as it means that everyone who showed up on the killfeed that had a number in their name would also have that number removed, so this prevents several problems. I would say that there isn't an easy solution to that.
Hopefully this helps a bit. :3
Awesome, rays. Sorry for being kind of a nuisance with this--good luck with finals!
1) I've already done this, I believe--it changes the font of the body (level, custom desc, etc) but not the name of the weapon.
2) Yeah, this is pretty hard to test. I'll have to see if I get some complaints about it when I first release before I dig a bit deeper.
3) Would I have to change the red/blu bars to full 255 opaquity (not a word)?
4) I've changed pretty much every border that has to do with Cyan in clientscheme, and so far everything is changed except for this http://puu.sh/5IQ6E.png. I can't find where those two borders are defined in clientscheme (or if they're separate lines added on by you).
Awesome, rays. Sorry for being kind of a nuisance with this--good luck with finals!
1) I've already done this, I believe--it changes the font of the body (level, custom desc, etc) but not the name of the weapon.
2) Yeah, this is pretty hard to test. I'll have to see if I get some complaints about it when I first release before I dig a bit deeper.
3) Would I have to change the red/blu bars to full 255 opaquity (not a word)?
4) I've changed pretty much every border that has to do with Cyan in clientscheme, and so far everything is changed except for this http://puu.sh/5IQ6E.png. I can't find where those two borders are defined in clientscheme (or if they're separate lines added on by you).
I'll check out the itempanel stuff when I get home, but to answer your other questions:
3) I would assume so, or at least something with a fairly solid transparency value (I'd say probably 200 to 225 as a minimum).
4) Those lines are defined in the various menu files. While I don't have the names of them all memorized off of the top of my head, they're the "HeaderLine" and "FooterLine" fields within those files. Honestly this is a mistake on my part, as I never got around to centralizing the cyan color into ClientScheme, making it difficulut for people like you to change the colors.
Using notepad++ to search multiple files, I was told that the word "FooterLine" appears in the following files:
http://puu.sh/5IRoC.png
I'll check out the itempanel stuff when I get home, but to answer your other questions:
3) I would assume so, or at least something with a fairly solid transparency value (I'd say probably 200 to 225 as a minimum).
4) Those lines are defined in the various menu files. While I don't have the names of them all memorized off of the top of my head, they're the "HeaderLine" and "FooterLine" fields within those files. Honestly this is a mistake on my part, as I never got around to centralizing the cyan color into ClientScheme, making it difficulut for people like you to change the colors.
Using notepad++ to search multiple files, I was told that the word "FooterLine" appears in the following files:
[img]http://puu.sh/5IRoC.png[/img]
All right, I think I fixed everything else.
Another question or two I want to pile on (if you don't mind):
8) How would I change the size/font of the timer under HudObjectiveTimePanel.res? There's a value for the server time but not the actual time.
9) So I'm trying to design a new winpanel but whenever I try and move the blu background over it gets cut off. This has always frustrated me so what do I need to do to get it to show up on the left side?
http://puu.sh/5ITMu.png
All right, I think I fixed everything else.
Another question or two I want to pile on (if you don't mind):
8) How would I change the size/font of the timer under HudObjectiveTimePanel.res? There's a value for the server time but not the actual time.
9) So I'm trying to design a new winpanel but whenever I try and move the blu background over it gets cut off. This has always frustrated me so what do I need to do to get it to show up on the left side?
http://puu.sh/5ITMu.png
8) I'm afraid I don't fully understand the question, but as far as timers go, the main one (that resets when you cap a point), is defined in "TimePanelValue" in HudObjectiveStatus.res, while the server time limit left timer is defined under "ServerTimeLimitLabel" in HudObjectiveTimePanel.res.
9) This is probably because you haven't shifted your winpanel frame over at all in hudlayout.res. It seems that the container for the entirety of the winpanel is centered in the lower-middle section of the screen, so you'll have to shift over the whole winpanel, make it wider, then manually move all the values over to the right again. This way you give yourself more room to work with on either side of the element itself.
8) I'm afraid I don't fully understand the question, but as far as timers go, the main one (that resets when you cap a point), is defined in "TimePanelValue" in HudObjectiveStatus.res, while the server time limit left timer is defined under "ServerTimeLimitLabel" in HudObjectiveTimePanel.res.
9) This is probably because you haven't shifted your winpanel frame over at all in hudlayout.res. It seems that the container for the entirety of the winpanel is centered in the lower-middle section of the screen, so you'll have to shift over the whole winpanel, make it wider, then manually move all the values over to the right again. This way you give yourself more room to work with on either side of the element itself.
I messed with my winpanel under hudlayout.res with the wide and xpos values but nothing actually changed.
Also, the TimeValue thing worked.
I messed with my winpanel under hudlayout.res with the wide and xpos values but nothing actually changed.
Also, the TimeValue thing worked.
You'll have to move over the entire winpanel via hudlayout.res to the left, then manually move everything else back to the right; simply adding to the width won't do anything if it's already up in the upper left-hand corner of the winpanel frame.
You should be able to move the entire winpanel (and all of it's elements), by editing the x-pos of "winpanel" within hudlayout.res.
You'll have to move over the [i]entire[/i] winpanel via hudlayout.res to the left, then manually move everything else back to the right; simply adding to the width won't do anything if it's already up in the upper left-hand corner of the winpanel frame.
You should be able to move the entire winpanel (and all of it's elements), by editing the x-pos of "winpanel" within hudlayout.res.
If someone here could tell my why my custom font only works in some places I'd be so happy.
It doesn't show up in the playerstats on my scoreboard, as well as on the tournament ready up window.
Also, none of the fonts I defined my self function.
"HudFontSmall"
{
"1"
{
"name" "Maximus Bold"
"tall" "14"
"additive" "0"
"antialias" "1"
}
}
Works just fine.
HOWEVER
"Maximus22"
{
"1"
{
"name" "Maximus"
"tall" "22"
"additive" "0"
"antialias" "1"
}
}
Doesn't work.
My definitions from the end of clientscheme
"7" // Main font
{
"font" "resource/Maximus.ttf"
"name" "Maximus"
}
"8" // Bold Font
{
"font" "resource/Maximus Bold.ttf"
"name" "Maximus Bold"
}
"9"
{
"font" "resource/Typomoderno bold.ttf"
"name" "Typomoderno Bold"
}
If someone here could tell my why my custom font only works in some places I'd be so happy.
It doesn't show up in the playerstats on my scoreboard, as well as on the tournament ready up window.
Also, none of the fonts I defined my self function.
[code] "HudFontSmall"
{
"1"
{
"name" "Maximus Bold"
"tall" "14"
"additive" "0"
"antialias" "1"
}
}
[/code]
Works just fine.
HOWEVER
[code] "Maximus22"
{
"1"
{
"name" "Maximus"
"tall" "22"
"additive" "0"
"antialias" "1"
}
}
[/code]
Doesn't work.
My definitions from the end of clientscheme
[code] "7" // Main font
{
"font" "resource/Maximus.ttf"
"name" "Maximus"
}
"8" // Bold Font
{
"font" "resource/Maximus Bold.ttf"
"name" "Maximus Bold"
}
"9"
{
"font" "resource/Typomoderno bold.ttf"
"name" "Typomoderno Bold"
}
[/code]
All right, I managed to get the winpanel working now. I guess all that's left is the itempanel stuff and dance's thing.
edit nvm i'm dumb
All right, I managed to get the winpanel working now. I guess all that's left is the itempanel stuff and dance's thing.
edit nvm i'm dumb
Bump. Still looking for a solution to #1
Bump. Still looking for a solution to #1