mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-07 10:37:41 +00:00
oops lol
This commit is contained in:
parent
0952e8af0a
commit
522a218d63
@ -1088,38 +1088,48 @@ onBotSpawned()
|
|||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
self waittill("bot_spawned");
|
self waittill("bot_spawned");
|
||||||
gameFlagWait("prematch_done");
|
|
||||||
|
self thread start_bot_threads();
|
||||||
self thread bot_killstreak_think();
|
|
||||||
self thread bot_weapon_think();
|
|
||||||
self thread bot_perk_think();
|
|
||||||
|
|
||||||
self thread bot_target_vehicle();
|
|
||||||
self thread bot_equipment_kill_think();
|
|
||||||
self thread bot_turret_think();
|
|
||||||
|
|
||||||
self thread bot_crate_think();
|
|
||||||
self thread bot_revenge_think();
|
|
||||||
|
|
||||||
self thread bot_uav_think();
|
|
||||||
self thread bot_listen_to_steps();
|
|
||||||
|
|
||||||
self thread bot_think_follow();
|
|
||||||
self thread bot_think_camp();
|
|
||||||
self thread bot_jav_loc_think();
|
|
||||||
self thread bot_use_grenade_think();
|
|
||||||
self thread bot_use_tube_think();
|
|
||||||
self thread bot_use_equipment_think();
|
|
||||||
|
|
||||||
self thread bot_dom_def_think();
|
|
||||||
self thread bot_dom_spawn_kill_think();
|
|
||||||
|
|
||||||
self thread bot_hq();
|
|
||||||
|
|
||||||
self thread bot_cap();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_bot_threads()
|
||||||
|
{
|
||||||
|
self endon("disconnect");
|
||||||
|
level endon("game_ended");
|
||||||
|
self endon("death");
|
||||||
|
|
||||||
|
gameFlagWait("prematch_done");
|
||||||
|
|
||||||
|
self thread bot_killstreak_think();
|
||||||
|
self thread bot_weapon_think();
|
||||||
|
self thread bot_perk_think();
|
||||||
|
|
||||||
|
self thread bot_target_vehicle();
|
||||||
|
self thread bot_equipment_kill_think();
|
||||||
|
self thread bot_turret_think();
|
||||||
|
|
||||||
|
self thread bot_crate_think();
|
||||||
|
self thread bot_revenge_think();
|
||||||
|
|
||||||
|
self thread bot_uav_think();
|
||||||
|
self thread bot_listen_to_steps();
|
||||||
|
|
||||||
|
self thread bot_think_follow();
|
||||||
|
self thread bot_think_camp();
|
||||||
|
self thread bot_jav_loc_think();
|
||||||
|
self thread bot_use_grenade_think();
|
||||||
|
self thread bot_use_tube_think();
|
||||||
|
self thread bot_use_equipment_think();
|
||||||
|
|
||||||
|
self thread bot_dom_def_think();
|
||||||
|
self thread bot_dom_spawn_kill_think();
|
||||||
|
|
||||||
|
self thread bot_hq();
|
||||||
|
|
||||||
|
self thread bot_cap();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Bot logic for bot determining to camp.
|
Bot logic for bot determining to camp.
|
||||||
*/
|
*/
|
||||||
|
@ -2,10 +2,8 @@ _script:
|
|||||||
bomb gamemodes,
|
bomb gamemodes,
|
||||||
unreleased gamemodes
|
unreleased gamemodes
|
||||||
|
|
||||||
_utility:
|
|
||||||
host assignment
|
|
||||||
|
|
||||||
_other:
|
_other:
|
||||||
|
dvars
|
||||||
menu
|
menu
|
||||||
code comments
|
code comments
|
||||||
documentation and tutorials
|
documentation and tutorials
|
||||||
|
Loading…
x
Reference in New Issue
Block a user