1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-24 06:00:36 -05:00

Pad empty lines around blocks

This commit is contained in:
Jbleezy
2023-12-16 16:12:15 -08:00
parent 7d83382fd3
commit 51a53928e7
82 changed files with 1013 additions and 0 deletions

View File

@ -29,6 +29,7 @@ init()
enemy_location_override( zombie, enemy )
{
location = enemy.origin;
if ( is_true( self.reroute ) )
{
if ( isDefined( self.reroute_origin ) )
@ -36,5 +37,6 @@ enemy_location_override( zombie, enemy )
location = self.reroute_origin;
}
}
return location;
}

View File

@ -60,6 +60,7 @@ struct_init()
for (i = 0; i < og_perk_structs.size; i++)
{
rand = randomint(og_perk_structs.size);
if (rand != i)
{
temp_script_noteworthy = og_perk_structs[i].script_noteworthy;
@ -111,6 +112,7 @@ struct_init()
else if (player_respawn_point.script_noteworthy == "zone_maze_staircase")
{
spawn_array = getstructarray( player_respawn_point.target, "targetname" );
foreach (spawn in spawn_array)
{
if (spawn.origin[0] > 5950)
@ -237,6 +239,7 @@ init_wallbuys()
{
og_weapon_structs = [];
structs = getstructarray( "weapon_upgrade", "targetname" );
foreach (struct in structs)
{
if (isDefined(struct.script_noteworthy) && isSubStr(struct.script_noteworthy, "maze"))
@ -269,6 +272,7 @@ init_barriers()
scripts\zm\replaced\utility::barrier( "collision_geo_64x64x128_standard", (3398, 898, 372), (0, 0, 0) );
structs = getstructarray( "zm_perk_machine", "targetname" );
foreach (struct in structs)
{
scripts\zm\replaced\utility::barrier( "collision_geo_64x64x128_standard", struct.origin + (anglesToRight(struct.angles) * -9) + (0, 0, 320), struct.angles );

View File

@ -119,6 +119,7 @@ set_box_weapons()
{
level.zombie_weapons["thompson_zm"].is_in_box = 0;
}
if(isDefined(level.zombie_weapons["beretta93r_zm"]))
{
level.zombie_weapons["beretta93r_zm"].is_in_box = 1;
@ -177,6 +178,7 @@ disable_zombie_spawn_locations()
zone = level.zones[ level.zone_keys[ z ] ];
i = 0;
while ( i < zone.spawn_locations.size )
{
if (zone.spawn_locations[i].origin == (615.8, 7875.9, 95))
@ -196,6 +198,7 @@ disable_zombie_spawn_locations()
disable_gondola_call_triggers()
{
t_call_triggers = getentarray( "gondola_call_trigger", "targetname" );
foreach ( trigger in t_call_triggers )
{
trigger delete();
@ -205,6 +208,7 @@ disable_gondola_call_triggers()
disable_craftable_triggers()
{
t_crafting_table = getentarray( "open_craftable_trigger", "targetname" );
foreach ( trigger in t_crafting_table )
{
trigger delete();
@ -214,6 +218,7 @@ disable_craftable_triggers()
disable_afterlife_props()
{
a_afterlife_props = getentarray( "afterlife_show", "targetname" );
foreach ( m_prop in a_afterlife_props )
{
m_prop delete();
@ -223,6 +228,7 @@ disable_afterlife_props()
turn_afterlife_interacts_on()
{
a_afterlife_interact = getentarray( "afterlife_interact", "targetname" );
foreach ( model in a_afterlife_interact )
{
if ( model.script_string == "juggernog_on" )

View File

@ -15,6 +15,7 @@ struct_init()
zone_respawnpoints = [];
respawnpoints = maps\mp\gametypes_zm\_zm_gametype::get_player_spawns_for_gametype();
for (i = 0; i < respawnpoints.size; i++)
{
if (isDefined(respawnpoints[i].script_noteworthy) && respawnpoints[i].script_noteworthy == "zone_amb_cornfield")
@ -37,6 +38,7 @@ struct_init()
scripts\zm\replaced\utility::register_map_spawn_group( zone_respawnpoints[zone].origin, zone, zone_respawnpoints[zone].script_int );
respawn_array = getstructarray(zone_respawnpoints[zone].target, "targetname");
foreach(respawn in respawn_array)
{
scripts\zm\replaced\utility::register_map_spawn( respawn.origin + (100, 0, 0), respawn.angles, zone, respawn.script_int );
@ -55,6 +57,7 @@ struct_init()
scripts\zm\replaced\utility::register_map_spawn( (10036, -967, -186), (0, 0, 0), zone );
structs = getstructarray( "game_mode_object", "targetname" );
foreach ( struct in structs )
{
if ( isDefined( struct.script_noteworthy ) && struct.script_noteworthy == "cornfield" )
@ -240,6 +243,7 @@ disable_zombie_spawn_locations()
zone = level.zones[ level.zone_keys[ z ] ];
i = 0;
while ( i < zone.spawn_locations.size )
{
if (zone.spawn_locations[i].origin[0] <= 9700)

View File

@ -16,6 +16,7 @@ struct_init()
ind = 0;
respawnpoints = maps\mp\gametypes_zm\_zm_gametype::get_player_spawns_for_gametype();
for(i = 0; i < respawnpoints.size; i++)
{
if(respawnpoints[i].script_noteworthy == "zone_gas")
@ -29,6 +30,7 @@ struct_init()
scripts\zm\replaced\utility::register_map_spawn_group( respawnpoints[ind].origin, zone, respawnpoints[ind].script_int );
respawn_array = getstructarray(respawnpoints[ind].target, "targetname");
foreach(respawn in respawn_array)
{
if(respawn.script_int == 2)
@ -64,6 +66,7 @@ struct_init()
scripts\zm\replaced\utility::register_map_spawn( (-5895, -6984, -30), (0, 0, 0), zone );
gameObjects = getEntArray( "script_model", "classname" );
foreach ( object in gameObjects )
{
if ( isDefined( object.script_noteworthy ) && object.script_noteworthy == getDvar( "ui_zm_mapstartlocation" ) )
@ -188,6 +191,7 @@ disable_zombie_spawn_locations()
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")

View File

@ -19,6 +19,7 @@ struct_init()
ind = 0;
respawnpoints = maps\mp\gametypes_zm\_zm_gametype::get_player_spawns_for_gametype();
for(i = 0; i < respawnpoints.size; i++)
{
if(respawnpoints[i].script_noteworthy == "zone_prr")
@ -44,9 +45,11 @@ struct_init()
scripts\zm\replaced\utility::register_map_spawn_group( respawnpoints[ind].origin, zone, respawnpoints[ind].script_int );
respawn_array = getstructarray(respawnpoints[ind].target, "targetname");
foreach(respawn in respawn_array)
{
angles = respawn.angles;
if (respawn.origin[0] < 12200)
{
angles += (0, 90, 0);
@ -164,6 +167,7 @@ disable_zombie_spawn_locations()
disable_player_spawn_locations()
{
respawnpoints = maps\mp\gametypes_zm\_zm_gametype::get_player_spawns_for_gametype();
foreach (respawnpoint in respawnpoints)
{
if (respawnpoint.script_noteworthy == "zone_pow_warehouse")

View File

@ -98,6 +98,7 @@ disable_zombie_spawn_locations()
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 ) )