Code:setGhillieModels( env ) { level.environment = env; switch ( env ) { case "desert": mptype\mptype_ally_ghillie_desert::precache(); mptype\mptype_opforce_ghillie_desert::precache(); game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_desert::main; game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_desert::main; break; case "arctic": mptype\mptype_ally_ghillie_arctic::precache(); mptype\mptype_opforce_ghillie_arctic::precache(); game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_arctic::main; game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_arctic::main; break; case "urban": mptype\mptype_ally_ghillie_urban::precache(); mptype\mptype_opforce_ghillie_urban::precache(); game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_urban::main; game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_urban::main; break; case "forest": mptype\mptype_ally_ghillie_forest::precache(); mptype\mptype_opforce_ghillie_forest::precache(); game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_forest::main; game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_forest::main; break; default: break; } }