mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 23:57:59 -05:00
Maze: adjust wallbuy locations
Maze: replace M16 with AN94
This commit is contained in:
@ -506,7 +506,7 @@
|
||||
|
||||
#### Maze
|
||||
* Added Grief game mode
|
||||
* Wallbuys: M14, Olympia, B23R, MP5, PDW, M16
|
||||
* Wallbuys: M14, Olympia, B23R, MP5, PDW, AN94
|
||||
* Perks: Juggernog, Quick Revive, Speed Cola, Double Tap, Stamin-Up, Mule Kick
|
||||
* Pack-a-Punch
|
||||
* Perk and wallbuy locations within the maze are randomized each game
|
||||
|
@ -190,11 +190,17 @@ init_wallbuys()
|
||||
{
|
||||
if (isDefined(struct.script_noteworthy) && isSubStr(struct.script_noteworthy, "maze"))
|
||||
{
|
||||
struct.origin += anglesToRight(struct.angles) * 32;
|
||||
og_weapon_structs[og_weapon_structs.size] = struct;
|
||||
}
|
||||
}
|
||||
|
||||
og_weapon_structs[0].origin += anglesToRight(og_weapon_structs[0].angles) * 28;
|
||||
og_weapon_structs[1].origin += anglesToRight(og_weapon_structs[1].angles) * 50;
|
||||
og_weapon_structs[2].origin += anglesToRight(og_weapon_structs[2].angles) * -18;
|
||||
og_weapon_structs[3].origin += anglesToRight(og_weapon_structs[3].angles) * 46;
|
||||
og_weapon_structs[4].origin += anglesToRight(og_weapon_structs[4].angles) * 33;
|
||||
og_weapon_structs[5].origin += anglesToRight(og_weapon_structs[5].angles) * 36;
|
||||
|
||||
og_weapon_structs = array_randomize(og_weapon_structs);
|
||||
|
||||
scripts\zm\replaced\utility::wallbuy( "m14_zm", "m14", "weapon_upgrade", og_weapon_structs[0].origin, og_weapon_structs[0].angles );
|
||||
@ -202,7 +208,7 @@ init_wallbuys()
|
||||
scripts\zm\replaced\utility::wallbuy( "beretta93r_zm", "beretta93r", "weapon_upgrade", og_weapon_structs[2].origin, og_weapon_structs[2].angles );
|
||||
scripts\zm\replaced\utility::wallbuy( "mp5k_zm", "mp5", "weapon_upgrade", og_weapon_structs[3].origin, og_weapon_structs[3].angles );
|
||||
scripts\zm\replaced\utility::wallbuy( "pdw57_zm", "pdw57", "weapon_upgrade", og_weapon_structs[4].origin, og_weapon_structs[4].angles );
|
||||
scripts\zm\replaced\utility::wallbuy( "m16_zm", "m16", "weapon_upgrade", og_weapon_structs[5].origin, og_weapon_structs[5].angles );
|
||||
scripts\zm\replaced\utility::wallbuy( "an94_zm", "an94", "weapon_upgrade", og_weapon_structs[5].origin, og_weapon_structs[5].angles );
|
||||
}
|
||||
|
||||
disable_player_spawn_locations()
|
||||
|
Reference in New Issue
Block a user