home *** CD-ROM | disk | FTP | other *** search
/ Superpower (Alt) / SUPERPOWER.iso / q / patch / mbq073 / iwbotsrc / bot.h < prev    next >
Encoding:
Text File  |  1996-08-29  |  2.2 KB  |  54 lines

  1. /*
  2. ==============================================================================
  3.  
  4. TM BOT HEADER FILE
  5.  
  6. ==============================================================================
  7. */
  8. /*
  9. // Global Constants
  10.  
  11. float   BOT_TOGGLE                = 100;        // impulse constant
  12. float    BOT_AUTO_TOGGLE            = 101;        // impulse constant
  13. float    BOT_MOVE_FIRE            = 102;        // impulse constant
  14. float     BOT_LEFT_FIRE_TOGGLE    = 103;        // impulse constant
  15. float    BOT_RIGHT_TELEPORT        = 104;        // impulse constant
  16. float    STAND                    = 0;        // move_flag constant
  17. float    WALK                    = 1;        // move_flag constant
  18. float    RUN                        = 2;        // move_flag constant
  19. */
  20. // Bot Prototypes - called by player
  21.  
  22. void () Bot_Precache;        // Precache information for the bot
  23. //void () BotActivate;            // Activate bot
  24. //void () BotDeActivate;          // DeActivate bot
  25. //void () BotToggle;                      // Toggle bot on and off
  26. //void () BotAutoToggle;          // Toggle automatic/manual control of bot
  27. //void () BotMoveToggle;          // Toggle movement (walk, run, stand) in man mode
  28. //void () BotTurnRight;           // Turn bot to the right by 22.5 degrees in man mode
  29. //void () BotTurnLeft;            // Turn bot to the left by 22.5 degrees in man mode
  30. //void () BotFireToggle;          // Toggle bot's auto-firing in auto mode
  31. //void () BotFire;                        // Have bot fire at its current target in auto mode
  32. //void () BotTeleportHome;        // Have bot teleport back to its owner
  33.  
  34. // Botai Prototypes - called by bot (mostly modified versions of existing code)
  35.  
  36. float    ()                                BotFindTarget;
  37. void    ()                                BotFoundTarget;
  38. void    ()                                BotSightSound;
  39. void    ()                                BotHuntTarget;
  40. void    ()                                bot_ai_stand;
  41. void    (float dist)                    bot_ai_walk;
  42. void    (float dist)                    bot_ai_run;
  43. void    ()                                                              bot_die;
  44. void    ()                                                              bot_ai_turn;
  45. void    ()                                bot_fire;
  46. void    (void () thinkst)                BotCheckRefire;        // Replaces SUB_CheckRefire
  47. void    ()                                BotSelfDeActivate;
  48.  
  49. // Bot_ext Prototypes - called by triggers.qc
  50.  
  51. void    ()        bot_counter_use;
  52. void    ()        bot_trigger_onlyregistered_touch;
  53.  
  54.