mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 07:08:06 -05:00
Tranzit: fix zombie riser being too high above ground
This commit is contained in:
@ -113,7 +113,7 @@ disable_zombie_spawn_locations()
|
||||
level.zones["zone_trans_8"].is_spawning_allowed = 0;
|
||||
}
|
||||
|
||||
transit_power_zone_init()
|
||||
transit_loc_power_zone_init()
|
||||
{
|
||||
flag_init( "always_on" );
|
||||
flag_set( "always_on" );
|
||||
@ -128,7 +128,7 @@ transit_power_zone_init()
|
||||
|
||||
manage_zones( initial_zone )
|
||||
{
|
||||
level.zone_manager_init_func = ::transit_power_zone_init;
|
||||
level.zone_manager_init_func = ::transit_loc_power_zone_init;
|
||||
initial_zone = [];
|
||||
initial_zone[0] = "zone_pow";
|
||||
initial_zone[1] = "zone_trans_8";
|
||||
|
@ -1956,7 +1956,6 @@ random_map_rotation()
|
||||
|
||||
spawn_bots(num)
|
||||
{
|
||||
num = 2;
|
||||
if(getDvar("sv_hostname") != "Private Match")
|
||||
{
|
||||
return;
|
||||
@ -1979,11 +1978,4 @@ spawn_bots(num)
|
||||
level.bots[i] = addtestclient();
|
||||
}
|
||||
}
|
||||
|
||||
while(1)
|
||||
{
|
||||
player iprintln("player.origin: " + player.origin);
|
||||
|
||||
wait 1;
|
||||
}
|
||||
}
|
@ -31,7 +31,7 @@ init()
|
||||
level.grenade_safe_to_bounce = ::grenade_safe_to_bounce;
|
||||
|
||||
screecher_spawner_changes();
|
||||
|
||||
zombie_spawn_location_changes();
|
||||
path_exploit_fixes();
|
||||
|
||||
level thread power_local_electric_doors_globally();
|
||||
@ -145,6 +145,25 @@ grenade_safe_to_bounce( player, weapname )
|
||||
return 1;
|
||||
}
|
||||
|
||||
zombie_spawn_location_changes()
|
||||
{
|
||||
for ( z = 0; z < level.zone_keys.size; z++ )
|
||||
{
|
||||
zone = level.zones[ level.zone_keys[ z ] ];
|
||||
|
||||
i = 0;
|
||||
while ( i < zone.spawn_locations.size )
|
||||
{
|
||||
if ( zone.spawn_locations[ i ].origin == ( 9963, 8025, -554.9 ) )
|
||||
{
|
||||
zone.spawn_locations[ i ].origin += ( 0, 0, -32 );
|
||||
}
|
||||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
path_exploit_fixes()
|
||||
{
|
||||
// town bookstore near jug
|
||||
|
Reference in New Issue
Block a user