mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Maze: fix client field mismatch
Maze: fix Mystery Box locations
This commit is contained in:
parent
d67bec0a96
commit
521a2af489
@ -155,44 +155,6 @@
|
||||
"guid" "B4AAB927"
|
||||
}
|
||||
{
|
||||
"classname" "script_struct"
|
||||
"zombie_cost" "950"
|
||||
"script_noteworthy" "maze_chest"
|
||||
"targetname" "treasure_chest_use"
|
||||
"angles" "0.0969653 269.6 0.174934"
|
||||
"origin" "4206 574 12"
|
||||
"guid" "CE36478F"
|
||||
}
|
||||
{
|
||||
"classname" "zbarrier_zmcore_MagicBox"
|
||||
"zbarrierboardanim5" "o_zombie_magic_box_teddy_rise"
|
||||
"zbarriertearanim5" "o_zombie_magic_box_weapon_dual_rise"
|
||||
"zbarrierboardmodel5" "tag_origin"
|
||||
"zbarrierboardanim4" "o_zombie_magic_box_teddy_rise"
|
||||
"zbarriertearanim4" "o_zombie_magic_box_weapon_rise"
|
||||
"zbarrierboardmodel4" "tag_origin"
|
||||
"zbarrierboardanim3" "o_zombie_magic_box_close"
|
||||
"zbarriertearanim3" "o_zombie_magic_box_open"
|
||||
"zbarrierboardmodel3" "p6_anim_zm_magic_box"
|
||||
"zbarrierboardanim2" "o_zombie_magic_box_leave"
|
||||
"zbarriertearanim2" "o_zombie_magic_box_arrive"
|
||||
"zbarrierboardmodel2" "p6_anim_zm_magic_box"
|
||||
"zbarrierboardanim1" "o_zombie_magic_box_fake_idle_twitch_a"
|
||||
"zbarriertearanim1" "o_zombie_magic_box_fake_idle_twitch_b"
|
||||
"zbarrierboardmodel1" "p6_anim_zm_magic_box_fake"
|
||||
"zbarriernumboards" "5"
|
||||
"showupgradedmodel" "0"
|
||||
"showalternatemodel" "0"
|
||||
"barrieranimtime" "0"
|
||||
"angles" "0.0969653 269.6 0.174934"
|
||||
"type" "zmcore_MagicBox"
|
||||
"origin" "4206 574 12"
|
||||
"script_noteworthy" "maze_chest_zbarrier"
|
||||
"script_location" "maze"
|
||||
"script_gameobjectname" "zgrief"
|
||||
"guid" "0F074D07"
|
||||
}
|
||||
{
|
||||
"origin" "-170.5 -328.25 144"
|
||||
"model" "zombie_vending_sleight"
|
||||
"classname" "script_struct"
|
||||
|
@ -152,65 +152,7 @@ struct_init()
|
||||
|
||||
precache()
|
||||
{
|
||||
precachemodel("zm_collision_buried_street_grief");
|
||||
precachemodel("p6_zm_bu_buildable_bench_tarp");
|
||||
level.chalk_buildable_pieces_hide = 1;
|
||||
griefbuildables = array("chalk", "turbine", "springpad_zm", "subwoofer_zm");
|
||||
maps\mp\zm_buried_buildables::include_buildables(griefbuildables);
|
||||
maps\mp\zm_buried_buildables::init_buildables(griefbuildables);
|
||||
maps\mp\zombies\_zm_equip_turbine::init();
|
||||
maps\mp\zombies\_zm_equip_turbine::init_animtree();
|
||||
maps\mp\zombies\_zm_equip_springpad::init(&"ZM_BURIED_EQ_SP_PHS", &"ZM_BURIED_EQ_SP_HTS");
|
||||
maps\mp\zombies\_zm_equip_subwoofer::init(&"ZM_BURIED_EQ_SW_PHS", &"ZM_BURIED_EQ_SW_HTS");
|
||||
maps\mp\zm_buried_fountain::init_fountain();
|
||||
|
||||
setdvar("disableLookAtEntityLogic", 1);
|
||||
|
||||
start_chest_zbarrier = getEnt("start_chest_zbarrier", "script_noteworthy");
|
||||
start_chest_zbarrier.origin = (4127.04, 1271.74, 17);
|
||||
start_chest_zbarrier.angles = (0, 270, 0);
|
||||
start_chest = spawnStruct();
|
||||
start_chest.origin = start_chest_zbarrier.origin;
|
||||
start_chest.angles = start_chest_zbarrier.angles;
|
||||
start_chest.script_noteworthy = "start_chest";
|
||||
start_chest.zombie_cost = 950;
|
||||
collision = spawn("script_model", start_chest_zbarrier.origin, 1);
|
||||
collision.angles = start_chest_zbarrier.angles;
|
||||
collision setmodel("collision_clip_32x32x128");
|
||||
collision disconnectpaths();
|
||||
collision = spawn("script_model", start_chest_zbarrier.origin - (0, 32, 0), 1);
|
||||
collision.angles = start_chest_zbarrier.angles;
|
||||
collision setmodel("collision_clip_32x32x128");
|
||||
collision disconnectpaths();
|
||||
collision = spawn("script_model", start_chest_zbarrier.origin + (0, 32, 0), 1);
|
||||
collision.angles = start_chest_zbarrier.angles;
|
||||
collision setmodel("collision_clip_32x32x128");
|
||||
collision disconnectpaths();
|
||||
|
||||
start_chest2_zbarrier = getEnt("tunnels_chest1_zbarrier", "script_noteworthy");
|
||||
start_chest2_zbarrier.origin = (5605.74, 276.96, 17);
|
||||
start_chest2_zbarrier.angles = (0, 180, 0);
|
||||
start_chest2 = spawnStruct();
|
||||
start_chest2.origin = start_chest2_zbarrier.origin;
|
||||
start_chest2.angles = start_chest2_zbarrier.angles;
|
||||
start_chest2.script_noteworthy = "tunnels_chest1";
|
||||
start_chest2.zombie_cost = 950;
|
||||
collision = spawn("script_model", start_chest2_zbarrier.origin, 1);
|
||||
collision.angles = start_chest2_zbarrier.angles;
|
||||
collision setmodel("collision_clip_32x32x128");
|
||||
collision disconnectpaths();
|
||||
collision = spawn("script_model", start_chest2_zbarrier.origin - (32, 0, 0), 1);
|
||||
collision.angles = start_chest2_zbarrier.angles;
|
||||
collision setmodel("collision_clip_32x32x128");
|
||||
collision disconnectpaths();
|
||||
collision = spawn("script_model", start_chest2_zbarrier.origin + (32, 0, 0), 1);
|
||||
collision.angles = start_chest2_zbarrier.angles;
|
||||
collision setmodel("collision_clip_32x32x128");
|
||||
collision disconnectpaths();
|
||||
|
||||
level.chests = [];
|
||||
level.chests[0] = start_chest;
|
||||
level.chests[1] = start_chest2;
|
||||
}
|
||||
|
||||
main()
|
||||
@ -219,12 +161,13 @@ main()
|
||||
level.equipment_team_pick_up = 1;
|
||||
level thread maps\mp\zombies\_zm_buildables::think_buildables();
|
||||
maps\mp\gametypes_zm\_zm_gametype::setup_standard_objects("street");
|
||||
maps\mp\zombies\_zm_magicbox::treasure_chest_init(random(array("start_chest", "tunnels_chest1")));
|
||||
maze_treasure_chest_init();
|
||||
deleteslothbarricades();
|
||||
powerswitchstate(1);
|
||||
|
||||
flag_set("mansion_door1");
|
||||
level.zones["zone_mansion"].is_enabled = 0;
|
||||
maps\mp\zm_buried_fountain::init_fountain();
|
||||
maps\mp\zombies\_zm::spawn_kill_brush((4919, 575, -511), 128, 300);
|
||||
init_wallbuys();
|
||||
init_barriers();
|
||||
@ -232,6 +175,17 @@ main()
|
||||
scripts\zm\locs\loc_common::init();
|
||||
}
|
||||
|
||||
maze_treasure_chest_init()
|
||||
{
|
||||
maze_chest1 = getstruct("maze_chest1", "script_noteworthy");
|
||||
maze_chest2 = getstruct("maze_chest2", "script_noteworthy");
|
||||
setdvar("disableLookAtEntityLogic", 1);
|
||||
level.chests = [];
|
||||
level.chests[level.chests.size] = maze_chest1;
|
||||
level.chests[level.chests.size] = maze_chest2;
|
||||
maps\mp\zombies\_zm_magicbox::treasure_chest_init(random(array("maze_chest1", "maze_chest2")));
|
||||
}
|
||||
|
||||
init_wallbuys()
|
||||
{
|
||||
og_weapon_structs = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user