Checked 2 zm_buried_patch scripts.

Moved both zm_buried_gamemodes.gsc and zm_buried_turned_street.gsc to No Known Errors.
This commit is contained in:
JezuzLizard 2021-02-07 05:03:37 -08:00
parent c54829744d
commit b1df33a2a9
3 changed files with 19 additions and 17 deletions

View File

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

View File

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

View File

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