63 lines
8.0 KiB
Plaintext
63 lines
8.0 KiB
Plaintext
#using scripts\codescripts\struct;
|
|
|
|
#using scripts\shared\compass;
|
|
|
|
|
|
|
|
#using scripts\mp\gametypes\_spawning;
|
|
|
|
#using scripts\mp\_load;
|
|
|
|
#using scripts\mp\mp_rise_amb;
|
|
#using scripts\mp\mp_rise_fx;
|
|
|
|
#precache( "model", "collision_clip_wall_128x128x10" );
|
|
|
|
#precache( "string", "MPUI_CALLSIGN_MAPNAME_A" );
|
|
#precache( "string", "MPUI_CALLSIGN_MAPNAME_B" );
|
|
#precache( "string", "MPUI_CALLSIGN_MAPNAME_C" );
|
|
#precache( "string", "MPUI_CALLSIGN_MAPNAME_D" );
|
|
#precache( "string", "MPUI_CALLSIGN_MAPNAME_E" );
|
|
|
|
function main()
|
|
{
|
|
//needs to be first for create fx
|
|
mp_rise_fx::main();
|
|
|
|
load::main();
|
|
|
|
compass::setupMiniMap("compass_map_mp_rise");
|
|
|
|
mp_rise_amb::main();
|
|
|
|
// Set up the default range of the compass
|
|
SetDvar("compassmaxrange","2100");
|
|
|
|
//Spawning clip above door to overwatch on A DOM side to prevent standing on top of door frame
|
|
spawncollision("collision_clip_wall_128x128x10","collider",( -626 , -1033 , 421.5 ), ( 0 , 270 , 0 ));
|
|
spawncollision("collision_clip_wall_128x128x10","collider",( -692.5 , -1033 , 421.5 ), ( 0 , 270 , 0 ));
|
|
|
|
// Set up some generic War Flag Names.
|
|
// Example from COD5: CALLSIGN_SEELOW_A is the name of the 1st flag in Selow whose string is "Cottage"
|
|
// The string must have MPUI_CALLSIGN_ and _A. Replace Mapname with the name of your map/bsp and in the
|
|
// actual string enter a keyword that names the location (Roundhouse, Missle Silo, Launchpad, Guard Tower, etc)
|
|
|
|
game["strings"]["war_callsign_a"] = &"MPUI_CALLSIGN_MAPNAME_A";
|
|
game["strings"]["war_callsign_b"] = &"MPUI_CALLSIGN_MAPNAME_B";
|
|
game["strings"]["war_callsign_c"] = &"MPUI_CALLSIGN_MAPNAME_C";
|
|
game["strings"]["war_callsign_d"] = &"MPUI_CALLSIGN_MAPNAME_D";
|
|
game["strings"]["war_callsign_e"] = &"MPUI_CALLSIGN_MAPNAME_E";
|
|
|
|
game["strings_menu"]["war_callsign_a"] = "@MPUI_CALLSIGN_MAPNAME_A";
|
|
game["strings_menu"]["war_callsign_b"] = "@MPUI_CALLSIGN_MAPNAME_B";
|
|
game["strings_menu"]["war_callsign_c"] = "@MPUI_CALLSIGN_MAPNAME_C";
|
|
game["strings_menu"]["war_callsign_d"] = "@MPUI_CALLSIGN_MAPNAME_D";
|
|
game["strings_menu"]["war_callsign_e"] = "@MPUI_CALLSIGN_MAPNAME_E";
|
|
|
|
// Stockpile hub points
|
|
level.cleanDepositPoints = Array ( ( 1474.24 , -192.491 , 223.118 ),
|
|
( -1052.99 , 198.376 , 221.118 ),
|
|
( 433.258 , -203.319 , 255.118 ),
|
|
( 789.562 , 1376.41 , 247.118 ) );
|
|
}
|