1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-23 05:30:41 -05:00

Meat powerup: decreased time on ground

This commit is contained in:
Jbleezy
2021-12-18 15:08:41 -08:00
parent 870b046496
commit cd7d26ee26
3 changed files with 26 additions and 0 deletions

View File

@ -145,6 +145,9 @@
### Nuke ### Nuke
* Kills all zombies instantly * Kills all zombies instantly
### Meat
* Decreased time on ground from 16 seconds to 10 seconds
## Persistent Upgrades ## Persistent Upgrades
* Removed * Removed

View File

@ -8,6 +8,7 @@
#include scripts/zm/replaced/_zm_audio_announcer; #include scripts/zm/replaced/_zm_audio_announcer;
#include scripts/zm/replaced/_zm_game_module; #include scripts/zm/replaced/_zm_game_module;
#include scripts/zm/replaced/_zm_blockers; #include scripts/zm/replaced/_zm_blockers;
#include scripts/zm/replaced/zgrief;
main() main()
{ {
@ -20,6 +21,7 @@ main()
replaceFunc(maps/mp/zombies/_zm_audio_announcer::playleaderdialogonplayer, scripts/zm/replaced/_zm_audio_announcer::playleaderdialogonplayer); replaceFunc(maps/mp/zombies/_zm_audio_announcer::playleaderdialogonplayer, scripts/zm/replaced/_zm_audio_announcer::playleaderdialogonplayer);
replaceFunc(maps/mp/zombies/_zm_game_module::wait_for_team_death_and_round_end, scripts/zm/replaced/_zm_game_module::wait_for_team_death_and_round_end); replaceFunc(maps/mp/zombies/_zm_game_module::wait_for_team_death_and_round_end, scripts/zm/replaced/_zm_game_module::wait_for_team_death_and_round_end);
replaceFunc(maps/mp/zombies/_zm_blockers::handle_post_board_repair_rewards, scripts/zm/replaced/_zm_blockers::handle_post_board_repair_rewards); replaceFunc(maps/mp/zombies/_zm_blockers::handle_post_board_repair_rewards, scripts/zm/replaced/_zm_blockers::handle_post_board_repair_rewards);
replaceFunc(maps/mp/gametypes_zm/zgrief::meat_stink_on_ground, scripts/zm/replaced/zgrief::meat_stink_on_ground);
} }
init() init()

View File

@ -0,0 +1,21 @@
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\zombies\_zm_utility;
meat_stink_on_ground(position_to_play)
{
level.meat_on_ground = 1;
attractor_point = spawn( "script_model", position_to_play );
attractor_point setmodel( "tag_origin" );
attractor_point playsound( "zmb_land_meat" );
wait 0.2;
playfxontag( level._effect[ "meat_stink_torso" ], attractor_point, "tag_origin" );
attractor_point playloopsound( "zmb_meat_flies" );
attractor_point create_zombie_point_of_interest( 1536, 32, 10000 );
attractor_point.attract_to_origin = 1;
attractor_point thread create_zombie_point_of_interest_attractor_positions( 4, 45 );
attractor_point thread maps/mp/zombies/_zm_weap_cymbal_monkey::wait_for_attractor_positions_complete();
attractor_point delay_thread( 10, ::self_delete );
wait 10;
level.meat_on_ground = undefined;
}