pull/23/head
Louvenarde 2024-02-03 14:31:41 +01:00
parent b32875849d
commit e2b50d691a
2 changed files with 34 additions and 29 deletions

View File

@ -389,8 +389,15 @@ balanceTeams()
setGhillieModels( env ) setGhillieModels( env )
{ {
level.environment = env; level.environment = env;
switch ( env ) switch ( env )
{ {
default:
case "iw3":
game["allies_model"]["GHILLIE"] = game["allies_model"]["SNIPER"];
game["axis_model"]["GHILLIE"] = game["axis_model"]["SNIPER"];
break;
case "desert": case "desert":
mptype\mptype_ally_ghillie_desert::precache(); mptype\mptype_ally_ghillie_desert::precache();
mptype\mptype_opforce_ghillie_desert::precache(); mptype\mptype_opforce_ghillie_desert::precache();
@ -415,8 +422,6 @@ setGhillieModels( env )
game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_forest::main; game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_forest::main;
game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_forest::main; game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_forest::main;
break; break;
default:
break;
} }
} }
@ -597,8 +602,8 @@ setTeamModels( team, charSet )
game[team + "_model"]["SNIPER"] = mptype\mptype_axis_sniper::main; game[team + "_model"]["SNIPER"] = mptype\mptype_axis_sniper::main;
game[team + "_model"]["LMG"] = mptype\mptype_axis_support::main; game[team + "_model"]["LMG"] = mptype\mptype_axis_support::main;
game[team + "_model"]["ASSAULT"] = mptype\mptype_axis_rifleman::main; game[team + "_model"]["ASSAULT"] = mptype\mptype_axis_rifleman::main;
game[team + "_model"]["SHOTGUN"] = mptype\mptype_axis_cqb::main; game[team + "_model"]["SHOTGUN"] = mptype\mptype_axis_engineer::main;
game[team + "_model"]["SMG"] = mptype\mptype_axis_engineer::main; game[team + "_model"]["SMG"] = mptype\mptype_axis_cqb::main;
game[team + "_model"]["RIOT"] = mptype\mptype_opforce_comp_riot::main; game[team + "_model"]["RIOT"] = mptype\mptype_opforce_comp_riot::main;
break; break;
@ -615,8 +620,8 @@ setTeamModels( team, charSet )
game[team + "_model"]["SNIPER"] = mptype\mptype_ally_urban_sniper::main; game[team + "_model"]["SNIPER"] = mptype\mptype_ally_urban_sniper::main;
game[team + "_model"]["LMG"] = mptype\mptype_ally_urban_support::main; game[team + "_model"]["LMG"] = mptype\mptype_ally_urban_support::main;
game[team + "_model"]["ASSAULT"] = mptype\mptype_ally_urban_assault::main; game[team + "_model"]["ASSAULT"] = mptype\mptype_ally_urban_assault::main;
game[team + "_model"]["SHOTGUN"] = mptype\mptype_ally_urban_specops::main; game[team + "_model"]["SHOTGUN"] = mptype\mptype_ally_urban_recon::main;
game[team + "_model"]["SMG"] = mptype\mptype_ally_urban_recon::main; game[team + "_model"]["SMG"] = mptype\mptype_ally_urban_specops::main;
game[team + "_model"]["RIOT"] = mptype\mptype_seal_udt_riot::main; game[team + "_model"]["RIOT"] = mptype\mptype_seal_udt_riot::main;
break; break;
@ -633,8 +638,8 @@ setTeamModels( team, charSet )
game[team + "_model"]["SNIPER"] = mptype\mptype_ally_woodland_sniper::main; game[team + "_model"]["SNIPER"] = mptype\mptype_ally_woodland_sniper::main;
game[team + "_model"]["LMG"] = mptype\mptype_ally_woodland_support::main; game[team + "_model"]["LMG"] = mptype\mptype_ally_woodland_support::main;
game[team + "_model"]["ASSAULT"] = mptype\mptype_ally_woodland_assault::main; game[team + "_model"]["ASSAULT"] = mptype\mptype_ally_woodland_assault::main;
game[team + "_model"]["SHOTGUN"] = mptype\mptype_ally_woodland_specops::main; game[team + "_model"]["SHOTGUN"] = mptype\mptype_ally_woodland_recon::main;
game[team + "_model"]["SMG"] = mptype\mptype_ally_woodland_recon::main; game[team + "_model"]["SMG"] = mptype\mptype_ally_woodland_specops::main;
game[team + "_model"]["RIOT"] = mptype\mptype_tf141_forest_riot::main; game[team + "_model"]["RIOT"] = mptype\mptype_tf141_forest_riot::main;
break; break;
@ -651,8 +656,8 @@ setTeamModels( team, charSet )
game[team + "_model"]["SNIPER"] = mptype\mptype_axis_urban_sniper::main; game[team + "_model"]["SNIPER"] = mptype\mptype_axis_urban_sniper::main;
game[team + "_model"]["LMG"] = mptype\mptype_axis_urban_support::main; game[team + "_model"]["LMG"] = mptype\mptype_axis_urban_support::main;
game[team + "_model"]["ASSAULT"] = mptype\mptype_axis_urban_assault::main; game[team + "_model"]["ASSAULT"] = mptype\mptype_axis_urban_assault::main;
game[team + "_model"]["SHOTGUN"] = mptype\mptype_axis_urban_cqb::main; game[team + "_model"]["SHOTGUN"] = mptype\mptype_axis_urban_engineer::main;
game[team + "_model"]["SMG"] = mptype\mptype_axis_urban_engineer::main; game[team + "_model"]["SMG"] = mptype\mptype_axis_urban_cqb::main;
game[team + "_model"]["RIOT"] = mptype\mptype_opforce_airborne_riot::main; game[team + "_model"]["RIOT"] = mptype\mptype_opforce_airborne_riot::main;
break; break;
@ -669,8 +674,8 @@ setTeamModels( team, charSet )
game[team + "_model"]["SNIPER"] = mptype\mptype_axis_woodland_sniper::main; game[team + "_model"]["SNIPER"] = mptype\mptype_axis_woodland_sniper::main;
game[team + "_model"]["LMG"] = mptype\mptype_axis_woodland_support::main; game[team + "_model"]["LMG"] = mptype\mptype_axis_woodland_support::main;
game[team + "_model"]["ASSAULT"] = mptype\mptype_axis_woodland_rifleman::main; game[team + "_model"]["ASSAULT"] = mptype\mptype_axis_woodland_rifleman::main;
game[team + "_model"]["SHOTGUN"] = mptype\mptype_axis_woodland_cqb::main; game[team + "_model"]["SHOTGUN"] = mptype\mptype_axis_woodland_engineer::main;
game[team + "_model"]["SMG"] = mptype\mptype_axis_woodland_engineer::main; game[team + "_model"]["SMG"] = mptype\mptype_axis_woodland_cqb::main;
game[team + "_model"]["RIOT"] = mptype\mptype_opforce_airborne_riot::main; game[team + "_model"]["RIOT"] = mptype\mptype_opforce_airborne_riot::main;
break; break;
@ -687,8 +692,8 @@ setTeamModels( team, charSet )
game[team + "_model"]["SNIPER"] = mptype\mptype_ally_sniper::main; game[team + "_model"]["SNIPER"] = mptype\mptype_ally_sniper::main;
game[team + "_model"]["LMG"] = mptype\mptype_ally_support::main; game[team + "_model"]["LMG"] = mptype\mptype_ally_support::main;
game[team + "_model"]["ASSAULT"] = mptype\mptype_ally_rifleman::main; game[team + "_model"]["ASSAULT"] = mptype\mptype_ally_rifleman::main;
game[team + "_model"]["SHOTGUN"] = mptype\mptype_ally_cqb::main; game[team + "_model"]["SHOTGUN"] = mptype\mptype_ally_engineer::main;
game[team + "_model"]["SMG"] = mptype\mptype_ally_engineer::main; game[team + "_model"]["SMG"] = mptype\mptype_ally_cqb::main;
game[team + "_model"]["RIOT"] = mptype\mptype_us_army_riot::main; game[team + "_model"]["RIOT"] = mptype\mptype_us_army_riot::main;
break; break;

View File

@ -373,7 +373,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -386,7 +386,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -400,7 +400,7 @@
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
useteamzones "true" useteamzones "true"
environment "forest" environment "iw3"
} }
{ {
@ -412,7 +412,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -438,7 +438,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
} }
{ {
@ -515,7 +515,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
environment "forest" environment "iw3"
} }
{ {
@ -566,7 +566,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -579,7 +579,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -592,7 +592,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -605,7 +605,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_woodland" allieschar "iw3_sas_woodland"
axischar "iw3_spetsnaz_woodland" axischar "iw3_spetsnaz_woodland"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -633,7 +633,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_sas_urban" allieschar "iw3_sas_urban"
axischar "iw3_spetsnaz_urban" axischar "iw3_spetsnaz_urban"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -647,7 +647,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -660,7 +660,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -673,7 +673,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }
@ -687,7 +687,7 @@
mapoverlay "compass_overlay_map_blank " mapoverlay "compass_overlay_map_blank "
allieschar "iw3_usmc_desert" allieschar "iw3_usmc_desert"
axischar "iw3_opfor_desert" axischar "iw3_opfor_desert"
environment "forest" environment "iw3"
useteamzones "true" useteamzones "true"
} }