- Details
- Written by: INsane
- Category: Day of Defeat Customisation Guides
- Hits: 484
This task is harder than you think and likely why not many attempt it.
There is a download of the completed files, download them here.
The entire GUI and HUD made while doing these guides is here.
I also have copies of the sections altered in the files I made, see the code format in every section below to cut and paste complex edits, they have comments beside adjustments.
Mostly all you see as a problem at first is the need for a simple font adjustment, a color change here and there but... it gets wild if you want 32 players to show.
You have to adjust four files...at the same time (if going for the 32 player fix, one file for sub 24 player servers.). Below I have that in steps.
The default dod 1.3 scoreboard has some significant issues.
- "Default" font "Times New Roman" @ "13" tall is too big, it doesn't have a "dropshadow" (black around the text)
- "DefaultVerySmall" is for the Titles, its overlapping.
- Top and bottom spectator bars take up way too much space for what's in them
- The scoreboard itself...running off the screen.
The problems - 1920X1080 screen size (click to enlarge) |
If playing on a 32 person server there is not enough room to display all players on the server, the title font is messed up and the font used to display the names is to thin and light.
Sure it may just do for a 6 versus 6 game and you can edit a few things to make it more visible but that's way too many errors for a game... on sale for over 20 years.
In this guide we are working towards the largest (32 players) but as we go you will see a opportunity to make a 12 person for Competitive games or anything from 32 down.
Here are my finished edits...
The edited result - 1920X1080 screen size (click to enlarge) |
Index
The default files to edit |
First fix the fonts |
Adjust the top spectator bar for more room |
Adjust the bottom spectator bar for more room |
Adjust the scoreboard panel |
The default files to edit
First to edit them, make a new folder called "dod_addon" and place that in... Your Drive: \Your folder \steamapps\common\Half-Life\
Why? It's the default place for custom files and will not get wiped out in a...20 year update. Read this page.
Make two new folders in your new "dod_addon" folder called "resource", open that and make the other one called "UI" inside that to replicate the folder structure in "dod".
You should now have this in that last "UI" folder...
Your Drive: \Your folder \steamapps\common\Half-Life\dod_addon\resource\UI
The files we require are:
ClientScheme.res ... Your Drive: \Your folder \steamapps\common\Half-Life\dod\resource
BottomSpectator.res ... Your Drive: \Your folder \steamapps\common\Half-Life\dod\resource\UI
ScoreBoard.res ... Your Drive: \Your folder \steamapps\common\Half-Life\dod\resource\UI
Spectator.res ... Your Drive: \Your folder \steamapps\common\Half-Life\dod\resource\UI
The reason for the four files is they each affect the scoreboard in their own way, and yes... spectator files are important to the scoreboard , not that you see that in game.
But, you do see it when dead, the reinforcements timer, the allied and axis score and likely you will check the scoreboard then...and if not done right you will see overlapping stuff.
Also, when you are watching in spectator there is a tool to use in the bottom spectator that you bring up via the "duck" key...default is left shift key.
They are all related, change one and you may (depending on how big we go) have to adjust the top and bottom bars.
Please use NotePad++ or a similar text editor. After installing it check your right click menu, you will see a "Edit with NotePad++" option to open files.
Also... when editing, to check progress in a VGUI edit.
- Save the file, open the game, look at your adjustment.
- If it all goes wrong, you may have a simple typo, a lost " or a { placed wrong...check!
- To test the scoreboard at a max player level... install Sturmbot, set the bot amount.
- If you are confused on where panels start and stop. Do this..
Go to ClientScheme.res, find...
// background colors
"ControlBG" "0 0 0 0" Its a invisible background its turned off (last "0" is invisible - fully transparent 255 is a full color). "0 0 0" is black
Replace that color with "255 102 204 100"
Now you will see all sorts of invisible panels in pink...like the Allies and Axis scores up in the top spec' bar.
First fix the fonts
We will start here because you need to define your font side before adjusting this panel.
Open ClientScheme.res and go to the fonts section.
The very first font is called "Default" and it needs to go. It has no ability to cope with modern day displays that need scaling for the fonts.
You may adjust how you see fit but this "Verdana" replacement with scaling adjustments looks better.
As you can see I commented out "//" the old font, it doesn't have "dropshadow" and "Times New Roman" is a bad font, especially combined with the ABSURD... green color for Allied teams that you cannot change. Color blind persons... you can make that background grey if you like in the "Colours" section.
The part to cut and paste in is below, note the "yres" "480 599", this refers to screen heights only, height is important to font settings and the different sections hint to a screen resolution and how we can set the font height in "tall" then make it normal or bold in "weight", antialias the text and give it a drop shadow.
Note the advice after "Default" *EDITED* - Multi Resolution Heights included - Alters - OK button, Map info, Hint text, Scoreboard title and names (not subtitles)
Be careful as those other items will adjust too.
- We are going to copy the text below ...starting on the "fonts" line at the edge of the page...
- Select the "fonts" line in your file...
- Select all the way down to one line above "DefaultUnderline"
- Paste in the below
Fonts { // fonts are used in order that they are listed // fonts listed later in the order will only be used if they fulfill a range not already filled // if a font fails to load then the subsequent fonts will replace // "Default" // { // "1" // { // "name" "Times New Roman" // "tall" "13" // "weight" "400" // "antialias" "1" // } "Default" // *EDITED* - Multi Resolution Heights included - Alters - OK button, Map info, Hint text, Scoreboard title and names (not subtitles) { "1" // Typical sizes 4:3 640X480 - 16:9 Wide 720x480 720X576 - 21:9 ultra wide 720X480 { "name" "Verdana" "tall" "13" // "12" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "480 599" // Screen Height Range, Between 480 X 599 only "antialias" "1" "dropshadow" "1" } "2" // Typical sizes 4:3 800X600 - 16:9 Wide 1280x600 1200x720 1360X768 - 21:9 ultra wide 1280X720 1680X720 { "name" "Verdana" "tall" "14" // "13" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. " "yres" "600 767" // Screen Height Range, Between 600 X 767 only "antialias" "1" "dropshadow" "1" } "3" // Typical sizes 4:3 1024X768 to 1280X960 - 16:9 Wide - 21:9 ultra wide { "name" "Verdana" "tall" "15" // "14" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "768 1023" // Screen Height Range, Between 768 X 1024 only "antialias" "1" "dropshadow" "1" } "4" // Typical sizes 4:3 1400X1050 - 16:9 Wide 1920X1080 - 21:9 ultra wide 2560X1080 { "name" "Verdana" "tall" "22" //"20" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "1024 1199" // Screen Height Range, Between 1024 X 1199 only "antialias" "1" "dropshadow" "1" } "5" // Typical sizes 4:3 1600X1200 - 16:9 Wide 2560x1440 and 3840 x 2160 - 21:9 ultra wide 3440X1440 32:9 { "name" "Verdana" "tall" "24" // "24" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "1200 6000" // Screen Height Range, Between 1200 X 6000 "antialias" "1" "dropshadow" "1" } } "DefaultPlus" // *ADDED* - For any area that needs a (slightly) larger "Verdana" like the Scoreboard { "1" // Typical sizes 4:3 640X480 - 16:9 Wide 720x480 720X576 - 21:9 ultra wide 720X480 { "name" "Verdana" "tall" "14" // "12" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "480 599" // Screen Height Range, Between 480 X 599 only "antialias" "1" "dropshadow" "1" } "2" // Typical sizes 4:3 800X600 - 16:9 Wide 1280x600 1200x720 1360X768 - 21:9 ultra wide 1280X720 1680X720 { "name" "Verdana" "tall" "15" // "13" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. " "yres" "600 767" // Screen Height Range, Between 600 X 767 only "antialias" "1" "dropshadow" "1" } "3" // Typical sizes 4:3 1024X768 to 1280X960 - 16:9 Wide - 21:9 ultra wide { "name" "Verdana" "tall" "16" // "14" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "768 1023" // Screen Height Range, Between 768 X 1024 only "antialias" "1" "dropshadow" "1" } "4" // Typical sizes 4:3 1400X1050 - 16:9 Wide 1920X1080 - 21:9 ultra wide 2560X1080 { "name" "Verdana" "tall" "24" //"20" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "1024 1199" // Screen Height Range, Between 1024 X 1199 only "antialias" "1" "dropshadow" "1" } "5" // Typical sizes 4:3 1600X1200 - 16:9 Wide 2560x1440 and 3840 x 2160 - 21:9 ultra wide 3440X1440 32:9 { "name" "Verdana" "tall" "26" // "24" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "1200 6000" // Screen Height Range, Between 1200 X 6000 "antialias" "1" "dropshadow" "1" } }
You will note we have two sets there, we added another that you may want to use later.
Why the extra one? The fonts area is quite bad, I advise if you are doing more to add another font section like this, in case you need another choice like the Server name area on the scoreboard, later on we can make that a completely different font. I'll show you how in the Scoreboard.res later.
Having another font choice in ClientScheme.res will not hurt... so long as its name is unique from others.
Next is the Scoreboard titles area is the Title area where we have overlapping words.
Go down to "DefaultVerySmall" again we are going to place a set that scales better.
- Start by selecting the edge of the page on the "DefaultVerySmall" line and copy the below code
- Select all up to ...just above... " // this is the symbol font" line
- Paste the new font setting in.
"DefaultVerySmall" // For scoreboard headings - added scaling font and changed the font type. { "1" // Typical sizes 4:3 640X480 - 16:9 Wide 720x480 720X576 - 21:9 ultra wide 720X480 { "name" "Verdana" "tall" "12" // "12" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "480 599" // Screen Height Range, Between 480 X 599 only "antialias" "1" "dropshadow" "1" } "2" // Typical sizes 4:3 800X600 - 16:9 Wide 1280x600 1200x720 1360X768 - 21:9 ultra wide 1280X720 1680X720 { "name" "Verdana" "tall" "13" // "13" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. " "yres" "600 767" // Screen Height Range, Between 600 X 767 only "antialias" "1" "dropshadow" "1" } "3" // Typical sizes 4:3 1024X768 to 1280X960 - 16:9 Wide - 21:9 ultra wide { "name" "Verdana" "tall" "15" // "14" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "768 1023" // Screen Height Range, Between 768 X 1024 only "antialias" "1" "dropshadow" "1" } "4" // Typical sizes 4:3 1400X1050 - 16:9 Wide 1920X1080 - 21:9 ultra wide 2560X1080 { "name" "Verdana" "tall" "20" //"20" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "1024 1199" // Screen Height Range, Between 1024 X 1199 only "antialias" "1" "dropshadow" "1" } "5" // Typical sizes 4:3 1600X1200 - 16:9 Wide 2560x1440 and 3840 x 2160 - 21:9 ultra wide 3440X1440 32:9 { "name" "Verdana" "tall" "24" // "24" "weight" "550" //(def) For adjusting bold, 600 is bold, 550 or less will make the font thin. "yres" "1200 6000" // Screen Height Range, Between 1200 X 6000 "antialias" "1" "dropshadow" "1" } }
That will fix the title font, in this case it will not affect any other HUD areas.
Font colors and backgrounds.
Now while you are in this file we can address colours, go to the top of the file, the Colours section.
This is your preference. You may not know where everything is.
In my case I have edited a lot more than just Scoreboard and Spectator items, I will place the entire main section in below.
You can either use that or use it as a reference.
Remember these are RGB and transparency numbers, First 3 are Red Green Blue. The last one sets the transparency (the higher the number the less you see through the panel)
The colors of backgrounds (// background colors section) we are after are:
- Line 41 - "SelectionBG2" "255 255 0 20" - this is the hint color bar (and transparency) that is under your name on the scoreboard.
- Line 42 - "ListBG" "0 0 0 160" - this is the background of scoreboard, default is "0 0 0 128". Mine is slightly "darker" (more opaque).
Remember these two, we will be adjusting other panels in other files and "ListBG" matches my choice in this file.
There is a lot more in that section... like if you are not a fan of the sh*t browns and p*ss yellows, I actually am considering black and gold go together so... as long as its not too much of it and it ends up looking like a pimps outfit.
I added white text here and there in my HUDS in this example below.
//////////////////////// COLORS /////////////////////////// Colors { // base colors "BaseText" "255 176 0 255" // used in text windows, lists Team Menu title, Class Menus titles, top spec bar fonts. (orange/yellow) "BrightBaseText" "192 192 192 255" //(Changed to light grey) "255 255 255 255" // brightest (selected) text - color of arrow when mouse is over button - Command Menu (PRESS X to activate) text and arrows are affected too "SelectedText" "255 176 0 255" // selected text (orange/yellow) CANNOT SEE WHERE THIS IS USED. "DimBaseText" "224 224 224 255" // (changed lt grey) // "255 176 0 255" // dim base text (orange/yellow) Command Menu and Specator panels UNselected text colour "LabelDimText" "255 176 0 164" // used for info text (orange/yellow, 46% transparent) CANNOT SEE WHERE THIS IS USED. "ControlText" "255 176 0 255" // Text controls (orange/yellow) e.g: Bot' Spec' bar - OPTIONS - HELP its the text color of the panel // "BrightControlText" "255 176 0 255" // use for selected controls (orange/yellow) OLD Valve edit - disabled. (orange/yellow) "BrightControlText" "255 255 255 255" // use for selected controls (full white) New Valve edit "DisabledText1" "80 48 0 255" // (no effect on HUD found)disabled text (medium brown) "DisabledText2" "0 0 0 0" // (no effect on HUD found) overlay color for disabled text (to give that inset look) (black, 100% transparent so OFF) "DimListText" "188 112 0 255" // (no effect on HUD found)offline friends, unsubscribed games, etc. (medium orange) // background colors "ControlBG" "0 0 0 0" // background color of controls (black, 100% transparent OFF) handy for finding out the panel sizes. Use "255 102 204 100" to see what it does "ControlDarkBG" "0 0 0 128" // darker background color; used for background of scrollbars (black, 50% transparent) "WindowBG" "0 0 0 200" // (black, 22% transparent) Background color of text panels Team, Class, COMMAND MENU "SelectionBG" "64 64 64 140" // (changed to dk grey) //"192 28 0 140" (medium red, 45% transparent) Command Menu Background of "lit" or selected item (button) "SelectionBG2" "255 255 0 20" // Scoreboard - selection background in window w/o focus (Places a colour over YOUR name only) (medium grey, 75% transparent) "128 128 128 64" "ListBG" "0 0 0 160" // Scoreboard - "0 0 0 128" background of scoreboard "ViewportBG" "55 43 29 140" // Game Background when in a panel like MOTD, Team, Class (dark brown, 45% transparent) // titlebar colors "TitleText" "255 174 0 255" //(No effect seen) (orange/yellow) "TitleDimText" "255 174 0 255" //(No effect seen) (orange/yellow) "TitleBG" "255 255 0 0" //(No effect seen) (bright yellow, 100% transparent so ...its OFF)) "TitleDimBG" "255 255 0 0" //(No effect seen) (bright yellow, 100% transparent so ...its OFF) // slider tick colors "SliderTickColor" "127 140 127 255" // (No effect seen) (medium blueish/grey) "SliderTrackColor" "31 31 31 255" // (No effect seen) (very dark grey) // border colors "BorderBright" "32 32 32 255" //(VERY Dark Grey Change) "64 52 36 255" // (Brown) the lit side (right/bottom) of a control Panel and opposite for scroll bars, Panels team, ScoreBoard "BorderDark" "32 32 32 255" //(VERY Dark Grey Change) "64 52 36 255" // (Brown) the dark/unlit (Left/top) side of a control Panel and opposite for scroll bars, Panels team, ScoreBoard "BorderSelection" "64 64 64 255" //(Dark Grey Change) "188 112 0 0" // (Tan - yellow) Buttons like special "Map Description" in command menu or bot' spec' contols "help". "team0" "255 179 0 255" // Spectators (orange/yellow) Changes color on the Join Team panel ONLY... bottom the spectators "team1" "76 102 76 255" // Allies/British (medium green/grey) Changes color on the Join Team panel ONLY... bottom the Allied players "team2" "255 64 64 255" // Axis (bright red/pink) Changes color on the Join Team panel ONLY... bottom the Axis players "team3" "255 179 0 255" // Not-used in dod (orange/yellow) "team4" "255 179 0 255" // Not-used in dod (orange/yellow) "HintColor" "255 255 255 160" // Mugsy the dog Hint panel colour - Hint box border (white and around 30% transparent) "HintBackgroundColor" "0 0 0 128" // As above area - Hint box background (black and 50% transparent) // new class menu colours // Shared by many other controls - changing them here will cause strange behaviour. Better to give specific controls specific colours in the BASE SETTINGS section. // "ClassMenuLight" "175 127 1 255" // (medium TAN) Background of Panel Buttons if selected. Team, Class (and the left insert colour in weapons power) also the BG of the "lit" Command Menu Button "Map Description" button "ClassMenuDark" "64 52 36 255" // (dark brown) The divider lines in Panels Team, Class (and the right insert colour in weapons power) also the BG of the Command Menu Button "Map Description" button "white" "255 255 255 255" // (full white) "red" "255 0 0 255" // (full red) "nothing" "0 0 0 0" // (this is blank all zeros) "MapDescriptionText" "255 255 255 255" // // the text used in the map description window? (full white) "test" "255 105 180 255" //Special test Pink. for using in the BASE SETTINGS area. (inserted by INsane) }
You can save the file if you like, even test it but there are three other files to edit yet.
Adjust the top spectator bar for more room
To gain more height space we can reduce the top spectator bar. We will also touch on some bottom items in this file too.
Open Spectator.res
Don't worry, these are explained on the lines we need to edit like the above, look at the end of this section for my edits.
Lets go to each "control name" and edit, below this I have a copy of my edits.
"SpectatorGUI" - no edits
"TopBar" - the top spec' bar - As you can see I have disabled this as its cannot be adjusted... but it can be made "not visible". That's a old trick with these panels.
I have disabled this one and made a new one below via "visible" "0".
"TopBar_small" - this is the replacement panel. Look at the comments on what to edit. Note the "paintbackground" "1" and "fillcolor" "0 0 0 160"?
That will match the setting for the Scoreboard BG in ClientScheme.res. Change yours to suit.
The next three "BottomBar", "BotBar_small" and "bottombarblank" are the same... I made "BottomBar" and "bottombarblank" go away and made a new panel called "BotBar_small".
"playerlabel" - This is the Player name at the bottom of the screen... I adjusted "ypos" so it moves further down the screen. Don't move it too far as it will go off the screen. End of the screen is 480. 460 and 26 is 486.
This text label is 26 tall...it is already off the screen by 6 units, that's OK because the text isn't 26 tall...its half that.
This starts a set of 4 text labels.
"AlliesScoreLabel" - where it says "Allies" in the top spec' bar.
"AlliesScoreValue" - The value that sits next to the label
"AxisScoreLabel" - where it says "Allies" in the top spec' bar.
"AxisScoreValue" - The value that sits next to the label
As you can see I have moved these up by adjusting "ypos" the lesser the number the higher it will be...top of the screen is..."0"
Now remember I like a bit of Yellow text on black panels, but these four, too much.
Note what I did on all four? Its a handy thing to remember....
"brighttext" "1" //"0" (def Yellow text) change to "1" makes the Yellow... White.
"ReinforcementsLabel" - As you can see I moved that up too using "ypos" but also "xpos" ...to tidy up for widescreens.
"timerlabel" and "extrainfo" - Not used in dod but are used in CS 1.6, they used to be used in dod 3.1 beta around 2003.
Its Map or spec info. dod has a sprite timer over by the objective icons if required and "extrainfo" is either the map name or other things like spectator's in CS.
I moved them up in case a CS ... person wants to know what to edit.
Here are my edits...
"Resource/UI/SpectatorGUI.res" // Sturmbot ver 1.9 2019 panel fix. This is a special file with disabled (ValVe) default top and bottom panels. { "SpectatorGUI" { "ControlName" "Frame" "fieldName" "SpectatorGUI" "tall" "480" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "0" } "TopBar" //disabled See "TopBar_ServerBG" so the Server name has a background { "ControlName" "Panel" "fieldName" "TopBar" "xpos" "0" "ypos" "0" "tall" "52" "autoResize" "0" "pinCorner" "0" "visible" "0" // ("1" def) needs to be "0" OFF - Makes this disabled so we can put in another smaller one (below "BotBar_small") "enabled" "0" //(def "0") "tabPosition" "0" } "TopBar_small" // New adjustable Top Bar for the disabled one above { "ControlName" "ImagePanel" "fieldName" "TopBar_small" "xpos" "0" "ypos" "0" "wide" "1200" // make this very wide but at least 1200 for this old game? ****** Check this on ULTRAWIDE ****** 4K 5K and 10K ? "tall" "37" //change this to make a more compact Top bar "autoResize" "0" "pinCorner" "0" "visible" "1" //This makes the new Top Bar visable. "0" will kill it so movie makers can clear the screen. "enabled" "0" "tabPosition" "0" "paintbackground" "1" // Added - Normal VGUI addon "fillcolor" "0 0 0 160" // Added - This is the RGB COLOR(first 3 numbers) of the bar, 4th is transparency. "0 0 0 128" (def) "0 0 0 0" off. } "BottomBar" //disabled See "BotBar_small" so the Server name has a background { "ControlName" "Frame" "fieldName" "BottomBar" "xpos" "0" "ypos" "429" "tall" "52" "autoResize" "0" "pinCorner" "0" // ("0" is defualt) "visible" "0" //(def "1") "0" Makes this disabled so we can put in another smaller one (below "BotBar_small") "enabled" "0" "tabPosition" "0" } "BotBar_small" // New adjustable Bottom Bar for the disabled one above { "ControlName" "ImagePanel" "fieldName" "BotBar_small" "xpos" "0" "ypos" "436" // "429" (def) "wide" "1200" // make this very wide but at least 1200 for this old game? ****** Check this on ULTRAWIDE ****** 4K 5K and 10K ? "tall" "44" //"52" (def) change to adjust the height of the bottom bar. "autoResize" "0" "pinCorner" "0" "visible" "1" //This makes the new Bottom Bar visable. "0" will kill it so movie makers can clear the screen. "enabled" "0" "tabPosition" "0" "paintbackground" "1" // Added - Normal VGUI addon "fillcolor" "0 0 0 160" // Added - This is the RGB COLOR(first 3 numbers) of the bar, 4th is transparency. "0 0 0 128" is the default background of the dod scoreboard. "0 0 0 0" is off. } "bottombarblank" { "ControlName" "Panel" "fieldName" "bottombarblank" "xpos" "0" "ypos" "429" // "tall" "0" // ("52" def) Valve message "this needs to match the size of BottomBar" so..."0" now "autoResize" "0" "pinCorner" "0" "visible" "0" // ("1" def) needs to be "0" OFF "enabled" "0" // ("1" def) needs to be "0" disabled "tabPosition" "0" "paintbackground" "0" } "playerlabel" //// This is in the Bottom bar, centre { "ControlName" "Label" "fieldName" "playerlabel" "xpos" "c-108" "ypos" "460" //"441" "wide" "216" "tall" "26" "autoResize" "0" "pinCorner" "0" "visible" "0" "enabled" "1" "tabPosition" "0" "textAlignment" "center" } "AlliesScoreLabel" // This is in the top bar, to the right of the scores { "ControlName" "Label" "fieldName" "AlliesScoreLabel" "xpos" "r268" "ypos" "5" //"12" moved up -7 (5 from the top) "wide" "150" "tall" "15" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "#Dod_Spec_Allies_Score" "textAlignment" "east" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } "AlliesScoreValue" // This is in the top bar, to the right of the scores { "ControlName" "Label" "fieldName" "AlliesScoreValue" "xpos" "r112" "ypos" "5" //"12" moved up -7 (5 from the top) "wide" "45" "tall" "15" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "" "textAlignment" "west" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } "AxisScoreLabel" // This is in the top bar, to the right of the scores { "ControlName" "Label" "fieldName" "AxisScoreLabel" "xpos" "r268" "ypos" "16" // "28" moved up "wide" "150" "tall" "15" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "#Dod_Spec_Axis_Score" "textAlignment" "east" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } "AxisScoreValue" // This is in the top bar, to the right of the scores { "ControlName" "Label" "fieldName" "AxisScoreValue" "xpos" "r112" "ypos" "16" // "28" moved up "wide" "45" "tall" "15" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "" "textAlignment" "west" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } "ReinforcementsLabel" // This is in the top bar, about where the scorces start, to see it ...die and look in the top bar { "ControlName" "Label" "fieldName" "ReinforcementsLabel" "xpos" "320" //"240" moved to centre "ypos" "5" //"28" moved up around the middle of the two allied and axis scores as I moved those up too "wide" "160" "tall" "14" "autoResize" "0" "pinCorner" "0" "visible" "0" "enabled" "1" "labelText" "#Dod_reinforcements_in:" "textAlignment" "north" //"north" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } "timerlabel" //This is in the top bar beside the AXIS scores ("AxisScoreValue")so keep "xpos" same adjust "ypos" to match "AxissScoreValue" { "ControlName" "Label" "fieldName" "timerlabel" //not used in dod. dod timer is a sprite in the objective icons area "xpos" "r72" // "r72" (def) keep this and move it in "ypos" below "ypos" "16" //"28" moved up around the middle of the two allied and axis scores as I moved those up too "wide" "40" // "40" "tall" "15" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "00:00" "textAlignment" "west" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } "extrainfo" // This is where you may see HLTV or a map name, also spectators beside "AlliesScoreValue" so keep "xpos" same adjust "ypos" to match "AlliesScoreValue" { "ControlName" "Label" "fieldName" "extrainfo" //not used in dod. "xpos" "r86" //"r86" (def) keep this and move it in "ypos" below "ypos" "5" //"12" moved up -7 (5 from the top) Matches "AlliesScoreValue" in height! "wide" "150" // "150" "tall" "15" "autoResize" "0" "pinCorner" "0" "visible" "0" "enabled" "1" "labelText" "" //"" - nothing (def) "textAlignment" "west" "dulltext" "0" "brighttext" "1" //"0" (def) - "1" makes the yellow White. } }
As you can see we have adjusted the top bar and some items on the bottom bar.
Startling to see why the scoreboard and Spectator panels are connected ?
It's now getting easier, the bulk of the work is done.
Adjust the bottom spectator bar for more room
Open BottomSpectator.res.
As you can see below I have only adjusted "combo" boxes so they drift down a bit, these are the boxes that come up when you press the duck key and access control's in spectator mode.
"Resource/UI/BottomSpectatorGUI.res" //edited INsane { "bottombar" { "ControlName" "Frame" "fieldName" "bottombar" "xpos" "0" //"0" "ypos" "0" //"0" "wide" "640" "tall" "52" // "52" the height of this bottom area "autoResize" "0" "pinCorner" "0" "visible" "1" //"1" "enabled" "0" //"0" "tabPosition" "0" } "settingscombo" { "ControlName" "ComboBox" "fieldName" "settingscombo" "xpos" "15" //"15" "ypos" "28" //"14" - the top of the box - moved down "wide" "140" "tall" "22" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "1" "textHidden" "0" "editable" "0" "maxchars" "-1" "NumericInputOnly" "0" "textAlignment" "west" } "playercombo" { "ControlName" "ComboBox" "fieldName" "playercombo" "xpos" "212" "ypos" "28" //"14" - the top of the box - moved down "wide" "216" "tall" "22" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "1" "textHidden" "0" "editable" "0" "maxchars" "-1" "NumericInputOnly" "0" "textAlignment" "center" } "viewcombo" { "ControlName" "ComboBox" "fieldName" "viewcombo" "xpos" "485" "ypos" "28" //"14" - the top of the box - moved down "wide" "140" "tall" "22" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "1" "textHidden" "0" "editable" "0" "maxchars" "-1" "NumericInputOnly" "0" "textAlignment" "west" } "playerprev" { "ControlName" "Button" "fieldName" "playerprev" "xpos" "180" "ypos" "28" //"14" - the top of the box - moved down "wide" "25" "tall" "22" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "1" "textHidden" "0" "command" "playerprev" } "playernext" { "ControlName" "Button" "fieldName" "playernext" "xpos" "435" "ypos" "28" //"14" - the top of the box - moved down "wide" "25" "tall" "22" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "1" "textHidden" "0" "command" "playernext" } }
Play around with the controls until you are salified.
Save the file, last one is next, finally we adjust the scoreboard.
Adjust the scoreboard panel
Open Scoreboard.res
Again I have supplied my edits below in code with comments.
"ClientScoreBoard" - as it advises adjust this then the last section "PlayerList" we will fine tune height.
First place the panel at the desired height. "Tall" is the total size and my panel is almost at the top at "475" this panel is wierd, it expands.
"ServerName" - note I only added a line in there. "font" "DefaultPlus".
Remember that extra font we placed in ClientScheme.res? Now you can adjust the Server Name area independantly of other fonts.
Just find a font in ClientScheme.res and place the name in. If you don't the font falls back to "Default" font. This edit is another item to remember in these files, some times youcan insert controls and make a new feature.
"TopBar" We disabled this... remember in Spectator.res? No edits. Now we see what these four files are...connected.
"PlayerList"...finally! It is what it is.
- As you can see I moved it up in "ypos"
- Next I edited "tall" until the bottom of the player list is touching the bottom spectator bar. You place it where ever you like.
- "linespacing" "11" ("13" def) The space (height) between the players names. Less gave me more height.
It's a matter of moving around "tall" in "ClientScoreBoard" and using the two adjustments in "PlayerList" to get your desired height.
"Resource/UI/ScoreBoard.res" { "ClientScoreBoard" // adjust this to a height you want to start the entire panel - then see "PlayerList" { "ControlName" "CClientScoreBoardDialog" "fieldName" "ClientScoreBoard" "xpos" "63" "ypos" "42" "wide" "444" "tall" "475" //"443" ("360" def) Where the top of the panel starts on the screen e.g.: "480" = top of the scoreboard is the top of the screen "autoResize" "0" "pinCorner" "0" "visible" "0" "enabled" "1" "tabPosition" "0" } "ServerName" { "ControlName" "Label" "fieldName" "ServerName" "xpos" "4" //"4" "ypos" "0" "wide" "444" "tall" "22" //"22" "autoResize" "0" //"0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "" "font" "DefaultPlus" //ADDED this to change font if required from Clientscheme.res "textAlignment" "west" "dulltext" "0" "brighttext" "1" } "TopBar" { "ControlName" "Panel" "fieldName" "TopBar" "xpos" "0" //"0" "ypos" "0" //"0" "wide" "444" //"444" "tall" "18" //"22" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "0" "tabPosition" "0" } "PlayerList" { "ControlName" "SectionedListPanel" "fieldName" "PlayerList" "xpos" "0" "ypos" "18" //"24" "wide" "444" "tall" "416" // ("360" def) This will detemine the player list AND the overall height of the panel "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "tabPosition" "0" "linespacing" "11" //("13" def) This is the space between players names, adjust depending on font and height } }
Can I make a special shorter Scoreboard?
Yes, one option is to just do the fonts only in ClientScheme.res.
The download has a Font fix only option... download them here.
Also, as above mentions...
It's a matter of moving around "tall" in "ClientScoreBoard" and using the two adjustments in "PlayerList" to get your desired height.
Man...the dod 1.3 HUD and GUI is a disgrace.
But it can be fixed.
INsane...is off to bed!