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

Tranzit: zombies killed by the bus no longer respawn

This commit is contained in:
Jbleezy
2023-04-22 01:46:19 -07:00
parent f7b99e386b
commit 4d7a89ee3e
3 changed files with 17 additions and 0 deletions

View File

@ -518,6 +518,7 @@
* Lava destroys grenades instantly
* Decreased brightness at Power Station
* Power switch and Pack-a-Punch automatically crafted
* Zombies killed by the bus no longer respawn
* Zombies no longer spawn in the Prototype zone when in the Cornfield zone
* Zombies no longer spawn in the Cornfield zone when in the Prototype zone
* Zombies spawn in the Warehouse zone when in the Outside Power Station zone before the Warehouse door is opened

View File

@ -731,4 +731,19 @@ busupdateplayers()
wait 0.05;
}
}
busplowkillzombieuntildeath()
{
self endon( "death" );
while ( isdefined( self ) && isalive( self ) )
{
if ( isdefined( self.health ) )
{
self dodamage( self.health + 666, self.origin, self, self, "none", "MOD_SUICIDE" );
}
wait 1;
}
}

View File

@ -37,6 +37,7 @@ main()
replaceFunc(maps\mp\zm_transit_ai_screecher::player_wait_land, scripts\zm\replaced\zm_transit_ai_screecher::player_wait_land);
replaceFunc(maps\mp\zm_transit_bus::bussetup, scripts\zm\replaced\zm_transit_bus::bussetup);
replaceFunc(maps\mp\zm_transit_bus::busscheduleadd, scripts\zm\replaced\zm_transit_bus::busscheduleadd);
replaceFunc(maps\mp\zm_transit_bus::busplowkillzombieuntildeath, scripts\zm\replaced\zm_transit_bus::busplowkillzombieuntildeath);
replaceFunc(maps\mp\zm_transit_distance_tracking::delete_zombie_noone_looking, scripts\zm\replaced\zm_transit_distance_tracking::delete_zombie_noone_looking);
replaceFunc(maps\mp\zombies\_zm_ai_avogadro::check_range_attack, scripts\zm\replaced\_zm_ai_avogadro::check_range_attack);
replaceFunc(maps\mp\zombies\_zm_ai_avogadro::avogadro_exit, scripts\zm\replaced\_zm_ai_avogadro::avogadro_exit);