Results 1 to 4 of 4

Thread: Changing Default Colors

  1. #1
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts

    Changing Default Colors

    Hi,

    I couldn't find any threads concerning this.
    Is it possible to change the default COD2 colors? e. g. change the ^5 cyan for orange.
    Should I edit the binary?

    Thanks in advance.

  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    It is something like TEAM_COLOR_AXIS RGB. DOnt know the exact thingy any more

  3. #3
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Move from the random forum you decided to pick for this topic, to the most appropriate.

    Please - next time, don't just lump your threads in any old forum. Try to pick the most appropriate.

  4. #4
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by guiismiti View Post
    Hi,

    I couldn't find any threads concerning this.
    Is it possible to change the default COD2 colors? e. g. change the ^5 cyan for orange.
    Should I edit the binary?

    Thanks in advance.
    From COD2\iw_07.iwd\maps\mp\gametypes\_scoreboard::init ():

    PHP Code:
        switch(game["allies"])
        {
        case 
    "american":
            
    precacheShader("mpflag_american");
            
    setcvar("g_TeamName_Allies", &"MPUI_AMERICAN");
            
    setcvar("g_TeamColor_Allies"".25 .75 .25");
            
    setcvar("g_ScoresBanner_Allies""mpflag_american");
            break;
        
        case 
    "british":
            
    precacheShader("mpflag_british");
            
    setcvar("g_TeamName_Allies", &"MPUI_BRITISH");
            
    setcvar("g_TeamColor_Allies"".25 .25 .75");
            
    setcvar("g_ScoresBanner_Allies""mpflag_british");
            break;
        
        default:
            
    assert(game["allies"] == "russian");
            
    precacheShader("mpflag_russian");
            
    setcvar("g_TeamName_Allies", &"MPUI_RUSSIAN");
            
    setcvar("g_TeamColor_Allies"".75 .25 .25");
            
    setcvar("g_ScoresBanner_Allies""mpflag_russian");
            break;
        }

        
    assert(game["axis"] == "german");
        
    precacheShader("mpflag_german");
        
    setcvar("g_TeamName_Axis", &"MPUI_GERMAN");
        
    setcvar("g_TeamColor_Axis"".6 .6 .6");
        
    setcvar("g_ScoresBanner_Axis""mpflag_german"); 
    Edit the cvars "g_TeamColor_Axis" and "g_TeamColor_Allies" to colors of your choice.

  5. The Following User Says Thank You to Tally For This Useful Post:

    Ni3ls (4th November 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •