From 522a08ac035e84b587e86a9d074ce272fec26d26 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Sat, 18 Dec 2021 15:57:51 -0800 Subject: [PATCH] Buried: add collision at Jug corner --- README.md | 1 + scripts/zm/zm_buried/zm_buried_reimagined.gsc | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/README.md b/README.md index c546deb3..6ac6e842 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,7 @@ * Ghosts no longer spawn a free perk powerup if any player gets damaged by the ghosts * Fountain portal automatically active * Navcard table automatically crafted +* Players can no longer get into the corner next to Juggernog #### Borough * Tunnels disabled diff --git a/scripts/zm/zm_buried/zm_buried_reimagined.gsc b/scripts/zm/zm_buried/zm_buried_reimagined.gsc index a489e338..ceb76e0a 100644 --- a/scripts/zm/zm_buried/zm_buried_reimagined.gsc +++ b/scripts/zm/zm_buried/zm_buried_reimagined.gsc @@ -6,5 +6,21 @@ main() { + precachemodel( "collision_wall_128x128x10_standard" ); + //replaceFunc(maps/mp/zombies/_zm_equip_subwoofer::startsubwooferdecay, scripts/zm/replaced/_zm_equip_subwoofer::startsubwooferdecay); +} + +init() +{ + add_jug_collision(); +} + +add_jug_collision() +{ + origin = (-664, 1050, 8); + angles = ( 0, 0, 0 ); + collision = spawn( "script_model", origin + anglesToUp(angles) * 64 ); + collision.angles = angles; + collision setmodel( "collision_wall_128x128x10_standard" ); } \ No newline at end of file