5 Heute       34 Gestern       209 Monat       13701 Insgesamt     [stats]
Dillusion Cup Dillusion Cup1 Dillusion Cup 2 Youtube  
illusion vs. KeinMatch
Germany vs. kein Gegner
27.12.2015
vs. eQ
03.04.2010 - Clanbase
21:3
vs. trah
30.03.2010 - Clanbase
21:19
vs. NP
29.03.2010 - Clanbase
20:20
vs. imp
28.03.2010 - Clanbase
21:15
vs. t'fruitZ
28.03.2010 - Clanbase
21:17
Kurz notiert: Aequitas...
ESL/EAS/EMS/EPS - 21.08.2010
iLLUSION-GAMING.EU CUP...
Call of Duty 4 - 19.08.2010
Call of Duty: Black Op...
Allgemeine News - 19.08.2010
Trailer by PiTsTaR
Movies - 15.08.2010
Die EPS-Teams #2
ESL/EAS/EMS/EPS - 15.08.2010
1 bis 9999
Post by kevka - 12:15
illusion-gaming.eu...
Post by cutty - 12:15
CoD4: Modify your ...
Post by mAxzUR - 12:15
standbild
Post by mAxzUR - 12:15
Call of Duty 4 Con...
Post by mAxzUR - 12:15
Forum » Call of Duty 4 » Call of Duty 4 - Common » CoD4: Modify your scoreboard

Sortierung:     printview
mAxzUR offline   Administrator 48 Beiträge registriert: 04.02.2010
18.04.2010, 13:52
Your config_mp.cfg (configuration) file is a powerful tool to help you not only squeeze more framerate from the bag of diodes you call a computer, but you can also customize your scoreboard with it.



Along with a picture of his colorful scoreboard, Madara also sent me his config_mp.cfg file (click on the picture).



Now, we have touched on this topic before and in fact, it is quite dated. Ind3X and Mr_Nickle talked about scoreboard color back in Sep 07 on our BASHboards! But I bring it up again as I have seen renewed interest in this issue and thought I would post this here with some links.

Madara created his config for playing competitive CoD. The config is somewhat long and does contain redundant commands (some with mis-spellings); however, it gets good framerate and has a lot of interesting visual features in it.

One of the great features is the attention he has paid to his scoreboard. Gone is the spartan white text. Instead he has put in all sorts of color (see picture above).

Here's how he did it:

Console colors

First off, before Madara takes us into the details of his console tweaks. You must first be familiar with the fact that in CoD4, colors are represented in a Red-Green-Blue-Alpha format. That means that a number like 1 0 0 0 gives us "RED" and a 0 1 0 0 gives us "GREEN", 0 0 1 0 is "BLUE" and the alpha value is the transparency of the number.

A cool website to know for quick color translations is: RGBA Translations


Now we get Madara to fill us in on the console commands.

Console

This effects the console look:

seta con_inputBoxColor "1 0.6 0.8 0.6"
seta con_inputHintBoxColor "1 0.6 0.6 0.2"
seta con_outputBarColor "0 0 0 0.6"
seta con_outputSliderColor "0 0 0 0.6"
seta con_outputWindowColor "0 0 0 1"
Scoreboard


Some basic scoreboard commands.



seta cg_scoreboardMyColor "1 0.6 0 0"
seta cg_scoreboardPingGraph "1"
seta cg_ScoresPing_BgColor "0.25098 0.25098 0.25098 0.501961"
seta cg_ScoresPing_HighColor "0.8 0 0 1"
seta cg_ScoresPing_LowColor "1 0.2 0 1"
seta cg_ScoresPing_MaxBars "4"
seta cg_ScoresPing_MedColor "0.8 0.8 0 1"
scoreboardMyColor will change the color of your name in the scoreboard

Set PingGraph to "1" if you want a graphical representation of ping rather than numerical.

MaxBars then allows you to specify how many vertical bars represent your ping.

Bg = Background
HighColor = the color to represent high ping (e.g. red)
LowColor = for low ping (e.g. green)
MedColor = medium ping (e.g. yellow)

