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:
@ -145,6 +145,9 @@
|
||||
### Nuke
|
||||
* Kills all zombies instantly
|
||||
|
||||
### Meat
|
||||
* Decreased time on ground from 16 seconds to 10 seconds
|
||||
|
||||
## Persistent Upgrades
|
||||
* Removed
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include scripts/zm/replaced/_zm_audio_announcer;
|
||||
#include scripts/zm/replaced/_zm_game_module;
|
||||
#include scripts/zm/replaced/_zm_blockers;
|
||||
#include scripts/zm/replaced/zgrief;
|
||||
|
||||
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_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/gametypes_zm/zgrief::meat_stink_on_ground, scripts/zm/replaced/zgrief::meat_stink_on_ground);
|
||||
}
|
||||
|
||||
init()
|
||||
|
21
scripts/zm/replaced/zgrief.gsc
Normal file
21
scripts/zm/replaced/zgrief.gsc
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user