1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Buried: add Survival maps

This commit is contained in:
Jbleezy
2024-01-12 00:53:08 -08:00
parent 581c8b1e13
commit c12fdcd7d9
9 changed files with 1664 additions and 707 deletions

View File

@ -27,6 +27,19 @@
#include clientscripts\mp\zombies\_zm_equip_subwoofer;
#include clientscripts\mp\zombies\_zm_equip_headchopper;
init_gamemodes()
{
clientscripts\mp\zombies\_zm_turned::init();
add_map_gamemode("zclassic", undefined, undefined);
add_map_gamemode("zstandard", undefined, undefined);
add_map_gamemode("zgrief", undefined, undefined);
add_map_gamemode("zcleansed", clientscripts\mp\zombies\_zm_turned::precache, clientscripts\mp\zombies\_zm_turned::main);
add_map_location_gamemode("zclassic", "processing", clientscripts\mp\zm_buried_classic::precache, clientscripts\mp\zm_buried_classic::premain, clientscripts\mp\zm_buried_classic::main);
add_map_location_gamemode("zstandard", "street", clientscripts\mp\zm_buried_grief_street::precache, clientscripts\mp\zm_buried_grief_street::premain, clientscripts\mp\zm_buried_grief_street::main);
add_map_location_gamemode("zgrief", "street", clientscripts\mp\zm_buried_grief_street::precache, clientscripts\mp\zm_buried_grief_street::premain, clientscripts\mp\zm_buried_grief_street::main);
add_map_location_gamemode("zcleansed", "street", clientscripts\mp\zm_buried_turned_street::precache, clientscripts\mp\zm_buried_turned_street::premain, clientscripts\mp\zm_buried_turned_street::main);
}
start_zombie_stuff()
{
include_weapons();

View File

@ -16,19 +16,20 @@
init()
{
add_map_gamemode("zclassic", maps\mp\zm_buried::zclassic_preinit, undefined, undefined);
add_map_gamemode("zcleansed", maps\mp\zm_buried::zcleansed_preinit, undefined, undefined);
add_map_gamemode("zstandard", maps\mp\zm_buried::zstandard_preinit, undefined, undefined);
add_map_gamemode("zgrief", maps\mp\zm_buried::zgrief_preinit, undefined, undefined);
add_map_gamemode("zcleansed", maps\mp\zm_buried::zcleansed_preinit, undefined, undefined);
add_map_location_gamemode("zclassic", "processing", maps\mp\zm_buried_classic::precache, maps\mp\zm_buried_classic::main);
add_map_location_gamemode("zcleansed", "street", maps\mp\zm_buried_turned_street::precache, maps\mp\zm_buried_turned_street::main);
add_map_location_gamemode("zstandard", "street", scripts\zm\replaced\zm_buried_grief_street::precache, scripts\zm\replaced\zm_buried_grief_street::main);
add_map_location_gamemode("zstandard", "maze", scripts\zm\locs\zm_buried_loc_maze::precache, scripts\zm\locs\zm_buried_loc_maze::main);
add_map_location_gamemode("zgrief", "street", scripts\zm\replaced\zm_buried_grief_street::precache, scripts\zm\replaced\zm_buried_grief_street::main);
add_map_location_gamemode("zgrief", "maze", scripts\zm\locs\zm_buried_loc_maze::precache, scripts\zm\locs\zm_buried_loc_maze::main);
add_map_location_gamemode("zcleansed", "street", maps\mp\zm_buried_turned_street::precache, maps\mp\zm_buried_turned_street::main);
scripts\zm\replaced\utility::add_struct_location_gamemode_func("zstandard", "maze", scripts\zm\locs\zm_buried_loc_maze::struct_init);
scripts\zm\replaced\utility::add_struct_location_gamemode_func("zgrief", "maze", scripts\zm\locs\zm_buried_loc_maze::struct_init);
}

View File

@ -3,6 +3,7 @@
main()
{
replaceFunc(clientscripts\mp\zm_buried::init_gamemodes, scripts\zm\replaced\zm_buried::init_gamemodes);
replaceFunc(clientscripts\mp\zm_buried::start_zombie_stuff, scripts\zm\replaced\zm_buried::start_zombie_stuff);
}

View File

@ -146,7 +146,7 @@ player_initial_spawn_override()
struct.radius = respawn.radius;
struct.script_int = respawn.script_int;
struct.script_noteworthy = "initial_spawn";
struct.script_string = "zgrief_street";
struct.script_string = "zstandard_street zgrief_street";
if (struct.origin == (-875.5, -33.85, 139.25))
{