diff --git a/zm_buried_patch/maps/mp/zm_buried_gamemodes.gsc b/zm_buried_patch/maps/mp/zm_buried_gamemodes.gsc index 521378c..1dbc28a 100644 --- a/zm_buried_patch/maps/mp/zm_buried_gamemodes.gsc +++ b/zm_buried_patch/maps/mp/zm_buried_gamemodes.gsc @@ -15,12 +15,12 @@ init() //checked matches cerberus output { - add_map_gamemode( "zclassic", ::maps/mp/zm_buried::zclassic_preinit, undefined, undefined ); - add_map_gamemode( "zcleansed", ::maps/mp/zm_buried::zcleansed_preinit, undefined, undefined ); - add_map_gamemode( "zgrief", ::maps/mp/zm_buried::zgrief_preinit, undefined, undefined ); - add_map_location_gamemode( "zclassic", "processing", ::maps/mp/zm_buried_classic::precache, ::maps/mp/zm_buried_classic::main ); - add_map_location_gamemode( "zcleansed", "street", ::maps/mp/zm_buried_turned_street::precache, ::maps/mp/zm_buried_turned_street::main ); - add_map_location_gamemode( "zgrief", "street", ::maps/mp/zm_buried_grief_street::precache, ::maps/mp/zm_buried_grief_street::main ); + add_map_gamemode( "zclassic", maps/mp/zm_buried::zclassic_preinit, undefined, undefined ); + add_map_gamemode( "zcleansed", maps/mp/zm_buried::zcleansed_preinit, undefined, undefined ); + add_map_gamemode( "zgrief", maps/mp/zm_buried::zgrief_preinit, undefined, undefined ); + add_map_location_gamemode( "zclassic", "processing", maps/mp/zm_buried_classic::precache, maps/mp/zm_buried_classic::main ); + add_map_location_gamemode( "zcleansed", "street", maps/mp/zm_buried_turned_street::precache, maps/mp/zm_buried_turned_street::main ); + add_map_location_gamemode( "zgrief", "street", maps/mp/zm_buried_grief_street::precache, maps/mp/zm_buried_grief_street::main ); } deletechalktriggers() //checked matches cerberus output @@ -190,7 +190,7 @@ buildbuildable( buildable ) //checked changed to match cerberus output see compi wait_and_remove( stub, piece ) //checked matches cerberus output { - wait 0,1; + wait 0.1; self buildablestub_remove(); thread maps/mp/zombies/_zm_unitrigger::unregister_unitrigger( stub ); piece piece_unspawn(); diff --git a/zm_buried_patch/maps/mp/zm_buried_turned_street.gsc b/zm_buried_patch/maps/mp/zm_buried_turned_street.gsc index 7605876..dd9a7f2 100644 --- a/zm_buried_patch/maps/mp/zm_buried_turned_street.gsc +++ b/zm_buried_patch/maps/mp/zm_buried_turned_street.gsc @@ -1,21 +1,23 @@ +//checked includes changed to match cerberus output #include maps/mp/gametypes_zm/zcleansed; #include maps/mp/gametypes_zm/_zm_gametype; #include maps/mp/_visionset_mgr; +#include character/c_zom_zombie_buried_saloongirl_mp; #include maps/mp/zm_buried_gamemodes; #include maps/mp/zombies/_zm_utility; #include common_scripts/utility; #include maps/mp/_utility; -precache() +precache() //checked matches cerberus output { precachemodel( "zm_collision_buried_street_turned" ); precachemodel( "p6_zm_bu_buildable_bench_tarp" ); character/c_zom_zombie_buried_saloongirl_mp::precache(); precachemodel( "c_zom_buried_zombie_sgirl_viewhands" ); - maps/mp/_visionset_mgr::vsmgr_register_info( "overlay", "zm_transit_burn", 1, 21, 15, 1, ::maps/mp/_visionset_mgr::vsmgr_duration_lerp_thread_per_player, 0 ); + maps/mp/_visionset_mgr::vsmgr_register_info( "overlay", "zm_transit_burn", 1, 21, 15, 1, maps/mp/_visionset_mgr::vsmgr_duration_lerp_thread_per_player, 0 ); } -main() +main() //checked matches cerberus output { flag_init( "sloth_blocker_towneast" ); level.custom_zombie_player_loadout = ::custom_zombie_player_loadout; @@ -30,12 +32,12 @@ main() level.cleansed_loadout = getgametypesetting( "cleansedLoadout" ); if ( level.cleansed_loadout ) { - level.humanify_custom_loadout = ::maps/mp/gametypes_zm/zcleansed::gunprogressionthink; + level.humanify_custom_loadout = maps/mp/gametypes_zm/zcleansed::gunprogressionthink; level.cleansed_zombie_round = 5; } else { - level.humanify_custom_loadout = ::maps/mp/gametypes_zm/zcleansed::shotgunloadout; + level.humanify_custom_loadout = maps/mp/gametypes_zm/zcleansed::shotgunloadout; level.cleansed_zombie_round = 2; } spawnmapcollision( "zm_collision_buried_street_turned" ); @@ -45,13 +47,13 @@ main() clientnotify( "pwr" ); } -custom_zombie_player_loadout() +custom_zombie_player_loadout() //checked matches cerberus output { self character/c_zom_zombie_buried_saloongirl_mp::main(); self setviewmodel( "c_zom_buried_zombie_sgirl_viewhands" ); } -getspawnpoints() +getspawnpoints() //checked matches cerberus output { level._turned_zombie_spawners = getentarray( "game_mode_spawners", "targetname" ); level._turned_zombie_spawnpoints = getstructarray( "street_turned_zombie_spawn", "targetname" ); @@ -59,6 +61,6 @@ getspawnpoints() level._turned_powerup_spawnpoints = getstructarray( "street_turned_powerups", "targetname" ); } -onendgame() +onendgame() //checked matches cerberus output { } diff --git a/zm_buried_patch/readme.md b/zm_buried_patch/readme.md index a85358f..40da80d 100644 --- a/zm_buried_patch/readme.md +++ b/zm_buried_patch/readme.md @@ -1,5 +1,7 @@ ### The following gscs compile and run successfully with no known errors: ``` +zm_buried_patch/maps/mp/zm_buried_gamemodes.gsc +zm_buried_patch/maps/mp/zm_buried_grief_street.gsc zm_buried_patch/maps/mp/zm_buried_maze.gsc ``` ### The following scripts compile and run successfully with minor errors: @@ -21,8 +23,6 @@ zm_buried_patch/maps/mp/zombies/_zm_weap_slowgun.gsc ``` ### The following scripts have been checked, but they have not been tested yet ``` -zm_buried_patch/maps/mp/zm_buried_gamemodes.gsc -zm_buried_patch/maps/mp/zm_buried_grief_street.gsc zm_buried_patch/maps/mp/zm_buried_sq.gsc ```