mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-07 17:37:50 -05:00
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:
parent
c54829744d
commit
b1df33a2a9
@ -15,12 +15,12 @@
|
|||||||
|
|
||||||
init() //checked matches cerberus output
|
init() //checked matches cerberus output
|
||||||
{
|
{
|
||||||
add_map_gamemode( "zclassic", ::maps/mp/zm_buried::zclassic_preinit, undefined, undefined );
|
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( "zcleansed", maps/mp/zm_buried::zcleansed_preinit, undefined, undefined );
|
||||||
add_map_gamemode( "zgrief", ::maps/mp/zm_buried::zgrief_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( "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( "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_location_gamemode( "zgrief", "street", maps/mp/zm_buried_grief_street::precache, maps/mp/zm_buried_grief_street::main );
|
||||||
}
|
}
|
||||||
|
|
||||||
deletechalktriggers() //checked matches cerberus output
|
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_and_remove( stub, piece ) //checked matches cerberus output
|
||||||
{
|
{
|
||||||
wait 0,1;
|
wait 0.1;
|
||||||
self buildablestub_remove();
|
self buildablestub_remove();
|
||||||
thread maps/mp/zombies/_zm_unitrigger::unregister_unitrigger( stub );
|
thread maps/mp/zombies/_zm_unitrigger::unregister_unitrigger( stub );
|
||||||
piece piece_unspawn();
|
piece piece_unspawn();
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
|
//checked includes changed to match cerberus output
|
||||||
#include maps/mp/gametypes_zm/zcleansed;
|
#include maps/mp/gametypes_zm/zcleansed;
|
||||||
#include maps/mp/gametypes_zm/_zm_gametype;
|
#include maps/mp/gametypes_zm/_zm_gametype;
|
||||||
#include maps/mp/_visionset_mgr;
|
#include maps/mp/_visionset_mgr;
|
||||||
|
#include character/c_zom_zombie_buried_saloongirl_mp;
|
||||||
#include maps/mp/zm_buried_gamemodes;
|
#include maps/mp/zm_buried_gamemodes;
|
||||||
#include maps/mp/zombies/_zm_utility;
|
#include maps/mp/zombies/_zm_utility;
|
||||||
#include common_scripts/utility;
|
#include common_scripts/utility;
|
||||||
#include maps/mp/_utility;
|
#include maps/mp/_utility;
|
||||||
|
|
||||||
precache()
|
precache() //checked matches cerberus output
|
||||||
{
|
{
|
||||||
precachemodel( "zm_collision_buried_street_turned" );
|
precachemodel( "zm_collision_buried_street_turned" );
|
||||||
precachemodel( "p6_zm_bu_buildable_bench_tarp" );
|
precachemodel( "p6_zm_bu_buildable_bench_tarp" );
|
||||||
character/c_zom_zombie_buried_saloongirl_mp::precache();
|
character/c_zom_zombie_buried_saloongirl_mp::precache();
|
||||||
precachemodel( "c_zom_buried_zombie_sgirl_viewhands" );
|
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" );
|
flag_init( "sloth_blocker_towneast" );
|
||||||
level.custom_zombie_player_loadout = ::custom_zombie_player_loadout;
|
level.custom_zombie_player_loadout = ::custom_zombie_player_loadout;
|
||||||
@ -30,12 +32,12 @@ main()
|
|||||||
level.cleansed_loadout = getgametypesetting( "cleansedLoadout" );
|
level.cleansed_loadout = getgametypesetting( "cleansedLoadout" );
|
||||||
if ( level.cleansed_loadout )
|
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;
|
level.cleansed_zombie_round = 5;
|
||||||
}
|
}
|
||||||
else
|
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;
|
level.cleansed_zombie_round = 2;
|
||||||
}
|
}
|
||||||
spawnmapcollision( "zm_collision_buried_street_turned" );
|
spawnmapcollision( "zm_collision_buried_street_turned" );
|
||||||
@ -45,13 +47,13 @@ main()
|
|||||||
clientnotify( "pwr" );
|
clientnotify( "pwr" );
|
||||||
}
|
}
|
||||||
|
|
||||||
custom_zombie_player_loadout()
|
custom_zombie_player_loadout() //checked matches cerberus output
|
||||||
{
|
{
|
||||||
self character/c_zom_zombie_buried_saloongirl_mp::main();
|
self character/c_zom_zombie_buried_saloongirl_mp::main();
|
||||||
self setviewmodel( "c_zom_buried_zombie_sgirl_viewhands" );
|
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_spawners = getentarray( "game_mode_spawners", "targetname" );
|
||||||
level._turned_zombie_spawnpoints = getstructarray( "street_turned_zombie_spawn", "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" );
|
level._turned_powerup_spawnpoints = getstructarray( "street_turned_powerups", "targetname" );
|
||||||
}
|
}
|
||||||
|
|
||||||
onendgame()
|
onendgame() //checked matches cerberus output
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
### The following gscs compile and run successfully with no known errors:
|
### 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
|
zm_buried_patch/maps/mp/zm_buried_maze.gsc
|
||||||
```
|
```
|
||||||
### The following scripts compile and run successfully with minor errors:
|
### 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
|
### 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
|
zm_buried_patch/maps/mp/zm_buried_sq.gsc
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user