1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-08 12:58:13 -05:00

Origins: change tank cooldown

This commit is contained in:
Jbleezy
2023-03-30 19:12:19 -07:00
parent b55cd63aea
commit 21a944327d
3 changed files with 16 additions and 2 deletions

View File

@ -562,16 +562,17 @@
### Origins
* Door prices in solo cost the same as in coop
* Players can go prone on the tank
* Shovels automatically picked up
* Records automatically picked up
* Gramophone initially spawns at Excavation Site gramophone table
* Musical parts no longer show on HUD
* Giant Robots: each robot has an openable foot when 3 robots are active
* Generators: increased capture reward points from 100 to 200
* Generators: always give back refund points if player was in the generator zone when captured
* Generators: recapture round zombies only drop Max Ammo if killed before taking first generator
* Generators: fixed an issue where recapture sound and fx would play twice
* Giant Robots: each robot has an openable foot when 3 robots are active
* Tank: players can go prone
* Tank: changed cooldown to 30 seconds (normally 2-120 seconds depending on how long players were on the tank)
* Teleporters: stay active after picking up gramophone
* Teleporters: placing gramophone activates The Crazy Place teleporters
* Teleporters: players face away from the teleporters when returning from The Crazy Place

View File

@ -55,4 +55,16 @@ players_on_tank_update()
wait 0.05;
}
}
wait_for_tank_cooldown()
{
self thread snd_fuel();
self.n_cooldown_timer = 30;
wait( self.n_cooldown_timer );
level notify( "stp_cd" );
self playsound( "zmb_tank_ready" );
self playloopsound( "zmb_tank_idle" );
}

View File

@ -46,6 +46,7 @@ main()
replaceFunc(maps\mp\zm_tomb_dig::increment_player_perk_purchase_limit, scripts\zm\replaced\zm_tomb_dig::increment_player_perk_purchase_limit);
replaceFunc(maps\mp\zm_tomb_giant_robot::robot_cycling, scripts\zm\replaced\zm_tomb_giant_robot::robot_cycling);
replaceFunc(maps\mp\zm_tomb_tank::players_on_tank_update, scripts\zm\replaced\zm_tomb_tank::players_on_tank_update);
replaceFunc(maps\mp\zm_tomb_tank::wait_for_tank_cooldown, scripts\zm\replaced\zm_tomb_tank::wait_for_tank_cooldown);
replaceFunc(maps\mp\zm_tomb_teleporter::teleporter_init, scripts\zm\replaced\zm_tomb_teleporter::teleporter_init);
replaceFunc(maps\mp\zombies\_zm_ai_mechz::mechz_set_starting_health, scripts\zm\replaced\_zm_ai_mechz::mechz_set_starting_health);
replaceFunc(maps\mp\zombies\_zm_craftables::choose_open_craftable, scripts\zm\replaced\_zm_craftables::choose_open_craftable);