mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
iw4x
This commit is contained in:
parent
34dbe7ca33
commit
426ea940ae
@ -76,7 +76,26 @@ init()
|
|||||||
//flag_init( "ir_beakons_on" );
|
//flag_init( "ir_beakons_on" );
|
||||||
flag_init( "allow_context_sensative_dialog" );
|
flag_init( "allow_context_sensative_dialog" );
|
||||||
flag_set( "allow_context_sensative_dialog" );
|
flag_set( "allow_context_sensative_dialog" );
|
||||||
|
|
||||||
|
|
||||||
|
if (getDvar( "mapname" ) == "arcadia" || getDvar( "mapname" ) == "boneyard" || getDvar( "mapname" ) == "roadkill")
|
||||||
|
{
|
||||||
|
ac130OriginEnt = getEntArray("ac130Origin", "targetname" );
|
||||||
|
level.ac130 = ac130OriginEnt[0];
|
||||||
|
level.ac130.owner = undefined;
|
||||||
|
level.ac130 hide();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( getDvar( "mapname" ) == "contingency" || ( getDvar( "mapname" ) == "co_hunted" && level.gametype != "rush"))
|
||||||
|
{
|
||||||
|
minimapOrigins = getEntArray( "minimap_corner2", "targetname" );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
minimapOrigins = getEntArray( "minimap_corner", "targetname" );
|
minimapOrigins = getEntArray( "minimap_corner", "targetname" );
|
||||||
|
}
|
||||||
|
|
||||||
ac130Origin = (0,0,0);
|
ac130Origin = (0,0,0);
|
||||||
|
|
||||||
if ( miniMapOrigins.size )
|
if ( miniMapOrigins.size )
|
||||||
@ -88,6 +107,7 @@ init()
|
|||||||
level.ac130.owner = undefined;
|
level.ac130.owner = undefined;
|
||||||
|
|
||||||
level.ac130 hide();
|
level.ac130 hide();
|
||||||
|
}
|
||||||
|
|
||||||
level.ac130InUse = false;
|
level.ac130InUse = false;
|
||||||
|
|
||||||
|
@ -1074,6 +1074,12 @@ selectAirstrikeLocation( lifeId, airStrikeType )
|
|||||||
if ( !chooseDirection )
|
if ( !chooseDirection )
|
||||||
directionYaw = randomint(360);
|
directionYaw = randomint(360);
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if(getdvar("mapname")=="co_hunted")
|
||||||
|
directionYaw += 115;
|
||||||
|
}
|
||||||
|
|
||||||
self setblurforplayer( 0, 0.3 );
|
self setblurforplayer( 0, 0.3 );
|
||||||
|
|
||||||
if ( airStrikeType == "harrier" && level.planes > 1 )
|
if ( airStrikeType == "harrier" && level.planes > 1 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user