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:
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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);
|
||||
|
Reference in New Issue
Block a user