diff --git a/README.md b/README.md index deb698a5..3e0d9c5e 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ ### Denizens * Changed max amount that can be spawned at once from 2 total to 1 per player in the fog * Changed spawn rate to 5 seconds (normally same spawn rate as zombies) +* Decreased health from 200 to 150 * Decreased number of melees to kill from 5 to 3 * Decreased number of melees to kill with Bowie Knife from 3 to 2 * Decreased number of melees to kill with Galvaknuckles from 2 to 1 diff --git a/scripts/zm/replaced/zm_transit_ai_screecher.gsc b/scripts/zm/replaced/zm_transit_ai_screecher.gsc index ddbd6c92..cef1c206 100644 --- a/scripts/zm/replaced/zm_transit_ai_screecher.gsc +++ b/scripts/zm/replaced/zm_transit_ai_screecher.gsc @@ -10,6 +10,35 @@ #include maps\mp\zm_transit; #include maps\mp\zm_transit_ai_screecher; +init() +{ + level.screecher_should_burrow = ::screecher_should_burrow; + level.screecher_should_runaway = ::screecher_should_runaway; + level.screecher_cleanup = ::transit_screecher_cleanup; + level.screecher_init_done = ::screecher_init_done; + level.portals = []; +} + +screecher_init_done() +{ + self endon( "death" ); + + self.maxhealth = 150; + self.health = self.maxhealth; + + while ( true ) + { + ground_ent = self getgroundent(); + + if ( isdefined( ground_ent ) && ground_ent == level.the_bus ) + { + self dodamage( self.health + 666, self.origin ); + } + + wait 0.1; + } +} + player_wait_land() { self endon( "disconnect" ); diff --git a/scripts/zm/zm_transit/zm_transit_reimagined.gsc b/scripts/zm/zm_transit/zm_transit_reimagined.gsc index ea1e4196..273b408a 100644 --- a/scripts/zm/zm_transit/zm_transit_reimagined.gsc +++ b/scripts/zm/zm_transit/zm_transit_reimagined.gsc @@ -36,6 +36,7 @@ main() replaceFunc(maps\mp\zm_transit_gamemodes::init, scripts\zm\replaced\zm_transit_gamemodes::init); replaceFunc(maps\mp\zm_transit_classic::inert_zombies_init, scripts\zm\replaced\zm_transit_classic::inert_zombies_init); replaceFunc(maps\mp\zm_transit_utility::solo_tombstone_removal, scripts\zm\replaced\zm_transit_utility::solo_tombstone_removal); + replaceFunc(maps\mp\zm_transit_ai_screecher::init, scripts\zm\replaced\zm_transit_ai_screecher::init); 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);