Loveboy
26th January 2014, 17:53
Hello Guys!
I want to minimize two flags on the scoreboard (X size)
I don't know how to do this, one of the script from cod2 set the size of the flags.
On the script _scoreboard.gsc:
init()
{
precacheShader("mpflag_spectator");
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");
}
you can see there as example setcvar("g_ScoresBanner_Allies", "mpflag_russian");
I don't know how to change the size of the flag, here is a picture
615
I want to minimize two flags on the scoreboard (X size)
I don't know how to do this, one of the script from cod2 set the size of the flags.
On the script _scoreboard.gsc:
init()
{
precacheShader("mpflag_spectator");
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");
}
you can see there as example setcvar("g_ScoresBanner_Allies", "mpflag_russian");
I don't know how to change the size of the flag, here is a picture
615