home *** CD-ROM | disk | FTP | other *** search
- /*
- ==============================================================================
-
- BG BOT HEADER FILE
-
- ==============================================================================
- */
-
- // Global Constants
-
- float BOT_CREATE = 100; // impulse constant
- //***********
- float BOT_LEAD_TIME = 10;
- float BOT_LEAD_DIST = 65;
- float ROAM_DEVEL = FALSE;
- //***********
-
- // Bot Prototypes - called by player
-
- void () Bot_Precache; // Precache information for the bot
- void () BotCreate; // Create bot
-
- // Botai Prototypes - called by bot (mostly modified versions of existing code)
-
- float () BotFindTarget;
- float () BotFindStuff;
- void () BotFoundTarget;
- void () BotSightSound;
- void () BotHuntTarget;
- void () bot_ai_stand;
-
- //***********
- float (entity t) target_range;
- void () bot_lead_destination;
- void () bot_lead_think;
- void () bot_lead_spawn;
- void (float dist) bot_ai_roam;
- //***********
-
- void (float dist) bot_ai_run;
- void (entity attacker, float damage) bot_pain;
- void () bot_die;
- void () bot_ai_turn;
- void () bot_fire;
- void (void () thinkst) BotCheckRefire; // Replaces SUB_CheckRefire
- void () BotSelfDeActivate;
- float () bot_bestweapon;
- void () bot_SetCurrentAmmo;
- float () bot_CheckNoAmmo;
- void () bot_attack;
-
-
- // Bot_ext Prototypes - called by triggers.qc
-
- void () bot_counter_use;
- void () bot_trigger_onlyregistered_touch;
-