mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-06 03:49:34 -05:00
Replace / with \
This commit is contained in:
@ -1,32 +1,32 @@
|
||||
#include maps/mp/zombies/_zm_game_module;
|
||||
#include maps/mp/zombies/_zm_utility;
|
||||
#include common_scripts/utility;
|
||||
#include maps/mp/_utility;
|
||||
#include maps/mp/zombies/_zm;
|
||||
#include maps/mp/zombies/_zm_zonemgr;
|
||||
#include maps\mp\zombies\_zm_game_module;
|
||||
#include maps\mp\zombies\_zm_utility;
|
||||
#include common_scripts\utility;
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\zombies\_zm;
|
||||
#include maps\mp\zombies\_zm_zonemgr;
|
||||
|
||||
#include scripts/zm/replaced/utility;
|
||||
#include scripts/zm/locs/loc_common;
|
||||
#include scripts\zm\replaced\utility;
|
||||
#include scripts\zm\locs\loc_common;
|
||||
|
||||
struct_init()
|
||||
{
|
||||
replaceFunc(maps/mp/zombies/_zm_zonemgr::manage_zones, ::manage_zones);
|
||||
replaceFunc(maps\mp\zombies\_zm_zonemgr::manage_zones, ::manage_zones);
|
||||
|
||||
scripts/zm/replaced/utility::register_perk_struct( "specialty_armorvest", "zombie_vending_jugg", ( 10952, 8055, -565 ), ( 0, 270, 0 ) );
|
||||
scripts/zm/replaced/utility::register_perk_struct( "specialty_quickrevive", "zombie_vending_quickrevive", ( 11855, 7308, -758 ), ( 0, 220, 0 ) );
|
||||
scripts/zm/replaced/utility::register_perk_struct( "specialty_fastreload", "zombie_vending_sleight", ( 11571, 7723, -757 ), ( 0, 0, 0 ) );
|
||||
scripts/zm/replaced/utility::register_perk_struct( "specialty_rof", "zombie_vending_doubletap2", ( 11414, 8930, -352 ), ( 0, 0, 0 ) );
|
||||
scripts/zm/replaced/utility::register_perk_struct( "specialty_scavenger", "zombie_vending_tombstone", ( 10946, 8308.77, -408 ), ( 0, 270, 0 ) );
|
||||
scripts/zm/replaced/utility::register_perk_struct( "specialty_weapupgrade", "p6_anim_zm_buildable_pap_on", ( 12333, 8158, -752 ), ( 0, 180, 0 ) );
|
||||
scripts\zm\replaced\utility::register_perk_struct( "specialty_armorvest", "zombie_vending_jugg", ( 10952, 8055, -565 ), ( 0, 270, 0 ) );
|
||||
scripts\zm\replaced\utility::register_perk_struct( "specialty_quickrevive", "zombie_vending_quickrevive", ( 11855, 7308, -758 ), ( 0, 220, 0 ) );
|
||||
scripts\zm\replaced\utility::register_perk_struct( "specialty_fastreload", "zombie_vending_sleight", ( 11571, 7723, -757 ), ( 0, 0, 0 ) );
|
||||
scripts\zm\replaced\utility::register_perk_struct( "specialty_rof", "zombie_vending_doubletap2", ( 11414, 8930, -352 ), ( 0, 0, 0 ) );
|
||||
scripts\zm\replaced\utility::register_perk_struct( "specialty_scavenger", "zombie_vending_tombstone", ( 10946, 8308.77, -408 ), ( 0, 270, 0 ) );
|
||||
scripts\zm\replaced\utility::register_perk_struct( "specialty_weapupgrade", "p6_anim_zm_buildable_pap_on", ( 12333, 8158, -752 ), ( 0, 180, 0 ) );
|
||||
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 8060, -554), (0, 0, 0), 1 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7996, -554), (0, 0, 0), 1 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7932, -554), (0, 0, 0), 1 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7868, -554), (0, 0, 0), 1 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7772, -554), (0, 0, 0), 2 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7708, -554), (0, 0, 0), 2 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7644, -554), (0, 0, 0), 2 );
|
||||
scripts/zm/replaced/utility::register_map_initial_spawnpoint( (10160, 7580, -554), (0, 0, 0), 2 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 8060, -554), (0, 0, 0), 1 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7996, -554), (0, 0, 0), 1 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7932, -554), (0, 0, 0), 1 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7868, -554), (0, 0, 0), 1 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7772, -554), (0, 0, 0), 2 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7708, -554), (0, 0, 0), 2 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7644, -554), (0, 0, 0), 2 );
|
||||
scripts\zm\replaced\utility::register_map_initial_spawnpoint( (10160, 7580, -554), (0, 0, 0), 2 );
|
||||
}
|
||||
|
||||
precache()
|
||||
@ -43,8 +43,8 @@ main()
|
||||
generatebuildabletarps();
|
||||
disable_zombie_spawn_locations();
|
||||
level thread activate_core();
|
||||
level thread maps/mp/zm_transit::falling_death_init();
|
||||
scripts/zm/locs/loc_common::init();
|
||||
level thread maps\mp\zm_transit::falling_death_init();
|
||||
scripts\zm\locs\loc_common::init();
|
||||
}
|
||||
|
||||
treasure_chest_init()
|
||||
@ -52,16 +52,16 @@ treasure_chest_init()
|
||||
chests = getstructarray( "treasure_chest_use", "targetname" );
|
||||
level.chests = [];
|
||||
level.chests[0] = chests[2];
|
||||
maps/mp/zombies/_zm_magicbox::treasure_chest_init( "pow_chest" );
|
||||
maps\mp\zombies\_zm_magicbox::treasure_chest_init( "pow_chest" );
|
||||
}
|
||||
|
||||
init_wallbuys()
|
||||
{
|
||||
scripts/zm/replaced/utility::wallbuy( "m14_zm", "m14", "weapon_upgrade", ( 10559, 8220, -495 ), ( 0, 90, 0) );
|
||||
scripts/zm/replaced/utility::wallbuy( "rottweil72_zm", "olympia", "weapon_upgrade", ( 10678, 8135, -476 ), ( 0, 180, 0 ) );
|
||||
scripts/zm/replaced/utility::wallbuy( "870mcs_zm", "870mcs", "weapon_upgrade", ( 11778, 7664, -697 ), ( 0, 170, 0 ) );
|
||||
scripts/zm/replaced/utility::wallbuy( "mp5k_zm", "mp5", "weapon_upgrade", ( 11452, 8692, -521 ), ( 0, 90, 0 ) );
|
||||
scripts/zm/replaced/utility::wallbuy( "bowie_knife_zm", "bowie_knife", "bowie_upgrade", ( 10835, 8145, -353 ), ( 0, 0, 0 ) );
|
||||
scripts\zm\replaced\utility::wallbuy( "m14_zm", "m14", "weapon_upgrade", ( 10559, 8220, -495 ), ( 0, 90, 0) );
|
||||
scripts\zm\replaced\utility::wallbuy( "rottweil72_zm", "olympia", "weapon_upgrade", ( 10678, 8135, -476 ), ( 0, 180, 0 ) );
|
||||
scripts\zm\replaced\utility::wallbuy( "870mcs_zm", "870mcs", "weapon_upgrade", ( 11778, 7664, -697 ), ( 0, 170, 0 ) );
|
||||
scripts\zm\replaced\utility::wallbuy( "mp5k_zm", "mp5", "weapon_upgrade", ( 11452, 8692, -521 ), ( 0, 90, 0 ) );
|
||||
scripts\zm\replaced\utility::wallbuy( "bowie_knife_zm", "bowie_knife", "bowie_upgrade", ( 10835, 8145, -353 ), ( 0, 0, 0 ) );
|
||||
}
|
||||
|
||||
init_barriers()
|
||||
@ -69,16 +69,16 @@ init_barriers()
|
||||
// fog before power station
|
||||
origin = ( 10215, 7265, -570 );
|
||||
angles = ( 0, 0, 0 );
|
||||
scripts/zm/replaced/utility::barrier( "collision_player_wall_512x512x10", origin + (anglesToUp(angles) * 256), angles );
|
||||
scripts/zm/replaced/utility::barrier( "veh_t6_civ_microbus_dead", origin + (anglesToForward(angles) * 96) + (anglesToRight(angles) * 48), angles );
|
||||
scripts/zm/replaced/utility::barrier( "veh_t6_civ_60s_coupe_dead", origin + (anglesToForward(angles) * -112) + (anglesToRight(angles) * 80), angles + (0, 30, 0) );
|
||||
scripts\zm\replaced\utility::barrier( "collision_player_wall_512x512x10", origin + (anglesToUp(angles) * 256), angles );
|
||||
scripts\zm\replaced\utility::barrier( "veh_t6_civ_microbus_dead", origin + (anglesToForward(angles) * 96) + (anglesToRight(angles) * 48), angles );
|
||||
scripts\zm\replaced\utility::barrier( "veh_t6_civ_60s_coupe_dead", origin + (anglesToForward(angles) * -112) + (anglesToRight(angles) * 80), angles + (0, 30, 0) );
|
||||
|
||||
// fog after power station
|
||||
origin = ( 10215, 8670, -579 );
|
||||
angles = ( 0, 7.5, 0 );
|
||||
scripts/zm/replaced/utility::barrier( "collision_player_wall_512x512x10", origin + (anglesToForward(angles) * -128) + (anglesToUp(angles) * 256), angles );
|
||||
scripts/zm/replaced/utility::barrier( "collision_player_wall_512x512x10", origin + (anglesToForward(angles) * 64) + (anglesToUp(angles) * 256), angles );
|
||||
scripts/zm/replaced/utility::barrier( "p6_zm_rocks_large_cluster_01", origin + (anglesToForward(angles) * -176) + (anglesToRight(angles) * -368) + (anglesToUp(angles) * 256), angles + (0, -15, 0) );
|
||||
scripts\zm\replaced\utility::barrier( "collision_player_wall_512x512x10", origin + (anglesToForward(angles) * -128) + (anglesToUp(angles) * 256), angles );
|
||||
scripts\zm\replaced\utility::barrier( "collision_player_wall_512x512x10", origin + (anglesToForward(angles) * 64) + (anglesToUp(angles) * 256), angles );
|
||||
scripts\zm\replaced\utility::barrier( "p6_zm_rocks_large_cluster_01", origin + (anglesToForward(angles) * -176) + (anglesToRight(angles) * -368) + (anglesToUp(angles) * 256), angles + (0, -15, 0) );
|
||||
}
|
||||
|
||||
show_powerswitch()
|
||||
@ -102,14 +102,14 @@ activate_core()
|
||||
reactor_core_mover = getent( "core_mover", "targetname" );
|
||||
reactor_core_audio = spawn( "script_origin", reactor_core_mover.origin );
|
||||
|
||||
maps/mp/zm_transit_power::linkentitiestocoremover( reactor_core_mover );
|
||||
maps\mp\zm_transit_power::linkentitiestocoremover( reactor_core_mover );
|
||||
|
||||
flag_wait( "initial_blackscreen_passed" );
|
||||
|
||||
reactor_core_mover playsound( "zmb_power_rise_start" );
|
||||
reactor_core_mover playloopsound( "zmb_power_rise_loop", 0.75 );
|
||||
|
||||
reactor_core_mover thread maps/mp/zm_transit_power::coremove( 30 );
|
||||
reactor_core_mover thread maps\mp\zm_transit_power::coremove( 30 );
|
||||
|
||||
wait power_event_time;
|
||||
|
||||
@ -158,7 +158,7 @@ manage_zones( initial_zone )
|
||||
|
||||
deactivate_initial_barrier_goals();
|
||||
zone_choke = 0;
|
||||
spawn_points = maps/mp/gametypes_zm/_zm_gametype::get_player_spawns_for_gametype();
|
||||
spawn_points = maps\mp\gametypes_zm\_zm_gametype::get_player_spawns_for_gametype();
|
||||
for ( i = 0; i < spawn_points.size; i++ )
|
||||
{
|
||||
spawn_points[ i ].locked = 1;
|
||||
@ -276,7 +276,7 @@ manage_zones( initial_zone )
|
||||
}
|
||||
}
|
||||
[[ level.create_spawner_list_func ]]( zkeys );
|
||||
level.active_zone_names = maps/mp/zombies/_zm_zonemgr::get_active_zone_names();
|
||||
level.active_zone_names = maps\mp\zombies\_zm_zonemgr::get_active_zone_names();
|
||||
wait 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user