home *** CD-ROM | disk | FTP | other *** search
/ Quaaake Level & Editor 2 / Quaaake_2.iso / Quake / cujo12 / SOURCE.ZIP / CUJOAI.H < prev    next >
Encoding:
Text File  |  1996-10-22  |  3.1 KB  |  74 lines

  1. /*
  2. ==============================================================================
  3.  
  4. TM BOT HEADER FILE
  5.  
  6. ==============================================================================
  7. */
  8.  
  9.  
  10. // Global Constants
  11.  
  12. // Defines for Effects that aren't already defined by name (see MODELS.QC)
  13.  
  14. float   EF_ROCKET               = 1;
  15.  
  16. float   CUJO_TOGGLE             = 100; // impulse constant
  17. float    CUJO_TELEPORT           = 104; // impulse constant
  18. float    STAND                   = 0;   // move_flag constant
  19. float    WALK                    = 1;   // move_flag constant
  20. float    RUN                     = 2;   // move_flag constant
  21. float   CUJO_LIGHT_TOGGLE       = 105; // impulse constant
  22. float   CUJO_GIVE_STATUS        = 106; // impulse constant
  23. float   CUJO_ATTACK_TOGGLE      = 107; // impulse constant
  24. float   CUJO_VIEW_TOGGLE        = 103;
  25. float   CUJO_STAY_TOGGLE        = 102;
  26.  
  27. //TEST
  28. //float   PLAYER_DUCK_TOGGLE      = 108;  // impulse constant
  29.  
  30. // Prototypes
  31.  
  32. float   ()                                             CUJO_FindTarget; //
  33. void    ()                                             CUJO_ai_stand;   //
  34. void    ()                                             CUJO_pain;       //
  35. void    ()                                             CUJO_die;        //
  36. void    ()                                             CUJO_SightSound; //
  37. void    ()                                             CUJO_FoundTarget;//
  38. void    ()                                             CUJO_HuntTarget; //
  39. void    (float dist)                                   CUJO_ai_walk;    //
  40. void    ()                                             CUJO_ai_turn;    //
  41. void    (float dist)                                   CUJO_ai_run;     //
  42. void    (float dist)                                   CUJO_ai_follow;  //
  43. void    (void () thinkst)                              CUJO_CheckRefire;//
  44. //void    (float deathframe)                             CUJO_SelfDeactivate;//
  45. void    ()                                             CUJO_EatGib;
  46. void    ()                                             CUJO_EatHead;
  47. //entity  ()                                             CUJO_FindFood;
  48.  
  49. void    ()                                             CUJO_TeleportToOwner;//
  50.  
  51. // Bot Prototypes - called by player
  52.  
  53. void () CUJO_Precache;
  54. void () CUJO_Activate;        // Activate bot
  55. void () CUJO_Deactivate;    // DeActivate bot
  56. void () CUJO_Toggle;        // Toggle bot on and off
  57. void () CUJO_AttackToggle;    // Toggle bot's auto-firing in auto mode
  58. /*
  59. void ()    CUJO_Attack;        // Have bot fire at its current target in auto mode
  60. */
  61. void ()    CUJO_TeleportHome;    // Have bot teleport back to its owner
  62. void ()    CUJO_LightToggle;    // Have bot teleport back to its owner
  63. void () CUJO_CheckImpulses;     // check for commands to CUJO
  64. void () CUJO_SetDogView;
  65. void () CUJO_SetPlayerView;
  66. void () CUJO_Stay;
  67.  
  68. //    Additional entity fields, DEFINED IN DEFS.QC!!!!!
  69. //    .entity        Cujo;        // bot entity
  70. //    .float        Cujo_flag;    // existence of bot (TRUE or FALSE)
  71. //    .float        Cujo_auto;    // flags auto mode of bot (TRUE or FALSE)
  72. //    .float        Cujo_moveflag;    // (STAND, WALK, OR RUN)
  73. //    .float        Cujo_attack;    // (TRUE or FALSE)
  74.