mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 23:27:57 -05:00
MOTD: Quest changes
This commit is contained in:
@ -460,6 +460,7 @@
|
||||
* Removed NAV cards on HUD
|
||||
|
||||
## Maps
|
||||
* All quests can be completed with any amount of players
|
||||
|
||||
### Tranzit
|
||||
* Any door that requires a Turbine to open is automatically open whenever the power is on
|
||||
@ -565,6 +566,11 @@
|
||||
* Players no longer respawn in the Acid Trap
|
||||
* Zombies spawn in the Docks zone when in the Docks Gates zone
|
||||
* Zombies spawn in the Docks Gates zone when in the Docks zone
|
||||
* Quest: number pad only needs each number to be shocked once in order to complete
|
||||
* Quest: can enter the plane in afterlife with any amount of players
|
||||
* Quest: can enter the plane in afterlife without Weasel
|
||||
* Quest: if Weasel is the only player in the game, the cycle breaks immediately after reviving yourself on the Golden Gate Bridge
|
||||
* Quest: if Weasel is not in the game, the cycle continues immediately immediately after everyone revives themselves on the Golden Gate Bridge
|
||||
* Grief: added Smoke Grenades to the Mystery Box
|
||||
* Grief: added Richtofen's Head meat powerup model
|
||||
* Grief: Tower Trap targets and stuns players
|
||||
|
130
scripts/zm/replaced/zm_prison_sq_final.gsc
Normal file
130
scripts/zm/replaced/zm_prison_sq_final.gsc
Normal file
@ -0,0 +1,130 @@
|
||||
#include common_scripts\utility;
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\zombies\_zm_utility;
|
||||
#include maps\mp\zombies\_zm_net;
|
||||
#include maps\mp\gametypes_zm\_hud_util;
|
||||
#include maps\mp\gametypes_zm\_hud;
|
||||
#include maps\mp\zm_alcatraz_utility;
|
||||
#include maps\mp\zm_alcatraz_sq_nixie;
|
||||
#include maps\mp\_visionset_mgr;
|
||||
#include maps\mp\zombies\_zm_laststand;
|
||||
#include maps\mp\zombies\_zm_audio;
|
||||
#include maps\mp\zm_alcatraz_sq;
|
||||
#include maps\mp\zombies\_zm_afterlife;
|
||||
#include maps\mp\zombies\_zm_ai_brutus;
|
||||
#include maps\mp\zombies\_zm_stats;
|
||||
#include maps\mp\zombies\_zm;
|
||||
#include maps\mp\zm_prison_sq_final;
|
||||
|
||||
stage_one()
|
||||
{
|
||||
if ( isdefined( level.gamedifficulty ) && level.gamedifficulty == 0 )
|
||||
{
|
||||
sq_final_easy_cleanup();
|
||||
return;
|
||||
}
|
||||
|
||||
precachemodel( "p6_zm_al_audio_headset_icon" );
|
||||
flag_wait( "quest_completed_thrice" );
|
||||
flag_wait( "spoon_obtained" );
|
||||
flag_wait( "warden_blundergat_obtained" );
|
||||
|
||||
for ( i = 1; i < 4; i++ )
|
||||
{
|
||||
m_nixie_tube = getent( "nixie_tube_" + i, "targetname" );
|
||||
m_nixie_tube thread nixie_tube_scramble_protected_effects( i );
|
||||
}
|
||||
|
||||
level waittill_multiple( "nixie_tube_trigger_1", "nixie_tube_trigger_2", "nixie_tube_trigger_3" );
|
||||
nixie_tube_off();
|
||||
|
||||
m_nixie_tube = getent( "nixie_tube_1", "targetname" );
|
||||
m_nixie_tube playsoundwithnotify( "vox_brutus_nixie_right_0", "scary_voice" );
|
||||
|
||||
m_nixie_tube waittill( "scary_voice" );
|
||||
|
||||
wait 3;
|
||||
level thread stage_two();
|
||||
}
|
||||
|
||||
stage_two()
|
||||
{
|
||||
audio_logs = [];
|
||||
audio_logs[0] = [];
|
||||
audio_logs[0][0] = "vox_guar_tour_vo_1_0";
|
||||
audio_logs[0][1] = "vox_guar_tour_vo_2_0";
|
||||
audio_logs[0][2] = "vox_guar_tour_vo_3_0";
|
||||
audio_logs[2] = [];
|
||||
audio_logs[2][0] = "vox_guar_tour_vo_4_0";
|
||||
audio_logs[3] = [];
|
||||
audio_logs[3][0] = "vox_guar_tour_vo_5_0";
|
||||
audio_logs[3][1] = "vox_guar_tour_vo_6_0";
|
||||
audio_logs[4] = [];
|
||||
audio_logs[4][0] = "vox_guar_tour_vo_7_0";
|
||||
audio_logs[5] = [];
|
||||
audio_logs[5][0] = "vox_guar_tour_vo_8_0";
|
||||
audio_logs[6] = [];
|
||||
audio_logs[6][0] = "vox_guar_tour_vo_9_0";
|
||||
audio_logs[6][1] = "vox_guar_tour_vo_10_0";
|
||||
play_sq_audio_log( 0, audio_logs[0], 0 );
|
||||
|
||||
for ( i = 2; i <= 6; i++ )
|
||||
play_sq_audio_log( i, audio_logs[i], 1 );
|
||||
|
||||
level.m_headphones delete();
|
||||
t_plane_fly_afterlife = getent( "plane_fly_afterlife_trigger", "script_noteworthy" );
|
||||
t_plane_fly_afterlife playsound( "zmb_easteregg_laugh" );
|
||||
t_plane_fly_afterlife trigger_on();
|
||||
}
|
||||
|
||||
final_flight_trigger()
|
||||
{
|
||||
t_plane_fly = getent( "plane_fly_trigger", "targetname" );
|
||||
self setcursorhint( "HINT_NOICON" );
|
||||
self sethintstring( "" );
|
||||
|
||||
while ( isdefined( self ) )
|
||||
{
|
||||
self waittill( "trigger", e_triggerer );
|
||||
|
||||
if ( isplayer( e_triggerer ) )
|
||||
{
|
||||
if ( isdefined( level.custom_plane_validation ) )
|
||||
{
|
||||
valid = self [[ level.custom_plane_validation ]]( e_triggerer );
|
||||
|
||||
if ( !valid )
|
||||
continue;
|
||||
}
|
||||
|
||||
players = getplayers();
|
||||
|
||||
b_everyone_is_ready = 1;
|
||||
|
||||
foreach ( player in players )
|
||||
{
|
||||
if ( !isdefined( player ) || player.sessionstate == "spectator" || player maps\mp\zombies\_zm_laststand::player_is_in_laststand() )
|
||||
b_everyone_is_ready = 0;
|
||||
}
|
||||
|
||||
if ( !b_everyone_is_ready )
|
||||
continue;
|
||||
|
||||
if ( flag( "plane_is_away" ) )
|
||||
continue;
|
||||
|
||||
flag_set( "plane_is_away" );
|
||||
t_plane_fly trigger_off();
|
||||
|
||||
foreach ( player in players )
|
||||
{
|
||||
if ( isdefined( player ) )
|
||||
{
|
||||
player thread final_flight_player_thread();
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
@ -12,6 +12,7 @@
|
||||
#include scripts\zm\replaced\zm_alcatraz_sq;
|
||||
#include scripts\zm\replaced\zm_alcatraz_traps;
|
||||
#include scripts\zm\replaced\zm_alcatraz_weap_quest;
|
||||
#include scripts\zm\replaced\zm_prison_sq_final;
|
||||
#include scripts\zm\replaced\_zm_afterlife;
|
||||
#include scripts\zm\replaced\_zm_ai_brutus;
|
||||
#include scripts\zm\replaced\_zm_craftables;
|
||||
@ -33,7 +34,9 @@ main()
|
||||
replaceFunc(maps\mp\zm_alcatraz_traps::player_acid_damage, scripts\zm\replaced\zm_alcatraz_traps::player_acid_damage);
|
||||
replaceFunc(maps\mp\zm_alcatraz_traps::tower_trap_trigger_think, scripts\zm\replaced\zm_alcatraz_traps::tower_trap_trigger_think);
|
||||
replaceFunc(maps\mp\zm_alcatraz_weap_quest::grief_soul_catcher_state_manager, scripts\zm\replaced\zm_alcatraz_weap_quest::grief_soul_catcher_state_manager);
|
||||
replaceFunc(maps\mp\zombies\_zm_afterlife::afterlife_add, scripts\zm\replaced\_zm_afterlife::afterlife_add);
|
||||
replaceFunc(maps\mp\zm_prison_sq_final::stage_one, scripts\zm\replaced\zm_prison_sq_final::stage_one);
|
||||
replaceFunc(maps\mp\zm_prison_sq_final::final_flight_trigger, scripts\zm\replaced\zm_prison_sq_final::final_flight_trigger);
|
||||
replaceFunc(maps\mp\zombies\_zm_afterlife::afterlife_add, scripts\zm\replaced\_zm_afterlife::afterlife_add);
|
||||
replaceFunc(maps\mp\zombies\_zm_afterlife::afterlife_laststand, scripts\zm\replaced\_zm_afterlife::afterlife_laststand);
|
||||
replaceFunc(maps\mp\zombies\_zm_afterlife::afterlife_revive_do_revive, scripts\zm\replaced\_zm_afterlife::afterlife_revive_do_revive);
|
||||
replaceFunc(maps\mp\zombies\_zm_ai_brutus::init, scripts\zm\replaced\_zm_ai_brutus::init);
|
||||
|
Reference in New Issue
Block a user