1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 07:37:56 -05:00

Tranzit: lava destroys grenades instantly

This commit is contained in:
Jbleezy
2021-12-20 22:05:19 -08:00
parent 98ab2efcba
commit aa07ca0f76
3 changed files with 20 additions and 1 deletions

View File

@ -189,8 +189,9 @@
## Maps
### Tranzit
* Lava in starting area activates after the power is on
* Any door that requires a Turbine to open is automatically open whenever the power is on
* Lava in starting area activates after the power is on
* Lava destroys grenades instantly
* Power switch automatically crafted
* Pack-a-Punch automatically crafted
* Navcard table automatically crafted

View File

@ -6,6 +6,7 @@
#include scripts/zm/replaced/_zm;
#include scripts/zm/replaced/_zm_playerhealth;
#include scripts/zm/replaced/_zm_utility;
#include scripts/zm/replaced/_zm_weapons;
#include scripts/zm/replaced/_zm_powerups;
#include scripts/zm/replaced/_zm_equipment;
#include scripts/zm/replaced/_zm_ai_basic;
@ -18,6 +19,7 @@ main()
replaceFunc(maps/mp/zombies/_zm_playerhealth::playerhealthregen, scripts/zm/replaced/_zm_playerhealth::playerhealthregen);
replaceFunc(maps/mp/zombies/_zm_utility::track_players_intersection_tracker, scripts/zm/replaced/_zm_utility::track_players_intersection_tracker);
replaceFunc(maps/mp/zombies/_zm_utility::is_headshot, scripts/zm/replaced/_zm_utility::is_headshot);
replaceFunc(maps/mp/zombies/_zm_weapons::makegrenadedudanddestroy, scripts/zm/replaced/_zm_weapons::makegrenadedudanddestroy);
replaceFunc(maps/mp/zombies/_zm_powerups::nuke_powerup, scripts/zm/replaced/_zm_powerups::nuke_powerup);
replaceFunc(maps/mp/zombies/_zm_equipment::placed_equipment_think, scripts/zm/replaced/_zm_equipment::placed_equipment_think);
replaceFunc(maps/mp/zombies/_zm_ai_basic::inert_wakeup, scripts/zm/replaced/_zm_ai_basic::inert_wakeup);

View File

@ -0,0 +1,16 @@
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\zombies\_zm_utility;
makegrenadedudanddestroy()
{
self endon( "death" );
self notify( "grenade_dud" );
self makegrenadedud();
if ( isDefined( self ) )
{
self delete();
}
}