I suppose that it is not the correct place for make this question, but i don't know where is, so here it is:
How can i add more skins for the human team in campaign or multiplayer? The game have 4 skins (urban, jungle, desert and arctic) and 2 multiplayer (yellow and cccp) but i want to add 4 more (mountain, forest, savanna and elite). I have changed the cl_team.c and cl_team.h files in src\client directory but there is no changes displayed in game.
(Changes in red)
cl_team.c
{
switch(id) {
case 0:
return _("Urban");
case 1:
return _("Jungle");
case 2:
return _("Desert");
case 3:
return _("Arctic");
case 4:
return _("Mountain");
case 5:
return _("Forest");
case 6:
return _("Savanna");
case 7:
return _("Elite");
case 8:
return _("Yellow");
case 9:
return _("CCCP");
}
Com_Error(ERR_DROP, "CL_GetTeamSkinName: Unknown skin id %i - max is %i", id, NUM_TEAMSKINS - 1);
}
...
{
/* create singleplayer skins */
if (MN_GetOption(OPTION_SINGLEPLAYER_SKINS) == NULL) {
menuOption_t *skins = NULL;
assert(NUM_TEAMSKINS_SINGLEPLAYER >= 8); /*< the current code create 8 skins */
MN_AddOption(&skins, "urban", N_("Urban"), "0");
MN_AddOption(&skins, "jungle", N_("Jungle"), "1");
MN_AddOption(&skins, "desert", N_("Desert"), "2");
MN_AddOption(&skins, "arctic", N_("Arctic"), "3");
MN_AddOption(&skins, "mountain", N_("Mountain"), "4");
MN_AddOption(&skins, "forest", N_("Forest"), "5");
MN_AddOption(&skins, "savanna", N_("Savanna"), "6");
MN_AddOption(&skins, "elite", N_("Elite"), "7");
MN_RegisterOption(OPTION_SINGLEPLAYER_SKINS, skins);
}
/* create multiplayer skins */
if (MN_GetOption(OPTION_MULTIPLAYER_SKINS) == NULL) {
menuOption_t *skins = NULL;
assert(NUM_TEAMSKINS >= 10); /*< the current code create 10 skins */
MN_AddOption(&skins, "urban", N_("Urban"), "0");
MN_AddOption(&skins, "jungle", N_("Jungle"), "1");
MN_AddOption(&skins, "desert", N_("Desert"), "2");
MN_AddOption(&skins, "arctic", N_("Arctic"), "3");
MN_AddOption(&skins, "mountain", N_("Mountain"), "4");
MN_AddOption(&skins, "forest", N_("Forest"), "5");
MN_AddOption(&skins, "savanna", N_("Savanna"), "6");
MN_AddOption(&skins, "elite", N_("Elite"), "7");
MN_AddOption(&skins, "multionly_yellow", N_("Yellow"), "8");
MN_AddOption(&skins, "multionly_cccp", N_("CCCP"), "9");
MN_RegisterOption(OPTION_MULTIPLAYER_SKINS, skins);
}
}
cl_team.h
#define NUM_TEAMSKINS 10
#define NUM_TEAMSKINS_SINGLEPLAYER 8
Anybody could help me, please?