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.
This commit is contained in:
JezuzLizard 2021-02-07 05:38:10 -08:00
parent e4f1b3350d
commit ed1f1f7b5c
8 changed files with 80 additions and 22 deletions

View File

@ -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 )

View File

@ -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

View File

@ -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();
}

View File

@ -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:

View File

@ -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 )

View File

@ -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

View File

@ -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 )

View File

@ -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