mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-25 22:50:28 -05:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
#include maps\mp\_utility;
|
|
#include common_scripts\utility;
|
|
#include maps\mp\zombies\_zm_utility;
|
|
|
|
#include scripts/zm/replaced/zm_transit;
|
|
#include scripts/zm/replaced/zm_transit_ffotd;
|
|
#include scripts/zm/replaced/_zm_weap_emp_bomb;
|
|
#include scripts/zm/replaced/_zm_equip_electrictrap;
|
|
#include scripts/zm/replaced/_zm_equip_turret;
|
|
|
|
main()
|
|
{
|
|
replaceFunc(maps/mp/zm_transit::lava_damage_depot, scripts/zm/replaced/zm_transit::lava_damage_depot);
|
|
replaceFunc(maps/mp/zm_transit_ffotd::main_end, scripts/zm/replaced/zm_transit_ffotd::main_end);
|
|
replaceFunc(maps/mp/zombies/_zm_weap_emp_bomb::emp_detonate, scripts/zm/replaced/_zm_weap_emp_bomb::emp_detonate);
|
|
replaceFunc(maps/mp/zombies/_zm_equip_electrictrap::startelectrictrapdeploy, scripts/zm/replaced/_zm_equip_electrictrap::startelectrictrapdeploy);
|
|
replaceFunc(maps/mp/zombies/_zm_equip_turret::startturretdeploy, scripts/zm/replaced/_zm_equip_turret::startturretdeploy);
|
|
}
|
|
|
|
init()
|
|
{
|
|
level.grenade_safe_to_bounce = ::grenade_safe_to_bounce;
|
|
}
|
|
|
|
grenade_safe_to_bounce( player, weapname )
|
|
{
|
|
if ( !is_offhand_weapon( weapname ) )
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
if ( self maps/mp/zm_transit_lava::object_touching_lava() )
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
return 1;
|
|
} |