cod5-sdk/raw/maps/mp/mp_castle.gsc

52 lines
1.7 KiB
Text
Raw Normal View History

2008-11-20 00:00:00 +00:00
main()
{
//maps\mp\mp_cargoship_fx::main();
//maps\createart\mp_cargoship_art::main();
//needs to be first for create fx
maps\mp\mp_castle_fx::main();
precachemodel("collision_geo_256x256x10");
maps\mp\_load::main();
maps\mp\mp_castle_amb::main();
maps\mp\_compass::setupMiniMap("compass_map_mp_castle");
//setExpFog(300, 1400, 0.5, 0.5, 0.5, 0);
//VisionSetNaked( "mp_cargoship" );
//ambientPlay("ambient_cargoshipmp_ext");
// If the team nationalites change in this file,
// you must update the team nationality in the level's csc file as well!
game["allies"] = "marines";
game["axis"] = "japanese";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["allies_soldiertype"] = "pacific";
game["axis_soldiertype"] = "pacific";
setdvar( "r_specularcolorscale", "1" );
setdvar("compassmaxrange","2100");
game["strings"]["war_callsign_a"] = &"MPUI_CALLSIGN_CASTLE_A";
game["strings"]["war_callsign_b"] = &"MPUI_CALLSIGN_CASTLE_B";
game["strings"]["war_callsign_c"] = &"MPUI_CALLSIGN_CASTLE_C";
game["strings"]["war_callsign_d"] = &"MPUI_CALLSIGN_CASTLE_D";
game["strings"]["war_callsign_e"] = &"MPUI_CALLSIGN_CASTLE_E";
game["strings_menu"]["war_callsign_a"] = "@MPUI_CALLSIGN_CASTLE_A";
game["strings_menu"]["war_callsign_b"] = "@MPUI_CALLSIGN_CASTLE_B";
game["strings_menu"]["war_callsign_c"] = "@MPUI_CALLSIGN_CASTLE_C";
game["strings_menu"]["war_callsign_d"] = "@MPUI_CALLSIGN_CASTLE_D";
game["strings_menu"]["war_callsign_e"] = "@MPUI_CALLSIGN_CASTLE_E";
// cave blocker
spawncollision("collision_geo_256x256x10","collider",(145, -2080, 49), (270, 90, 0));
// enable new spawning system
maps\mp\gametypes\_spawning::level_use_unified_spawning(true);
}