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;
|
myFov *= 1 - adsFovFact * adsAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
enemies = GetAISpeciesArray("axis", "all");
|
enemies = GetAISpeciesArray( "axis", "all" );
|
||||||
|
|
||||||
enemycount = enemies.size;
|
enemycount = enemies.size;
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@ init()
|
|||||||
{
|
{
|
||||||
level thread maps\bots\_bot::init();
|
level thread maps\bots\_bot::init();
|
||||||
|
|
||||||
setDvar( "player_debug_bots", 1 );
|
if ( getDvar( "player_debug_bots" ) == "" )
|
||||||
|
setDvar( "player_debug_bots", 1 );
|
||||||
|
|
||||||
thread test_bot_pathing();
|
thread test_bot_pathing();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,9 @@ init()
|
|||||||
level thread onPlayerConnect();
|
level thread onPlayerConnect();
|
||||||
level thread spitOutTime();
|
level thread spitOutTime();
|
||||||
|
|
||||||
setDvar( "killtest_bot_debug", 1 );
|
if ( getDvar( "killtest_bot_debug" ) == "" )
|
||||||
|
setDvar( "killtest_bot_debug", 1 );
|
||||||
|
|
||||||
level thread addBot();
|
level thread addBot();
|
||||||
|
|
||||||
level thread setupcallbacks();
|
level thread setupcallbacks();
|
||||||
@ -220,9 +222,10 @@ addBot()
|
|||||||
if ( !isDefined( guy ) )
|
if ( !isDefined( guy ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
guy.killingAll = true;
|
// guy.killingAll = true;
|
||||||
guy giveWeapon( "ptrs41_zombie" ); // ptrs41_zombie zombie_doublebarrel
|
weapon = "zombie_thompson";
|
||||||
guy switchToWeapon( "ptrs41_zombie" ); // colt_dirty_harry
|
guy giveWeapon( weapon ); // ptrs41_zombie zombie_doublebarrel
|
||||||
|
guy switchToWeapon( weapon ); // colt_dirty_harry
|
||||||
|
|
||||||
//guy thread walk_to_player();
|
//guy thread walk_to_player();
|
||||||
//guy thread do_move();
|
//guy thread do_move();
|
||||||
@ -236,6 +239,8 @@ addBot()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
guy giveMaxAmmo( weapon );
|
||||||
|
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user