mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-08 01:47:50 -05:00
added new files and completed the move
This commit is contained in:
parent
83e1febabc
commit
42ee304f4f
44
zm_nuked_patch/maps/mp/gametypes_zm/zstandard.gsc
Normal file
44
zm_nuked_patch/maps/mp/gametypes_zm/zstandard.gsc
Normal file
@ -0,0 +1,44 @@
|
||||
#include maps/mp/zombies/_zm;
|
||||
#include maps/mp/zombies/_zm_ai_dogs;
|
||||
#include maps/mp/zombies/_zm_stats;
|
||||
#include common_scripts/utility;
|
||||
#include maps/mp/gametypes_zm/_hud_util;
|
||||
#include maps/mp/_utility;
|
||||
|
||||
main() //checked matches cerberus ouput
|
||||
{
|
||||
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();
|
||||
}
|
||||
|
1613
zm_nuked_patch/maps/mp/zm_nuked.gsc
Normal file
1613
zm_nuked_patch/maps/mp/zm_nuked.gsc
Normal file
File diff suppressed because it is too large
Load Diff
13
zm_nuked_patch/readme.md
Normal file
13
zm_nuked_patch/readme.md
Normal file
@ -0,0 +1,13 @@
|
||||
### The following gscs compile and run successfully with no known errors:
|
||||
```
|
||||
zm_nuked_patch/maps/mp/gametypes_zm/zstandard.gsc
|
||||
```
|
||||
### The following scripts compile and run successfully with minor errors:
|
||||
|
||||
### The following scripts compile and run successfully with major errors:
|
||||
|
||||
### The following scripts compile and run serverside but clients cannot join due to exe_client_field_mismatch
|
||||
|
||||
### The following scripts compile but cause a minidump or other severe error:
|
||||
|
||||
### notes:
|
Loading…
x
Reference in New Issue
Block a user