mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 07:37:56 -05:00
Borough: random Mystery Box start location
This commit is contained in:
@ -251,6 +251,7 @@
|
|||||||
#### Borough
|
#### Borough
|
||||||
* Tunnels disabled
|
* Tunnels disabled
|
||||||
* Players spawn at Stables
|
* Players spawn at Stables
|
||||||
|
* Mystery Box initially spawns at a random location
|
||||||
* Added B23R, M16, Claymore, and Bowie Knife wallbuys at their locations on Buried
|
* Added B23R, M16, Claymore, and Bowie Knife wallbuys at their locations on Buried
|
||||||
* Added PDW wallbuy at Morgue
|
* Added PDW wallbuy at Morgue
|
||||||
* Added SVU wallbuy at Church
|
* Added SVU wallbuy at Church
|
||||||
|
@ -41,17 +41,18 @@ street_treasure_chest_init()
|
|||||||
{
|
{
|
||||||
start_chest = getstruct( "start_chest", "script_noteworthy" );
|
start_chest = getstruct( "start_chest", "script_noteworthy" );
|
||||||
court_chest = getstruct( "courtroom_chest1", "script_noteworthy" );
|
court_chest = getstruct( "courtroom_chest1", "script_noteworthy" );
|
||||||
//tunnel_chest = getstruct( "tunnels_chest1", "script_noteworthy" );
|
|
||||||
jail_chest = getstruct( "jail_chest1", "script_noteworthy" );
|
jail_chest = getstruct( "jail_chest1", "script_noteworthy" );
|
||||||
gun_chest = getstruct( "gunshop_chest", "script_noteworthy" );
|
gun_chest = getstruct( "gunshop_chest", "script_noteworthy" );
|
||||||
setdvar( "disableLookAtEntityLogic", 1 );
|
setdvar( "disableLookAtEntityLogic", 1 );
|
||||||
level.chests = [];
|
level.chests = [];
|
||||||
level.chests[ level.chests.size ] = start_chest;
|
level.chests[ level.chests.size ] = start_chest;
|
||||||
level.chests[ level.chests.size ] = court_chest;
|
level.chests[ level.chests.size ] = court_chest;
|
||||||
//level.chests[ level.chests.size ] = tunnel_chest;
|
|
||||||
level.chests[ level.chests.size ] = jail_chest;
|
level.chests[ level.chests.size ] = jail_chest;
|
||||||
level.chests[ level.chests.size ] = gun_chest;
|
level.chests[ level.chests.size ] = gun_chest;
|
||||||
maps/mp/zombies/_zm_magicbox::treasure_chest_init( "start_chest" );
|
|
||||||
|
chest_names = array("start_chest", "courtroom_chest1", "jail_chest1", "gunshop_chest");
|
||||||
|
chest_name = random(chest_names);
|
||||||
|
maps/mp/zombies/_zm_magicbox::treasure_chest_init( chest_name );
|
||||||
}
|
}
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
Reference in New Issue
Block a user