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:
@ -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
|
||||
|
@ -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);
|
||||
|
16
scripts/zm/replaced/_zm_weapons.gsc
Normal file
16
scripts/zm/replaced/_zm_weapons.gsc
Normal 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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user