Typewriter

This controls the text that looks like "teletype scrawl" that comes up on the screen at the end of the game. The values here are Madara's.

seta con_typewriter_printspeed "40"
seta con_typewriterColorGlowCheckpoint "0.6 0.5 0.6 1"
seta con_typewriterColorGlowCompleted "0 0.3 0.8 1"
seta con_typewriterColorGlowFailed "0.8 0 0 1"
seta con_typewriterColorGlowUpdated "0 0.6 0.18 1"
seta con_typewriterDecayDuration "700"
seta con_typewriterDecayStartTime "6000"
seta con_typewriterPrintSpeed "50"

Customizations

You can customize the look of your scoreboard with the following items. Play with them yourselves. Note that the CoD4 console defines each item. The commands below reflect Madara's values.

seta cg_scoreboardBannerHeight "24"
seta cg_scoreboardFont "6"
seta cg_scoreboardheaderfonts "0"
seta cg_scoreboardHeaderFontScale "0.2"
seta cg_scoreboardHeight "485"
seta cg_scoreboardItemHeight "13"
seta cg_scoreboardPingText "1"
seta cg_scoreboardPingWidth "0.036"
seta cg_scoreboardRankFontScale "0.25"
seta cg_scoreboardScrollStep "3"
seta cg_scoreboardTextOffset "0.5"
seta cg_scoreboardWidth "400"
seta cg_scorePlums "1"
seta cg_ScoresPing_Interval "100"
seta cg_ScoresPing_MaxBars "4"
seta cg_scoreTransparency "1.0"

Additional commands
seta cg_debugInfoCornerOffset "-140 300"
This command changes the location of the FPS output. Madara has placed it in the lower right quadrant.

seta cg_drawFPS "Verbose"
Madara has set the drawFPS output to "Verbose". Personally I prefer "Simple".

seta cg_drawFPSLabels "1"
seta cg_drawLagometer "1"
seta cg_drawSnapshot "1"

Team colors/names on the scoreboard

The following commands change various bits of text on the scoreboard made obvious by the variable names.

Default colors are provided.

g_teamcolor_myteam 0.4 0.6 0.8509 1
g_teamcolor_enemyteam 0.75 0.25 0.25 1
g_ScoresColor_Allies 0 0 0 0
g_ScoresColor_Axis 0.52 0.27 0.27 1
g_TeamColor_Allies 0 0 0 0
g_TeamColor_Axis 0.52 0.27 0.27 1
g_ScoresColor_Spectator 0.25 0.25 0.25 0
Scoreboard team names can also be changed:
g_teamname_allies MPUI_SAS_SHORT
g_teamname_axis MPUI_SPETNAZ_SHORT
g_teamname_spectator
Defaults are GAME_ALLIES, GAME_AXIS for allies and axis respectively.


Sadly, the changes are not "persistent". The effect is lost if the scoreboard refreshes. The trick is to add a bind to the "TAB" button which will run everytime you go to check your score:

Madara: The game actually refreshes the scoreboard colors (not the text, only the COLORS) so it might be a good idea to bind them. I made the following bind, for my scoreboard.

e.g.

bind TAB "+scores; g_scorescolor_allies 0 1 0.8 1; g_scorescolor_axis 1 0.6 0.6 1; g_teamname_allies ^5Marines; g_teamname_axis ^6Opfor
Just add all the variables you have changed to the bind.

zitieren 

PiTsTaR offline   Administrator 5 Beiträge registriert: 22.03.2010
26.04.2010, 00:00
haste kopiert aus nem anderem forum du lümmel <33

zitieren 

Sortierung:     printview


Um ein Thema zu eröffnen musst du registriert und angemeldet sein!

registrieren
anmelden
PiTsTaR CFG
Member Configs
200 x
Hokas CFG
Member Configs
76 x
53 x
mAxzUR Movie cfg
Movie Configs
45 x
44 x
keine aktive Umfrage

zeige Umfragen