mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-19 03:28:38 -05:00
Grief: meat powerup able to drop when players are down
This commit is contained in:
@ -258,6 +258,7 @@
|
|||||||
* Added kill feed (includes downs, revives, and bleedouts)
|
* Added kill feed (includes downs, revives, and bleedouts)
|
||||||
* Added player kills on scoreboard
|
* Added player kills on scoreboard
|
||||||
* Added player downed and bled out icons on scoreboard
|
* Added player downed and bled out icons on scoreboard
|
||||||
|
* Meat powerup is able to drop when players are down
|
||||||
* Announcer audio always plays
|
* Announcer audio always plays
|
||||||
* Last player alive audio only plays for the player who is alive instead of every player on the team
|
* Last player alive audio only plays for the player who is alive instead of every player on the team
|
||||||
* Enemies remaining audio and text displays when enemy players down instead of when enemy players bleed out
|
* Enemies remaining audio and text displays when enemy players down instead of when enemy players bleed out
|
||||||
|
@ -149,6 +149,7 @@ set_grief_vars()
|
|||||||
level.zombie_vars["zombie_health_increase"] = 0;
|
level.zombie_vars["zombie_health_increase"] = 0;
|
||||||
level.zombie_vars["zombie_health_increase_multiplier"] = 0;
|
level.zombie_vars["zombie_health_increase_multiplier"] = 0;
|
||||||
level.zombie_vars["zombie_spawn_delay"] = 0.5;
|
level.zombie_vars["zombie_spawn_delay"] = 0.5;
|
||||||
|
level.zombie_powerups["meat_stink"].func_should_drop_with_regular_powerups = ::func_should_drop_meat;
|
||||||
level.brutus_health = 20000;
|
level.brutus_health = 20000;
|
||||||
level.brutus_expl_dmg_req = 12000;
|
level.brutus_expl_dmg_req = 12000;
|
||||||
level.global_damage_func = ::zombie_damage;
|
level.global_damage_func = ::zombie_damage;
|
||||||
@ -1594,6 +1595,25 @@ handle_post_board_repair_rewards( cost, zbarrier )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func_should_drop_meat()
|
||||||
|
{
|
||||||
|
players = get_players();
|
||||||
|
foreach(player in players)
|
||||||
|
{
|
||||||
|
if(player getCurrentWeapon() == "meat_zm")
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isDefined(level.item_meat) || is_true(level.meat_on_ground))
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
borough_move_quickrevive_machine()
|
borough_move_quickrevive_machine()
|
||||||
{
|
{
|
||||||
if (level.scr_zm_map_start_location != "street")
|
if (level.scr_zm_map_start_location != "street")
|
||||||
|
Reference in New Issue
Block a user