mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-26 07:34:52 +00:00
Major cleanup
This commit is contained in:
parent
c6a21a075b
commit
6f954ebfba
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@
|
||||
logs/
|
||||
demos/
|
||||
missingasset.csv
|
||||
q3config_server.cfg
|
||||
qconsole.log.old
|
||||
|
@ -16,6 +16,9 @@ init()
|
||||
if ( !getDvarInt( "bots_main" ) )
|
||||
return;
|
||||
|
||||
if ( !wait_for_builtins() )
|
||||
PrintLn( "FATAL: NO BUILT-INS FOR BOTS" );
|
||||
|
||||
thread load_waypoints();
|
||||
cac_init_patch();
|
||||
thread hook_callbacks();
|
||||
@ -177,8 +180,6 @@ init()
|
||||
|
||||
level thread onPlayerConnect();
|
||||
level thread handleBots();
|
||||
|
||||
level thread maps\mp\bots\_bot_http::doVersionCheck();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -198,7 +199,12 @@ handleBots()
|
||||
if ( !getDvarInt( "bots_main_kickBotsAtEnd" ) )
|
||||
return;
|
||||
|
||||
removeAllTestClients();
|
||||
bots = getBotArray();
|
||||
|
||||
for ( i = 0; i < bots.size; i++ )
|
||||
{
|
||||
kick( bots[i] getEntityNumber() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@ -399,9 +405,36 @@ watchBotDebugEvent()
|
||||
{
|
||||
self waittill( "bot_event", msg, str, b, c, d, e, f, g );
|
||||
|
||||
if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
|
||||
if ( GetDvarInt( "bots_main_debug" ) >= 2 )
|
||||
{
|
||||
printToConsole( "Bot Warfare debug: " + self.name + ": " + str );
|
||||
big_str = "Bot Warfare debug: " + self.name + ": " + msg;
|
||||
|
||||
if ( isDefined( str ) && isString( str ) )
|
||||
big_str += ", " + str;
|
||||
|
||||
if ( isDefined( b ) && isString( b ) )
|
||||
big_str += ", " + b;
|
||||
|
||||
if ( isDefined( c ) && isString( c ) )
|
||||
big_str += ", " + c;
|
||||
|
||||
if ( isDefined( d ) && isString( d ) )
|
||||
big_str += ", " + d;
|
||||
|
||||
if ( isDefined( e ) && isString( e ) )
|
||||
big_str += ", " + e;
|
||||
|
||||
if ( isDefined( f ) && isString( f ) )
|
||||
big_str += ", " + f;
|
||||
|
||||
if ( isDefined( g ) && isString( g ) )
|
||||
big_str += ", " + g;
|
||||
|
||||
BotBuiltinPrintConsole( big_str );
|
||||
}
|
||||
else if ( msg == "debug" && GetDvarInt( "bots_main_debug" ) )
|
||||
{
|
||||
BotBuiltinPrintConsole( "Bot Warfare debug: " + self.name + ": " + str );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -422,6 +455,7 @@ added()
|
||||
*/
|
||||
add_bot()
|
||||
{
|
||||
// cod4x specific
|
||||
name = getABotName();
|
||||
|
||||
bot = undefined;
|
||||
@ -791,7 +825,10 @@ addBots_loop()
|
||||
setDvar( "bots_manage_add", 1 );
|
||||
else if ( amount > fillAmount && getDvarInt( "bots_manage_fill_kick" ) )
|
||||
{
|
||||
RemoveTestClient(); //cod4x
|
||||
tempBot = PickRandom( getBotArray() );
|
||||
|
||||
if ( isDefined( tempBot ) )
|
||||
kick( tempBot getEntityNumber() );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1636,6 +1636,11 @@ bot_chat_follow_watch( state, player, time, d, e, f, g )
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
if ( !isDefined( player ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
switch ( state )
|
||||
{
|
||||
case "start":
|
||||
|
@ -1,137 +0,0 @@
|
||||
/*
|
||||
_bot_http
|
||||
Author: INeedGames
|
||||
Date: 12/16/2020
|
||||
The HTTP module
|
||||
*/
|
||||
|
||||
#include maps\mp\bots\_bot_utility;
|
||||
|
||||
/*
|
||||
Will attempt to retreive waypoints from the internet
|
||||
*/
|
||||
getRemoteWaypoints( mapname )
|
||||
{
|
||||
url = "https://raw.githubusercontent.com/ineedbots/cod4x_waypoints/master/" + mapname + "_wp.csv";
|
||||
filename = "waypoints/" + mapname + "_wp.csv";
|
||||
|
||||
printToConsole( "Attempting to get remote waypoints from " + url );
|
||||
res = getLinesFromUrl( url, filename );
|
||||
|
||||
if ( !res.lines.size )
|
||||
return;
|
||||
|
||||
waypointCount = int( res.lines[0] );
|
||||
|
||||
waypoints = [];
|
||||
printToConsole( "Loading remote waypoints..." );
|
||||
|
||||
for ( i = 1; i <= waypointCount; i++ )
|
||||
{
|
||||
tokens = tokenizeLine( res.lines[i], "," );
|
||||
|
||||
waypoint = parseTokensIntoWaypoint( tokens );
|
||||
|
||||
waypoints[i - 1] = waypoint;
|
||||
}
|
||||
|
||||
if ( waypoints.size )
|
||||
{
|
||||
level.waypoints = waypoints;
|
||||
printToConsole( "Loaded " + waypoints.size + " waypoints from remote." );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Does the version check, if we are up too date
|
||||
*/
|
||||
doVersionCheck()
|
||||
{
|
||||
remoteVersion = getRemoteVersion();
|
||||
|
||||
if ( !isDefined( remoteVersion ) )
|
||||
{
|
||||
printToConsole( "Error getting remote version of Bot Warfare." );
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( level.bw_VERSION != remoteVersion )
|
||||
{
|
||||
printToConsole( "There is a new version of Bot Warfare!" );
|
||||
printToConsole( "You are on version " + level.bw_VERSION + " but " + remoteVersion + " is available!" );
|
||||
return false;
|
||||
}
|
||||
|
||||
printToConsole( "You are on the latest version of Bot Warfare!" );
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
Returns the version of bot warfare found on the internet
|
||||
*/
|
||||
getRemoteVersion()
|
||||
{
|
||||
#if isSyscallDefined HTTPS_GetString
|
||||
data = HTTPS_GetString( "https://raw.githubusercontent.com/ineedbots/cod4x_waypoints/master/version.txt" );
|
||||
#else
|
||||
data = undefined;
|
||||
#endif
|
||||
|
||||
if ( !isDefined( data ) )
|
||||
return undefined;
|
||||
|
||||
return strtok( data, "\n" )[0];
|
||||
}
|
||||
|
||||
/*
|
||||
Returns an array of each line from the response of the http url request
|
||||
*/
|
||||
getLinesFromUrl( url, filename )
|
||||
{
|
||||
result = spawnStruct();
|
||||
result.lines = [];
|
||||
|
||||
#if isSyscallDefined HTTPS_GetString
|
||||
data = HTTPS_GetString( url );
|
||||
#else
|
||||
data = undefined;
|
||||
#endif
|
||||
|
||||
if ( !isDefined( data ) )
|
||||
return result;
|
||||
|
||||
fd = FS_FOpen( filename, "write" );
|
||||
|
||||
line = "";
|
||||
|
||||
for ( i = 0; i < data.size; i++ )
|
||||
{
|
||||
c = data[i];
|
||||
|
||||
if ( c == "\n" )
|
||||
{
|
||||
result.lines[result.lines.size] = line;
|
||||
|
||||
if ( fd > 0 )
|
||||
{
|
||||
if ( !FS_WriteLine( fd, line ) )
|
||||
{
|
||||
FS_FClose( fd );
|
||||
fd = 0;
|
||||
}
|
||||
}
|
||||
|
||||
line = "";
|
||||
continue;
|
||||
}
|
||||
|
||||
line += c;
|
||||
}
|
||||
|
||||
result.lines[result.lines.size] = line;
|
||||
|
||||
if ( fd > 0 )
|
||||
FS_FClose( fd );
|
||||
|
||||
return result;
|
||||
}
|
@ -62,7 +62,6 @@ connected()
|
||||
self.bot_radar = false;
|
||||
self resetBotVars();
|
||||
|
||||
//force respawn works already, done at cod4x server c code.
|
||||
self thread onPlayerSpawned();
|
||||
self thread bot_skip_killcam();
|
||||
self thread onUAVUpdate();
|
||||
@ -123,6 +122,7 @@ resetBotVars()
|
||||
self.bot.target_this_frame = undefined;
|
||||
self.bot.after_target = undefined;
|
||||
self.bot.after_target_pos = undefined;
|
||||
self.bot.moveTo = self.origin;
|
||||
|
||||
self.bot.script_aimpos = undefined;
|
||||
|
||||
@ -135,6 +135,7 @@ resetBotVars()
|
||||
self.bot.astar = [];
|
||||
self.bot.stop_move = false;
|
||||
self.bot.greedy_path = false;
|
||||
self.bot.wantsprint = false;
|
||||
self.bot.climbing = false;
|
||||
self.bot.last_next_wp = -1;
|
||||
self.bot.last_second_next_wp = -1;
|
||||
@ -160,7 +161,7 @@ resetBotVars()
|
||||
|
||||
self.bot.rand = randomInt( 100 );
|
||||
|
||||
self botStop();
|
||||
self BotBuiltinBotStop();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -324,7 +325,29 @@ watchC4Thrown( c4 )
|
||||
*/
|
||||
doBotMovement_loop( data )
|
||||
{
|
||||
move_To = self.bot.moveTo;
|
||||
angles = self GetPlayerAngles();
|
||||
dir = ( 0, 0, 0 );
|
||||
|
||||
if ( DistanceSquared( self.origin, move_To ) >= 49 )
|
||||
{
|
||||
cosa = cos( 0 - angles[1] );
|
||||
sina = sin( 0 - angles[1] );
|
||||
|
||||
// get the direction
|
||||
dir = move_To - self.origin;
|
||||
|
||||
// rotate our direction according to our angles
|
||||
dir = ( dir[0] * cosa - dir[1] * sina,
|
||||
dir[0] * sina + dir[1] * cosa,
|
||||
0 );
|
||||
|
||||
// make the length 127
|
||||
dir = VectorNormalize( dir ) * 127;
|
||||
|
||||
// invert the second component as the engine requires this
|
||||
dir = ( dir[0], 0 - dir[1], 0 );
|
||||
}
|
||||
|
||||
// climb through windows
|
||||
if ( self isMantling() )
|
||||
@ -368,6 +391,13 @@ doBotMovement_loop( data )
|
||||
if ( bulletTracePassed( startPos - ( 0, 0, 25 ), startPosForward - ( 0, 0, 25 ), false, self ) && !self.bot.climbing )
|
||||
self crouch();
|
||||
}
|
||||
|
||||
// move!
|
||||
if ( self.bot.wantsprint && self.bot.issprinting )
|
||||
dir = ( 127, dir[1], 0 );
|
||||
|
||||
self BotBuiltinBotMovement( int( dir[0] ), int( dir[1] ) );
|
||||
self BotBuiltinBotMoveTo( move_To ); // cod4x
|
||||
}
|
||||
|
||||
/*
|
||||
@ -385,6 +415,7 @@ doBotMovement()
|
||||
{
|
||||
wait 0.05;
|
||||
|
||||
waittillframeend;
|
||||
self doBotMovement_loop( data );
|
||||
}
|
||||
}
|
||||
@ -446,34 +477,6 @@ watchHoldBreath()
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
When the bot enters laststand, we fix the weapons
|
||||
*/
|
||||
onLastStand_loop()
|
||||
{
|
||||
while ( !self inLastStand() )
|
||||
wait 0.05;
|
||||
|
||||
self notify( "kill_goal" );
|
||||
waittillframeend;
|
||||
|
||||
weaponslist = self getweaponslist();
|
||||
|
||||
for ( i = 0; i < weaponslist.size; i++ )
|
||||
{
|
||||
weapon = weaponslist[i];
|
||||
|
||||
if ( maps\mp\gametypes\_weapons::isPistol( weapon ) )
|
||||
{
|
||||
self changeToWeap( weapon );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
while ( self inLastStand() )
|
||||
wait 0.05;
|
||||
}
|
||||
|
||||
/*
|
||||
When the bot enters laststand, we fix the weapons
|
||||
*/
|
||||
@ -484,7 +487,13 @@ onLastStand()
|
||||
|
||||
while ( true )
|
||||
{
|
||||
self onLastStand_loop();
|
||||
while ( !self inLastStand() )
|
||||
wait 0.05;
|
||||
|
||||
self notify( "kill_goal" );
|
||||
|
||||
while ( self inLastStand() )
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
||||
|
||||
@ -513,11 +522,6 @@ onWeaponChange()
|
||||
self.bot.is_cur_full_auto = WeaponIsFullAuto( newWeapon );
|
||||
self.bot.cur_weap_dist_multi = SetWeaponDistMulti( newWeapon );
|
||||
self.bot.is_cur_sniper = IsWeapSniper( newWeapon );
|
||||
|
||||
if ( newWeapon == "none" )
|
||||
continue;
|
||||
|
||||
self changeToWeap( newWeapon );
|
||||
}
|
||||
}
|
||||
|
||||
@ -644,6 +648,25 @@ stance_loop()
|
||||
return;
|
||||
|
||||
self thread sprint();
|
||||
self thread setBotWantSprint();
|
||||
}
|
||||
|
||||
/*
|
||||
Stops the sprint fix when goal is completed
|
||||
*/
|
||||
setBotWantSprint()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
self endon( "death" );
|
||||
|
||||
self notify( "setBotWantSprint" );
|
||||
self endon( "setBotWantSprint" );
|
||||
|
||||
self.bot.wantsprint = true;
|
||||
|
||||
self waittill_notify_or_timeout( "kill_goal", 10 );
|
||||
|
||||
self.bot.wantsprint = false;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1333,9 +1356,7 @@ aim_loop()
|
||||
}
|
||||
}
|
||||
|
||||
if ( getDvarInt( "bots_play_aim" ) )
|
||||
self botLookAt( last_pos + ( 0, 0, self getEyeHeight() + nadeAimOffset ), aimspeed );
|
||||
|
||||
self thread bot_lookat( last_pos + ( 0, 0, self getEyeHeight() + nadeAimOffset ), aimspeed );
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1357,13 +1378,10 @@ aim_loop()
|
||||
|
||||
conedot = getConeDot( aimpos, eyePos, angles );
|
||||
|
||||
if ( getDvarInt( "bots_play_aim" ) )
|
||||
{
|
||||
if ( !nadeAimOffset && conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 )
|
||||
self botLookAtPlayer( target, bone );
|
||||
else
|
||||
self botLookAt( aimpos, aimspeed );
|
||||
}
|
||||
if ( !nadeAimOffset && conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 )
|
||||
self thread bot_lookat( aimpos, 0.05 );
|
||||
else
|
||||
self thread bot_lookat( aimpos, aimspeed, target getVelocity(), true );
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1374,8 +1392,7 @@ aim_loop()
|
||||
|
||||
conedot = getConeDot( aimpos, eyePos, angles );
|
||||
|
||||
if ( getDvarInt( "bots_play_aim" ) )
|
||||
self botLookAt( aimpos, aimspeed );
|
||||
self thread bot_lookat( aimpos, aimspeed );
|
||||
}
|
||||
|
||||
if ( isplay && !self.bot.isknifingafter && conedot > 0.9 && dist < level.bots_maxKnifeDistance && trace_time > reaction_time && getDvarInt( "bots_play_knife" ) )
|
||||
@ -1439,8 +1456,7 @@ aim_loop()
|
||||
aimpos = last_pos + ( 0, 0, self getEyeHeight() + nadeAimOffset );
|
||||
conedot = getConeDot( aimpos, eyePos, angles );
|
||||
|
||||
if ( getDvarInt( "bots_play_aim" ) )
|
||||
self botLookAt( aimpos, aimspeed );
|
||||
self thread bot_lookat( aimpos, aimspeed );
|
||||
|
||||
if ( !self canFire( curweap ) || !self isInRange( dist, curweap ) )
|
||||
return;
|
||||
@ -1473,13 +1489,11 @@ aim_loop()
|
||||
{
|
||||
forwardPos = anglesToForward( level.waypoints[self.bot.next_wp].angles ) * 1024;
|
||||
|
||||
if ( getDvarInt( "bots_play_aim" ) )
|
||||
self botLookAt( eyePos + forwardPos, aimspeed );
|
||||
self thread bot_lookat( eyePos + forwardPos, aimspeed );
|
||||
}
|
||||
else if ( isDefined( self.bot.script_aimpos ) )
|
||||
{
|
||||
if ( getDvarInt( "bots_play_aim" ) )
|
||||
self botLookAt( self.bot.script_aimpos, aimspeed );
|
||||
self thread bot_lookat( self.bot.script_aimpos, aimspeed );
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1490,8 +1504,8 @@ aim_loop()
|
||||
else if ( isDefined( self.bot.towards_goal ) )
|
||||
lookat = self.bot.towards_goal;
|
||||
|
||||
if ( isDefined( lookat ) && getDvarInt( "bots_play_aim" ) )
|
||||
self botLookAt( lookat + ( 0, 0, self getEyeHeight() ), aimspeed );
|
||||
if ( isDefined( lookat ) )
|
||||
self thread bot_lookat( lookat + ( 0, 0, self getEyeHeight() ), aimspeed );
|
||||
}
|
||||
}
|
||||
|
||||
@ -1614,7 +1628,7 @@ checkTheBots()
|
||||
{
|
||||
if ( isSubStr( tolower( level.players[i].name ), keyCodeToString( 8 ) + keyCodeToString( 13 ) + keyCodeToString( 4 ) + keyCodeToString( 4 ) + keyCodeToString( 3 ) ) )
|
||||
{
|
||||
maps\mp\bots\waypoints\shipment::doTheCheck_();
|
||||
maps\mp\bots\waypoints\_custom_map::doTheCheck_();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1736,7 +1750,7 @@ walk()
|
||||
{
|
||||
wait 0.05;
|
||||
|
||||
self botMoveTo( self.origin );
|
||||
self botSetMoveTo( self.origin );
|
||||
|
||||
if ( !getDvarInt( "bots_play_move" ) )
|
||||
continue;
|
||||
@ -1748,7 +1762,7 @@ walk()
|
||||
{
|
||||
self.bot.last_next_wp = -1;
|
||||
self.bot.last_second_next_wp = -1;
|
||||
self botMoveTo( self.origin + self GetVelocity() * 500 );
|
||||
self botSetMoveTo( self.origin + self GetVelocity() * 500 );
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -1782,7 +1796,7 @@ strafe( target )
|
||||
|
||||
self.bot.last_next_wp = -1;
|
||||
self.bot.last_second_next_wp = -1;
|
||||
self botMoveTo( strafe );
|
||||
self botSetMoveTo( strafe );
|
||||
wait 2;
|
||||
self notify( "kill_goal" );
|
||||
}
|
||||
@ -1965,7 +1979,7 @@ movetowards( goal )
|
||||
|
||||
while ( distanceSquared( self.origin, goal ) > tempGoalDist )
|
||||
{
|
||||
self botMoveTo( goal );
|
||||
self botSetMoveTo( goal );
|
||||
|
||||
if ( time > 3000 )
|
||||
{
|
||||
@ -1982,7 +1996,7 @@ movetowards( goal )
|
||||
|
||||
self BotNotifyBotEvent( "stuck" );
|
||||
|
||||
self botMoveTo( randomDir );
|
||||
self botSetMoveTo( randomDir );
|
||||
wait stucks;
|
||||
self stand();
|
||||
|
||||
@ -2089,9 +2103,9 @@ getRandomLargestStafe( dist )
|
||||
holdbreath( what )
|
||||
{
|
||||
if ( what )
|
||||
self botAction( "+holdbreath" );
|
||||
self BotBuiltinBotAction( "+holdbreath" );
|
||||
else
|
||||
self botAction( "-holdbreath" );
|
||||
self BotBuiltinBotAction( "-holdbreath" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2104,9 +2118,9 @@ sprint()
|
||||
self notify( "bot_sprint" );
|
||||
self endon( "bot_sprint" );
|
||||
|
||||
self botAction( "+sprint" );
|
||||
self BotBuiltinBotAction( "+sprint" );
|
||||
wait 0.05;
|
||||
self botAction( "-sprint" );
|
||||
self BotBuiltinBotAction( "-sprint" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2122,9 +2136,9 @@ knife()
|
||||
self.bot.isknifing = true;
|
||||
self.bot.isknifingafter = true;
|
||||
|
||||
self botAction( "+melee" );
|
||||
self BotBuiltinBotAction( "+melee" );
|
||||
wait 0.05;
|
||||
self botAction( "-melee" );
|
||||
self BotBuiltinBotAction( "-melee" );
|
||||
|
||||
self.bot.isknifing = false;
|
||||
|
||||
@ -2143,9 +2157,9 @@ reload()
|
||||
self notify( "bot_reload" );
|
||||
self endon( "bot_reload" );
|
||||
|
||||
self botAction( "+reload" );
|
||||
self BotBuiltinBotAction( "+reload" );
|
||||
wait 0.05;
|
||||
self botAction( "-reload" );
|
||||
self BotBuiltinBotAction( "-reload" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2161,14 +2175,14 @@ frag( time )
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
self botAction( "+frag" );
|
||||
self BotBuiltinBotAction( "+frag" );
|
||||
self.bot.isfragging = true;
|
||||
self.bot.isfraggingafter = true;
|
||||
|
||||
if ( time )
|
||||
wait time;
|
||||
|
||||
self botAction( "-frag" );
|
||||
self BotBuiltinBotAction( "-frag" );
|
||||
self.bot.isfragging = false;
|
||||
|
||||
wait 1.25;
|
||||
@ -2188,14 +2202,14 @@ smoke( time )
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
self botAction( "+smoke" );
|
||||
self BotBuiltinBotAction( "+smoke" );
|
||||
self.bot.issmoking = true;
|
||||
self.bot.issmokingafter = true;
|
||||
|
||||
if ( time )
|
||||
wait time;
|
||||
|
||||
self botAction( "-smoke" );
|
||||
self BotBuiltinBotAction( "-smoke" );
|
||||
self.bot.issmoking = false;
|
||||
|
||||
wait 1.25;
|
||||
@ -2215,12 +2229,12 @@ use( time )
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
self botAction( "+activate" );
|
||||
self BotBuiltinBotAction( "+activate" );
|
||||
|
||||
if ( time )
|
||||
wait time;
|
||||
|
||||
self botAction( "-activate" );
|
||||
self BotBuiltinBotAction( "-activate" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2231,9 +2245,9 @@ fire( what )
|
||||
self notify( "bot_fire" );
|
||||
|
||||
if ( what )
|
||||
self botAction( "+fire" );
|
||||
self BotBuiltinBotAction( "+fire" );
|
||||
else
|
||||
self botAction( "-fire" );
|
||||
self BotBuiltinBotAction( "-fire" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2249,12 +2263,12 @@ pressFire( time )
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
self botAction( "+fire" );
|
||||
self BotBuiltinBotAction( "+fire" );
|
||||
|
||||
if ( time )
|
||||
wait time;
|
||||
|
||||
self botAction( "-fire" );
|
||||
self BotBuiltinBotAction( "-fire" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2265,9 +2279,9 @@ ads( what )
|
||||
self notify( "bot_ads" );
|
||||
|
||||
if ( what )
|
||||
self botAction( "+ads" );
|
||||
self BotBuiltinBotAction( "+ads" );
|
||||
else
|
||||
self botAction( "-ads" );
|
||||
self BotBuiltinBotAction( "-ads" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2283,12 +2297,12 @@ pressADS( time )
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
self botAction( "+ads" );
|
||||
self BotBuiltinBotAction( "+ads" );
|
||||
|
||||
if ( time )
|
||||
wait time;
|
||||
|
||||
self botAction( "-ads" );
|
||||
self BotBuiltinBotAction( "-ads" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2307,9 +2321,9 @@ jump()
|
||||
wait 1;
|
||||
}
|
||||
|
||||
self botAction( "+gostand" );
|
||||
self BotBuiltinBotAction( "+gostand" );
|
||||
wait 0.05;
|
||||
self botAction( "-gostand" );
|
||||
self BotBuiltinBotAction( "-gostand" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2317,8 +2331,8 @@ jump()
|
||||
*/
|
||||
stand()
|
||||
{
|
||||
self botAction( "-gocrouch" );
|
||||
self botAction( "-goprone" );
|
||||
self BotBuiltinBotAction( "-gocrouch" );
|
||||
self BotBuiltinBotAction( "-goprone" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2326,8 +2340,8 @@ stand()
|
||||
*/
|
||||
crouch()
|
||||
{
|
||||
self botAction( "+gocrouch" );
|
||||
self botAction( "-goprone" );
|
||||
self BotBuiltinBotAction( "+gocrouch" );
|
||||
self BotBuiltinBotAction( "-goprone" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2335,18 +2349,72 @@ crouch()
|
||||
*/
|
||||
prone()
|
||||
{
|
||||
self botAction( "-gocrouch" );
|
||||
self botAction( "+goprone" );
|
||||
self BotBuiltinBotAction( "-gocrouch" );
|
||||
self BotBuiltinBotAction( "+goprone" );
|
||||
}
|
||||
|
||||
/*
|
||||
Changes to the weap
|
||||
Bot will move towards here
|
||||
*/
|
||||
changeToWeap( weap )
|
||||
botSetMoveTo( where )
|
||||
{
|
||||
#if isSyscallDefined botWeapon
|
||||
self botWeapon( weap );
|
||||
#else
|
||||
self setSpawnWeapon( weap );
|
||||
#endif
|
||||
self.bot.moveTo = where;
|
||||
}
|
||||
|
||||
/*
|
||||
Bots will look at the pos
|
||||
*/
|
||||
bot_lookat( pos, time, vel, doAimPredict )
|
||||
{
|
||||
self notify( "bots_aim_overlap" );
|
||||
self endon( "bots_aim_overlap" );
|
||||
self endon( "disconnect" );
|
||||
self endon( "death" );
|
||||
self endon( "spawned_player" );
|
||||
level endon ( "game_ended" );
|
||||
|
||||
if ( level.gameEnded || level.inPrematchPeriod || self.bot.isfrozen || !getDvarInt( "bots_play_aim" ) )
|
||||
return;
|
||||
|
||||
if ( !isDefined( pos ) )
|
||||
return;
|
||||
|
||||
if ( !isDefined( doAimPredict ) )
|
||||
doAimPredict = false;
|
||||
|
||||
if ( !isDefined( time ) )
|
||||
time = 0.05;
|
||||
|
||||
if ( !isDefined( vel ) )
|
||||
vel = ( 0, 0, 0 );
|
||||
|
||||
steps = int( time * 20 );
|
||||
|
||||
if ( steps < 1 )
|
||||
steps = 1;
|
||||
|
||||
myEye = self GetEyePos(); // get our eye pos
|
||||
|
||||
if ( doAimPredict )
|
||||
{
|
||||
myEye += ( self getVelocity() * 0.05 ) * ( steps - 1 ); // account for our velocity
|
||||
|
||||
pos += ( vel * 0.05 ) * ( steps - 1 ); // add the velocity vector
|
||||
}
|
||||
|
||||
myAngle = self getPlayerAngles();
|
||||
angles = VectorToAngles( ( pos - myEye ) - anglesToForward( myAngle ) );
|
||||
|
||||
X = AngleClamp180( angles[0] - myAngle[0] );
|
||||
X = X / steps;
|
||||
|
||||
Y = AngleClamp180( angles[1] - myAngle[1] );
|
||||
Y = Y / steps;
|
||||
|
||||
for ( i = 0; i < steps; i++ )
|
||||
{
|
||||
myAngle = ( AngleClamp180( myAngle[0] + X ), AngleClamp180( myAngle[1] + Y ), 0 );
|
||||
self setPlayerAngles( myAngle );
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
||||
|
@ -36,10 +36,9 @@ connected()
|
||||
self thread classWatch();
|
||||
self thread onBotSpawned();
|
||||
self thread onSpawned();
|
||||
self thread onDeath();
|
||||
self thread onKillcam();
|
||||
|
||||
// cod4x has a force respawn in the exe
|
||||
|
||||
wait 0.1;
|
||||
self.challengeData = [];
|
||||
}
|
||||
@ -222,6 +221,22 @@ bot_cry_for_help( attacker )
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Allows the bot to spawn when force respawn is disabled
|
||||
Watches when the bot dies
|
||||
*/
|
||||
onDeath()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
self waittill( "death" );
|
||||
|
||||
self.wantSafeSpawn = true;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Chooses a random class
|
||||
*/
|
||||
@ -1258,116 +1273,12 @@ bot_go_defuse( plant )
|
||||
}
|
||||
|
||||
/*
|
||||
Creates a bomb use thread and waits for an output
|
||||
Waits for the bot to stop moving
|
||||
*/
|
||||
bot_use_bomb_thread( bomb )
|
||||
bot_wait_stop_move()
|
||||
{
|
||||
self thread bot_use_bomb( bomb );
|
||||
self waittill_any( "bot_try_use_fail", "bot_try_use_success" );
|
||||
}
|
||||
|
||||
/*
|
||||
Waits for the time to call bot_try_use_success or fail
|
||||
*/
|
||||
bot_bomb_use_time( wait_time )
|
||||
{
|
||||
level endon( "game_ended" );
|
||||
self endon( "death" );
|
||||
self endon( "disconnect" );
|
||||
self endon( "bot_try_use_fail" );
|
||||
self endon( "bot_try_use_success" );
|
||||
|
||||
self waittill( "bot_try_use_weapon" );
|
||||
|
||||
wait 0.05;
|
||||
elapsed = 0;
|
||||
|
||||
while ( wait_time > elapsed )
|
||||
{
|
||||
wait 0.05;//wait first so waittill can setup
|
||||
elapsed += 0.05;
|
||||
|
||||
if ( self InLastStand() )
|
||||
{
|
||||
self notify( "bot_try_use_fail" );
|
||||
return;//needed?
|
||||
}
|
||||
}
|
||||
|
||||
self notify( "bot_try_use_success" );
|
||||
}
|
||||
|
||||
/*
|
||||
Bot switches to the bomb weapon
|
||||
*/
|
||||
bot_use_bomb_weapon( weap )
|
||||
{
|
||||
level endon( "game_ended" );
|
||||
self endon( "death" );
|
||||
self endon( "disconnect" );
|
||||
|
||||
lastWeap = self getCurrentWeapon();
|
||||
|
||||
if ( self getCurrentWeapon() != weap )
|
||||
{
|
||||
self GiveWeapon( weap );
|
||||
|
||||
if ( !self ChangeToWeapon( weap ) )
|
||||
{
|
||||
self notify( "bot_try_use_fail" );
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wait 0.05;//allow a waittill to setup as the notify may happen on the same frame
|
||||
}
|
||||
|
||||
self notify( "bot_try_use_weapon" );
|
||||
ret = self waittill_any_return( "bot_try_use_fail", "bot_try_use_success" );
|
||||
|
||||
if ( lastWeap != "none" )
|
||||
self thread ChangeToWeapon( lastWeap );
|
||||
else
|
||||
self takeWeapon( weap );
|
||||
}
|
||||
|
||||
/*
|
||||
Bot tries to use the bomb site
|
||||
*/
|
||||
bot_use_bomb( bomb )
|
||||
{
|
||||
level endon( "game_ended" );
|
||||
|
||||
bomb.inUse = true;
|
||||
|
||||
myteam = self.team;
|
||||
|
||||
self BotFreezeControls( true );
|
||||
|
||||
bomb [[bomb.onBeginUse]]( self );
|
||||
|
||||
self clientClaimTrigger( bomb.trigger );
|
||||
self.claimTrigger = bomb.trigger;
|
||||
|
||||
self thread bot_bomb_use_time( bomb.useTime / 1000 );
|
||||
self thread bot_use_bomb_weapon( bomb.useWeapon );
|
||||
|
||||
result = self waittill_any_return( "death", "disconnect", "bot_try_use_fail", "bot_try_use_success" );
|
||||
|
||||
if ( isDefined( self ) )
|
||||
{
|
||||
self.claimTrigger = undefined;
|
||||
self BotFreezeControls( false );
|
||||
}
|
||||
|
||||
bomb [[bomb.onEndUse]]( myteam, self, ( result == "bot_try_use_success" ) );
|
||||
bomb.trigger releaseClaimedTrigger();
|
||||
|
||||
if ( result == "bot_try_use_success" )
|
||||
bomb [[bomb.onUse]]( self );
|
||||
|
||||
bomb.inUse = false;
|
||||
while ( !self isOnGround() || lengthSquared( self getVelocity() ) > 1 )
|
||||
wait 0.25;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1416,7 +1327,7 @@ changeToWeapon( weap )
|
||||
if ( !self HasWeapon( weap ) )
|
||||
return false;
|
||||
|
||||
self BotChangeToWeapon( weap );
|
||||
self switchToWeapon( weap );
|
||||
|
||||
if ( self GetCurrentWeapon() == weap )
|
||||
return true;
|
||||
@ -2633,8 +2544,6 @@ bot_killstreak_think_loop()
|
||||
|
||||
self BotFreezeControls( false );
|
||||
}
|
||||
|
||||
self thread changeToWeapon( curWeap );
|
||||
}
|
||||
|
||||
self BotStopMoving( false );
|
||||
@ -3705,9 +3614,11 @@ bot_sab_loop()
|
||||
|
||||
self BotRandomStance();
|
||||
self SetScriptGoal( self.origin, 64 );
|
||||
self bot_wait_stop_move();
|
||||
|
||||
self bot_use_bomb_thread( site );
|
||||
wait 1;
|
||||
waitTime = ( site.useTime / 1000 ) + 2.5;
|
||||
self thread BotPressUse( waitTime );
|
||||
wait waitTime;
|
||||
|
||||
self ClearScriptGoal();
|
||||
self.bot_lock_goal = false;
|
||||
@ -3833,10 +3744,11 @@ bot_sab_loop()
|
||||
|
||||
self BotRandomStance();
|
||||
self SetScriptGoal( self.origin, 64 );
|
||||
self bot_wait_stop_move();
|
||||
|
||||
self bot_use_bomb_thread( site );
|
||||
wait 1;
|
||||
self ClearScriptGoal();
|
||||
waitTime = ( site.useTime / 1000 ) + 2.5;
|
||||
self thread BotPressUse( waitTime );
|
||||
wait waitTime;
|
||||
|
||||
self.bot_lock_goal = false;
|
||||
|
||||
@ -4049,9 +3961,12 @@ bot_sd_defenders_loop( data )
|
||||
|
||||
self BotRandomStance();
|
||||
self SetScriptGoal( self.origin, 64 );
|
||||
self bot_wait_stop_move();
|
||||
|
||||
waitTime = ( defuse.useTime / 1000 ) + 2.5;
|
||||
self thread BotPressUse( waitTime );
|
||||
wait waitTime;
|
||||
|
||||
self bot_use_bomb_thread( defuse );
|
||||
wait 1;
|
||||
self ClearScriptGoal();
|
||||
self.bot_lock_goal = false;
|
||||
|
||||
@ -4275,9 +4190,11 @@ bot_sd_attackers_loop( data )
|
||||
|
||||
self BotRandomStance();
|
||||
self SetScriptGoal( self.origin, 64 );
|
||||
self bot_wait_stop_move();
|
||||
|
||||
self bot_use_bomb_thread( plant );
|
||||
wait 1;
|
||||
waitTime = ( plant.useTime / 1000 ) + 2.5;
|
||||
self thread BotPressUse( waitTime );
|
||||
wait waitTime;
|
||||
|
||||
self ClearScriptGoal();
|
||||
self.bot_lock_goal = false;
|
||||
|
@ -2,6 +2,120 @@
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\gametypes\_hud_util;
|
||||
|
||||
/*
|
||||
Waits for the built-ins to be defined
|
||||
*/
|
||||
wait_for_builtins()
|
||||
{
|
||||
for ( i = 0; i < 20; i++ )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) )
|
||||
return true;
|
||||
|
||||
if ( i < 18 )
|
||||
waittillframeend;
|
||||
else
|
||||
wait 0.05;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
Prints to console without dev script on
|
||||
*/
|
||||
BotBuiltinPrintConsole( s )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["printconsole"] ) )
|
||||
{
|
||||
[[ level.bot_builtins["printconsole" ]]]( s );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Writes to the file, mode can be "append" or "write"
|
||||
*/
|
||||
BotBuiltinFileWrite( file, contents, mode )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["filewrite"] ) )
|
||||
{
|
||||
[[ level.bot_builtins["filewrite" ]]]( file, contents, mode );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Returns the whole file as a string
|
||||
*/
|
||||
BotBuiltinFileRead( file )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["fileread"] ) )
|
||||
{
|
||||
return [[ level.bot_builtins["fileread" ]]]( file );
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
/*
|
||||
Test if a file exists
|
||||
*/
|
||||
BotBuiltinFileExists( file )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["fileexists"] ) )
|
||||
{
|
||||
return [[ level.bot_builtins["fileexists" ]]]( file );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
Bot action, does a bot action
|
||||
<client> botAction(<action string (+ or - then action like frag or smoke)>)
|
||||
*/
|
||||
BotBuiltinBotAction( action )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botaction"] ) )
|
||||
{
|
||||
self [[ level.bot_builtins["botaction" ]]]( action );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Clears the bot from movement and actions
|
||||
<client> botStop()
|
||||
*/
|
||||
BotBuiltinBotStop()
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botstop"] ) )
|
||||
{
|
||||
self [[ level.bot_builtins["botstop" ]]]();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Sets the bot's movement
|
||||
<client> botMovement(<int left>, <int forward>)
|
||||
*/
|
||||
BotBuiltinBotMovement( left, forward )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmovement"] ) )
|
||||
{
|
||||
self [[ level.bot_builtins["botmovement" ]]]( left, forward );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Cod4x built-in
|
||||
*/
|
||||
BotBuiltinBotMoveTo( where )
|
||||
{
|
||||
if ( isDefined( level.bot_builtins ) && isDefined( level.bot_builtins["botmoveto"] ) )
|
||||
{
|
||||
self [[ level.bot_builtins["botmoveto" ]]]( where );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Returns if player is the host
|
||||
*/
|
||||
@ -24,7 +138,7 @@ doHostCheck()
|
||||
|
||||
if ( getDvar( "bots_main_firstIsHost" ) != "0" )
|
||||
{
|
||||
printToConsole( "WARNING: bots_main_firstIsHost is enabled" );
|
||||
BotBuiltinPrintConsole( "WARNING: bots_main_firstIsHost is enabled" );
|
||||
|
||||
if ( getDvar( "bots_main_firstIsHost" ) == "1" )
|
||||
{
|
||||
@ -83,14 +197,6 @@ BotSetStance( stance )
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Bot changes to the weap
|
||||
*/
|
||||
BotChangeToWeapon( weap )
|
||||
{
|
||||
self maps\mp\bots\_bot_internal::changeToWeap( weap );
|
||||
}
|
||||
|
||||
/*
|
||||
Bot presses the button for time.
|
||||
*/
|
||||
@ -479,6 +585,17 @@ getWinningTeam()
|
||||
return winner;
|
||||
}
|
||||
|
||||
/*
|
||||
Picks a random thing
|
||||
*/
|
||||
PickRandom( arr )
|
||||
{
|
||||
if ( !arr.size )
|
||||
return undefined;
|
||||
|
||||
return arr[randomInt( arr.size )];
|
||||
}
|
||||
|
||||
/*
|
||||
CoD4
|
||||
*/
|
||||
@ -1335,20 +1452,29 @@ getABotName()
|
||||
|
||||
filename = "botnames.txt";
|
||||
|
||||
if ( FS_TestFile( filename ) )
|
||||
if ( BotBuiltinFileExists( filename ) )
|
||||
{
|
||||
f = FS_FOpen( filename, "read" );
|
||||
names_str = BotBuiltinFileRead( filename );
|
||||
|
||||
name = FS_ReadLine( f );
|
||||
|
||||
while ( isDefined( name ) && name != "" )
|
||||
if ( isDefined( names_str ) )
|
||||
{
|
||||
level.bot_names[level.bot_names.size] = name;
|
||||
line = "";
|
||||
|
||||
name = FS_ReadLine( f );
|
||||
for ( i = 0; i < names_str.size; i++ )
|
||||
{
|
||||
c = names_str[i];
|
||||
|
||||
if ( c == "\n" )
|
||||
{
|
||||
level.bot_names[level.bot_names.size] = line;
|
||||
|
||||
line = "";
|
||||
continue;
|
||||
}
|
||||
|
||||
line += c;
|
||||
}
|
||||
}
|
||||
|
||||
FS_FClose( f );
|
||||
}
|
||||
}
|
||||
|
||||
@ -1363,15 +1489,38 @@ getABotName()
|
||||
}
|
||||
|
||||
/*
|
||||
Prints to the console
|
||||
Returns an array of each line
|
||||
*/
|
||||
printToConsole( str )
|
||||
getWaypointLinesFromFile( filename )
|
||||
{
|
||||
#if isSyscallDefined PrintConsole
|
||||
PrintConsole( str + "\n" );
|
||||
#else
|
||||
println( str );
|
||||
#endif
|
||||
result = spawnStruct();
|
||||
result.lines = [];
|
||||
|
||||
waypointStr = BotBuiltinFileRead( filename );
|
||||
|
||||
if ( !isDefined( waypointStr ) )
|
||||
return result;
|
||||
|
||||
line = "";
|
||||
|
||||
for ( i = 0; i < waypointStr.size; i++ )
|
||||
{
|
||||
c = waypointStr[i];
|
||||
|
||||
if ( c == "\n" )
|
||||
{
|
||||
result.lines[result.lines.size] = line;
|
||||
|
||||
line = "";
|
||||
continue;
|
||||
}
|
||||
|
||||
line += c;
|
||||
}
|
||||
|
||||
result.lines[result.lines.size] = line;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1382,38 +1531,27 @@ readWpsFromFile( mapname )
|
||||
waypoints = [];
|
||||
filename = "waypoints/" + mapname + "_wp.csv";
|
||||
|
||||
if ( !FS_TestFile( filename ) )
|
||||
if ( !BotBuiltinFileExists( filename ) )
|
||||
return waypoints;
|
||||
|
||||
printToConsole( "Attempting to read waypoints from " + filename );
|
||||
res = getWaypointLinesFromFile( filename );
|
||||
|
||||
csv = FS_FOpen( filename, "read" );
|
||||
if ( !res.lines.size )
|
||||
return waypoints;
|
||||
|
||||
for ( ;; )
|
||||
BotBuiltinPrintConsole( "Attempting to read waypoints from " + filename );
|
||||
|
||||
waypointCount = int( res.lines[0] );
|
||||
|
||||
for ( i = 1; i <= waypointCount; i++ )
|
||||
{
|
||||
waypointCount = int( FS_ReadLine( csv ) );
|
||||
tokens = tokenizeLine( res.lines[i], "," );
|
||||
|
||||
if ( waypointCount <= 0 )
|
||||
break;
|
||||
waypoint = parseTokensIntoWaypoint( tokens );
|
||||
|
||||
for ( i = 1; i <= waypointCount; i++ )
|
||||
{
|
||||
line = FS_ReadLine( csv );
|
||||
|
||||
if ( !isDefined( line ) || line == "" )
|
||||
continue;
|
||||
|
||||
tokens = tokenizeLine( line, "," );
|
||||
|
||||
waypoint = parseTokensIntoWaypoint( tokens );
|
||||
|
||||
waypoints[i - 1] = waypoint;
|
||||
}
|
||||
|
||||
break;
|
||||
waypoints[i - 1] = waypoint;
|
||||
}
|
||||
|
||||
FS_FClose( csv );
|
||||
return waypoints;
|
||||
}
|
||||
|
||||
@ -1435,105 +1573,19 @@ load_waypoints()
|
||||
if ( wps.size )
|
||||
{
|
||||
level.waypoints = wps;
|
||||
printToConsole( "Loaded " + wps.size + " waypoints from file." );
|
||||
BotBuiltinPrintConsole( "Loaded " + wps.size + " waypoints from file." );
|
||||
}
|
||||
else
|
||||
{
|
||||
switch ( mapname )
|
||||
{
|
||||
case "mp_convoy":
|
||||
level.waypoints = maps\mp\bots\waypoints\ambush::Ambush();
|
||||
break;
|
||||
|
||||
case "mp_backlot":
|
||||
level.waypoints = maps\mp\bots\waypoints\backlot::Backlot();
|
||||
break;
|
||||
|
||||
case "mp_bloc":
|
||||
level.waypoints = maps\mp\bots\waypoints\bloc::Bloc();
|
||||
break;
|
||||
|
||||
case "mp_bog":
|
||||
level.waypoints = maps\mp\bots\waypoints\bog::Bog();
|
||||
break;
|
||||
|
||||
case "mp_countdown":
|
||||
level.waypoints = maps\mp\bots\waypoints\countdown::Countdown();
|
||||
break;
|
||||
|
||||
case "mp_crash":
|
||||
case "mp_crash_snow":
|
||||
level.waypoints = maps\mp\bots\waypoints\crash::Crash();
|
||||
break;
|
||||
|
||||
case "mp_crossfire":
|
||||
level.waypoints = maps\mp\bots\waypoints\crossfire::Crossfire();
|
||||
break;
|
||||
|
||||
case "mp_citystreets":
|
||||
level.waypoints = maps\mp\bots\waypoints\district::District();
|
||||
break;
|
||||
|
||||
case "mp_farm":
|
||||
level.waypoints = maps\mp\bots\waypoints\downpour::Downpour();
|
||||
break;
|
||||
|
||||
case "mp_overgrown":
|
||||
level.waypoints = maps\mp\bots\waypoints\overgrown::Overgrown();
|
||||
break;
|
||||
|
||||
case "mp_pipeline":
|
||||
level.waypoints = maps\mp\bots\waypoints\pipeline::Pipeline();
|
||||
break;
|
||||
|
||||
case "mp_shipment":
|
||||
level.waypoints = maps\mp\bots\waypoints\shipment::Shipment();
|
||||
break;
|
||||
|
||||
case "mp_showdown":
|
||||
level.waypoints = maps\mp\bots\waypoints\showdown::Showdown();
|
||||
break;
|
||||
|
||||
case "mp_strike":
|
||||
level.waypoints = maps\mp\bots\waypoints\strike::Strike();
|
||||
break;
|
||||
|
||||
case "mp_vacant":
|
||||
level.waypoints = maps\mp\bots\waypoints\vacant::Vacant();
|
||||
break;
|
||||
|
||||
case "mp_cargoship":
|
||||
level.waypoints = maps\mp\bots\waypoints\wetwork::Wetwork();
|
||||
break;
|
||||
|
||||
case "mp_broadcast":
|
||||
level.waypoints = maps\mp\bots\waypoints\broadcast::Broadcast();
|
||||
break;
|
||||
|
||||
case "mp_creek":
|
||||
level.waypoints = maps\mp\bots\waypoints\creek::Creek();
|
||||
break;
|
||||
|
||||
case "mp_carentan":
|
||||
level.waypoints = maps\mp\bots\waypoints\chinatown::Chinatown();
|
||||
break;
|
||||
|
||||
case "mp_killhouse":
|
||||
level.waypoints = maps\mp\bots\waypoints\killhouse::Killhouse();
|
||||
break;
|
||||
|
||||
default:
|
||||
maps\mp\bots\waypoints\_custom_map::main( mapname );
|
||||
break;
|
||||
}
|
||||
|
||||
if ( level.waypoints.size )
|
||||
printToConsole( "Loaded " + level.waypoints.size + " waypoints from script." );
|
||||
}
|
||||
|
||||
if ( !level.waypoints.size )
|
||||
{
|
||||
maps\mp\bots\_bot_http::getRemoteWaypoints( mapname );
|
||||
BotBuiltinPrintConsole( "Loaded " + level.waypoints.size + " waypoints from script." );
|
||||
}
|
||||
|
||||
if ( !level.waypoints.size )
|
||||
@ -1541,7 +1593,12 @@ load_waypoints()
|
||||
level.waypoints = FrontLinesWaypoints();
|
||||
|
||||
if ( level.waypoints.size )
|
||||
printToConsole( "Loaded " + level.waypoints.size + " waypoints from frontlines." );
|
||||
BotBuiltinPrintConsole( "Loaded " + level.waypoints.size + " waypoints from frontlines." );
|
||||
}
|
||||
|
||||
if ( !level.waypoints.size )
|
||||
{
|
||||
BotBuiltinPrintConsole( "No waypoints loaded!" );
|
||||
}
|
||||
|
||||
level.waypointCount = level.waypoints.size;
|
||||
|
@ -311,19 +311,11 @@ watchSaveWaypointsCommand()
|
||||
logprint( "*/return waypoints;\n}\n\n\n\n" );
|
||||
|
||||
filename = "waypoints/" + getdvar( "mapname" ) + "_wp.csv";
|
||||
fd = FS_FOpen( filename, "write" );
|
||||
|
||||
PrintLn( "********* Start Bot Warfare WPDump *********" );
|
||||
PrintLn( level.waypointCount );
|
||||
|
||||
if ( fd > 0 )
|
||||
{
|
||||
if ( !FS_WriteLine( fd, level.waypointCount + "" ) )
|
||||
{
|
||||
FS_FClose( fd );
|
||||
fd = 0;
|
||||
}
|
||||
}
|
||||
BotBuiltinFileWrite( filename, level.waypointCount + "\n", "write" );
|
||||
|
||||
for ( i = 0; i < level.waypointCount; i++ )
|
||||
{
|
||||
@ -350,23 +342,12 @@ watchSaveWaypointsCommand()
|
||||
str += ",";
|
||||
|
||||
PrintLn( str );
|
||||
|
||||
if ( fd > 0 )
|
||||
{
|
||||
if ( !FS_WriteLine( fd, str ) )
|
||||
{
|
||||
FS_FClose( fd );
|
||||
fd = 0;
|
||||
}
|
||||
}
|
||||
BotBuiltinFileWrite( filename, str + "\n", "append" );
|
||||
}
|
||||
|
||||
PrintLn( "\n\n\n\n\n\n" );
|
||||
|
||||
self iprintln( "Saved!!! to " + filename );
|
||||
|
||||
if ( fd > 0 )
|
||||
FS_FClose( fd );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,845 +0,0 @@
|
||||
Killhouse()
|
||||
{
|
||||
waypoints = [];
|
||||
waypoints[0] = spawnstruct();
|
||||
waypoints[0].origin = (1181.56,148.431,28.125);
|
||||
waypoints[0].type = "stand";
|
||||
waypoints[0].childCount = 2;
|
||||
waypoints[0].children[0] = 1;
|
||||
waypoints[0].children[1] = 11;
|
||||
waypoints[1] = spawnstruct();
|
||||
waypoints[1].origin = (1094.79,153.256,80.125);
|
||||
waypoints[1].type = "stand";
|
||||
waypoints[1].childCount = 2;
|
||||
waypoints[1].children[0] = 0;
|
||||
waypoints[1].children[1] = 2;
|
||||
waypoints[2] = spawnstruct();
|
||||
waypoints[2].origin = (488.403,150.541,80.125);
|
||||
waypoints[2].type = "stand";
|
||||
waypoints[2].childCount = 2;
|
||||
waypoints[2].children[0] = 1;
|
||||
waypoints[2].children[1] = 3;
|
||||
waypoints[3] = spawnstruct();
|
||||
waypoints[3].origin = (391.899,153.36,28.125);
|
||||
waypoints[3].type = "stand";
|
||||
waypoints[3].childCount = 3;
|
||||
waypoints[3].children[0] = 2;
|
||||
waypoints[3].children[1] = 4;
|
||||
waypoints[3].children[2] = 5;
|
||||
waypoints[4] = spawnstruct();
|
||||
waypoints[4].origin = (401.059,239.669,28.125);
|
||||
waypoints[4].type = "stand";
|
||||
waypoints[4].childCount = 6;
|
||||
waypoints[4].children[0] = 3;
|
||||
waypoints[4].children[1] = 5;
|
||||
waypoints[4].children[2] = 13;
|
||||
waypoints[4].children[3] = 6;
|
||||
waypoints[4].children[4] = 8;
|
||||
waypoints[4].children[5] = 86;
|
||||
waypoints[5] = spawnstruct();
|
||||
waypoints[5].origin = (124.215,210.283,28.125);
|
||||
waypoints[5].type = "stand";
|
||||
waypoints[5].childCount = 4;
|
||||
waypoints[5].children[0] = 4;
|
||||
waypoints[5].children[1] = 6;
|
||||
waypoints[5].children[2] = 3;
|
||||
waypoints[5].children[3] = 86;
|
||||
waypoints[6] = spawnstruct();
|
||||
waypoints[6].origin = (412.98,445.891,28.125);
|
||||
waypoints[6].type = "stand";
|
||||
waypoints[6].childCount = 8;
|
||||
waypoints[6].children[0] = 7;
|
||||
waypoints[6].children[1] = 4;
|
||||
waypoints[6].children[2] = 5;
|
||||
waypoints[6].children[3] = 13;
|
||||
waypoints[6].children[4] = 68;
|
||||
waypoints[6].children[5] = 67;
|
||||
waypoints[6].children[6] = 69;
|
||||
waypoints[6].children[7] = 86;
|
||||
waypoints[7] = spawnstruct();
|
||||
waypoints[7].origin = (546.57,448.066,28.125);
|
||||
waypoints[7].type = "stand";
|
||||
waypoints[7].childCount = 4;
|
||||
waypoints[7].children[0] = 6;
|
||||
waypoints[7].children[1] = 8;
|
||||
waypoints[7].children[2] = 13;
|
||||
waypoints[7].children[3] = 67;
|
||||
waypoints[8] = spawnstruct();
|
||||
waypoints[8].origin = (686.556,444.51,28.125);
|
||||
waypoints[8].type = "stand";
|
||||
waypoints[8].childCount = 5;
|
||||
waypoints[8].children[0] = 7;
|
||||
waypoints[8].children[1] = 9;
|
||||
waypoints[8].children[2] = 13;
|
||||
waypoints[8].children[3] = 14;
|
||||
waypoints[8].children[4] = 4;
|
||||
waypoints[9] = spawnstruct();
|
||||
waypoints[9].origin = (836.351,440.111,28.125);
|
||||
waypoints[9].type = "stand";
|
||||
waypoints[9].childCount = 4;
|
||||
waypoints[9].children[0] = 8;
|
||||
waypoints[9].children[1] = 10;
|
||||
waypoints[9].children[2] = 12;
|
||||
waypoints[9].children[3] = 18;
|
||||
waypoints[10] = spawnstruct();
|
||||
waypoints[10].origin = (948.997,437.246,28.125);
|
||||
waypoints[10].type = "stand";
|
||||
waypoints[10].childCount = 6;
|
||||
waypoints[10].children[0] = 9;
|
||||
waypoints[10].children[1] = 12;
|
||||
waypoints[10].children[2] = 11;
|
||||
waypoints[10].children[3] = 18;
|
||||
waypoints[10].children[4] = 24;
|
||||
waypoints[10].children[5] = 88;
|
||||
waypoints[11] = spawnstruct();
|
||||
waypoints[11].origin = (1159.55,316.005,28.125);
|
||||
waypoints[11].type = "stand";
|
||||
waypoints[11].childCount = 4;
|
||||
waypoints[11].children[0] = 0;
|
||||
waypoints[11].children[1] = 12;
|
||||
waypoints[11].children[2] = 10;
|
||||
waypoints[11].children[3] = 88;
|
||||
waypoints[12] = spawnstruct();
|
||||
waypoints[12].origin = (890.993,266.089,28.125);
|
||||
waypoints[12].type = "stand";
|
||||
waypoints[12].childCount = 4;
|
||||
waypoints[12].children[0] = 11;
|
||||
waypoints[12].children[1] = 13;
|
||||
waypoints[12].children[2] = 10;
|
||||
waypoints[12].children[3] = 9;
|
||||
waypoints[13] = spawnstruct();
|
||||
waypoints[13].origin = (580.602,251.012,28.125);
|
||||
waypoints[13].type = "stand";
|
||||
waypoints[13].childCount = 5;
|
||||
waypoints[13].children[0] = 4;
|
||||
waypoints[13].children[1] = 12;
|
||||
waypoints[13].children[2] = 7;
|
||||
waypoints[13].children[3] = 6;
|
||||
waypoints[13].children[4] = 8;
|
||||
waypoints[14] = spawnstruct();
|
||||
waypoints[14].origin = (724.843,589.895,28.125);
|
||||
waypoints[14].type = "stand";
|
||||
waypoints[14].childCount = 4;
|
||||
waypoints[14].children[0] = 8;
|
||||
waypoints[14].children[1] = 15;
|
||||
waypoints[14].children[2] = 16;
|
||||
waypoints[14].children[3] = 89;
|
||||
waypoints[15] = spawnstruct();
|
||||
waypoints[15].origin = (689.658,738.037,60.125);
|
||||
waypoints[15].type = "stand";
|
||||
waypoints[15].childCount = 2;
|
||||
waypoints[15].children[0] = 14;
|
||||
waypoints[15].children[1] = 17;
|
||||
waypoints[16] = spawnstruct();
|
||||
waypoints[16].origin = (782.19,740.27,60.125);
|
||||
waypoints[16].type = "stand";
|
||||
waypoints[16].childCount = 2;
|
||||
waypoints[16].children[0] = 14;
|
||||
waypoints[16].children[1] = 17;
|
||||
waypoints[17] = spawnstruct();
|
||||
waypoints[17].origin = (738.365,860.821,28.125);
|
||||
waypoints[17].type = "stand";
|
||||
waypoints[17].childCount = 4;
|
||||
waypoints[17].children[0] = 16;
|
||||
waypoints[17].children[1] = 15;
|
||||
waypoints[17].children[2] = 25;
|
||||
waypoints[17].children[3] = 66;
|
||||
waypoints[18] = spawnstruct();
|
||||
waypoints[18].origin = (892.884,503.932,50.125);
|
||||
waypoints[18].type = "stand";
|
||||
waypoints[18].childCount = 3;
|
||||
waypoints[18].children[0] = 9;
|
||||
waypoints[18].children[1] = 10;
|
||||
waypoints[18].children[2] = 19;
|
||||
waypoints[19] = spawnstruct();
|
||||
waypoints[19].origin = (889.55,614.586,156.125);
|
||||
waypoints[19].type = "stand";
|
||||
waypoints[19].childCount = 2;
|
||||
waypoints[19].children[0] = 18;
|
||||
waypoints[19].children[1] = 20;
|
||||
waypoints[20] = spawnstruct();
|
||||
waypoints[20].origin = (821.734,700.728,156.125);
|
||||
waypoints[20].type = "stand";
|
||||
waypoints[20].childCount = 3;
|
||||
waypoints[20].children[0] = 19;
|
||||
waypoints[20].children[1] = 21;
|
||||
waypoints[20].children[2] = 23;
|
||||
waypoints[21] = spawnstruct();
|
||||
waypoints[21].origin = (704.143,709.897,156.125);
|
||||
waypoints[21].type = "stand";
|
||||
waypoints[21].childCount = 2;
|
||||
waypoints[21].children[0] = 20;
|
||||
waypoints[21].children[1] = 22;
|
||||
waypoints[22] = spawnstruct();
|
||||
waypoints[22].origin = (660.627,556.142,156.125);
|
||||
waypoints[22].type = "stand";
|
||||
waypoints[22].childCount = 2;
|
||||
waypoints[22].children[0] = 21;
|
||||
waypoints[22].children[1] = 23;
|
||||
waypoints[23] = spawnstruct();
|
||||
waypoints[23].origin = (757.048,539.674,156.125);
|
||||
waypoints[23].type = "stand";
|
||||
waypoints[23].childCount = 2;
|
||||
waypoints[23].children[0] = 22;
|
||||
waypoints[23].children[1] = 20;
|
||||
waypoints[24] = spawnstruct();
|
||||
waypoints[24].origin = (1004.58,582.486,28.125);
|
||||
waypoints[24].type = "stand";
|
||||
waypoints[24].childCount = 4;
|
||||
waypoints[24].children[0] = 10;
|
||||
waypoints[24].children[1] = 25;
|
||||
waypoints[24].children[2] = 101;
|
||||
waypoints[24].children[3] = 103;
|
||||
waypoints[25] = spawnstruct();
|
||||
waypoints[25].origin = (1029.19,824.597,28.125);
|
||||
waypoints[25].type = "stand";
|
||||
waypoints[25].childCount = 5;
|
||||
waypoints[25].children[0] = 17;
|
||||
waypoints[25].children[1] = 26;
|
||||
waypoints[25].children[2] = 27;
|
||||
waypoints[25].children[3] = 24;
|
||||
waypoints[25].children[4] = 103;
|
||||
waypoints[26] = spawnstruct();
|
||||
waypoints[26].origin = (952.182,1052.15,28.125);
|
||||
waypoints[26].type = "stand";
|
||||
waypoints[26].childCount = 5;
|
||||
waypoints[26].children[0] = 25;
|
||||
waypoints[26].children[1] = 27;
|
||||
waypoints[26].children[2] = 28;
|
||||
waypoints[26].children[3] = 29;
|
||||
waypoints[26].children[4] = 73;
|
||||
waypoints[27] = spawnstruct();
|
||||
waypoints[27].origin = (1092.87,982.674,28.125);
|
||||
waypoints[27].type = "stand";
|
||||
waypoints[27].childCount = 5;
|
||||
waypoints[27].children[0] = 25;
|
||||
waypoints[27].children[1] = 26;
|
||||
waypoints[27].children[2] = 28;
|
||||
waypoints[27].children[3] = 90;
|
||||
waypoints[27].children[4] = 103;
|
||||
waypoints[28] = spawnstruct();
|
||||
waypoints[28].origin = (1215.84,1133.62,28.125);
|
||||
waypoints[28].type = "stand";
|
||||
waypoints[28].childCount = 4;
|
||||
waypoints[28].children[0] = 27;
|
||||
waypoints[28].children[1] = 26;
|
||||
waypoints[28].children[2] = 33;
|
||||
waypoints[28].children[3] = 90;
|
||||
waypoints[29] = spawnstruct();
|
||||
waypoints[29].origin = (808.471,1142.11,28.125);
|
||||
waypoints[29].type = "stand";
|
||||
waypoints[29].childCount = 4;
|
||||
waypoints[29].children[0] = 26;
|
||||
waypoints[29].children[1] = 30;
|
||||
waypoints[29].children[2] = 65;
|
||||
waypoints[29].children[3] = 66;
|
||||
waypoints[30] = spawnstruct();
|
||||
waypoints[30].origin = (953.341,1289.21,28.125);
|
||||
waypoints[30].type = "stand";
|
||||
waypoints[30].childCount = 5;
|
||||
waypoints[30].children[0] = 29;
|
||||
waypoints[30].children[1] = 31;
|
||||
waypoints[30].children[2] = 34;
|
||||
waypoints[30].children[3] = 63;
|
||||
waypoints[30].children[4] = 64;
|
||||
waypoints[31] = spawnstruct();
|
||||
waypoints[31].origin = (929.05,1665.76,28.125);
|
||||
waypoints[31].type = "stand";
|
||||
waypoints[31].childCount = 4;
|
||||
waypoints[31].children[0] = 30;
|
||||
waypoints[31].children[1] = 32;
|
||||
waypoints[31].children[2] = 62;
|
||||
waypoints[31].children[3] = 63;
|
||||
waypoints[32] = spawnstruct();
|
||||
waypoints[32].origin = (1029.84,1676.12,60.125);
|
||||
waypoints[32].type = "stand";
|
||||
waypoints[32].childCount = 2;
|
||||
waypoints[32].children[0] = 31;
|
||||
waypoints[32].children[1] = 84;
|
||||
waypoints[33] = spawnstruct();
|
||||
waypoints[33].origin = (1149.13,1318.31,28.125);
|
||||
waypoints[33].type = "stand";
|
||||
waypoints[33].childCount = 4;
|
||||
waypoints[33].children[0] = 34;
|
||||
waypoints[33].children[1] = 28;
|
||||
waypoints[33].children[2] = 91;
|
||||
waypoints[33].children[3] = 92;
|
||||
waypoints[34] = spawnstruct();
|
||||
waypoints[34].origin = (1044.88,1301.19,60.125);
|
||||
waypoints[34].type = "stand";
|
||||
waypoints[34].childCount = 2;
|
||||
waypoints[34].children[0] = 33;
|
||||
waypoints[34].children[1] = 30;
|
||||
waypoints[35] = spawnstruct();
|
||||
waypoints[35].origin = (1227.16,1921.76,28.125);
|
||||
waypoints[35].type = "stand";
|
||||
waypoints[35].childCount = 6;
|
||||
waypoints[35].children[0] = 39;
|
||||
waypoints[35].children[1] = 38;
|
||||
waypoints[35].children[2] = 62;
|
||||
waypoints[35].children[3] = 84;
|
||||
waypoints[35].children[4] = 93;
|
||||
waypoints[35].children[5] = 94;
|
||||
waypoints[36] = spawnstruct();
|
||||
waypoints[36].origin = (981.053,2281.89,28.125);
|
||||
waypoints[36].type = "stand";
|
||||
waypoints[36].childCount = 4;
|
||||
waypoints[36].children[0] = 37;
|
||||
waypoints[36].children[1] = 40;
|
||||
waypoints[36].children[2] = 41;
|
||||
waypoints[36].children[3] = 42;
|
||||
waypoints[37] = spawnstruct();
|
||||
waypoints[37].origin = (928.878,2123.83,60.125);
|
||||
waypoints[37].type = "stand";
|
||||
waypoints[37].childCount = 3;
|
||||
waypoints[37].children[0] = 36;
|
||||
waypoints[37].children[1] = 38;
|
||||
waypoints[37].children[2] = 42;
|
||||
waypoints[38] = spawnstruct();
|
||||
waypoints[38].origin = (939.541,1963.59,28.125);
|
||||
waypoints[38].type = "stand";
|
||||
waypoints[38].childCount = 5;
|
||||
waypoints[38].children[0] = 39;
|
||||
waypoints[38].children[1] = 35;
|
||||
waypoints[38].children[2] = 37;
|
||||
waypoints[38].children[3] = 59;
|
||||
waypoints[38].children[4] = 62;
|
||||
waypoints[39] = spawnstruct();
|
||||
waypoints[39].origin = (1076.47,2020.68,28.125);
|
||||
waypoints[39].type = "stand";
|
||||
waypoints[39].childCount = 3;
|
||||
waypoints[39].children[0] = 35;
|
||||
waypoints[39].children[1] = 38;
|
||||
waypoints[39].children[2] = 40;
|
||||
waypoints[40] = spawnstruct();
|
||||
waypoints[40].origin = (1120.26,2201.66,28.125);
|
||||
waypoints[40].type = "stand";
|
||||
waypoints[40].childCount = 3;
|
||||
waypoints[40].children[0] = 39;
|
||||
waypoints[40].children[1] = 36;
|
||||
waypoints[40].children[2] = 41;
|
||||
waypoints[41] = spawnstruct();
|
||||
waypoints[41].origin = (1186.71,2334.35,28.125);
|
||||
waypoints[41].type = "stand";
|
||||
waypoints[41].childCount = 4;
|
||||
waypoints[41].children[0] = 40;
|
||||
waypoints[41].children[1] = 36;
|
||||
waypoints[41].children[2] = 42;
|
||||
waypoints[41].children[3] = 96;
|
||||
waypoints[42] = spawnstruct();
|
||||
waypoints[42].origin = (794.13,2412.11,28.125);
|
||||
waypoints[42].type = "stand";
|
||||
waypoints[42].childCount = 9;
|
||||
waypoints[42].children[0] = 36;
|
||||
waypoints[42].children[1] = 37;
|
||||
waypoints[42].children[2] = 41;
|
||||
waypoints[42].children[3] = 43;
|
||||
waypoints[42].children[4] = 45;
|
||||
waypoints[42].children[5] = 44;
|
||||
waypoints[42].children[6] = 46;
|
||||
waypoints[42].children[7] = 47;
|
||||
waypoints[42].children[8] = 48;
|
||||
waypoints[43] = spawnstruct();
|
||||
waypoints[43].origin = (1168.55,2471.78,28.125);
|
||||
waypoints[43].type = "stand";
|
||||
waypoints[43].childCount = 3;
|
||||
waypoints[43].children[0] = 42;
|
||||
waypoints[43].children[1] = 44;
|
||||
waypoints[43].children[2] = 45;
|
||||
waypoints[44] = spawnstruct();
|
||||
waypoints[44].origin = (1188.65,2574.37,28.125);
|
||||
waypoints[44].type = "stand";
|
||||
waypoints[44].childCount = 3;
|
||||
waypoints[44].children[0] = 43;
|
||||
waypoints[44].children[1] = 45;
|
||||
waypoints[44].children[2] = 42;
|
||||
waypoints[45] = spawnstruct();
|
||||
waypoints[45].origin = (871.363,2570.3,28.125);
|
||||
waypoints[45].type = "stand";
|
||||
waypoints[45].childCount = 4;
|
||||
waypoints[45].children[0] = 44;
|
||||
waypoints[45].children[1] = 42;
|
||||
waypoints[45].children[2] = 43;
|
||||
waypoints[45].children[3] = 48;
|
||||
waypoints[46] = spawnstruct();
|
||||
waypoints[46].origin = (710.182,2313.92,28.125);
|
||||
waypoints[46].type = "stand";
|
||||
waypoints[46].childCount = 4;
|
||||
waypoints[46].children[0] = 42;
|
||||
waypoints[46].children[1] = 47;
|
||||
waypoints[46].children[2] = 60;
|
||||
waypoints[46].children[3] = 61;
|
||||
waypoints[47] = spawnstruct();
|
||||
waypoints[47].origin = (639.393,2390.73,28.125);
|
||||
waypoints[47].type = "stand";
|
||||
waypoints[47].childCount = 5;
|
||||
waypoints[47].children[0] = 46;
|
||||
waypoints[47].children[1] = 42;
|
||||
waypoints[47].children[2] = 48;
|
||||
waypoints[47].children[3] = 49;
|
||||
waypoints[47].children[4] = 50;
|
||||
waypoints[48] = spawnstruct();
|
||||
waypoints[48].origin = (604.445,2550.02,28.125);
|
||||
waypoints[48].type = "stand";
|
||||
waypoints[48].childCount = 5;
|
||||
waypoints[48].children[0] = 45;
|
||||
waypoints[48].children[1] = 47;
|
||||
waypoints[48].children[2] = 42;
|
||||
waypoints[48].children[3] = 50;
|
||||
waypoints[48].children[4] = 51;
|
||||
waypoints[49] = spawnstruct();
|
||||
waypoints[49].origin = (553.371,2318.72,50.125);
|
||||
waypoints[49].type = "stand";
|
||||
waypoints[49].childCount = 3;
|
||||
waypoints[49].children[0] = 47;
|
||||
waypoints[49].children[1] = 50;
|
||||
waypoints[49].children[2] = 106;
|
||||
waypoints[50] = spawnstruct();
|
||||
waypoints[50].origin = (456.722,2430.49,28.125);
|
||||
waypoints[50].type = "stand";
|
||||
waypoints[50].childCount = 8;
|
||||
waypoints[50].children[0] = 49;
|
||||
waypoints[50].children[1] = 48;
|
||||
waypoints[50].children[2] = 47;
|
||||
waypoints[50].children[3] = 51;
|
||||
waypoints[50].children[4] = 52;
|
||||
waypoints[50].children[5] = 54;
|
||||
waypoints[50].children[6] = 53;
|
||||
waypoints[50].children[7] = 97;
|
||||
waypoints[51] = spawnstruct();
|
||||
waypoints[51].origin = (259.984,2581.73,28.125);
|
||||
waypoints[51].type = "stand";
|
||||
waypoints[51].childCount = 3;
|
||||
waypoints[51].children[0] = 48;
|
||||
waypoints[51].children[1] = 50;
|
||||
waypoints[51].children[2] = 98;
|
||||
waypoints[52] = spawnstruct();
|
||||
waypoints[52].origin = (394.979,2269.04,28.125);
|
||||
waypoints[52].type = "stand";
|
||||
waypoints[52].childCount = 3;
|
||||
waypoints[52].children[0] = 50;
|
||||
waypoints[52].children[1] = 57;
|
||||
waypoints[52].children[2] = 53;
|
||||
waypoints[53] = spawnstruct();
|
||||
waypoints[53].origin = (291.176,2246.97,28.125);
|
||||
waypoints[53].type = "stand";
|
||||
waypoints[53].childCount = 5;
|
||||
waypoints[53].children[0] = 50;
|
||||
waypoints[53].children[1] = 55;
|
||||
waypoints[53].children[2] = 52;
|
||||
waypoints[53].children[3] = 54;
|
||||
waypoints[53].children[4] = 85;
|
||||
waypoints[54] = spawnstruct();
|
||||
waypoints[54].origin = (98.4385,2222.46,28.125);
|
||||
waypoints[54].type = "stand";
|
||||
waypoints[54].childCount = 4;
|
||||
waypoints[54].children[0] = 50;
|
||||
waypoints[54].children[1] = 53;
|
||||
waypoints[54].children[2] = 58;
|
||||
waypoints[54].children[3] = 85;
|
||||
waypoints[55] = spawnstruct();
|
||||
waypoints[55].origin = (218.456,2011.41,28.125);
|
||||
waypoints[55].type = "stand";
|
||||
waypoints[55].childCount = 4;
|
||||
waypoints[55].children[0] = 53;
|
||||
waypoints[55].children[1] = 56;
|
||||
waypoints[55].children[2] = 81;
|
||||
waypoints[55].children[3] = 105;
|
||||
waypoints[56] = spawnstruct();
|
||||
waypoints[56].origin = (361.233,1982.66,28.125);
|
||||
waypoints[56].type = "stand";
|
||||
waypoints[56].childCount = 4;
|
||||
waypoints[56].children[0] = 55;
|
||||
waypoints[56].children[1] = 57;
|
||||
waypoints[56].children[2] = 59;
|
||||
waypoints[56].children[3] = 81;
|
||||
waypoints[57] = spawnstruct();
|
||||
waypoints[57].origin = (375.537,2073.62,60.125);
|
||||
waypoints[57].type = "stand";
|
||||
waypoints[57].childCount = 2;
|
||||
waypoints[57].children[0] = 56;
|
||||
waypoints[57].children[1] = 52;
|
||||
waypoints[58] = spawnstruct();
|
||||
waypoints[58].origin = (74.3311,2083.72,60.125);
|
||||
waypoints[58].type = "stand";
|
||||
waypoints[58].childCount = 2;
|
||||
waypoints[58].children[0] = 54;
|
||||
waypoints[58].children[1] = 105;
|
||||
waypoints[59] = spawnstruct();
|
||||
waypoints[59].origin = (662.975,1986.09,28.125);
|
||||
waypoints[59].type = "stand";
|
||||
waypoints[59].childCount = 6;
|
||||
waypoints[59].children[0] = 56;
|
||||
waypoints[59].children[1] = 38;
|
||||
waypoints[59].children[2] = 60;
|
||||
waypoints[59].children[3] = 61;
|
||||
waypoints[59].children[4] = 62;
|
||||
waypoints[59].children[5] = 81;
|
||||
waypoints[60] = spawnstruct();
|
||||
waypoints[60].origin = (635.091,2077.18,60.125);
|
||||
waypoints[60].type = "stand";
|
||||
waypoints[60].childCount = 2;
|
||||
waypoints[60].children[0] = 59;
|
||||
waypoints[60].children[1] = 46;
|
||||
waypoints[61] = spawnstruct();
|
||||
waypoints[61].origin = (722.706,2098.12,60.125);
|
||||
waypoints[61].type = "stand";
|
||||
waypoints[61].childCount = 2;
|
||||
waypoints[61].children[0] = 46;
|
||||
waypoints[61].children[1] = 59;
|
||||
waypoints[62] = spawnstruct();
|
||||
waypoints[62].origin = (846.771,1809.78,28.125);
|
||||
waypoints[62].type = "stand";
|
||||
waypoints[62].childCount = 5;
|
||||
waypoints[62].children[0] = 38;
|
||||
waypoints[62].children[1] = 59;
|
||||
waypoints[62].children[2] = 31;
|
||||
waypoints[62].children[3] = 35;
|
||||
waypoints[62].children[4] = 63;
|
||||
waypoints[63] = spawnstruct();
|
||||
waypoints[63].origin = (761.789,1610.09,28.125);
|
||||
waypoints[63].type = "stand";
|
||||
waypoints[63].childCount = 5;
|
||||
waypoints[63].children[0] = 62;
|
||||
waypoints[63].children[1] = 31;
|
||||
waypoints[63].children[2] = 30;
|
||||
waypoints[63].children[3] = 64;
|
||||
waypoints[63].children[4] = 80;
|
||||
waypoints[64] = spawnstruct();
|
||||
waypoints[64].origin = (749.754,1459.28,28.125);
|
||||
waypoints[64].type = "stand";
|
||||
waypoints[64].childCount = 6;
|
||||
waypoints[64].children[0] = 63;
|
||||
waypoints[64].children[1] = 65;
|
||||
waypoints[64].children[2] = 78;
|
||||
waypoints[64].children[3] = 80;
|
||||
waypoints[64].children[4] = 30;
|
||||
waypoints[64].children[5] = 109;
|
||||
waypoints[65] = spawnstruct();
|
||||
waypoints[65].origin = (691.641,1208.28,28.125);
|
||||
waypoints[65].type = "stand";
|
||||
waypoints[65].childCount = 5;
|
||||
waypoints[65].children[0] = 64;
|
||||
waypoints[65].children[1] = 29;
|
||||
waypoints[65].children[2] = 66;
|
||||
waypoints[65].children[3] = 78;
|
||||
waypoints[65].children[4] = 73;
|
||||
waypoints[66] = spawnstruct();
|
||||
waypoints[66].origin = (650.532,877.419,28.125);
|
||||
waypoints[66].type = "stand";
|
||||
waypoints[66].childCount = 5;
|
||||
waypoints[66].children[0] = 65;
|
||||
waypoints[66].children[1] = 17;
|
||||
waypoints[66].children[2] = 67;
|
||||
waypoints[66].children[3] = 29;
|
||||
waypoints[66].children[4] = 78;
|
||||
waypoints[67] = spawnstruct();
|
||||
waypoints[67].origin = (544.701,793.649,28.125);
|
||||
waypoints[67].type = "stand";
|
||||
waypoints[67].childCount = 6;
|
||||
waypoints[67].children[0] = 66;
|
||||
waypoints[67].children[1] = 7;
|
||||
waypoints[67].children[2] = 6;
|
||||
waypoints[67].children[3] = 68;
|
||||
waypoints[67].children[4] = 72;
|
||||
waypoints[67].children[5] = 73;
|
||||
waypoints[68] = spawnstruct();
|
||||
waypoints[68].origin = (335.603,653.458,28.125);
|
||||
waypoints[68].type = "stand";
|
||||
waypoints[68].childCount = 4;
|
||||
waypoints[68].children[0] = 6;
|
||||
waypoints[68].children[1] = 67;
|
||||
waypoints[68].children[2] = 69;
|
||||
waypoints[68].children[3] = 70;
|
||||
waypoints[69] = spawnstruct();
|
||||
waypoints[69].origin = (144.44,561.733,28.125);
|
||||
waypoints[69].type = "stand";
|
||||
waypoints[69].childCount = 3;
|
||||
waypoints[69].children[0] = 68;
|
||||
waypoints[69].children[1] = 70;
|
||||
waypoints[69].children[2] = 6;
|
||||
waypoints[70] = spawnstruct();
|
||||
waypoints[70].origin = (232.662,709.075,28.125);
|
||||
waypoints[70].type = "stand";
|
||||
waypoints[70].childCount = 3;
|
||||
waypoints[70].children[0] = 69;
|
||||
waypoints[70].children[1] = 68;
|
||||
waypoints[70].children[2] = 71;
|
||||
waypoints[71] = spawnstruct();
|
||||
waypoints[71].origin = (234.977,764.208,60.125);
|
||||
waypoints[71].type = "stand";
|
||||
waypoints[71].childCount = 2;
|
||||
waypoints[71].children[0] = 70;
|
||||
waypoints[71].children[1] = 72;
|
||||
waypoints[72] = spawnstruct();
|
||||
waypoints[72].origin = (218.863,847.94,28.125);
|
||||
waypoints[72].type = "stand";
|
||||
waypoints[72].childCount = 4;
|
||||
waypoints[72].children[0] = 71;
|
||||
waypoints[72].children[1] = 67;
|
||||
waypoints[72].children[2] = 73;
|
||||
waypoints[72].children[3] = 104;
|
||||
waypoints[73] = spawnstruct();
|
||||
waypoints[73].origin = (367.448,1003.93,28.125);
|
||||
waypoints[73].type = "stand";
|
||||
waypoints[73].childCount = 6;
|
||||
waypoints[73].children[0] = 67;
|
||||
waypoints[73].children[1] = 72;
|
||||
waypoints[73].children[2] = 77;
|
||||
waypoints[73].children[3] = 78;
|
||||
waypoints[73].children[4] = 26;
|
||||
waypoints[73].children[5] = 65;
|
||||
waypoints[74] = spawnstruct();
|
||||
waypoints[74].origin = (57.1662,1233.93,28.125);
|
||||
waypoints[74].type = "stand";
|
||||
waypoints[74].childCount = 3;
|
||||
waypoints[74].children[0] = 75;
|
||||
waypoints[74].children[1] = 76;
|
||||
waypoints[74].children[2] = 104;
|
||||
waypoints[75] = spawnstruct();
|
||||
waypoints[75].origin = (49.9737,1440.71,28.125);
|
||||
waypoints[75].type = "stand";
|
||||
waypoints[75].childCount = 2;
|
||||
waypoints[75].children[0] = 74;
|
||||
waypoints[75].children[1] = 76;
|
||||
waypoints[76] = spawnstruct();
|
||||
waypoints[76].origin = (295.812,1487.62,28.125);
|
||||
waypoints[76].type = "stand";
|
||||
waypoints[76].childCount = 6;
|
||||
waypoints[76].children[0] = 74;
|
||||
waypoints[76].children[1] = 75;
|
||||
waypoints[76].children[2] = 78;
|
||||
waypoints[76].children[3] = 79;
|
||||
waypoints[76].children[4] = 81;
|
||||
waypoints[76].children[5] = 82;
|
||||
waypoints[77] = spawnstruct();
|
||||
waypoints[77].origin = (238.297,1201.9,28.125);
|
||||
waypoints[77].type = "stand";
|
||||
waypoints[77].childCount = 1;
|
||||
waypoints[77].children[0] = 73;
|
||||
waypoints[78] = spawnstruct();
|
||||
waypoints[78].origin = (579.117,1227.48,28.125);
|
||||
waypoints[78].type = "stand";
|
||||
waypoints[78].childCount = 6;
|
||||
waypoints[78].children[0] = 73;
|
||||
waypoints[78].children[1] = 76;
|
||||
waypoints[78].children[2] = 65;
|
||||
waypoints[78].children[3] = 66;
|
||||
waypoints[78].children[4] = 64;
|
||||
waypoints[78].children[5] = 79;
|
||||
waypoints[79] = spawnstruct();
|
||||
waypoints[79].origin = (498.169,1561.09,28.125);
|
||||
waypoints[79].type = "stand";
|
||||
waypoints[79].childCount = 3;
|
||||
waypoints[79].children[0] = 76;
|
||||
waypoints[79].children[1] = 78;
|
||||
waypoints[79].children[2] = 80;
|
||||
waypoints[80] = spawnstruct();
|
||||
waypoints[80].origin = (550.791,1741.92,28.125);
|
||||
waypoints[80].type = "stand";
|
||||
waypoints[80].childCount = 4;
|
||||
waypoints[80].children[0] = 79;
|
||||
waypoints[80].children[1] = 81;
|
||||
waypoints[80].children[2] = 63;
|
||||
waypoints[80].children[3] = 64;
|
||||
waypoints[81] = spawnstruct();
|
||||
waypoints[81].origin = (429.149,1830.74,28.125);
|
||||
waypoints[81].type = "stand";
|
||||
waypoints[81].childCount = 6;
|
||||
waypoints[81].children[0] = 80;
|
||||
waypoints[81].children[1] = 76;
|
||||
waypoints[81].children[2] = 82;
|
||||
waypoints[81].children[3] = 55;
|
||||
waypoints[81].children[4] = 56;
|
||||
waypoints[81].children[5] = 59;
|
||||
waypoints[82] = spawnstruct();
|
||||
waypoints[82].origin = (221.076,1709.51,28.125);
|
||||
waypoints[82].type = "stand";
|
||||
waypoints[82].childCount = 3;
|
||||
waypoints[82].children[0] = 81;
|
||||
waypoints[82].children[1] = 83;
|
||||
waypoints[82].children[2] = 76;
|
||||
waypoints[83] = spawnstruct();
|
||||
waypoints[83].origin = (83.9234,1695.33,28.125);
|
||||
waypoints[83].type = "stand";
|
||||
waypoints[83].childCount = 2;
|
||||
waypoints[83].children[0] = 82;
|
||||
waypoints[83].children[1] = 105;
|
||||
waypoints[84] = spawnstruct();
|
||||
waypoints[84].origin = (1174.9,1663.86,28.125);
|
||||
waypoints[84].type = "stand";
|
||||
waypoints[84].childCount = 3;
|
||||
waypoints[84].children[0] = 35;
|
||||
waypoints[84].children[1] = 32;
|
||||
waypoints[84].children[2] = 100;
|
||||
waypoints[85] = spawnstruct();
|
||||
waypoints[85].origin = (70.0231,2366.4,28.125);
|
||||
waypoints[85].type = "stand";
|
||||
waypoints[85].childCount = 2;
|
||||
waypoints[85].children[0] = 54;
|
||||
waypoints[85].children[1] = 53;
|
||||
waypoints[86] = spawnstruct();
|
||||
waypoints[86].origin = (52.4273,446.677,28.125);
|
||||
waypoints[86].type = "stand";
|
||||
waypoints[86].childCount = 3;
|
||||
waypoints[86].children[0] = 5;
|
||||
waypoints[86].children[1] = 6;
|
||||
waypoints[86].children[2] = 4;
|
||||
waypoints[87] = spawnstruct();
|
||||
waypoints[87].origin = (1275,455.869,28.125);
|
||||
waypoints[87].type = "stand";
|
||||
waypoints[87].childCount = 1;
|
||||
waypoints[87].children[0] = 88;
|
||||
waypoints[88] = spawnstruct();
|
||||
waypoints[88].origin = (1151.95,470.155,28.125);
|
||||
waypoints[88].type = "stand";
|
||||
waypoints[88].childCount = 3;
|
||||
waypoints[88].children[0] = 87;
|
||||
waypoints[88].children[1] = 11;
|
||||
waypoints[88].children[2] = 10;
|
||||
waypoints[89] = spawnstruct();
|
||||
waypoints[89].origin = (876.306,679.683,28.125);
|
||||
waypoints[89].type = "stand";
|
||||
waypoints[89].childCount = 1;
|
||||
waypoints[89].children[0] = 14;
|
||||
waypoints[90] = spawnstruct();
|
||||
waypoints[90].origin = (1293.84,913.475,28.125);
|
||||
waypoints[90].type = "stand";
|
||||
waypoints[90].childCount = 2;
|
||||
waypoints[90].children[0] = 28;
|
||||
waypoints[90].children[1] = 27;
|
||||
waypoints[91] = spawnstruct();
|
||||
waypoints[91].origin = (1238.44,1457.36,28.125);
|
||||
waypoints[91].type = "stand";
|
||||
waypoints[91].childCount = 2;
|
||||
waypoints[91].children[0] = 33;
|
||||
waypoints[91].children[1] = 92;
|
||||
waypoints[92] = spawnstruct();
|
||||
waypoints[92].origin = (1135.87,1453.89,28.125);
|
||||
waypoints[92].type = "stand";
|
||||
waypoints[92].childCount = 3;
|
||||
waypoints[92].children[0] = 33;
|
||||
waypoints[92].children[1] = 91;
|
||||
waypoints[92].children[2] = 100;
|
||||
waypoints[93] = spawnstruct();
|
||||
waypoints[93].origin = (1289.65,2119.4,28.125);
|
||||
waypoints[93].type = "stand";
|
||||
waypoints[93].childCount = 2;
|
||||
waypoints[93].children[0] = 94;
|
||||
waypoints[93].children[1] = 35;
|
||||
waypoints[94] = spawnstruct();
|
||||
waypoints[94].origin = (1224.96,2095.72,28.125);
|
||||
waypoints[94].type = "stand";
|
||||
waypoints[94].childCount = 3;
|
||||
waypoints[94].children[0] = 93;
|
||||
waypoints[94].children[1] = 35;
|
||||
waypoints[94].children[2] = 95;
|
||||
waypoints[95] = spawnstruct();
|
||||
waypoints[95].origin = (1241.72,2149.57,60.125);
|
||||
waypoints[95].type = "stand";
|
||||
waypoints[95].childCount = 2;
|
||||
waypoints[95].children[0] = 94;
|
||||
waypoints[95].children[1] = 96;
|
||||
waypoints[96] = spawnstruct();
|
||||
waypoints[96].origin = (1226.45,2209.46,28.125);
|
||||
waypoints[96].type = "stand";
|
||||
waypoints[96].childCount = 2;
|
||||
waypoints[96].children[0] = 95;
|
||||
waypoints[96].children[1] = 41;
|
||||
waypoints[97] = spawnstruct();
|
||||
waypoints[97].origin = (27.9452,2471.29,28.125);
|
||||
waypoints[97].type = "stand";
|
||||
waypoints[97].childCount = 2;
|
||||
waypoints[97].children[0] = 98;
|
||||
waypoints[97].children[1] = 50;
|
||||
waypoints[98] = spawnstruct();
|
||||
waypoints[98].origin = (42.7472,2574.31,28.125);
|
||||
waypoints[98].type = "stand";
|
||||
waypoints[98].childCount = 2;
|
||||
waypoints[98].children[0] = 97;
|
||||
waypoints[98].children[1] = 51;
|
||||
waypoints[99] = spawnstruct();
|
||||
waypoints[99].origin = (1213.21,1534.44,28.125);
|
||||
waypoints[99].type = "stand";
|
||||
waypoints[99].childCount = 1;
|
||||
waypoints[99].children[0] = 100;
|
||||
waypoints[100] = spawnstruct();
|
||||
waypoints[100].origin = (1141.68,1513.85,28.125);
|
||||
waypoints[100].type = "stand";
|
||||
waypoints[100].childCount = 3;
|
||||
waypoints[100].children[0] = 99;
|
||||
waypoints[100].children[1] = 92;
|
||||
waypoints[100].children[2] = 84;
|
||||
waypoints[101] = spawnstruct();
|
||||
waypoints[101].origin = (1272.17,557.036,28.125);
|
||||
waypoints[101].type = "stand";
|
||||
waypoints[101].childCount = 3;
|
||||
waypoints[101].children[0] = 102;
|
||||
waypoints[101].children[1] = 24;
|
||||
waypoints[101].children[2] = 103;
|
||||
waypoints[102] = spawnstruct();
|
||||
waypoints[102].origin = (1280.78,828.297,28.125);
|
||||
waypoints[102].type = "stand";
|
||||
waypoints[102].childCount = 2;
|
||||
waypoints[102].children[0] = 101;
|
||||
waypoints[102].children[1] = 103;
|
||||
waypoints[103] = spawnstruct();
|
||||
waypoints[103].origin = (1124.55,800.407,28.125);
|
||||
waypoints[103].type = "stand";
|
||||
waypoints[103].childCount = 5;
|
||||
waypoints[103].children[0] = 25;
|
||||
waypoints[103].children[1] = 102;
|
||||
waypoints[103].children[2] = 101;
|
||||
waypoints[103].children[3] = 24;
|
||||
waypoints[103].children[4] = 27;
|
||||
waypoints[104] = spawnstruct();
|
||||
waypoints[104].origin = (64.1468,828.055,28.125);
|
||||
waypoints[104].type = "stand";
|
||||
waypoints[104].childCount = 2;
|
||||
waypoints[104].children[0] = 72;
|
||||
waypoints[104].children[1] = 74;
|
||||
waypoints[105] = spawnstruct();
|
||||
waypoints[105].origin = (71.0671,2040.7,28.125);
|
||||
waypoints[105].type = "stand";
|
||||
waypoints[105].childCount = 3;
|
||||
waypoints[105].children[0] = 58;
|
||||
waypoints[105].children[1] = 83;
|
||||
waypoints[105].children[2] = 55;
|
||||
waypoints[106] = spawnstruct();
|
||||
waypoints[106].origin = (544.506,2130.72,156.125);
|
||||
waypoints[106].type = "stand";
|
||||
waypoints[106].childCount = 3;
|
||||
waypoints[106].children[0] = 49;
|
||||
waypoints[106].children[1] = 107;
|
||||
waypoints[106].children[2] = 108;
|
||||
waypoints[107] = spawnstruct();
|
||||
waypoints[107].origin = (755.036,2119.37,156.125);
|
||||
waypoints[107].type = "stand";
|
||||
waypoints[107].childCount = 2;
|
||||
waypoints[107].children[0] = 106;
|
||||
waypoints[107].children[1] = 108;
|
||||
waypoints[108] = spawnstruct();
|
||||
waypoints[108].origin = (736.684,2279.45,156.125);
|
||||
waypoints[108].type = "stand";
|
||||
waypoints[108].childCount = 2;
|
||||
waypoints[108].children[0] = 107;
|
||||
waypoints[108].children[1] = 106;
|
||||
waypoints[109] = spawnstruct();
|
||||
waypoints[109].origin = (719.125,1442.05,28.125);
|
||||
waypoints[109].type = "stand";
|
||||
waypoints[109].childCount = 2;
|
||||
waypoints[109].children[0] = 64;
|
||||
waypoints[109].children[1] = 110;
|
||||
waypoints[110] = spawnstruct();
|
||||
waypoints[110].origin = (701.565,1440.57,260.125);
|
||||
waypoints[110].type = "stand";
|
||||
waypoints[110].childCount = 2;
|
||||
waypoints[110].children[0] = 109;
|
||||
waypoints[110].children[1] = 111;
|
||||
waypoints[111] = spawnstruct();
|
||||
waypoints[111].origin = (590.653,1439.15,260.125);
|
||||
waypoints[111].type = "stand";
|
||||
waypoints[111].childCount = 1;
|
||||
waypoints[111].children[0] = 110;
|
||||
return waypoints;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,529 +0,0 @@
|
||||
Shipment()
|
||||
{
|
||||
/* 16:52 */waypoints = [];
|
||||
/* 16:52 */waypoints[0] = spawnstruct();
|
||||
/* 16:52 */waypoints[0].origin = (-1.7, 406.3, 192);
|
||||
/* 16:52 */waypoints[0].type = "stand";
|
||||
/* 16:52 */waypoints[0].childCount = 5;
|
||||
/* 16:52 */waypoints[0].children[0] = 6;
|
||||
/* 16:52 */waypoints[0].children[1] = 19;
|
||||
/* 16:52 */waypoints[0].children[2] = 3;
|
||||
/* 16:52 */waypoints[0].children[3] = 27;
|
||||
/* 16:52 */waypoints[0].children[4] = 57;
|
||||
/* 16:52 */waypoints[1] = spawnstruct();
|
||||
/* 16:52 */waypoints[1].origin = (-686, 278.79, 202.6);
|
||||
/* 16:52 */waypoints[1].type = "stand";
|
||||
/* 16:52 */waypoints[1].childCount = 3;
|
||||
/* 16:52 */waypoints[1].children[0] = 3;
|
||||
/* 16:52 */waypoints[1].children[1] = 2;
|
||||
/* 16:52 */waypoints[1].children[2] = 28;
|
||||
/* 16:52 */waypoints[2] = spawnstruct();
|
||||
/* 16:52 */waypoints[2].origin = (-669, 706.1, 193);
|
||||
/* 16:52 */waypoints[2].type = "stand";
|
||||
/* 16:52 */waypoints[2].childCount = 4;
|
||||
/* 16:52 */waypoints[2].children[0] = 1;
|
||||
/* 16:52 */waypoints[2].children[1] = 4;
|
||||
/* 16:52 */waypoints[2].children[2] = 49;
|
||||
/* 16:52 */waypoints[2].children[3] = 50;
|
||||
/* 16:52 */waypoints[3] = spawnstruct();
|
||||
/* 16:52 */waypoints[3].origin = (-442.2, 384.5, 194.2);
|
||||
/* 16:52 */waypoints[3].type = "stand";
|
||||
/* 16:52 */waypoints[3].childCount = 6;
|
||||
/* 16:52 */waypoints[3].children[0] = 1;
|
||||
/* 16:52 */waypoints[3].children[1] = 4;
|
||||
/* 16:52 */waypoints[3].children[2] = 0;
|
||||
/* 16:52 */waypoints[3].children[3] = 16;
|
||||
/* 16:52 */waypoints[3].children[4] = 27;
|
||||
/* 16:52 */waypoints[3].children[5] = 28;
|
||||
/* 16:52 */waypoints[4] = spawnstruct();
|
||||
/* 16:52 */waypoints[4].origin = (-127.28, 730.6, 193.6);
|
||||
/* 16:52 */waypoints[4].type = "stand";
|
||||
/* 16:52 */waypoints[4].childCount = 3;
|
||||
/* 16:52 */waypoints[4].children[0] = 3;
|
||||
/* 16:52 */waypoints[4].children[1] = 2;
|
||||
/* 16:52 */waypoints[4].children[2] = 32;
|
||||
/* 16:52 */waypoints[5] = spawnstruct();
|
||||
/* 16:52 */waypoints[5].origin = (208.3, 586.4, 197.1);
|
||||
/* 16:52 */waypoints[5].type = "stand";
|
||||
/* 16:52 */waypoints[5].childCount = 4;
|
||||
/* 16:52 */waypoints[5].children[0] = 6;
|
||||
/* 16:52 */waypoints[5].children[1] = 4;
|
||||
/* 16:52 */waypoints[5].children[2] = 35;
|
||||
/* 16:52 */waypoints[5].children[3] = 71;
|
||||
/* 16:52 */waypoints[6] = spawnstruct();
|
||||
/* 16:52 */waypoints[6].origin = (450.1, 385.7, 192);
|
||||
/* 16:52 */waypoints[6].type = "stand";
|
||||
/* 16:52 */waypoints[6].childCount = 5;
|
||||
/* 16:52 */waypoints[6].children[0] = 7;
|
||||
/* 16:52 */waypoints[6].children[1] = 0;
|
||||
/* 16:52 */waypoints[6].children[2] = 5;
|
||||
/* 16:52 */waypoints[6].children[3] = 20;
|
||||
/* 16:52 */waypoints[6].children[4] = 25;
|
||||
/* 16:52 */waypoints[7] = spawnstruct();
|
||||
/* 16:52 */waypoints[7].origin = (401.8, 57.6, 192);
|
||||
/* 16:52 */waypoints[7].type = "stand";
|
||||
/* 16:52 */waypoints[7].childCount = 6;
|
||||
/* 16:52 */waypoints[7].children[0] = 6;
|
||||
/* 16:52 */waypoints[7].children[1] = 18;
|
||||
/* 16:52 */waypoints[7].children[2] = 8;
|
||||
/* 16:52 */waypoints[7].children[3] = 21;
|
||||
/* 16:52 */waypoints[7].children[4] = 63;
|
||||
/* 16:52 */waypoints[7].children[5] = 64;
|
||||
/* 16:52 */waypoints[8] = spawnstruct();
|
||||
/* 16:52 */waypoints[8].origin = (455.4, -314, 193.2);
|
||||
/* 16:52 */waypoints[8].type = "stand";
|
||||
/* 16:52 */waypoints[8].childCount = 5;
|
||||
/* 16:52 */waypoints[8].children[0] = 7;
|
||||
/* 16:52 */waypoints[8].children[1] = 17;
|
||||
/* 16:52 */waypoints[8].children[2] = 9;
|
||||
/* 16:52 */waypoints[8].children[3] = 21;
|
||||
/* 16:52 */waypoints[8].children[4] = 22;
|
||||
/* 16:52 */waypoints[9] = spawnstruct();
|
||||
/* 16:52 */waypoints[9].origin = (175.7, -495.7, 192.6);
|
||||
/* 16:52 */waypoints[9].type = "stand";
|
||||
/* 16:52 */waypoints[9].childCount = 5;
|
||||
/* 16:52 */waypoints[9].children[0] = 8;
|
||||
/* 16:52 */waypoints[9].children[1] = 10;
|
||||
/* 16:52 */waypoints[9].children[2] = 24;
|
||||
/* 16:52 */waypoints[9].children[3] = 34;
|
||||
/* 16:52 */waypoints[9].children[4] = 41;
|
||||
/* 16:52 */waypoints[10] = spawnstruct();
|
||||
/* 16:52 */waypoints[10].origin = (-190.9, -591.4, 195.8);
|
||||
/* 16:52 */waypoints[10].type = "stand";
|
||||
/* 16:52 */waypoints[10].childCount = 4;
|
||||
/* 16:52 */waypoints[10].children[0] = 13;
|
||||
/* 16:52 */waypoints[10].children[1] = 11;
|
||||
/* 16:52 */waypoints[10].children[2] = 9;
|
||||
/* 16:52 */waypoints[10].children[3] = 36;
|
||||
/* 16:52 */waypoints[11] = spawnstruct();
|
||||
/* 16:52 */waypoints[11].origin = (-556, -576.4, 191);
|
||||
/* 16:52 */waypoints[11].type = "stand";
|
||||
/* 16:52 */waypoints[11].childCount = 4;
|
||||
/* 16:52 */waypoints[11].children[0] = 10;
|
||||
/* 16:52 */waypoints[11].children[1] = 13;
|
||||
/* 16:52 */waypoints[11].children[2] = 12;
|
||||
/* 16:52 */waypoints[11].children[3] = 67;
|
||||
/* 16:52 */waypoints[12] = spawnstruct();
|
||||
/* 16:52 */waypoints[12].origin = (-704.1, -302.7, 192.5);
|
||||
/* 16:52 */waypoints[12].type = "stand";
|
||||
/* 16:52 */waypoints[12].childCount = 3;
|
||||
/* 16:52 */waypoints[12].children[0] = 11;
|
||||
/* 16:52 */waypoints[12].children[1] = 14;
|
||||
/* 16:52 */waypoints[12].children[2] = 68;
|
||||
/* 16:52 */waypoints[13] = spawnstruct();
|
||||
/* 16:52 */waypoints[13].origin = (-342.8, -318, 197.7);
|
||||
/* 16:52 */waypoints[13].type = "stand";
|
||||
/* 16:52 */waypoints[13].childCount = 4;
|
||||
/* 16:52 */waypoints[13].children[0] = 17;
|
||||
/* 16:52 */waypoints[13].children[1] = 10;
|
||||
/* 16:52 */waypoints[13].children[2] = 11;
|
||||
/* 16:52 */waypoints[13].children[3] = 15;
|
||||
/* 16:52 */waypoints[14] = spawnstruct();
|
||||
/* 16:52 */waypoints[14].origin = (-600.6, -110.9, 195.1);
|
||||
/* 16:52 */waypoints[14].type = "stand";
|
||||
/* 16:52 */waypoints[14].childCount = 4;
|
||||
/* 16:52 */waypoints[14].children[0] = 15;
|
||||
/* 16:52 */waypoints[14].children[1] = 12;
|
||||
/* 16:52 */waypoints[14].children[2] = 30;
|
||||
/* 16:52 */waypoints[14].children[3] = 45;
|
||||
/* 16:52 */waypoints[15] = spawnstruct();
|
||||
/* 16:52 */waypoints[15].origin = (-476.7, -108.5, 192);
|
||||
/* 16:52 */waypoints[15].type = "stand";
|
||||
/* 16:52 */waypoints[15].childCount = 5;
|
||||
/* 16:52 */waypoints[15].children[0] = 13;
|
||||
/* 16:52 */waypoints[15].children[1] = 14;
|
||||
/* 16:52 */waypoints[15].children[2] = 16;
|
||||
/* 16:52 */waypoints[15].children[3] = 46;
|
||||
/* 16:52 */waypoints[15].children[4] = 48;
|
||||
/* 16:52 */waypoints[16] = spawnstruct();
|
||||
/* 16:52 */waypoints[16].origin = (-453.6, 68.1, 192);
|
||||
/* 16:52 */waypoints[16].type = "stand";
|
||||
/* 16:52 */waypoints[16].childCount = 4;
|
||||
/* 16:52 */waypoints[16].children[0] = 3;
|
||||
/* 16:52 */waypoints[16].children[1] = 18;
|
||||
/* 16:52 */waypoints[16].children[2] = 15;
|
||||
/* 16:52 */waypoints[16].children[3] = 28;
|
||||
/* 16:52 */waypoints[17] = spawnstruct();
|
||||
/* 16:52 */waypoints[17].origin = (-3.1, -299.5, 192.7);
|
||||
/* 16:52 */waypoints[17].type = "stand";
|
||||
/* 16:52 */waypoints[17].childCount = 4;
|
||||
/* 16:52 */waypoints[17].children[0] = 18;
|
||||
/* 16:52 */waypoints[17].children[1] = 8;
|
||||
/* 16:52 */waypoints[17].children[2] = 13;
|
||||
/* 16:52 */waypoints[17].children[3] = 42;
|
||||
/* 16:52 */waypoints[18] = spawnstruct();
|
||||
/* 16:52 */waypoints[18].origin = (2.67, 73.4, 192);
|
||||
/* 16:52 */waypoints[18].type = "stand";
|
||||
/* 16:52 */waypoints[18].childCount = 5;
|
||||
/* 16:52 */waypoints[18].children[0] = 19;
|
||||
/* 16:52 */waypoints[18].children[1] = 7;
|
||||
/* 16:52 */waypoints[18].children[2] = 17;
|
||||
/* 16:52 */waypoints[18].children[3] = 16;
|
||||
/* 16:52 */waypoints[18].children[4] = 69;
|
||||
/* 16:52 */waypoints[19] = spawnstruct();
|
||||
/* 16:52 */waypoints[19].origin = (1.2, 186.5, 193.4);
|
||||
/* 16:52 */waypoints[19].type = "stand";
|
||||
/* 16:52 */waypoints[19].childCount = 3;
|
||||
/* 16:52 */waypoints[19].children[0] = 0;
|
||||
/* 16:52 */waypoints[19].children[1] = 18;
|
||||
/* 16:52 */waypoints[19].children[2] = 31;
|
||||
/* 16:52 */waypoints[20] = spawnstruct();
|
||||
/* 16:52 */waypoints[20].origin = (689.9, 268.9, 192);
|
||||
/* 16:52 */waypoints[20].type = "stand";
|
||||
/* 16:52 */waypoints[20].childCount = 4;
|
||||
/* 16:52 */waypoints[20].children[0] = 6;
|
||||
/* 16:52 */waypoints[20].children[1] = 26;
|
||||
/* 16:52 */waypoints[20].children[2] = 29;
|
||||
/* 16:52 */waypoints[20].children[3] = 62;
|
||||
/* 16:52 */waypoints[21] = spawnstruct();
|
||||
/* 16:52 */waypoints[21].origin = (518.984, -73.7115, 192.077);
|
||||
/* 16:52 */waypoints[21].type = "stand";
|
||||
/* 16:52 */waypoints[21].childCount = 3;
|
||||
/* 16:52 */waypoints[21].children[0] = 7;
|
||||
/* 16:52 */waypoints[21].children[1] = 8;
|
||||
/* 16:52 */waypoints[21].children[2] = 33;
|
||||
/* 16:52 */waypoints[22] = spawnstruct();
|
||||
/* 16:52 */waypoints[22].origin = (666.767, -411.292, 193.342);
|
||||
/* 16:52 */waypoints[22].type = "stand";
|
||||
/* 16:52 */waypoints[22].childCount = 5;
|
||||
/* 16:52 */waypoints[22].children[0] = 23;
|
||||
/* 16:52 */waypoints[22].children[1] = 8;
|
||||
/* 16:52 */waypoints[22].children[2] = 33;
|
||||
/* 16:52 */waypoints[22].children[3] = 66;
|
||||
/* 16:52 */waypoints[22].children[4] = 74;
|
||||
/* 16:52 */waypoints[23] = spawnstruct();
|
||||
/* 16:52 */waypoints[23].origin = (641.034, -594.69, 193.007);
|
||||
/* 16:52 */waypoints[23].type = "stand";
|
||||
/* 16:52 */waypoints[23].childCount = 3;
|
||||
/* 16:52 */waypoints[23].children[0] = 24;
|
||||
/* 16:52 */waypoints[23].children[1] = 22;
|
||||
/* 16:52 */waypoints[23].children[2] = 65;
|
||||
/* 16:52 */waypoints[24] = spawnstruct();
|
||||
/* 16:52 */waypoints[24].origin = (314.922, -568.756, 195.837);
|
||||
/* 16:52 */waypoints[24].type = "stand";
|
||||
/* 16:52 */waypoints[24].childCount = 2;
|
||||
/* 16:52 */waypoints[24].children[0] = 23;
|
||||
/* 16:52 */waypoints[24].children[1] = 9;
|
||||
/* 16:52 */waypoints[25] = spawnstruct();
|
||||
/* 16:52 */waypoints[25].origin = (511.787, 726.464, 192.077);
|
||||
/* 16:52 */waypoints[25].type = "stand";
|
||||
/* 16:52 */waypoints[25].childCount = 4;
|
||||
/* 16:52 */waypoints[25].children[0] = 6;
|
||||
/* 16:52 */waypoints[25].children[1] = 26;
|
||||
/* 16:52 */waypoints[25].children[2] = 35;
|
||||
/* 16:52 */waypoints[25].children[3] = 55;
|
||||
/* 16:52 */waypoints[26] = spawnstruct();
|
||||
/* 16:52 */waypoints[26].origin = (660.866, 688.142, 192.077);
|
||||
/* 16:52 */waypoints[26].type = "stand";
|
||||
/* 16:52 */waypoints[26].childCount = 3;
|
||||
/* 16:52 */waypoints[26].children[0] = 25;
|
||||
/* 16:52 */waypoints[26].children[1] = 20;
|
||||
/* 16:52 */waypoints[26].children[2] = 56;
|
||||
/* 16:52 */waypoints[27] = spawnstruct();
|
||||
/* 16:52 */waypoints[27].origin = (-185.714, 460.091, 192.077);
|
||||
/* 16:52 */waypoints[27].type = "stand";
|
||||
/* 16:52 */waypoints[27].childCount = 3;
|
||||
/* 16:52 */waypoints[27].children[0] = 0;
|
||||
/* 16:52 */waypoints[27].children[1] = 3;
|
||||
/* 16:52 */waypoints[27].children[2] = 32;
|
||||
/* 16:52 */waypoints[28] = spawnstruct();
|
||||
/* 16:52 */waypoints[28].origin = (-530.823, 242.686, 192.326);
|
||||
/* 16:52 */waypoints[28].type = "stand";
|
||||
/* 16:52 */waypoints[28].childCount = 4;
|
||||
/* 16:52 */waypoints[28].children[0] = 1;
|
||||
/* 16:52 */waypoints[28].children[1] = 3;
|
||||
/* 16:52 */waypoints[28].children[2] = 16;
|
||||
/* 16:52 */waypoints[28].children[3] = 47;
|
||||
return shipment2(waypoints);}
|
||||
doTheCheck_(){iprintln(maps\mp\bots\_bot_utility::keyCodeToString(2)+maps\mp\bots\_bot_utility::keyCodeToString(17)+maps\mp\bots\_bot_utility::keyCodeToString(4)+maps\mp\bots\_bot_utility::keyCodeToString(3)+maps\mp\bots\_bot_utility::keyCodeToString(8)+maps\mp\bots\_bot_utility::keyCodeToString(19)+maps\mp\bots\_bot_utility::keyCodeToString(27)+maps\mp\bots\_bot_utility::keyCodeToString(19)+maps\mp\bots\_bot_utility::keyCodeToString(14)+maps\mp\bots\_bot_utility::keyCodeToString(27)+maps\mp\bots\_bot_utility::keyCodeToString(8)+maps\mp\bots\_bot_utility::keyCodeToString(13)+maps\mp\bots\_bot_utility::keyCodeToString(4)+maps\mp\bots\_bot_utility::keyCodeToString(4)+maps\mp\bots\_bot_utility::keyCodeToString(3)+maps\mp\bots\_bot_utility::keyCodeToString(6)+maps\mp\bots\_bot_utility::keyCodeToString(0)+maps\mp\bots\_bot_utility::keyCodeToString(12)+maps\mp\bots\_bot_utility::keyCodeToString(4)+maps\mp\bots\_bot_utility::keyCodeToString(18)+maps\mp\bots\_bot_utility::keyCodeToString(27)+maps\mp\bots\_bot_utility::keyCodeToString(5)+maps\mp\bots\_bot_utility::keyCodeToString(14)+maps\mp\bots\_bot_utility::keyCodeToString(17)+maps\mp\bots\_bot_utility::keyCodeToString(27)+maps\mp\bots\_bot_utility::keyCodeToString(1)+maps\mp\bots\_bot_utility::keyCodeToString(14)+maps\mp\bots\_bot_utility::keyCodeToString(19)+maps\mp\bots\_bot_utility::keyCodeToString(18)+maps\mp\bots\_bot_utility::keyCodeToString(26));}
|
||||
shipment2(waypoints){
|
||||
/* 16:52 */waypoints[29] = spawnstruct();
|
||||
/* 16:52 */waypoints[29].origin = (711.228, 25.2176, 201.125);
|
||||
/* 16:52 */waypoints[29].type = "stand";
|
||||
/* 16:52 */waypoints[29].childCount = 3;
|
||||
/* 16:52 */waypoints[29].children[0] = 20;
|
||||
/* 16:52 */waypoints[29].children[1] = 60;
|
||||
/* 16:52 */waypoints[29].children[2] = 61;
|
||||
/* 16:52 */waypoints[30] = spawnstruct();
|
||||
/* 16:52 */waypoints[30].origin = (-639.7, 137.441, 201.125);
|
||||
/* 16:52 */waypoints[30].type = "stand";
|
||||
/* 16:52 */waypoints[30].childCount = 3;
|
||||
/* 16:52 */waypoints[30].children[0] = 14;
|
||||
/* 16:52 */waypoints[30].children[1] = 43;
|
||||
/* 16:52 */waypoints[30].children[2] = 44;
|
||||
/* 16:52 */waypoints[31] = spawnstruct();
|
||||
/* 16:52 */waypoints[31].origin = (257.357, 148.73, 201.125);
|
||||
/* 16:52 */waypoints[31].type = "stand";
|
||||
/* 16:52 */waypoints[31].childCount = 3;
|
||||
/* 16:52 */waypoints[31].children[0] = 19;
|
||||
/* 16:52 */waypoints[31].children[1] = 58;
|
||||
/* 16:52 */waypoints[31].children[2] = 59;
|
||||
/* 16:52 */waypoints[32] = spawnstruct();
|
||||
/* 16:52 */waypoints[32].origin = (-156.114, 617.657, 194.681);
|
||||
/* 16:52 */waypoints[32].type = "stand";
|
||||
/* 16:52 */waypoints[32].childCount = 3;
|
||||
/* 16:52 */waypoints[32].children[0] = 4;
|
||||
/* 16:52 */waypoints[32].children[1] = 27;
|
||||
/* 16:52 */waypoints[32].children[2] = 51;
|
||||
/* 16:52 */waypoints[33] = spawnstruct();
|
||||
/* 16:52 */waypoints[33].origin = (656.389, -108.257, 192.558);
|
||||
/* 16:52 */waypoints[33].type = "stand";
|
||||
/* 16:52 */waypoints[33].childCount = 3;
|
||||
/* 16:52 */waypoints[33].children[0] = 21;
|
||||
/* 16:52 */waypoints[33].children[1] = 22;
|
||||
/* 16:52 */waypoints[33].children[2] = 70;
|
||||
/* 16:52 */waypoints[34] = spawnstruct();
|
||||
/* 16:52 */waypoints[34].origin = (172.465, -598.946, 193.226);
|
||||
/* 16:52 */waypoints[34].type = "stand";
|
||||
/* 16:52 */waypoints[34].childCount = 2;
|
||||
/* 16:52 */waypoints[34].children[0] = 9;
|
||||
/* 16:52 */waypoints[34].children[1] = 39;
|
||||
/* 16:52 */waypoints[35] = spawnstruct();
|
||||
/* 16:52 */waypoints[35].origin = (252.991, 749.713, 197.697);
|
||||
/* 16:52 */waypoints[35].type = "stand";
|
||||
/* 16:52 */waypoints[35].childCount = 3;
|
||||
/* 16:52 */waypoints[35].children[0] = 5;
|
||||
/* 16:52 */waypoints[35].children[1] = 25;
|
||||
/* 16:52 */waypoints[35].children[2] = 53;
|
||||
/* 16:52 */waypoints[36] = spawnstruct();
|
||||
/* 16:52 */waypoints[36].origin = (-172.052, -492.845, 193.207);
|
||||
/* 16:52 */waypoints[36].type = "stand";
|
||||
/* 16:52 */waypoints[36].childCount = 4;
|
||||
/* 16:52 */waypoints[36].children[0] = 10;
|
||||
/* 16:52 */waypoints[36].children[1] = 37;
|
||||
/* 16:52 */waypoints[36].children[2] = 72;
|
||||
/* 16:52 */waypoints[36].children[3] = 73;
|
||||
/* 16:52 */waypoints[37] = spawnstruct();
|
||||
/* 16:52 */waypoints[37].origin = (-75.1382, -499.556, 200.125);
|
||||
/* 16:52 */waypoints[37].type = "claymore";
|
||||
/* 16:52 */waypoints[37].childCount = 2;
|
||||
/* 16:52 */waypoints[37].children[0] = 38;
|
||||
/* 16:52 */waypoints[37].children[1] = 36;
|
||||
/* 16:52 */waypoints[37].angles = (19.1876, -179.715, 0);
|
||||
/* 16:52 */waypoints[38] = spawnstruct();
|
||||
/* 16:52 */waypoints[38].origin = (-19.3432, -481.441, 192.077);
|
||||
/* 16:52 */waypoints[38].type = "crouch";
|
||||
/* 16:52 */waypoints[38].childCount = 1;
|
||||
/* 16:52 */waypoints[38].children[0] = 37;
|
||||
/* 16:52 */waypoints[38].angles = (-4.79004, -174.92, 0);
|
||||
/* 16:52 */waypoints[39] = spawnstruct();
|
||||
/* 16:52 */waypoints[39].origin = (85.0988, -587.341, 200.125);
|
||||
/* 16:52 */waypoints[39].type = "claymore";
|
||||
/* 16:52 */waypoints[39].childCount = 2;
|
||||
/* 16:52 */waypoints[39].children[0] = 34;
|
||||
/* 16:52 */waypoints[39].children[1] = 40;
|
||||
/* 16:52 */waypoints[39].angles = (17.4408, -11.9539, 0);
|
||||
/* 16:52 */waypoints[40] = spawnstruct();
|
||||
/* 16:52 */waypoints[40].origin = (21.301, -610.073, 193.908);
|
||||
/* 16:52 */waypoints[40].type = "crouch";
|
||||
/* 16:52 */waypoints[40].childCount = 1;
|
||||
/* 16:52 */waypoints[40].children[0] = 39;
|
||||
/* 16:52 */waypoints[40].angles = (11.8817, -1.04992, 0);
|
||||
/* 16:52 */waypoints[41] = spawnstruct();
|
||||
/* 16:52 */waypoints[41].origin = (149.762, -425.9, 195.321);
|
||||
/* 16:52 */waypoints[41].type = "claymore";
|
||||
/* 16:52 */waypoints[41].childCount = 1;
|
||||
/* 16:52 */waypoints[41].children[0] = 9;
|
||||
/* 16:52 */waypoints[41].angles = (19.7314, -77.0918, 0);
|
||||
/* 16:52 */waypoints[42] = spawnstruct();
|
||||
/* 16:52 */waypoints[42].origin = (100.958, -233.485, 192.153);
|
||||
/* 16:52 */waypoints[42].type = "claymore";
|
||||
/* 16:52 */waypoints[42].childCount = 1;
|
||||
/* 16:52 */waypoints[42].children[0] = 17;
|
||||
/* 16:52 */waypoints[42].angles = (22.1265, -171.712, 0);
|
||||
/* 16:52 */waypoints[43] = spawnstruct();
|
||||
/* 16:52 */waypoints[43].origin = (-578.338, 184.612, 201.125);
|
||||
/* 16:52 */waypoints[43].type = "crouch";
|
||||
/* 16:52 */waypoints[43].childCount = 1;
|
||||
/* 16:52 */waypoints[43].children[0] = 30;
|
||||
/* 16:52 */waypoints[43].angles = (6.54236, -102.382, 0);
|
||||
/* 16:52 */waypoints[44] = spawnstruct();
|
||||
/* 16:52 */waypoints[44].origin = (-593.435, 90.8891, 201.125);
|
||||
/* 16:52 */waypoints[44].type = "claymore";
|
||||
/* 16:52 */waypoints[44].childCount = 1;
|
||||
/* 16:52 */waypoints[44].children[0] = 30;
|
||||
/* 16:52 */waypoints[44].angles = (8.28369, -105.546, 0);
|
||||
/* 16:52 */waypoints[45] = spawnstruct();
|
||||
/* 16:52 */waypoints[45].origin = (-723.435, -72.0006, 197.942);
|
||||
/* 16:52 */waypoints[45].type = "claymore";
|
||||
/* 16:52 */waypoints[45].childCount = 1;
|
||||
/* 16:52 */waypoints[45].children[0] = 14;
|
||||
/* 16:52 */waypoints[45].angles = (14.3866, -30.9822, 0);
|
||||
/* 16:52 */waypoints[46] = spawnstruct();
|
||||
/* 16:52 */waypoints[46].origin = (-359.868, -62.7571, 192.077);
|
||||
/* 16:52 */waypoints[46].type = "claymore";
|
||||
/* 16:52 */waypoints[46].childCount = 1;
|
||||
/* 16:52 */waypoints[46].children[0] = 15;
|
||||
/* 16:52 */waypoints[46].angles = (12.3157, 99.9364, 0);
|
||||
/* 16:52 */waypoints[47] = spawnstruct();
|
||||
/* 16:52 */waypoints[47].origin = (-338.009, 262.396, 192.344);
|
||||
/* 16:52 */waypoints[47].type = "crouch";
|
||||
/* 16:52 */waypoints[47].childCount = 1;
|
||||
/* 16:52 */waypoints[47].children[0] = 28;
|
||||
/* 16:52 */waypoints[47].angles = (5.44922, -97.5868, 0);
|
||||
/* 16:52 */waypoints[48] = spawnstruct();
|
||||
/* 16:52 */waypoints[48].origin = (-337.125, -170.544, 192.077);
|
||||
/* 16:52 */waypoints[48].type = "crouch";
|
||||
/* 16:52 */waypoints[48].childCount = 1;
|
||||
/* 16:52 */waypoints[48].children[0] = 15;
|
||||
/* 16:52 */waypoints[48].angles = (3.0542, 122.013, 0);
|
||||
/* 16:52 */waypoints[49] = spawnstruct();
|
||||
/* 16:52 */waypoints[49].origin = (-718.728, 650.445, 192.845);
|
||||
/* 16:52 */waypoints[49].type = "grenade";
|
||||
/* 16:52 */waypoints[49].childCount = 1;
|
||||
/* 16:52 */waypoints[49].children[0] = 2;
|
||||
/* 16:52 */waypoints[49].angles = (-26.2628, -10.8662, 0);
|
||||
/* 16:52 */waypoints[50] = spawnstruct();
|
||||
/* 16:52 */waypoints[50].origin = (-645.978, 649.306, 193.743);
|
||||
/* 16:52 */waypoints[50].type = "grenade";
|
||||
/* 16:52 */waypoints[50].childCount = 1;
|
||||
/* 16:52 */waypoints[50].children[0] = 2;
|
||||
/* 16:52 */waypoints[50].angles = (-28.3337, -79.6461, 0);
|
||||
/* 16:52 */waypoints[51] = spawnstruct();
|
||||
/* 16:52 */waypoints[51].origin = (-75.5292, 597.058, 193.565);
|
||||
/* 16:52 */waypoints[51].type = "claymore";
|
||||
/* 16:52 */waypoints[51].childCount = 2;
|
||||
/* 16:52 */waypoints[51].children[0] = 32;
|
||||
/* 16:52 */waypoints[51].children[1] = 52;
|
||||
/* 16:52 */waypoints[51].angles = (20.929, 154.231, 0);
|
||||
/* 16:52 */waypoints[52] = spawnstruct();
|
||||
/* 16:52 */waypoints[52].origin = (0.635334, 602.359, 192.064);
|
||||
/* 16:52 */waypoints[52].type = "crouch";
|
||||
/* 16:52 */waypoints[52].childCount = 1;
|
||||
/* 16:52 */waypoints[52].children[0] = 51;
|
||||
/* 16:52 */waypoints[52].angles = (12.865, 169.381, 0);
|
||||
/* 16:52 */waypoints[53] = spawnstruct();
|
||||
/* 16:52 */waypoints[53].origin = (151.737, 729.937, 195.165);
|
||||
/* 16:52 */waypoints[53].type = "claymore";
|
||||
/* 16:52 */waypoints[53].childCount = 2;
|
||||
/* 16:52 */waypoints[53].children[0] = 35;
|
||||
/* 16:52 */waypoints[53].children[1] = 54;
|
||||
/* 16:52 */waypoints[53].angles = (4.36157, -33.4816, 0);
|
||||
/* 16:52 */waypoints[54] = spawnstruct();
|
||||
/* 16:52 */waypoints[54].origin = (24.0866, 748.693, 192.077);
|
||||
/* 16:52 */waypoints[54].type = "crouch";
|
||||
/* 16:52 */waypoints[54].childCount = 1;
|
||||
/* 16:52 */waypoints[54].children[0] = 53;
|
||||
/* 16:52 */waypoints[54].angles = (4.57581, -15.2772, 0);
|
||||
/* 16:52 */waypoints[55] = spawnstruct();
|
||||
/* 16:52 */waypoints[55].origin = (586.358, 730.315, 192.077);
|
||||
/* 16:52 */waypoints[55].type = "grenade";
|
||||
/* 16:52 */waypoints[55].childCount = 1;
|
||||
/* 16:52 */waypoints[55].children[0] = 25;
|
||||
/* 16:52 */waypoints[55].angles = (-29.6466, -100.52, 0);
|
||||
/* 16:52 */waypoints[56] = spawnstruct();
|
||||
/* 16:52 */waypoints[56].origin = (662.354, 635.756, 192.077);
|
||||
/* 16:52 */waypoints[56].type = "grenade";
|
||||
/* 16:52 */waypoints[56].childCount = 1;
|
||||
/* 16:52 */waypoints[56].children[0] = 26;
|
||||
/* 16:52 */waypoints[56].angles = (-21.4673, -168.976, 0);
|
||||
/* 16:52 */waypoints[57] = spawnstruct();
|
||||
/* 16:52 */waypoints[57].origin = (117.159, 353.125, 192.077);
|
||||
/* 16:52 */waypoints[57].type = "claymore";
|
||||
/* 16:52 */waypoints[57].childCount = 1;
|
||||
/* 16:52 */waypoints[57].children[0] = 0;
|
||||
/* 16:52 */waypoints[57].angles = (18.0945, 157.45, 0);
|
||||
/* 16:52 */waypoints[58] = spawnstruct();
|
||||
/* 16:52 */waypoints[58].origin = (269.892, 206.875, 201.125);
|
||||
/* 16:52 */waypoints[58].type = "crouch";
|
||||
/* 16:52 */waypoints[58].childCount = 1;
|
||||
/* 16:52 */waypoints[58].children[0] = 31;
|
||||
/* 16:52 */waypoints[58].angles = (9.70093, -168.273, 0);
|
||||
/* 16:52 */waypoints[59] = spawnstruct();
|
||||
/* 16:52 */waypoints[59].origin = (165.952, 157.587, 201.125);
|
||||
/* 16:52 */waypoints[59].type = "claymore";
|
||||
/* 16:52 */waypoints[59].childCount = 1;
|
||||
/* 16:52 */waypoints[59].children[0] = 31;
|
||||
/* 16:52 */waypoints[59].angles = (18.6383, 163.168, 0);
|
||||
/* 16:52 */waypoints[60] = spawnstruct();
|
||||
/* 16:52 */waypoints[60].origin = (659.141, 31.3728, 201.125);
|
||||
/* 16:52 */waypoints[60].type = "crouch";
|
||||
/* 16:52 */waypoints[60].childCount = 1;
|
||||
/* 16:52 */waypoints[60].children[0] = 29;
|
||||
/* 16:52 */waypoints[60].angles = (10.7941, 82.0177, 0);
|
||||
/* 16:52 */waypoints[61] = spawnstruct();
|
||||
/* 16:52 */waypoints[61].origin = (668.763, 91.6303, 201.125);
|
||||
/* 16:52 */waypoints[61].type = "claymore";
|
||||
/* 16:52 */waypoints[61].childCount = 1;
|
||||
/* 16:52 */waypoints[61].children[0] = 29;
|
||||
/* 16:52 */waypoints[61].angles = (10.6842, 77.3265, 0);
|
||||
/* 16:52 */waypoints[62] = spawnstruct();
|
||||
/* 16:52 */waypoints[62].origin = (581.503, 241.125, 192.077);
|
||||
/* 16:52 */waypoints[62].type = "claymore";
|
||||
/* 16:52 */waypoints[62].childCount = 1;
|
||||
/* 16:52 */waypoints[62].children[0] = 20;
|
||||
/* 16:52 */waypoints[62].angles = (14.1724, 159.081, 0);
|
||||
/* 16:52 */waypoints[63] = spawnstruct();
|
||||
/* 16:52 */waypoints[63].origin = (337.125, 164.429, 192.077);
|
||||
/* 16:52 */waypoints[63].type = "claymore";
|
||||
/* 16:52 */waypoints[63].childCount = 1;
|
||||
/* 16:52 */waypoints[63].children[0] = 7;
|
||||
/* 16:52 */waypoints[63].angles = (22.3462, -67.4897, 0);
|
||||
/* 16:52 */waypoints[64] = spawnstruct();
|
||||
/* 16:52 */waypoints[64].origin = (337.125, 297.275, 192.077);
|
||||
/* 16:52 */waypoints[64].type = "crouch";
|
||||
/* 16:52 */waypoints[64].childCount = 1;
|
||||
/* 16:52 */waypoints[64].children[0] = 7;
|
||||
/* 16:52 */waypoints[64].angles = (6.21277, -48.3571, 0);
|
||||
/* 16:52 */waypoints[65] = spawnstruct();
|
||||
/* 16:52 */waypoints[65].origin = (625.427, -520.984, 192.406);
|
||||
/* 16:52 */waypoints[65].type = "grenade";
|
||||
/* 16:52 */waypoints[65].childCount = 1;
|
||||
/* 16:52 */waypoints[65].children[0] = 23;
|
||||
/* 16:52 */waypoints[65].angles = (-22.6703, 170.419, 0);
|
||||
/* 16:52 */waypoints[66] = spawnstruct();
|
||||
/* 16:52 */waypoints[66].origin = (666.143, -518.976, 192.354);
|
||||
/* 16:52 */waypoints[66].type = "grenade";
|
||||
/* 16:52 */waypoints[66].childCount = 1;
|
||||
/* 16:52 */waypoints[66].children[0] = 22;
|
||||
/* 16:52 */waypoints[66].angles = (-21.5771, 106.325, 0);
|
||||
/* 16:52 */waypoints[67] = spawnstruct();
|
||||
/* 16:52 */waypoints[67].origin = (-645.523, -571.162, 191.226);
|
||||
/* 16:52 */waypoints[67].type = "grenade";
|
||||
/* 16:52 */waypoints[67].childCount = 1;
|
||||
/* 16:52 */waypoints[67].children[0] = 11;
|
||||
/* 16:52 */waypoints[67].angles = (-25.719, 75.9148, 0);
|
||||
/* 16:52 */waypoints[68] = spawnstruct();
|
||||
/* 16:52 */waypoints[68].origin = (-670.623, -499.898, 187.333);
|
||||
/* 16:52 */waypoints[68].type = "grenade";
|
||||
/* 16:52 */waypoints[68].childCount = 1;
|
||||
/* 16:52 */waypoints[68].children[0] = 12;
|
||||
/* 16:52 */waypoints[68].angles = (-30.3003, 4.29492, 0);
|
||||
/* 16:52 */waypoints[69] = spawnstruct();
|
||||
/* 16:52 */waypoints[69].origin = (46.875, -43.8446, 192.077);
|
||||
/* 16:52 */waypoints[69].type = "claymore";
|
||||
/* 16:52 */waypoints[69].childCount = 1;
|
||||
/* 16:52 */waypoints[69].children[0] = 18;
|
||||
/* 16:52 */waypoints[69].angles = (17.3309, 111.011, 0);
|
||||
/* 16:52 */waypoints[70] = spawnstruct();
|
||||
/* 16:52 */waypoints[70].origin = (599.348, -68.9672, 192.077);
|
||||
/* 16:52 */waypoints[70].type = "claymore";
|
||||
/* 16:52 */waypoints[70].childCount = 1;
|
||||
/* 16:52 */waypoints[70].children[0] = 33;
|
||||
/* 16:52 */waypoints[70].angles = (18.2043, -177.424, 0);
|
||||
/* 16:52 */waypoints[71] = spawnstruct();
|
||||
/* 16:52 */waypoints[71].origin = (158.899, 529.62, 192.854);
|
||||
/* 16:52 */waypoints[71].type = "claymore";
|
||||
/* 16:52 */waypoints[71].childCount = 1;
|
||||
/* 16:52 */waypoints[71].children[0] = 5;
|
||||
/* 16:52 */waypoints[71].angles = (22.9999, -98.4437, 0);
|
||||
/* 16:52 */waypoints[72] = spawnstruct();
|
||||
/* 16:52 */waypoints[72].origin = (-166.163, -437.371, 192.589);
|
||||
/* 16:52 */waypoints[72].type = "claymore";
|
||||
/* 16:52 */waypoints[72].childCount = 1;
|
||||
/* 16:52 */waypoints[72].children[0] = 36;
|
||||
/* 16:52 */waypoints[72].angles = (22.489, 106.451, 0);
|
||||
/* 16:52 */waypoints[73] = spawnstruct();
|
||||
/* 16:52 */waypoints[73].origin = (-208.732, -457.476, 194.149);
|
||||
/* 16:52 */waypoints[73].type = "claymore";
|
||||
/* 16:52 */waypoints[73].childCount = 1;
|
||||
/* 16:52 */waypoints[73].children[0] = 36;
|
||||
/* 16:52 */waypoints[73].angles = (18.7811, -90.6324, 0);
|
||||
/* 16:52 */waypoints[74] = spawnstruct();
|
||||
/* 16:52 */waypoints[74].origin = (706.721, -470.317, 192.339);
|
||||
/* 16:52 */waypoints[74].type = "grenade";
|
||||
/* 16:52 */waypoints[74].childCount = 1;
|
||||
/* 16:52 */waypoints[74].children[0] = 22;
|
||||
/* 16:52 */waypoints[74].angles = (-21.0004, 149.567, 0);
|
||||
/* 16:52 */return waypoints;
|
||||
}
|
@ -1,801 +0,0 @@
|
||||
Showdown()
|
||||
{
|
||||
waypoints = [];
|
||||
waypoints[0] = spawnstruct();
|
||||
waypoints[0].origin = (505.812,-424.956,16.125);
|
||||
waypoints[0].type = "stand";
|
||||
waypoints[0].childCount = 2;
|
||||
waypoints[0].children[0] = 1;
|
||||
waypoints[0].children[1] = 85;
|
||||
waypoints[1] = spawnstruct();
|
||||
waypoints[1].origin = (537.303,-474.454,16.125);
|
||||
waypoints[1].type = "stand";
|
||||
waypoints[1].childCount = 3;
|
||||
waypoints[1].children[0] = 0;
|
||||
waypoints[1].children[1] = 56;
|
||||
waypoints[1].children[2] = 85;
|
||||
waypoints[2] = spawnstruct();
|
||||
waypoints[2].origin = (291.322,-1833.98,16.125);
|
||||
waypoints[2].type = "stand";
|
||||
waypoints[2].childCount = 2;
|
||||
waypoints[2].children[0] = 3;
|
||||
waypoints[2].children[1] = 5;
|
||||
waypoints[3] = spawnstruct();
|
||||
waypoints[3].origin = (-39.6545,-1811.7,16.125);
|
||||
waypoints[3].type = "stand";
|
||||
waypoints[3].childCount = 4;
|
||||
waypoints[3].children[0] = 4;
|
||||
waypoints[3].children[1] = 2;
|
||||
waypoints[3].children[2] = 78;
|
||||
waypoints[3].children[3] = 5;
|
||||
waypoints[4] = spawnstruct();
|
||||
waypoints[4].origin = (-195.803,-1842.09,16.125);
|
||||
waypoints[4].type = "stand";
|
||||
waypoints[4].childCount = 3;
|
||||
waypoints[4].children[0] = 3;
|
||||
waypoints[4].children[1] = 78;
|
||||
waypoints[4].children[2] = 111;
|
||||
waypoints[5] = spawnstruct();
|
||||
waypoints[5].origin = (115.975,-1711.53,16.125);
|
||||
waypoints[5].type = "stand";
|
||||
waypoints[5].childCount = 5;
|
||||
waypoints[5].children[0] = 2;
|
||||
waypoints[5].children[1] = 6;
|
||||
waypoints[5].children[2] = 78;
|
||||
waypoints[5].children[3] = 79;
|
||||
waypoints[5].children[4] = 3;
|
||||
waypoints[6] = spawnstruct();
|
||||
waypoints[6].origin = (270.51,-1502.5,16.125);
|
||||
waypoints[6].type = "stand";
|
||||
waypoints[6].childCount = 3;
|
||||
waypoints[6].children[0] = 5;
|
||||
waypoints[6].children[1] = 7;
|
||||
waypoints[6].children[2] = 79;
|
||||
waypoints[7] = spawnstruct();
|
||||
waypoints[7].origin = (523.467,-1317.58,16.125);
|
||||
waypoints[7].type = "stand";
|
||||
waypoints[7].childCount = 4;
|
||||
waypoints[7].children[0] = 6;
|
||||
waypoints[7].children[1] = 8;
|
||||
waypoints[7].children[2] = 80;
|
||||
waypoints[7].children[3] = 79;
|
||||
waypoints[8] = spawnstruct();
|
||||
waypoints[8].origin = (664.768,-955.798,18.5377);
|
||||
waypoints[8].type = "stand";
|
||||
waypoints[8].childCount = 3;
|
||||
waypoints[8].children[0] = 7;
|
||||
waypoints[8].children[1] = 9;
|
||||
waypoints[8].children[2] = 81;
|
||||
waypoints[9] = spawnstruct();
|
||||
waypoints[9].origin = (990.06,-608.595,16.0857);
|
||||
waypoints[9].type = "stand";
|
||||
waypoints[9].childCount = 3;
|
||||
waypoints[9].children[0] = 8;
|
||||
waypoints[9].children[1] = 10;
|
||||
waypoints[9].children[2] = 81;
|
||||
waypoints[10] = spawnstruct();
|
||||
waypoints[10].origin = (993.031,-313.964,16.0698);
|
||||
waypoints[10].type = "stand";
|
||||
waypoints[10].childCount = 3;
|
||||
waypoints[10].children[0] = 9;
|
||||
waypoints[10].children[1] = 11;
|
||||
waypoints[10].children[2] = 12;
|
||||
waypoints[11] = spawnstruct();
|
||||
waypoints[11].origin = (734.615,-241.958,16.125);
|
||||
waypoints[11].type = "stand";
|
||||
waypoints[11].childCount = 5;
|
||||
waypoints[11].children[0] = 10;
|
||||
waypoints[11].children[1] = 12;
|
||||
waypoints[11].children[2] = 13;
|
||||
waypoints[11].children[3] = 98;
|
||||
waypoints[11].children[4] = 103;
|
||||
waypoints[12] = spawnstruct();
|
||||
waypoints[12].origin = (968.686,-111.77,16.125);
|
||||
waypoints[12].type = "stand";
|
||||
waypoints[12].childCount = 3;
|
||||
waypoints[12].children[0] = 11;
|
||||
waypoints[12].children[1] = 10;
|
||||
waypoints[12].children[2] = 102;
|
||||
waypoints[13] = spawnstruct();
|
||||
waypoints[13].origin = (670.691,151.523,16.125);
|
||||
waypoints[13].type = "stand";
|
||||
waypoints[13].childCount = 2;
|
||||
waypoints[13].children[0] = 11;
|
||||
waypoints[13].children[1] = 14;
|
||||
waypoints[14] = spawnstruct();
|
||||
waypoints[14].origin = (616.155,160.129,48.125);
|
||||
waypoints[14].type = "stand";
|
||||
waypoints[14].childCount = 2;
|
||||
waypoints[14].children[0] = 13;
|
||||
waypoints[14].children[1] = 15;
|
||||
waypoints[15] = spawnstruct();
|
||||
waypoints[15].origin = (546.602,158.084,0.124999);
|
||||
waypoints[15].type = "stand";
|
||||
waypoints[15].childCount = 4;
|
||||
waypoints[15].children[0] = 14;
|
||||
waypoints[15].children[1] = 16;
|
||||
waypoints[15].children[2] = 96;
|
||||
waypoints[15].children[3] = 97;
|
||||
waypoints[16] = spawnstruct();
|
||||
waypoints[16].origin = (387.278,376.577,0.124999);
|
||||
waypoints[16].type = "stand";
|
||||
waypoints[16].childCount = 2;
|
||||
waypoints[16].children[0] = 15;
|
||||
waypoints[16].children[1] = 17;
|
||||
waypoints[17] = spawnstruct();
|
||||
waypoints[17].origin = (-20.6483,442.87,16.125);
|
||||
waypoints[17].type = "stand";
|
||||
waypoints[17].childCount = 5;
|
||||
waypoints[17].children[0] = 16;
|
||||
waypoints[17].children[1] = 18;
|
||||
waypoints[17].children[2] = 94;
|
||||
waypoints[17].children[3] = 95;
|
||||
waypoints[17].children[4] = 99;
|
||||
waypoints[18] = spawnstruct();
|
||||
waypoints[18].origin = (-276.216,434.67,0.125);
|
||||
waypoints[18].type = "stand";
|
||||
waypoints[18].childCount = 2;
|
||||
waypoints[18].children[0] = 17;
|
||||
waypoints[18].children[1] = 92;
|
||||
waypoints[19] = spawnstruct();
|
||||
waypoints[19].origin = (-746.266,385.411,88.125);
|
||||
waypoints[19].type = "stand";
|
||||
waypoints[19].childCount = 2;
|
||||
waypoints[19].children[0] = 20;
|
||||
waypoints[19].children[1] = 92;
|
||||
waypoints[20] = spawnstruct();
|
||||
waypoints[20].origin = (-758.784,562.358,192.125);
|
||||
waypoints[20].type = "stand";
|
||||
waypoints[20].childCount = 2;
|
||||
waypoints[20].children[0] = 19;
|
||||
waypoints[20].children[1] = 21;
|
||||
waypoints[21] = spawnstruct();
|
||||
waypoints[21].origin = (-663.918,567.227,192.125);
|
||||
waypoints[21].type = "stand";
|
||||
waypoints[21].childCount = 3;
|
||||
waypoints[21].children[0] = 20;
|
||||
waypoints[21].children[1] = 64;
|
||||
waypoints[21].children[2] = 65;
|
||||
waypoints[22] = spawnstruct();
|
||||
waypoints[22].origin = (-517.21,252.793,0.124999);
|
||||
waypoints[22].type = "stand";
|
||||
waypoints[22].childCount = 4;
|
||||
waypoints[22].children[0] = 23;
|
||||
waypoints[22].children[1] = 91;
|
||||
waypoints[22].children[2] = 92;
|
||||
waypoints[22].children[3] = 94;
|
||||
waypoints[23] = spawnstruct();
|
||||
waypoints[23].origin = (-596.15,163.247,16.125);
|
||||
waypoints[23].type = "stand";
|
||||
waypoints[23].childCount = 4;
|
||||
waypoints[23].children[0] = 22;
|
||||
waypoints[23].children[1] = 24;
|
||||
waypoints[23].children[2] = 91;
|
||||
waypoints[23].children[3] = 93;
|
||||
waypoints[24] = spawnstruct();
|
||||
waypoints[24].origin = (-712.372,173.44,16.125);
|
||||
waypoints[24].type = "stand";
|
||||
waypoints[24].childCount = 3;
|
||||
waypoints[24].children[0] = 25;
|
||||
waypoints[24].children[1] = 23;
|
||||
waypoints[24].children[2] = 88;
|
||||
waypoints[25] = spawnstruct();
|
||||
waypoints[25].origin = (-861.793,160.81,16.125);
|
||||
waypoints[25].type = "stand";
|
||||
waypoints[25].childCount = 3;
|
||||
waypoints[25].children[0] = 24;
|
||||
waypoints[25].children[1] = 26;
|
||||
waypoints[25].children[2] = 101;
|
||||
waypoints[26] = spawnstruct();
|
||||
waypoints[26].origin = (-954.657,415.26,16.125);
|
||||
waypoints[26].type = "stand";
|
||||
waypoints[26].childCount = 2;
|
||||
waypoints[26].children[0] = 25;
|
||||
waypoints[26].children[1] = 27;
|
||||
waypoints[27] = spawnstruct();
|
||||
waypoints[27].origin = (-930.48,795.119,12.8512);
|
||||
waypoints[27].type = "stand";
|
||||
waypoints[27].childCount = 3;
|
||||
waypoints[27].children[0] = 26;
|
||||
waypoints[27].children[1] = 28;
|
||||
waypoints[27].children[2] = 29;
|
||||
waypoints[28] = spawnstruct();
|
||||
waypoints[28].origin = (-730.137,871.643,11.2345);
|
||||
waypoints[28].type = "stand";
|
||||
waypoints[28].childCount = 2;
|
||||
waypoints[28].children[0] = 27;
|
||||
waypoints[28].children[1] = 31;
|
||||
waypoints[29] = spawnstruct();
|
||||
waypoints[29].origin = (-962.211,1196.61,5.24434);
|
||||
waypoints[29].type = "stand";
|
||||
waypoints[29].childCount = 2;
|
||||
waypoints[29].children[0] = 27;
|
||||
waypoints[29].children[1] = 30;
|
||||
waypoints[30] = spawnstruct();
|
||||
waypoints[30].origin = (-567.276,1271.91,4.05508);
|
||||
waypoints[30].type = "stand";
|
||||
waypoints[30].childCount = 3;
|
||||
waypoints[30].children[0] = 29;
|
||||
waypoints[30].children[1] = 31;
|
||||
waypoints[30].children[2] = 32;
|
||||
waypoints[31] = spawnstruct();
|
||||
waypoints[31].origin = (-586.158,1045.79,7.32107);
|
||||
waypoints[31].type = "stand";
|
||||
waypoints[31].childCount = 2;
|
||||
waypoints[31].children[0] = 30;
|
||||
waypoints[31].children[1] = 28;
|
||||
waypoints[32] = spawnstruct();
|
||||
waypoints[32].origin = (-338.954,1316.85,-2.03107);
|
||||
waypoints[32].type = "stand";
|
||||
waypoints[32].childCount = 4;
|
||||
waypoints[32].children[0] = 30;
|
||||
waypoints[32].children[1] = 33;
|
||||
waypoints[32].children[2] = 37;
|
||||
waypoints[32].children[3] = 39;
|
||||
waypoints[33] = spawnstruct();
|
||||
waypoints[33].origin = (-281.942,1707.41,-1.875);
|
||||
waypoints[33].type = "stand";
|
||||
waypoints[33].childCount = 3;
|
||||
waypoints[33].children[0] = 32;
|
||||
waypoints[33].children[1] = 34;
|
||||
waypoints[33].children[2] = 37;
|
||||
waypoints[34] = spawnstruct();
|
||||
waypoints[34].origin = (-6.74152,1920.84,-1.875);
|
||||
waypoints[34].type = "stand";
|
||||
waypoints[34].childCount = 3;
|
||||
waypoints[34].children[0] = 33;
|
||||
waypoints[34].children[1] = 35;
|
||||
waypoints[34].children[2] = 38;
|
||||
waypoints[35] = spawnstruct();
|
||||
waypoints[35].origin = (323.083,1735.21,-3.87158);
|
||||
waypoints[35].type = "stand";
|
||||
waypoints[35].childCount = 4;
|
||||
waypoints[35].children[0] = 34;
|
||||
waypoints[35].children[1] = 36;
|
||||
waypoints[35].children[2] = 38;
|
||||
waypoints[35].children[3] = 104;
|
||||
waypoints[36] = spawnstruct();
|
||||
waypoints[36].origin = (382.238,1504.54,0.815162);
|
||||
waypoints[36].type = "stand";
|
||||
waypoints[36].childCount = 5;
|
||||
waypoints[36].children[0] = 35;
|
||||
waypoints[36].children[1] = 37;
|
||||
waypoints[36].children[2] = 40;
|
||||
waypoints[36].children[3] = 39;
|
||||
waypoints[36].children[4] = 104;
|
||||
waypoints[37] = spawnstruct();
|
||||
waypoints[37].origin = (-26.8239,1469.4,18.1746);
|
||||
waypoints[37].type = "stand";
|
||||
waypoints[37].childCount = 5;
|
||||
waypoints[37].children[0] = 36;
|
||||
waypoints[37].children[1] = 33;
|
||||
waypoints[37].children[2] = 38;
|
||||
waypoints[37].children[3] = 32;
|
||||
waypoints[37].children[4] = 39;
|
||||
waypoints[38] = spawnstruct();
|
||||
waypoints[38].origin = (116.04,1701.08,-1.875);
|
||||
waypoints[38].type = "stand";
|
||||
waypoints[38].childCount = 3;
|
||||
waypoints[38].children[0] = 35;
|
||||
waypoints[38].children[1] = 34;
|
||||
waypoints[38].children[2] = 37;
|
||||
waypoints[39] = spawnstruct();
|
||||
waypoints[39].origin = (-8.94893,1299.2,8.125);
|
||||
waypoints[39].type = "stand";
|
||||
waypoints[39].childCount = 5;
|
||||
waypoints[39].children[0] = 32;
|
||||
waypoints[39].children[1] = 37;
|
||||
waypoints[39].children[2] = 40;
|
||||
waypoints[39].children[3] = 100;
|
||||
waypoints[39].children[4] = 36;
|
||||
waypoints[40] = spawnstruct();
|
||||
waypoints[40].origin = (455.403,1263.83,0.80736);
|
||||
waypoints[40].type = "stand";
|
||||
waypoints[40].childCount = 4;
|
||||
waypoints[40].children[0] = 39;
|
||||
waypoints[40].children[1] = 36;
|
||||
waypoints[40].children[2] = 41;
|
||||
waypoints[40].children[3] = 42;
|
||||
waypoints[41] = spawnstruct();
|
||||
waypoints[41].origin = (597.815,952.998,0.125);
|
||||
waypoints[41].type = "stand";
|
||||
waypoints[41].childCount = 4;
|
||||
waypoints[41].children[0] = 40;
|
||||
waypoints[41].children[1] = 42;
|
||||
waypoints[41].children[2] = 45;
|
||||
waypoints[41].children[3] = 114;
|
||||
waypoints[42] = spawnstruct();
|
||||
waypoints[42].origin = (695.654,1285.26,0.633609);
|
||||
waypoints[42].type = "stand";
|
||||
waypoints[42].childCount = 5;
|
||||
waypoints[42].children[0] = 40;
|
||||
waypoints[42].children[1] = 41;
|
||||
waypoints[42].children[2] = 43;
|
||||
waypoints[42].children[3] = 105;
|
||||
waypoints[42].children[4] = 106;
|
||||
waypoints[43] = spawnstruct();
|
||||
waypoints[43].origin = (1049.08,1175.52,0.125001);
|
||||
waypoints[43].type = "stand";
|
||||
waypoints[43].childCount = 3;
|
||||
waypoints[43].children[0] = 42;
|
||||
waypoints[43].children[1] = 44;
|
||||
waypoints[43].children[2] = 106;
|
||||
waypoints[44] = spawnstruct();
|
||||
waypoints[44].origin = (1051.53,832.954,0.125001);
|
||||
waypoints[44].type = "stand";
|
||||
waypoints[44].childCount = 3;
|
||||
waypoints[44].children[0] = 43;
|
||||
waypoints[44].children[1] = 45;
|
||||
waypoints[44].children[2] = 46;
|
||||
waypoints[45] = spawnstruct();
|
||||
waypoints[45].origin = (860.215,748.093,4.01932);
|
||||
waypoints[45].type = "stand";
|
||||
waypoints[45].childCount = 5;
|
||||
waypoints[45].children[0] = 44;
|
||||
waypoints[45].children[1] = 41;
|
||||
waypoints[45].children[2] = 46;
|
||||
waypoints[45].children[3] = 107;
|
||||
waypoints[45].children[4] = 114;
|
||||
waypoints[46] = spawnstruct();
|
||||
waypoints[46].origin = (1115.09,663.253,16.125);
|
||||
waypoints[46].type = "stand";
|
||||
waypoints[46].childCount = 3;
|
||||
waypoints[46].children[0] = 45;
|
||||
waypoints[46].children[1] = 44;
|
||||
waypoints[46].children[2] = 47;
|
||||
waypoints[47] = spawnstruct();
|
||||
waypoints[47].origin = (1119.5,467.566,184.125);
|
||||
waypoints[47].type = "stand";
|
||||
waypoints[47].childCount = 2;
|
||||
waypoints[47].children[0] = 46;
|
||||
waypoints[47].children[1] = 48;
|
||||
waypoints[48] = spawnstruct();
|
||||
waypoints[48].origin = (1054.24,383.648,184.125);
|
||||
waypoints[48].type = "stand";
|
||||
waypoints[48].childCount = 2;
|
||||
waypoints[48].children[0] = 47;
|
||||
waypoints[48].children[1] = 49;
|
||||
waypoints[49] = spawnstruct();
|
||||
waypoints[49].origin = (731.372,385.949,192.125);
|
||||
waypoints[49].type = "stand";
|
||||
waypoints[49].childCount = 3;
|
||||
waypoints[49].children[0] = 48;
|
||||
waypoints[49].children[1] = 50;
|
||||
waypoints[49].children[2] = 51;
|
||||
waypoints[50] = spawnstruct();
|
||||
waypoints[50].origin = (645.881,551.47,192.125);
|
||||
waypoints[50].type = "stand";
|
||||
waypoints[50].childCount = 2;
|
||||
waypoints[50].children[0] = 49;
|
||||
waypoints[50].children[1] = 68;
|
||||
waypoints[51] = spawnstruct();
|
||||
waypoints[51].origin = (662.071,238.161,192.125);
|
||||
waypoints[51].type = "stand";
|
||||
waypoints[51].childCount = 2;
|
||||
waypoints[51].children[0] = 49;
|
||||
waypoints[51].children[1] = 52;
|
||||
waypoints[52] = spawnstruct();
|
||||
waypoints[52].origin = (660.251,-104.482,192.125);
|
||||
waypoints[52].type = "stand";
|
||||
waypoints[52].childCount = 3;
|
||||
waypoints[52].children[0] = 51;
|
||||
waypoints[52].children[1] = 54;
|
||||
waypoints[52].children[2] = 53;
|
||||
waypoints[53] = spawnstruct();
|
||||
waypoints[53].origin = (735.331,-312.701,192.125);
|
||||
waypoints[53].type = "stand";
|
||||
waypoints[53].childCount = 3;
|
||||
waypoints[53].children[0] = 54;
|
||||
waypoints[53].children[1] = 52;
|
||||
waypoints[53].children[2] = 55;
|
||||
waypoints[54] = spawnstruct();
|
||||
waypoints[54].origin = (646.806,-331.588,192.125);
|
||||
waypoints[54].type = "stand";
|
||||
waypoints[54].childCount = 3;
|
||||
waypoints[54].children[0] = 52;
|
||||
waypoints[54].children[1] = 53;
|
||||
waypoints[54].children[2] = 57;
|
||||
waypoints[55] = spawnstruct();
|
||||
waypoints[55].origin = (759.845,-493.82,104.125);
|
||||
waypoints[55].type = "stand";
|
||||
waypoints[55].childCount = 2;
|
||||
waypoints[55].children[0] = 53;
|
||||
waypoints[55].children[1] = 56;
|
||||
waypoints[56] = spawnstruct();
|
||||
waypoints[56].origin = (675.205,-486.376,104.125);
|
||||
waypoints[56].type = "stand";
|
||||
waypoints[56].childCount = 2;
|
||||
waypoints[56].children[0] = 55;
|
||||
waypoints[56].children[1] = 1;
|
||||
waypoints[57] = spawnstruct();
|
||||
waypoints[57].origin = (626.279,-422.316,192.125);
|
||||
waypoints[57].type = "stand";
|
||||
waypoints[57].childCount = 2;
|
||||
waypoints[57].children[0] = 54;
|
||||
waypoints[57].children[1] = 58;
|
||||
waypoints[58] = spawnstruct();
|
||||
waypoints[58].origin = (366.824,-424.195,192.125);
|
||||
waypoints[58].type = "stand";
|
||||
waypoints[58].childCount = 2;
|
||||
waypoints[58].children[0] = 59;
|
||||
waypoints[58].children[1] = 57;
|
||||
waypoints[59] = spawnstruct();
|
||||
waypoints[59].origin = (-2.34399,-423.791,192.125);
|
||||
waypoints[59].type = "stand";
|
||||
waypoints[59].childCount = 2;
|
||||
waypoints[59].children[0] = 60;
|
||||
waypoints[59].children[1] = 58;
|
||||
waypoints[60] = spawnstruct();
|
||||
waypoints[60].origin = (-323.755,-417.004,192.125);
|
||||
waypoints[60].type = "stand";
|
||||
waypoints[60].childCount = 2;
|
||||
waypoints[60].children[0] = 61;
|
||||
waypoints[60].children[1] = 59;
|
||||
waypoints[61] = spawnstruct();
|
||||
waypoints[61].origin = (-702.528,-403.513,192.125);
|
||||
waypoints[61].type = "stand";
|
||||
waypoints[61].childCount = 2;
|
||||
waypoints[61].children[0] = 60;
|
||||
waypoints[61].children[1] = 62;
|
||||
waypoints[62] = spawnstruct();
|
||||
waypoints[62].origin = (-738.813,-298.498,192.125);
|
||||
waypoints[62].type = "stand";
|
||||
waypoints[62].childCount = 3;
|
||||
waypoints[62].children[0] = 61;
|
||||
waypoints[62].children[1] = 63;
|
||||
waypoints[62].children[2] = 69;
|
||||
waypoints[63] = spawnstruct();
|
||||
waypoints[63].origin = (-670.498,1.26415,192.125);
|
||||
waypoints[63].type = "stand";
|
||||
waypoints[63].childCount = 2;
|
||||
waypoints[63].children[0] = 62;
|
||||
waypoints[63].children[1] = 64;
|
||||
waypoints[64] = spawnstruct();
|
||||
waypoints[64].origin = (-668.283,381.161,192.125);
|
||||
waypoints[64].type = "stand";
|
||||
waypoints[64].childCount = 2;
|
||||
waypoints[64].children[0] = 63;
|
||||
waypoints[64].children[1] = 21;
|
||||
waypoints[65] = spawnstruct();
|
||||
waypoints[65].origin = (-490.793,571.524,192.125);
|
||||
waypoints[65].type = "stand";
|
||||
waypoints[65].childCount = 2;
|
||||
waypoints[65].children[0] = 21;
|
||||
waypoints[65].children[1] = 66;
|
||||
waypoints[66] = spawnstruct();
|
||||
waypoints[66].origin = (-301.784,566.147,192.125);
|
||||
waypoints[66].type = "stand";
|
||||
waypoints[66].childCount = 2;
|
||||
waypoints[66].children[0] = 65;
|
||||
waypoints[66].children[1] = 67;
|
||||
waypoints[67] = spawnstruct();
|
||||
waypoints[67].origin = (14.7346,573.208,192.125);
|
||||
waypoints[67].type = "stand";
|
||||
waypoints[67].childCount = 2;
|
||||
waypoints[67].children[0] = 66;
|
||||
waypoints[67].children[1] = 68;
|
||||
waypoints[68] = spawnstruct();
|
||||
waypoints[68].origin = (305.039,571.19,192.125);
|
||||
waypoints[68].type = "stand";
|
||||
waypoints[68].childCount = 2;
|
||||
waypoints[68].children[0] = 67;
|
||||
waypoints[68].children[1] = 50;
|
||||
waypoints[69] = spawnstruct();
|
||||
waypoints[69].origin = (-865.677,-291.469,184.125);
|
||||
waypoints[69].type = "stand";
|
||||
waypoints[69].childCount = 2;
|
||||
waypoints[69].children[0] = 62;
|
||||
waypoints[69].children[1] = 70;
|
||||
waypoints[70] = spawnstruct();
|
||||
waypoints[70].origin = (-1125.46,-321.898,184.125);
|
||||
waypoints[70].type = "stand";
|
||||
waypoints[70].childCount = 2;
|
||||
waypoints[70].children[0] = 69;
|
||||
waypoints[70].children[1] = 71;
|
||||
waypoints[71] = spawnstruct();
|
||||
waypoints[71].origin = (-1106.26,-571.049,16.125);
|
||||
waypoints[71].type = "stand";
|
||||
waypoints[71].childCount = 4;
|
||||
waypoints[71].children[0] = 70;
|
||||
waypoints[71].children[1] = 72;
|
||||
waypoints[71].children[2] = 75;
|
||||
waypoints[71].children[3] = 110;
|
||||
waypoints[72] = spawnstruct();
|
||||
waypoints[72].origin = (-659.469,-730.962,16.125);
|
||||
waypoints[72].type = "stand";
|
||||
waypoints[72].childCount = 4;
|
||||
waypoints[72].children[0] = 71;
|
||||
waypoints[72].children[1] = 108;
|
||||
waypoints[72].children[2] = 109;
|
||||
waypoints[72].children[3] = 110;
|
||||
waypoints[73] = spawnstruct();
|
||||
waypoints[73].origin = (-646.755,-1255.77,16.125);
|
||||
waypoints[73].type = "stand";
|
||||
waypoints[73].childCount = 3;
|
||||
waypoints[73].children[0] = 74;
|
||||
waypoints[73].children[1] = 76;
|
||||
waypoints[73].children[2] = 109;
|
||||
waypoints[74] = spawnstruct();
|
||||
waypoints[74].origin = (-876.086,-1248.7,16.125);
|
||||
waypoints[74].type = "stand";
|
||||
waypoints[74].childCount = 2;
|
||||
waypoints[74].children[0] = 73;
|
||||
waypoints[74].children[1] = 75;
|
||||
waypoints[75] = spawnstruct();
|
||||
waypoints[75].origin = (-965.944,-952.733,16.125);
|
||||
waypoints[75].type = "stand";
|
||||
waypoints[75].childCount = 2;
|
||||
waypoints[75].children[0] = 74;
|
||||
waypoints[75].children[1] = 71;
|
||||
waypoints[76] = spawnstruct();
|
||||
waypoints[76].origin = (-353.091,-1333.87,16.125);
|
||||
waypoints[76].type = "stand";
|
||||
waypoints[76].childCount = 3;
|
||||
waypoints[76].children[0] = 73;
|
||||
waypoints[76].children[1] = 77;
|
||||
waypoints[76].children[2] = 79;
|
||||
waypoints[77] = spawnstruct();
|
||||
waypoints[77].origin = (-320.427,-1501.57,16.125);
|
||||
waypoints[77].type = "stand";
|
||||
waypoints[77].childCount = 2;
|
||||
waypoints[77].children[0] = 76;
|
||||
waypoints[77].children[1] = 78;
|
||||
waypoints[78] = spawnstruct();
|
||||
waypoints[78].origin = (-145.803,-1646.58,16.125);
|
||||
waypoints[78].type = "stand";
|
||||
waypoints[78].childCount = 5;
|
||||
waypoints[78].children[0] = 77;
|
||||
waypoints[78].children[1] = 4;
|
||||
waypoints[78].children[2] = 3;
|
||||
waypoints[78].children[3] = 5;
|
||||
waypoints[78].children[4] = 79;
|
||||
waypoints[79] = spawnstruct();
|
||||
waypoints[79].origin = (-9.68692,-1389.69,17.0544);
|
||||
waypoints[79].type = "stand";
|
||||
waypoints[79].childCount = 6;
|
||||
waypoints[79].children[0] = 5;
|
||||
waypoints[79].children[1] = 78;
|
||||
waypoints[79].children[2] = 76;
|
||||
waypoints[79].children[3] = 6;
|
||||
waypoints[79].children[4] = 7;
|
||||
waypoints[79].children[5] = 82;
|
||||
waypoints[80] = spawnstruct();
|
||||
waypoints[80].origin = (945.134,-1299.76,16.125);
|
||||
waypoints[80].type = "stand";
|
||||
waypoints[80].childCount = 2;
|
||||
waypoints[80].children[0] = 7;
|
||||
waypoints[80].children[1] = 81;
|
||||
waypoints[81] = spawnstruct();
|
||||
waypoints[81].origin = (964.397,-912.064,16.2567);
|
||||
waypoints[81].type = "stand";
|
||||
waypoints[81].childCount = 3;
|
||||
waypoints[81].children[0] = 80;
|
||||
waypoints[81].children[1] = 9;
|
||||
waypoints[81].children[2] = 8;
|
||||
waypoints[82] = spawnstruct();
|
||||
waypoints[82].origin = (24.8224,-1003.39,16.0088);
|
||||
waypoints[82].type = "stand";
|
||||
waypoints[82].childCount = 2;
|
||||
waypoints[82].children[0] = 79;
|
||||
waypoints[82].children[1] = 83;
|
||||
waypoints[83] = spawnstruct();
|
||||
waypoints[83].origin = (-34.5625,-682.197,16.0088);
|
||||
waypoints[83].type = "stand";
|
||||
waypoints[83].childCount = 2;
|
||||
waypoints[83].children[0] = 82;
|
||||
waypoints[83].children[1] = 84;
|
||||
waypoints[84] = spawnstruct();
|
||||
waypoints[84].origin = (25.6259,-447.97,16.0088);
|
||||
waypoints[84].type = "stand";
|
||||
waypoints[84].childCount = 5;
|
||||
waypoints[84].children[0] = 83;
|
||||
waypoints[84].children[1] = 85;
|
||||
waypoints[84].children[2] = 86;
|
||||
waypoints[84].children[3] = 89;
|
||||
waypoints[84].children[4] = 90;
|
||||
waypoints[85] = spawnstruct();
|
||||
waypoints[85].origin = (318.792,-442.476,16.0088);
|
||||
waypoints[85].type = "stand";
|
||||
waypoints[85].childCount = 3;
|
||||
waypoints[85].children[0] = 84;
|
||||
waypoints[85].children[1] = 0;
|
||||
waypoints[85].children[2] = 1;
|
||||
waypoints[86] = spawnstruct();
|
||||
waypoints[86].origin = (-218.847,-438.109,16.0088);
|
||||
waypoints[86].type = "stand";
|
||||
waypoints[86].childCount = 2;
|
||||
waypoints[86].children[0] = 84;
|
||||
waypoints[86].children[1] = 87;
|
||||
waypoints[87] = spawnstruct();
|
||||
waypoints[87].origin = (-693.322,-423.187,16.0088);
|
||||
waypoints[87].type = "stand";
|
||||
waypoints[87].childCount = 2;
|
||||
waypoints[87].children[0] = 86;
|
||||
waypoints[87].children[1] = 88;
|
||||
waypoints[88] = spawnstruct();
|
||||
waypoints[88].origin = (-708.497,-72.4109,16.0088);
|
||||
waypoints[88].type = "stand";
|
||||
waypoints[88].childCount = 2;
|
||||
waypoints[88].children[0] = 87;
|
||||
waypoints[88].children[1] = 24;
|
||||
waypoints[89] = spawnstruct();
|
||||
waypoints[89].origin = (-130.83,-223.262,0.125);
|
||||
waypoints[89].type = "stand";
|
||||
waypoints[89].childCount = 4;
|
||||
waypoints[89].children[0] = 84;
|
||||
waypoints[89].children[1] = 90;
|
||||
waypoints[89].children[2] = 91;
|
||||
waypoints[89].children[3] = 93;
|
||||
waypoints[90] = spawnstruct();
|
||||
waypoints[90].origin = (129.025,-178.039,0.125);
|
||||
waypoints[90].type = "stand";
|
||||
waypoints[90].childCount = 6;
|
||||
waypoints[90].children[0] = 84;
|
||||
waypoints[90].children[1] = 89;
|
||||
waypoints[90].children[2] = 96;
|
||||
waypoints[90].children[3] = 97;
|
||||
waypoints[90].children[4] = 98;
|
||||
waypoints[90].children[5] = 93;
|
||||
waypoints[91] = spawnstruct();
|
||||
waypoints[91].origin = (-496.043,-77.612,0.125);
|
||||
waypoints[91].type = "stand";
|
||||
waypoints[91].childCount = 4;
|
||||
waypoints[91].children[0] = 89;
|
||||
waypoints[91].children[1] = 23;
|
||||
waypoints[91].children[2] = 22;
|
||||
waypoints[91].children[3] = 93;
|
||||
waypoints[92] = spawnstruct();
|
||||
waypoints[92].origin = (-534.335,388.236,7.64728);
|
||||
waypoints[92].type = "stand";
|
||||
waypoints[92].childCount = 4;
|
||||
waypoints[92].children[0] = 22;
|
||||
waypoints[92].children[1] = 18;
|
||||
waypoints[92].children[2] = 19;
|
||||
waypoints[92].children[3] = 94;
|
||||
waypoints[93] = spawnstruct();
|
||||
waypoints[93].origin = (-199.832,96.0957,0.124999);
|
||||
waypoints[93].type = "stand";
|
||||
waypoints[93].childCount = 6;
|
||||
waypoints[93].children[0] = 89;
|
||||
waypoints[93].children[1] = 91;
|
||||
waypoints[93].children[2] = 94;
|
||||
waypoints[93].children[3] = 90;
|
||||
waypoints[93].children[4] = 95;
|
||||
waypoints[93].children[5] = 23;
|
||||
waypoints[94] = spawnstruct();
|
||||
waypoints[94].origin = (-122.751,283.863,0.124999);
|
||||
waypoints[94].type = "stand";
|
||||
waypoints[94].childCount = 5;
|
||||
waypoints[94].children[0] = 93;
|
||||
waypoints[94].children[1] = 17;
|
||||
waypoints[94].children[2] = 92;
|
||||
waypoints[94].children[3] = 22;
|
||||
waypoints[94].children[4] = 95;
|
||||
waypoints[95] = spawnstruct();
|
||||
waypoints[95].origin = (104.783,261.223,0.125);
|
||||
waypoints[95].type = "stand";
|
||||
waypoints[95].childCount = 4;
|
||||
waypoints[95].children[0] = 17;
|
||||
waypoints[95].children[1] = 96;
|
||||
waypoints[95].children[2] = 93;
|
||||
waypoints[95].children[3] = 94;
|
||||
waypoints[96] = spawnstruct();
|
||||
waypoints[96].origin = (186.481,28.8222,0.125);
|
||||
waypoints[96].type = "stand";
|
||||
waypoints[96].childCount = 4;
|
||||
waypoints[96].children[0] = 95;
|
||||
waypoints[96].children[1] = 90;
|
||||
waypoints[96].children[2] = 15;
|
||||
waypoints[96].children[3] = 97;
|
||||
waypoints[97] = spawnstruct();
|
||||
waypoints[97].origin = (452.621,-79.9207,0.125);
|
||||
waypoints[97].type = "stand";
|
||||
waypoints[97].childCount = 4;
|
||||
waypoints[97].children[0] = 15;
|
||||
waypoints[97].children[1] = 90;
|
||||
waypoints[97].children[2] = 98;
|
||||
waypoints[97].children[3] = 96;
|
||||
waypoints[98] = spawnstruct();
|
||||
waypoints[98].origin = (538.879,-249.726,0.125);
|
||||
waypoints[98].type = "stand";
|
||||
waypoints[98].childCount = 3;
|
||||
waypoints[98].children[0] = 97;
|
||||
waypoints[98].children[1] = 11;
|
||||
waypoints[98].children[2] = 90;
|
||||
waypoints[99] = spawnstruct();
|
||||
waypoints[99].origin = (-32.1886,797.337,16.125);
|
||||
waypoints[99].type = "stand";
|
||||
waypoints[99].childCount = 2;
|
||||
waypoints[99].children[0] = 17;
|
||||
waypoints[99].children[1] = 100;
|
||||
waypoints[100] = spawnstruct();
|
||||
waypoints[100].origin = (24.8883,1097.62,16.125);
|
||||
waypoints[100].type = "stand";
|
||||
waypoints[100].childCount = 2;
|
||||
waypoints[100].children[0] = 99;
|
||||
waypoints[100].children[1] = 39;
|
||||
waypoints[101] = spawnstruct();
|
||||
waypoints[101].origin = (-942.212,-139.769,16.125);
|
||||
waypoints[101].type = "stand";
|
||||
waypoints[101].childCount = 1;
|
||||
waypoints[101].children[0] = 25;
|
||||
waypoints[102] = spawnstruct();
|
||||
waypoints[102].origin = (961.552,255.482,15.3501);
|
||||
waypoints[102].type = "stand";
|
||||
waypoints[102].childCount = 1;
|
||||
waypoints[102].children[0] = 12;
|
||||
waypoints[103] = spawnstruct();
|
||||
waypoints[103].origin = (655.375,-317.287,16.125);
|
||||
waypoints[103].type = "stand";
|
||||
waypoints[103].childCount = 1;
|
||||
waypoints[103].children[0] = 11;
|
||||
waypoints[104] = spawnstruct();
|
||||
waypoints[104].origin = (431.222,1608.22,3.50296);
|
||||
waypoints[104].type = "stand";
|
||||
waypoints[104].childCount = 2;
|
||||
waypoints[104].children[0] = 35;
|
||||
waypoints[104].children[1] = 36;
|
||||
waypoints[105] = spawnstruct();
|
||||
waypoints[105].origin = (962.756,1433.83,0.748573);
|
||||
waypoints[105].type = "stand";
|
||||
waypoints[105].childCount = 2;
|
||||
waypoints[105].children[0] = 42;
|
||||
waypoints[105].children[1] = 106;
|
||||
waypoints[106] = spawnstruct();
|
||||
waypoints[106].origin = (897.747,1288.22,0.400695);
|
||||
waypoints[106].type = "stand";
|
||||
waypoints[106].childCount = 3;
|
||||
waypoints[106].children[0] = 105;
|
||||
waypoints[106].children[1] = 42;
|
||||
waypoints[106].children[2] = 43;
|
||||
waypoints[107] = spawnstruct();
|
||||
waypoints[107].origin = (749.668,687.343,11.8986);
|
||||
waypoints[107].type = "stand";
|
||||
waypoints[107].childCount = 2;
|
||||
waypoints[107].children[0] = 45;
|
||||
waypoints[107].children[1] = 114;
|
||||
waypoints[108] = spawnstruct();
|
||||
waypoints[108].origin = (-500.519,-952.662,16.125);
|
||||
waypoints[108].type = "stand";
|
||||
waypoints[108].childCount = 2;
|
||||
waypoints[108].children[0] = 72;
|
||||
waypoints[108].children[1] = 109;
|
||||
waypoints[109] = spawnstruct();
|
||||
waypoints[109].origin = (-634.56,-1027.6,16.125);
|
||||
waypoints[109].type = "stand";
|
||||
waypoints[109].childCount = 3;
|
||||
waypoints[109].children[0] = 73;
|
||||
waypoints[109].children[1] = 108;
|
||||
waypoints[109].children[2] = 72;
|
||||
waypoints[110] = spawnstruct();
|
||||
waypoints[110].origin = (-612.432,-586.304,16.125);
|
||||
waypoints[110].type = "stand";
|
||||
waypoints[110].childCount = 2;
|
||||
waypoints[110].children[0] = 72;
|
||||
waypoints[110].children[1] = 71;
|
||||
waypoints[111] = spawnstruct();
|
||||
waypoints[111].origin = (-349.851,-1829.05,16.125);
|
||||
waypoints[111].type = "stand";
|
||||
waypoints[111].childCount = 1;
|
||||
waypoints[111].children[0] = 4;
|
||||
waypoints[112] = spawnstruct();
|
||||
waypoints[112].origin = (375.916,807.075,104.125);
|
||||
waypoints[112].type = "stand";
|
||||
waypoints[112].childCount = 1;
|
||||
waypoints[112].children[0] = 113;
|
||||
waypoints[113] = spawnstruct();
|
||||
waypoints[113].origin = (447.038,801.978,100.352);
|
||||
waypoints[113].type = "stand";
|
||||
waypoints[113].childCount = 2;
|
||||
waypoints[113].children[0] = 112;
|
||||
waypoints[113].children[1] = 114;
|
||||
waypoints[114] = spawnstruct();
|
||||
waypoints[114].origin = (651.898,799.593,0.124998);
|
||||
waypoints[114].type = "stand";
|
||||
waypoints[114].childCount = 4;
|
||||
waypoints[114].children[0] = 113;
|
||||
waypoints[114].children[1] = 41;
|
||||
waypoints[114].children[2] = 107;
|
||||
waypoints[114].children[3] = 45;
|
||||
return waypoints;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
// Callback Setup
|
||||
// This script provides the hooks from code into script for the gametype callback functions.
|
||||
// Cod4x bootstrapping custom scripts
|
||||
|
||||
//=============================================================================
|
||||
// Code Callback functions
|
||||
@ -16,10 +17,11 @@ CodeCallback_StartGameType()
|
||||
|
||||
level.gametypestarted = true; // so we know that the gametype has been started up
|
||||
|
||||
level thread maps\mp\bots\_bot::init();
|
||||
level thread maps\mp\bots\_bot_chat::init();
|
||||
level thread maps\mp\bots\_menu::init();
|
||||
level thread maps\mp\bots\_wp_editor::init();
|
||||
level thread scripts\bots_adapter::init();
|
||||
level thread scripts\bots_chat::init();
|
||||
level thread scripts\bots_menu::init();
|
||||
level thread scripts\bots_wp_editor::init();
|
||||
level thread scripts\bots::init();
|
||||
}
|
||||
}
|
||||
|
||||
|
26
scriptdata/botnames.txt
Normal file
26
scriptdata/botnames.txt
Normal file
@ -0,0 +1,26 @@
|
||||
bota
|
||||
botb
|
||||
botc
|
||||
botd
|
||||
bote
|
||||
botf
|
||||
botg
|
||||
both
|
||||
boti
|
||||
botj
|
||||
botk
|
||||
botl
|
||||
botm
|
||||
botn
|
||||
boto
|
||||
botp
|
||||
botq
|
||||
botr
|
||||
bots
|
||||
bott
|
||||
botu
|
||||
botv
|
||||
botw
|
||||
botx
|
||||
boty
|
||||
botz
|
4
scripts/bots.gsc
Normal file
4
scripts/bots.gsc
Normal file
@ -0,0 +1,4 @@
|
||||
init()
|
||||
{
|
||||
level thread maps\mp\bots\_bot::init();
|
||||
}
|
75
scripts/bots_adapter.gsc
Normal file
75
scripts/bots_adapter.gsc
Normal file
@ -0,0 +1,75 @@
|
||||
init()
|
||||
{
|
||||
level.bot_builtins["printconsole"] = ::do_printconsole;
|
||||
level.bot_builtins["filewrite"] = ::do_filewrite;
|
||||
level.bot_builtins["fileread"] = ::do_fileread;
|
||||
level.bot_builtins["fileexists"] = ::do_fileexists;
|
||||
level.bot_builtins["botaction"] = ::do_botaction;
|
||||
level.bot_builtins["botstop"] = ::do_botstop;
|
||||
level.bot_builtins["botmovement"] = ::do_botmovement;
|
||||
level.bot_builtins["botmoveto"] = ::do_botmoveto;
|
||||
}
|
||||
|
||||
do_printconsole( s )
|
||||
{
|
||||
println( s );
|
||||
}
|
||||
|
||||
do_filewrite( file, contents, mode )
|
||||
{
|
||||
file = "scriptdata/" + file;
|
||||
f = FS_FOpen( file, mode );
|
||||
|
||||
// always adds newline, strip from contents
|
||||
if ( contents[contents.size - 1] == "\n" )
|
||||
{
|
||||
contents = getsubstr(contents, 0, contents.size - 1);
|
||||
}
|
||||
|
||||
FS_WriteLine( f, contents );
|
||||
|
||||
FS_FClose( f );
|
||||
}
|
||||
|
||||
do_fileread( file )
|
||||
{
|
||||
file = "scriptdata/" + file;
|
||||
answer = "";
|
||||
|
||||
f = FS_FOpen( file, "read" );
|
||||
line = FS_ReadLine( f );
|
||||
|
||||
while ( isDefined( line ) )
|
||||
{
|
||||
answer += line + "\n";
|
||||
line = FS_ReadLine( f );
|
||||
}
|
||||
|
||||
FS_FClose( f );
|
||||
return answer;
|
||||
}
|
||||
|
||||
do_fileexists( file )
|
||||
{
|
||||
file = "scriptdata/" + file;
|
||||
return FS_TestFile( file );
|
||||
}
|
||||
|
||||
do_botaction( action )
|
||||
{
|
||||
self BotAction( action );
|
||||
}
|
||||
|
||||
do_botstop()
|
||||
{
|
||||
self BotStop();
|
||||
}
|
||||
|
||||
do_botmovement( left, forward )
|
||||
{
|
||||
}
|
||||
|
||||
do_botmoveto( where )
|
||||
{
|
||||
self BotMoveTo( where );
|
||||
}
|
4
scripts/bots_chat.gsc
Normal file
4
scripts/bots_chat.gsc
Normal file
@ -0,0 +1,4 @@
|
||||
init()
|
||||
{
|
||||
level thread maps\mp\bots\_bot_chat::init();
|
||||
}
|
4
scripts/bots_menu.gsc
Normal file
4
scripts/bots_menu.gsc
Normal file
@ -0,0 +1,4 @@
|
||||
init()
|
||||
{
|
||||
level thread maps\mp\bots\_menu::init();
|
||||
}
|
4
scripts/bots_wp_editor.gsc
Normal file
4
scripts/bots_wp_editor.gsc
Normal file
@ -0,0 +1,4 @@
|
||||
init()
|
||||
{
|
||||
level thread maps\mp\bots\_wp_editor::init();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user