home *** CD-ROM | disk | FTP | other *** search
/ Superpower (Alt) / SUPERPOWER.iso / q / patch / mbq115 / src / bot.h < prev    next >
Encoding:
Text File  |  1996-09-02  |  2.1 KB  |  57 lines

  1. /*
  2. ==============================================================================
  3.  
  4. BG BOT HEADER FILE
  5.  
  6. ==============================================================================
  7. */
  8.  
  9. // Global Constants
  10.  
  11. float   BOT_CREATE                              = 100;          // impulse constant
  12. //***********
  13. float   BOT_LEAD_TIME = 10;
  14. float   BOT_LEAD_DIST = 65;
  15. float   ROAM_DEVEL    = FALSE;
  16. //***********
  17.  
  18. // Bot Prototypes - called by player
  19.  
  20. void () Bot_Precache;        // Precache information for the bot
  21. void () BotCreate;              // Create bot
  22.  
  23. // Botai Prototypes - called by bot (mostly modified versions of existing code)
  24.  
  25. float   ()                                              BotFindTarget;
  26. float   ()                                              BotFindStuff;
  27. void    ()                                              BotFoundTarget;
  28. void    ()                                              BotSightSound;
  29. void    ()                                              BotHuntTarget;
  30. void    ()                                              bot_ai_stand;
  31.  
  32. //***********
  33. float    (entity t)            target_range;
  34. void    ()                bot_lead_destination;
  35. void    ()                bot_lead_think;
  36. void    ()                bot_lead_spawn;
  37. void    (float dist)            bot_ai_roam;
  38. //***********
  39.  
  40. void    (float dist)                    bot_ai_run;
  41. void    (entity attacker, float damage)                 bot_pain;
  42. void    ()                                              bot_die;
  43. void    ()                                              bot_ai_turn;
  44. void    ()                                              bot_fire;
  45. void    (void () thinkst)                BotCheckRefire;        // Replaces SUB_CheckRefire
  46. void    ()                                              BotSelfDeActivate;
  47. float   ()                                              bot_bestweapon;
  48. void    ()                                              bot_SetCurrentAmmo;
  49. float   ()                                              bot_CheckNoAmmo;
  50. void    ()                                              bot_attack;
  51.  
  52.  
  53. // Bot_ext Prototypes - called by triggers.qc
  54.  
  55. void    ()        bot_counter_use;
  56. void    ()        bot_trigger_onlyregistered_touch;
  57.