10-14-2008, 11:05 PM | #1 |
Keep On Keepin' On
|
[TUTORIAL] Custom HUD Colors
Well. You clicked it, so here I go. This tutorial allows you to modify the color of your HUD, with your choice of colors. The MAPNAME and ROUND TIMER are NOT affected by this.
EXAMPLES: ORIGINAL MOD Tools Needed: Lets see what you will need to modify your HUD colors: -NOTEPAD (yes thats it ) Step 1: Locate your ClientScheme.res and open it with Notepad. It should look something like this. (should be located in "C:\Program Files\Steam\SteamApps\SourceMods\FortressForever\ resource" ) *NOTE* This is just a small portion of the whole file. Your ClientScheme.res will be larger than this. Code:
/////////////////////////////////////////////////////////// // Fortress Forever scheme resource file // // sections: // Colors - All the colors used by the scheme // BaseSettings - contains settings for app to use to draw controls // Fonts - list of all the fonts used by app // Borders - description of all the borders // CustomFontFiles - defines fonts to be loaded which are not part of the system // // P.S. Advise you turn off wordwrap xP /////////////////////////////////////////////////////////// Scheme { /////////////////////////// COLORS /////////////////////////// Colors { /////////////// HUD Colours /////////////// "HUD_Tone_Bright" "225 235 255 235" "HUD_Tone_Default" "199 219 255 215" "HUD_Tone_Dim" "199 219 255 120" "HUD_BG_Bright" "109 124 142 185" "HUD_BG_Default" "109 124 142 115" "HUD_BG_Dim" "109 124 142 50" "HUD_Surface_Bright" "82 92 104 210" "HUD_Surface_Default" "75 85 95 200" "HUD_Surface_Dim" "75 85 95 50" "HUD_Border_Bright" "255 255 255 255" "HUD_Border_Default" "245 245 245 230" "HUD_Border_Dim" "245 245 245 50" "Hud_Status_Bright" "255 255 255 255" "Hud_status_Default" "109 124 142 200" "Hud_Status_Dim" "109 124 142 100" "ArmorIncColor" "255 220 0 255" "ArmorLowColor" "255 0 0 255" "ArmorDmgColor" "255 0 0 255" "HealthIncColor" "255 220 0 255" "HealthIncAbove100Color" "0 255 0 255" "HealthLowColor" "255 0 0 255" "HealthDmgColor" "255 0 0 255" /////////////// VGUI Colours /////////////// "UI_Tone_Default" "199 219 255 255" "UI_Tone_Dim" "109 124 142 115" "UI_Tone_Dark" "75 85 95 115" "UI_BG_Highlight" "225 235 255 45" "UI_BG_Dim" "0 0 0 165" "UI_BG_Dark" "0 0 0 90" //"UI_Slider_Text" "127 140 127 255" "UI_Slider_Text" "0 255 0 255" "UI_Slider_Nob" "108 108 108 255" "UI_Slider_Track" "31 31 31 255" "UI_Slider_DisabledText1" "117 117 117 255" "UI_Slider_DisabledText2" "30 30 30 255" /////////////// Team Colours /////////////// "BlueTeamColor" "56 100 171 196" "RedTeamColor" "188 0 0 196" "YellowTeamColor" "202 173 33 196" "GreenTeamColor" "68 144 65 196" /////////////// Misc. Colours /////////////// "Red" "255 0 0 255" "Yellow" "255 255 0 255" "Blue" "0 255 0 255" "Cyan" "0 255 255 255" "Green" "0 255 0 255" "Magenta" "255 0 255 255" "White" "255 255 255 255" "Black" "0 0 0 255" "Blank" "0 0 0 0" "Normal" "109 124 142 115" "Dark" "50 50 50 180" } /////////////////////////// BASE SETTINGS /////////////////////////// BaseSettings { HudItem.Foreground "HUD_Tone_Default" HudItem.Background "HUD_BG_Default" "FgColor" "HUD_Tone_Default" "BgColor" "Blank" "Panel.FgColor" "HUD_Tone_Default" "Panel.BgColor" "Blank" "BrightFg" "HUD_Tone_Bright" "DamagedBg" "Blank" "DamagedFg" "Red" "BrightDamagedFg" "Red" "ZoomReticleColor" "Green" /////////////// Weapon Selection Colours /////////////// I am going to use 2 different colors, and add them to the very top of the list. My first color will be the new HUD Background Color, I will call it HUD_CUSTOM_BG. My second color will be the new HUD Trim and Font Color, I will call this one HUD_CUSTOM_TRIM. Step 3: Define your custom HUD Colors. This must be done in RGBA color code. Which basically means "RedColor GreenColor BlueColor AlphaColor(Transparency)" Each color must be defined by a NUMBER , 0 - 255. Here is a link to a very nice RGB wiki article that gives plenty of color codes in [R G B] format. RGB WIKI Now Alpha is simple. 0 will be Completely Invisible. 255 will be a Solid Color I have decided that I will make my HUD_CUSTOM_BG - Black And my HUD_CUSTOM_TRIM - White Code:
/////////////////////////////////////////////////////////// Scheme { /////////////////////////// COLORS /////////////////////////// Colors { ///////MY CUSTOM COLORS/////// "HUD_CUSTOM_BG" "0 0 0 115" "HUD_CUSTOM_TRIM" "255 255 255 215" /////////////// HUD Colours /////////////// "HUD_Tone_Bright" "225 235 255 235" "HUD_Tone_Default" "199 219 255 215" "HUD_Tone_Dim" "199 219 255 120" Code:
/////////////////////////// BASE SETTINGS /////////////////////////// BaseSettings { HudItem.Foreground "HUD_CUSTOM_TRIM" HudItem.Background "HUD_CUSTOM_BG" "FgColor" "HUD_CUSTOM_TRIM" "BgColor" "Blank" "Panel.FgColor" "HUD_CUSTOM_TRIM" "Panel.BgColor" "Blank" "BrightFg" "HUD_Tone_Bright" "DamagedBg" "Blank" "DamagedFg" "Red" "BrightDamagedFg" "Red" "ZoomReticleColor" "Green" Step 5: Save and go check that shizzy out. Here is an example of the finished product I walked you through. BlackBG-WhiteTrimAndFont ClientScheme.res And here is an original. Just in-case you decide to jack things up and need a new one. Default ClientScheme.res Last edited by PartialSchism; 04-01-2010 at 07:04 PM. |
|
10-14-2008, 11:12 PM | #2 |
Fortress Forever Staff
Join Date: Sep 2007
Class/Position: O: Scout Affiliations: {NFO} - New Family Order Posts Rated Helpful 0 Times
|
Nice tutorial
You also have changed your HUD font correct? |
|
10-14-2008, 11:12 PM | #3 | |
Keep On Keepin' On
|
Quote:
|
|
|
10-14-2008, 11:30 PM | #4 |
Nade Whore
Server Owner
Beta Tester Join Date: Sep 2007
Location: Oklahoma
Class/Position: Scout/Soldier Gametype: CTF/TDM Affiliations: blunt. Moto Posts Rated Helpful 128 Times
|
screenshot examples, pl0x kthx.
|
|
10-15-2008, 12:51 AM | #5 | |
Offical Pain In Your Ass.
|
Quote:
free? |
|
|
10-15-2008, 02:10 AM | #6 | |
Keep On Keepin' On
|
Quote:
http://www.high-logic.com/fontcreator.html |
|
|
10-15-2008, 02:10 AM | #7 |
Fortress Forever Staff
Join Date: Sep 2007
Class/Position: O: Scout Affiliations: {NFO} - New Family Order Posts Rated Helpful 0 Times
|
I think there are free versions of FontCreator, maybe older versions.
|
|
10-17-2008, 08:00 PM | #8 |
Beta Tester
Join Date: Mar 2007
Location: UK - http://forums.fortress-forever.com
Class/Position: [O] Med Gametype: CTF/Skills Posts Rated Helpful 67 Times
|
GJ.
Speaking of the HUD, was the team coloured HUD intended to be bolder that the default? Because it doesn't look as good.
__________________
TFC Resource TFC/FF/TF2 customs at: ZZUBYTTIHS - www.tfcgaschamber.com - www.ozfortress.com - www.fpsbanana.com - mrclan.com - TFC Essentials Jan 2012 |
|
02-24-2009, 07:17 AM | #9 |
Join Date: Feb 2009
Gametype: Capture the Flag Posts Rated Helpful 0 Times
|
I just downloaded the custom file you provided, and changed the transparencies a little and my hud broke
http://img8.imageshack.us/img8/905/ff2fort0000.jpg check the top, beside the red flag. any ideas? |
|
02-24-2009, 07:49 AM | #10 |
Keep On Keepin' On
|
never saw that before. it works without editing the alpha?
|
|
05-31-2009, 05:00 AM | #11 |
Join Date: Mar 2009
Class/Position: O- Spy | D- Sniper/Engy/Demoman (On certain maps) Gametype: HUNTED!!!!!!1! Posts Rated Helpful 0 Times
|
Say, will this kick me on sv_pure servers?
__________________
They were here. Here. That's where they were. And they are watching you right now. Yes, we mean you. |
|
05-31-2009, 05:02 AM | #12 |
Keep On Keepin' On
|
Not to my knowledge. Maybe Scuzzy would know?
|
|
05-31-2009, 10:30 PM | #13 |
Join Date: Mar 2009
Class/Position: O- Spy | D- Sniper/Engy/Demoman (On certain maps) Gametype: HUNTED!!!!!!1! Posts Rated Helpful 0 Times
|
Is the o-t server the only sv_pure server in FF?
__________________
They were here. Here. That's where they were. And they are watching you right now. Yes, we mean you. |
|
03-18-2010, 06:27 AM | #14 |
Join Date: Mar 2010
Gametype: Capture the Flag Posts Rated Helpful 0 Times
|
please explain it
i don't understand
__________________
shalooo |
|
03-18-2010, 04:19 PM | #15 |
Beta Tester
Join Date: Oct 2008
Location: Detroitish
Class/Position: D Scout Gametype: CTF Posts Rated Helpful 0 Times
|
Explain what? The post above talkin about sv_pure? Or how to custom your HUD color? If its the HUD color its explained as best as it can be in the very first post.
|
|
07-02-2011, 04:43 PM | #16 |
Join Date: Jul 2007
Posts Rated Helpful 1 Times
|
__________________
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|