mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-22 06:25:44 +00:00
some testing
This commit is contained in:
parent
c730347c25
commit
dbf6ce6f3e
@ -477,7 +477,7 @@ target_loop()
|
||||
myFov *= 1 - adsFovFact * adsAmount;
|
||||
}
|
||||
|
||||
enemies = GetAISpeciesArray("axis", "all");
|
||||
enemies = GetAISpeciesArray( "axis", "all" );
|
||||
|
||||
enemycount = enemies.size;
|
||||
|
||||
|
@ -6,7 +6,9 @@ init()
|
||||
{
|
||||
level thread maps\bots\_bot::init();
|
||||
|
||||
if ( getDvar( "player_debug_bots" ) == "" )
|
||||
setDvar( "player_debug_bots", 1 );
|
||||
|
||||
thread test_bot_pathing();
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,9 @@ init()
|
||||
level thread onPlayerConnect();
|
||||
level thread spitOutTime();
|
||||
|
||||
if ( getDvar( "killtest_bot_debug" ) == "" )
|
||||
setDvar( "killtest_bot_debug", 1 );
|
||||
|
||||
level thread addBot();
|
||||
|
||||
level thread setupcallbacks();
|
||||
@ -220,9 +222,10 @@ addBot()
|
||||
if ( !isDefined( guy ) )
|
||||
return;
|
||||
|
||||
guy.killingAll = true;
|
||||
guy giveWeapon( "ptrs41_zombie" ); // ptrs41_zombie zombie_doublebarrel
|
||||
guy switchToWeapon( "ptrs41_zombie" ); // colt_dirty_harry
|
||||
// guy.killingAll = true;
|
||||
weapon = "zombie_thompson";
|
||||
guy giveWeapon( weapon ); // ptrs41_zombie zombie_doublebarrel
|
||||
guy switchToWeapon( weapon ); // colt_dirty_harry
|
||||
|
||||
//guy thread walk_to_player();
|
||||
//guy thread do_move();
|
||||
@ -236,6 +239,8 @@ addBot()
|
||||
break;
|
||||
}
|
||||
|
||||
guy giveMaxAmmo( weapon );
|
||||
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user