1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 07:37:56 -05:00

Origins Quest (ascend from darkness step): three robots always active

This commit is contained in:
Jbleezy
2023-03-31 18:53:23 -07:00
parent 129083758f
commit 19a0dfab3b
4 changed files with 38 additions and 3 deletions

View File

@ -588,8 +588,9 @@
* Perk bottle dig spots: visible and diggable without Zombie Blood
* Perk bottle dig spots: increased number of rounds for next dig spot to spawn from 1 to 4
* Quest (ascend from darkness step): staffs can be placed at any staff holder
* Quest (ascend from darkness step): three robots always active during step
* Quest (ascend from darkness step): fixed an issue where staffs were able to be picked up at their build location when placed in the staff holders
* Quest (rain fire step): button no longer deactivates
* Quest (rain fire step): button no longer deactivates after activating
* Quest (raise hell step): all staffs must be fully charged for souls to be collected
* Quest (raise hell step): zombies in The Crazy Place get knocked down during the screen flash after collecting all souls
* Quest (freedom step): teleport trigger can be triggered without looking at it

View File

@ -6,6 +6,40 @@
#include maps\mp\zombies\_zm_unitrigger;
#include maps\mp\zm_tomb_ee_main_step_3;
ready_to_activate( unitrigger_stub )
{
self endon( "death" );
self playsoundwithnotify( "vox_maxi_robot_sync_0", "sync_done" );
self waittill( "sync_done" );
wait 0.5;
self playsoundwithnotify( "vox_maxi_robot_await_0", "ready_to_use" );
self waittill( "ready_to_use" );
maps\mp\zombies\_zm_unitrigger::register_static_unitrigger( unitrigger_stub, ::activate_fire_link );
}
activate_fire_link()
{
self endon( "kill_trigger" );
while ( true )
{
self waittill( "trigger", player );
self playsound( "zmb_squest_robot_button" );
level thread fire_link_cooldown( self );
self playsound( "zmb_squest_robot_button_activate" );
self playloopsound( "zmb_squest_robot_button_timer", 0.5 );
flag_waitopen( "fire_link_enabled" );
self stoploopsound( 0.5 );
self playsound( "zmb_squest_robot_button_deactivate" );
}
}
fire_link_cooldown( t_button )
{
level notify( "fire_link_cooldown" );

View File

@ -35,7 +35,7 @@ robot_cycling()
if ( !( level.round_number % 4 ) && three_robot_round != level.round_number )
flag_set( "three_robot_round" );
if ( flag( "ee_all_staffs_placed" ) && !flag( "ee_mech_zombie_hole_opened" ) )
if ( flag( "ee_all_staffs_upgraded" ) && !flag( "ee_mech_zombie_hole_opened" ) )
flag_set( "three_robot_round" );
if ( flag( "three_robot_round" ) )

View File

@ -43,7 +43,7 @@ main()
replaceFunc(maps\mp\zm_tomb_ee_main::all_staffs_inserted_in_puzzle_room, scripts\zm\replaced\zm_tomb_ee_main::all_staffs_inserted_in_puzzle_room);
replaceFunc(maps\mp\zm_tomb_ee_main_step_2::create_robot_head_trigger, scripts\zm\replaced\zm_tomb_ee_main_step_2::create_robot_head_trigger);
replaceFunc(maps\mp\zm_tomb_ee_main_step_2::remove_plinth, scripts\zm\replaced\zm_tomb_ee_main_step_2::remove_plinth);
replaceFunc(maps\mp\zm_tomb_ee_main_step_3::fire_link_cooldown, scripts\zm\replaced\zm_tomb_ee_main_step_3::fire_link_cooldown);
replaceFunc(maps\mp\zm_tomb_ee_main_step_3::ready_to_activate, scripts\zm\replaced\zm_tomb_ee_main_step_3::ready_to_activate);
replaceFunc(maps\mp\zm_tomb_ee_main_step_8::init, scripts\zm\replaced\zm_tomb_ee_main_step_8::init);
replaceFunc(maps\mp\zm_tomb_capture_zones::setup_capture_zones, scripts\zm\replaced\zm_tomb_capture_zones::setup_capture_zones);
replaceFunc(maps\mp\zm_tomb_challenges::challenges_init, scripts\zm\replaced\zm_tomb_challenges::challenges_init);