From 361fe788ef46d677024f974eebfbefa6549b45ce Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Wed, 22 Mar 2023 18:53:38 -0700 Subject: [PATCH] Tranzit: add collision to Cornfield area that is out of map --- README.md | 1 + scripts/zm/zm_transit/zm_transit_reimagined.gsc | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index b5df4ee3..85768519 100644 --- a/README.md +++ b/README.md @@ -404,6 +404,7 @@ * Zombies spawn in the Warehouse zone when in the Fog After Power Station zone * Survival & Grief: power doors are buyable doors * Grief: added Ballistic Knife, Ray Gun, and Ray Gun Mark 2 to the Mystery Box +* Added collision to area at Cornfield that was considered out of the map * Fixed zombie pathing at Cornfield behind the tower * Fixed a zombie riser spawn point at Outside Power Station being too high above ground * Fixed a zombie pathing exploit at Town in Bookstore diff --git a/scripts/zm/zm_transit/zm_transit_reimagined.gsc b/scripts/zm/zm_transit/zm_transit_reimagined.gsc index a76bef5b..39f2f95d 100644 --- a/scripts/zm/zm_transit/zm_transit_reimagined.gsc +++ b/scripts/zm/zm_transit/zm_transit_reimagined.gsc @@ -55,6 +55,7 @@ init() screecher_spawner_changes(); zombie_spawn_location_changes(); + cornfield_add_collision(); cornfield_spawn_path_nodes(); path_exploit_fixes(); @@ -244,6 +245,13 @@ zombie_spawn_location_changes() } } +cornfield_add_collision() +{ + model = spawn( "script_model", (10536, -595, -145)); + model.angles = (0, -35, 0); + model setmodel("collision_clip_wall_128x128x10"); +} + cornfield_spawn_path_nodes() { new_origins = array((7040, -256, -196), (7040, -384, -196), (7040, -512, -196), (7040, -640, -196), (7040, -768, -196), (7168, -256, -196), (7168, -384, -196), (7168, -512, -196), (7168, -640, -196), (7168, -768, -196));