mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-19 11:38:37 -05:00
Unpad brackets
This commit is contained in:
@ -19,7 +19,7 @@ struct_init()
|
||||
og_perk_structs = [];
|
||||
structs = getstructarray("zm_perk_machine", "targetname");
|
||||
|
||||
level.struct_class_names[ "targetname" ][ "zm_perk_machine" ] = [];
|
||||
level.struct_class_names["targetname"]["zm_perk_machine"] = [];
|
||||
|
||||
foreach (struct in structs)
|
||||
{
|
||||
@ -132,10 +132,10 @@ struct_init()
|
||||
}
|
||||
}
|
||||
|
||||
level.struct_class_names[ "script_noteworthy" ][ "initial_spawn" ] = initial_spawns;
|
||||
level.struct_class_names[ "targetname" ][ "player_respawn_point" ] = player_respawn_points;
|
||||
level.struct_class_names["script_noteworthy"]["initial_spawn"] = initial_spawns;
|
||||
level.struct_class_names["targetname"]["player_respawn_point"] = player_respawn_points;
|
||||
|
||||
level.struct_class_names[ "targetname" ][ "intermission" ] = [];
|
||||
level.struct_class_names["targetname"]["intermission"] = [];
|
||||
|
||||
intermission_cam = spawnStruct();
|
||||
intermission_cam.origin = (3694, 569, 253);
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
struct_init()
|
||||
{
|
||||
level.struct_class_names[ "targetname" ][ "zm_perk_machine" ] = [];
|
||||
level.struct_class_names["targetname"]["zm_perk_machine"] = [];
|
||||
|
||||
scripts\zm\replaced\utility::register_perk_struct("specialty_armorvest", "zombie_vending_jugg", (473.92, 6638.99, 208), (0, 102, 0));
|
||||
scripts\zm\replaced\utility::register_perk_struct("specialty_weapupgrade", "p6_zm_al_vending_pap_on", (-1769, 5395, -72), (0, 100, 0));
|
||||
|
||||
level.struct_class_names[ "script_noteworthy" ][ "initial_spawn" ] = [];
|
||||
level.struct_class_names["script_noteworthy"]["initial_spawn"] = [];
|
||||
|
||||
player_respawn_points = [];
|
||||
|
||||
@ -61,9 +61,9 @@ struct_init()
|
||||
}
|
||||
}
|
||||
|
||||
level.struct_class_names[ "targetname" ][ "player_respawn_point" ] = player_respawn_points;
|
||||
level.struct_class_names["targetname"]["player_respawn_point"] = player_respawn_points;
|
||||
|
||||
level.struct_class_names[ "targetname" ][ "intermission" ] = [];
|
||||
level.struct_class_names["targetname"]["intermission"] = [];
|
||||
|
||||
intermission_cam = spawnStruct();
|
||||
intermission_cam.origin = (402, 6197, 142);
|
||||
@ -175,7 +175,7 @@ disable_zombie_spawn_locations()
|
||||
{
|
||||
for (z = 0; z < level.zone_keys.size; z++)
|
||||
{
|
||||
zone = level.zones[ level.zone_keys[ z ] ];
|
||||
zone = level.zones[level.zone_keys[z]];
|
||||
|
||||
i = 0;
|
||||
|
||||
@ -248,15 +248,15 @@ turn_afterlife_interact_on()
|
||||
{
|
||||
if (!isDefined(level.shockbox_anim))
|
||||
{
|
||||
level.shockbox_anim[ "on" ] = %fxanim_zom_al_shock_box_on_anim;
|
||||
level.shockbox_anim[ "off" ] = %fxanim_zom_al_shock_box_off_anim;
|
||||
level.shockbox_anim["on"] = %fxanim_zom_al_shock_box_on_anim;
|
||||
level.shockbox_anim["off"] = %fxanim_zom_al_shock_box_off_anim;
|
||||
}
|
||||
|
||||
if (issubstr(self.model, "p6_zm_al_shock_box"))
|
||||
{
|
||||
self useanimtree(-1);
|
||||
self setmodel("p6_zm_al_shock_box_on");
|
||||
self setanim(level.shockbox_anim[ "on" ]);
|
||||
self setanim(level.shockbox_anim["on"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -235,12 +235,12 @@ disable_zombie_spawn_locations()
|
||||
{
|
||||
for (z = 0; z < level.zone_keys.size; z++)
|
||||
{
|
||||
if (level.zone_keys[ z ] != "zone_amb_cornfield")
|
||||
if (level.zone_keys[z] != "zone_amb_cornfield")
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
zone = level.zones[ level.zone_keys[ z ] ];
|
||||
zone = level.zones[level.zone_keys[z]];
|
||||
|
||||
i = 0;
|
||||
|
||||
|
@ -188,35 +188,35 @@ disable_zombie_spawn_locations()
|
||||
{
|
||||
for (z = 0; z < level.zone_keys.size; z++)
|
||||
{
|
||||
zone = level.zones[ level.zone_keys[ z ] ];
|
||||
zone = level.zones[level.zone_keys[z]];
|
||||
|
||||
i = 0;
|
||||
|
||||
while (i < zone.spawn_locations.size)
|
||||
{
|
||||
if (zone.spawn_locations[ i ].targetname == "zone_trans_diner_spawners")
|
||||
if (zone.spawn_locations[i].targetname == "zone_trans_diner_spawners")
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].targetname == "zone_trans_diner2_spawners")
|
||||
else if (zone.spawn_locations[i].targetname == "zone_trans_diner2_spawners")
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-3825, -6576, -52.7))
|
||||
else if (zone.spawn_locations[i].origin == (-3825, -6576, -52.7))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-5130, -6512, -35.4))
|
||||
else if (zone.spawn_locations[i].origin == (-5130, -6512, -35.4))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-6462, -7159, -64))
|
||||
else if (zone.spawn_locations[i].origin == (-6462, -7159, -64))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-6531, -6613, -54.4))
|
||||
else if (zone.spawn_locations[i].origin == (-6531, -6613, -54.4))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
|
||||
i++;
|
||||
|
@ -95,39 +95,39 @@ disable_zombie_spawn_locations()
|
||||
{
|
||||
for (z = 0; z < level.zone_keys.size; z++)
|
||||
{
|
||||
zone = level.zones[ level.zone_keys[ z ] ];
|
||||
zone = level.zones[level.zone_keys[z]];
|
||||
|
||||
i = 0;
|
||||
|
||||
while (i < zone.spawn_locations.size)
|
||||
{
|
||||
if (zone.spawn_locations[ i ].origin == (-11447, -3424, 254.2))
|
||||
if (zone.spawn_locations[i].origin == (-11447, -3424, 254.2))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-11093, 393, 192))
|
||||
else if (zone.spawn_locations[i].origin == (-11093, 393, 192))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-10944, -3846, 221.14))
|
||||
else if (zone.spawn_locations[i].origin == (-10944, -3846, 221.14))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-10836, 1195, 209.7))
|
||||
else if (zone.spawn_locations[i].origin == (-10836, 1195, 209.7))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-11251, -4397, 200.02))
|
||||
else if (zone.spawn_locations[i].origin == (-11251, -4397, 200.02))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-11334, -5280, 212.7))
|
||||
else if (zone.spawn_locations[i].origin == (-11334, -5280, 212.7))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
else if (zone.spawn_locations[ i ].origin == (-11347, -3134, 283.9))
|
||||
else if (zone.spawn_locations[i].origin == (-11347, -3134, 283.9))
|
||||
{
|
||||
zone.spawn_locations[ i ].is_enabled = false;
|
||||
zone.spawn_locations[i].is_enabled = false;
|
||||
}
|
||||
|
||||
i++;
|
||||
|
Reference in New Issue
Block a user