From ed1f1f7b5c2c4b402068b0029c5432a1c54bdf34 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Sun, 7 Feb 2021 05:38:10 -0800 Subject: [PATCH] Checked maps/mp/gametypes_zm/zstandard.gsc for all maps. All maps used the same version of the gametype. All are in No Known Errors category now. --- .../maps/mp/gametypes_zm/zstandard.gsc | 14 +++--- zm_buried_patch/readme.md | 3 +- .../maps/mp/gametypes_zm/zstandard.gsc | 45 +++++++++++++++++++ zm_highrise_patch/readme.md | 2 + .../maps/mp/gametypes_zm/zstandard.gsc | 14 +++--- zm_prison_patch/readme.md | 4 +- .../maps/mp/gametypes_zm/zstandard.gsc | 14 +++--- zm_tomb_patch/readme.md | 6 ++- 8 files changed, 80 insertions(+), 22 deletions(-) create mode 100644 zm_highrise_patch/maps/mp/gametypes_zm/zstandard.gsc diff --git a/zm_buried_patch/maps/mp/gametypes_zm/zstandard.gsc b/zm_buried_patch/maps/mp/gametypes_zm/zstandard.gsc index 95e51ef..c380171 100644 --- a/zm_buried_patch/maps/mp/gametypes_zm/zstandard.gsc +++ b/zm_buried_patch/maps/mp/gametypes_zm/zstandard.gsc @@ -1,21 +1,23 @@ +//checked includes match cerberus output #include maps/mp/zombies/_zm; #include maps/mp/zombies/_zm_ai_dogs; #include maps/mp/zombies/_zm_stats; +#include maps/mp/gametypes_zm/_zm_gametype; #include common_scripts/utility; #include maps/mp/gametypes_zm/_hud_util; #include maps/mp/_utility; -main() +main() //checked matches cerberus output { maps/mp/gametypes_zm/_zm_gametype::main(); level.onprecachegametype = ::onprecachegametype; level.onstartgametype = ::onstartgametype; - level._game_module_custom_spawn_init_func = ::maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; - level._game_module_stat_update_func = ::maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; + level._game_module_custom_spawn_init_func = maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; + level._game_module_stat_update_func = maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; maps/mp/gametypes_zm/_zm_gametype::post_gametype_main( "zstandard" ); } -onprecachegametype() +onprecachegametype() //checked matches cerberus output { level.playersuicideallowed = 1; level.canplayersuicide = ::canplayersuicide; @@ -25,13 +27,13 @@ onprecachegametype() maps/mp/gametypes_zm/_zm_gametype::rungametypeprecache( "zstandard" ); } -onstartgametype() +onstartgametype() //checked matches cerberus output { maps/mp/gametypes_zm/_zm_gametype::setup_classic_gametype(); maps/mp/gametypes_zm/_zm_gametype::rungametypemain( "zstandard", ::zstandard_main ); } -zstandard_main() +zstandard_main() //checked matches cerberus output { level.dog_rounds_allowed = getgametypesetting( "allowdogs" ); if ( level.dog_rounds_allowed ) diff --git a/zm_buried_patch/readme.md b/zm_buried_patch/readme.md index 40da80d..f3098d5 100644 --- a/zm_buried_patch/readme.md +++ b/zm_buried_patch/readme.md @@ -3,6 +3,8 @@ 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 + +zm_buried_patch/maps/mp/gametypes_zm/zstandard.gsc ``` ### The following scripts compile and run successfully with minor errors: ``` @@ -55,7 +57,6 @@ zm_buried_patch/maps/mp/zm_buried_turned_street.gsc zm_buried_patch/maps/mp/gametypes_zm/zgrief.gsc zm_buried_patch/maps/mp/gametypes_zm/zmeat.gsc -zm_buried_patch/maps/mp/gametypes_zm/zstandard.gsc zm_buried_patch/maps/mp/teams/_teamset_cdc.gsc diff --git a/zm_highrise_patch/maps/mp/gametypes_zm/zstandard.gsc b/zm_highrise_patch/maps/mp/gametypes_zm/zstandard.gsc new file mode 100644 index 0000000..c380171 --- /dev/null +++ b/zm_highrise_patch/maps/mp/gametypes_zm/zstandard.gsc @@ -0,0 +1,45 @@ +//checked includes match cerberus output +#include maps/mp/zombies/_zm; +#include maps/mp/zombies/_zm_ai_dogs; +#include maps/mp/zombies/_zm_stats; +#include maps/mp/gametypes_zm/_zm_gametype; +#include common_scripts/utility; +#include maps/mp/gametypes_zm/_hud_util; +#include maps/mp/_utility; + +main() //checked matches cerberus output +{ + maps/mp/gametypes_zm/_zm_gametype::main(); + level.onprecachegametype = ::onprecachegametype; + level.onstartgametype = ::onstartgametype; + level._game_module_custom_spawn_init_func = maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; + level._game_module_stat_update_func = maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; + maps/mp/gametypes_zm/_zm_gametype::post_gametype_main( "zstandard" ); +} + +onprecachegametype() //checked matches cerberus output +{ + level.playersuicideallowed = 1; + level.canplayersuicide = ::canplayersuicide; + level.suicide_weapon = "death_self_zm"; + precacheitem( "death_self_zm" ); + maps/mp/zombies/_zm_ai_dogs::init(); + maps/mp/gametypes_zm/_zm_gametype::rungametypeprecache( "zstandard" ); +} + +onstartgametype() //checked matches cerberus output +{ + maps/mp/gametypes_zm/_zm_gametype::setup_classic_gametype(); + maps/mp/gametypes_zm/_zm_gametype::rungametypemain( "zstandard", ::zstandard_main ); +} + +zstandard_main() //checked matches cerberus output +{ + level.dog_rounds_allowed = getgametypesetting( "allowdogs" ); + if ( level.dog_rounds_allowed ) + { + maps/mp/zombies/_zm_ai_dogs::enable_dog_rounds(); + } + level thread maps/mp/zombies/_zm::round_start(); + level thread maps/mp/gametypes_zm/_zm_gametype::kill_all_zombies(); +} diff --git a/zm_highrise_patch/readme.md b/zm_highrise_patch/readme.md index ccdf1bc..6d26cf6 100644 --- a/zm_highrise_patch/readme.md +++ b/zm_highrise_patch/readme.md @@ -1,5 +1,7 @@ ### The following gscs compile and run successfully with no known errors: ``` +zm_highrise_patch/maps/mp/gametypes_zm/zstandard.gsc + ``` ### The following scripts compile and run successfully with minor errors: diff --git a/zm_prison_patch/maps/mp/gametypes_zm/zstandard.gsc b/zm_prison_patch/maps/mp/gametypes_zm/zstandard.gsc index 95e51ef..c380171 100644 --- a/zm_prison_patch/maps/mp/gametypes_zm/zstandard.gsc +++ b/zm_prison_patch/maps/mp/gametypes_zm/zstandard.gsc @@ -1,21 +1,23 @@ +//checked includes match cerberus output #include maps/mp/zombies/_zm; #include maps/mp/zombies/_zm_ai_dogs; #include maps/mp/zombies/_zm_stats; +#include maps/mp/gametypes_zm/_zm_gametype; #include common_scripts/utility; #include maps/mp/gametypes_zm/_hud_util; #include maps/mp/_utility; -main() +main() //checked matches cerberus output { maps/mp/gametypes_zm/_zm_gametype::main(); level.onprecachegametype = ::onprecachegametype; level.onstartgametype = ::onstartgametype; - level._game_module_custom_spawn_init_func = ::maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; - level._game_module_stat_update_func = ::maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; + level._game_module_custom_spawn_init_func = maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; + level._game_module_stat_update_func = maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; maps/mp/gametypes_zm/_zm_gametype::post_gametype_main( "zstandard" ); } -onprecachegametype() +onprecachegametype() //checked matches cerberus output { level.playersuicideallowed = 1; level.canplayersuicide = ::canplayersuicide; @@ -25,13 +27,13 @@ onprecachegametype() maps/mp/gametypes_zm/_zm_gametype::rungametypeprecache( "zstandard" ); } -onstartgametype() +onstartgametype() //checked matches cerberus output { maps/mp/gametypes_zm/_zm_gametype::setup_classic_gametype(); maps/mp/gametypes_zm/_zm_gametype::rungametypemain( "zstandard", ::zstandard_main ); } -zstandard_main() +zstandard_main() //checked matches cerberus output { level.dog_rounds_allowed = getgametypesetting( "allowdogs" ); if ( level.dog_rounds_allowed ) diff --git a/zm_prison_patch/readme.md b/zm_prison_patch/readme.md index c95be98..1373506 100644 --- a/zm_prison_patch/readme.md +++ b/zm_prison_patch/readme.md @@ -2,6 +2,9 @@ ``` zm_prison_patch/maps/mp/zm_alcatraz_classic.gsc zm_prison_patch/maps/mp/zm_prison.gsc + +zm_prison_patch/maps/mp/gametypes_zm/zstandard.gsc + zm_prison_patch/maps/mp/zombies/_zm_perk_divetonuke.gsc ``` ### The following scripts compile and run successfully with minor errors: @@ -51,7 +54,6 @@ zm_prison_patch/maps/mp/zm_prison_sq_wth.gsc zm_prison_patch/maps/mp/gametypes_zm/zgrief.gsc zm_prison_patch/maps/mp/gametypes_zm/zmeat.gsc -zm_prison_patch/maps/mp/gametypes_zm/zstandard.gsc zm_prison_patch/maps/mp/zombies/_zm_afterlife.gsc zm_prison_patch/maps/mp/zombies/_zm_ai_brutus.gsc diff --git a/zm_tomb_patch/maps/mp/gametypes_zm/zstandard.gsc b/zm_tomb_patch/maps/mp/gametypes_zm/zstandard.gsc index 95e51ef..c380171 100644 --- a/zm_tomb_patch/maps/mp/gametypes_zm/zstandard.gsc +++ b/zm_tomb_patch/maps/mp/gametypes_zm/zstandard.gsc @@ -1,21 +1,23 @@ +//checked includes match cerberus output #include maps/mp/zombies/_zm; #include maps/mp/zombies/_zm_ai_dogs; #include maps/mp/zombies/_zm_stats; +#include maps/mp/gametypes_zm/_zm_gametype; #include common_scripts/utility; #include maps/mp/gametypes_zm/_hud_util; #include maps/mp/_utility; -main() +main() //checked matches cerberus output { maps/mp/gametypes_zm/_zm_gametype::main(); level.onprecachegametype = ::onprecachegametype; level.onstartgametype = ::onstartgametype; - level._game_module_custom_spawn_init_func = ::maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; - level._game_module_stat_update_func = ::maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; + level._game_module_custom_spawn_init_func = maps/mp/gametypes_zm/_zm_gametype::custom_spawn_init_func; + level._game_module_stat_update_func = maps/mp/zombies/_zm_stats::survival_classic_custom_stat_update; maps/mp/gametypes_zm/_zm_gametype::post_gametype_main( "zstandard" ); } -onprecachegametype() +onprecachegametype() //checked matches cerberus output { level.playersuicideallowed = 1; level.canplayersuicide = ::canplayersuicide; @@ -25,13 +27,13 @@ onprecachegametype() maps/mp/gametypes_zm/_zm_gametype::rungametypeprecache( "zstandard" ); } -onstartgametype() +onstartgametype() //checked matches cerberus output { maps/mp/gametypes_zm/_zm_gametype::setup_classic_gametype(); maps/mp/gametypes_zm/_zm_gametype::rungametypemain( "zstandard", ::zstandard_main ); } -zstandard_main() +zstandard_main() //checked matches cerberus output { level.dog_rounds_allowed = getgametypesetting( "allowdogs" ); if ( level.dog_rounds_allowed ) diff --git a/zm_tomb_patch/readme.md b/zm_tomb_patch/readme.md index 1077a46..bf94205 100644 --- a/zm_tomb_patch/readme.md +++ b/zm_tomb_patch/readme.md @@ -1,8 +1,12 @@ ### The following gscs compile and run successfully with no known errors: ``` + zm_tomb_patch/maps/mp/zm_tomb.gsc zm_tomb_patch/maps/mp/zm_tomb_classic.gsc zm_tomb_patch/maps/mp/zm_tomb_dig.gsc + +zm_tomb_patch/maps/mp/gametypes_zm/zstandard.gsc + zm_tomb_patch/maps/mp/zombies/_zm_perk_random.gsc ``` ### The following scripts compile and run successfully with minor errors: @@ -56,8 +60,6 @@ zm_tomb_patch/maps/mp/zm_tomb_teleporter.gsc zm_tomb_patch/maps/mp/zm_tomb_utility.gsc zm_tomb_patch/maps/mp/zm_tomb_vo.gsc -zm_tomb_patch/maps/mp/gametypes_zm/zstandard.gsc - zm_tomb_patch/maps/mp/zombies/_zm_ai_mechz.gsc zm_tomb_patch/maps/mp/zombies/_zm_ai_mechz_booster.gsc zm_tomb_patch/maps/mp/zombies/_zm_ai_mechz_claw.gsc