mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-16 10:08:02 -05:00
Origins Quest (ascend from darkness step): three robots always active
This commit is contained in:
@ -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" );
|
||||
|
@ -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" ) )
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user