home *** CD-ROM | disk | FTP | other *** search
- /*
- ==============================================================================
-
- TM BOT HEADER FILE
-
- ==============================================================================
- */
-
-
- // Global Constants
-
- // Defines for Effects that aren't already defined by name (see MODELS.QC)
-
- float EF_ROCKET = 1;
-
- float CUJO_TOGGLE = 100; // impulse constant
- float CUJO_TELEPORT = 104; // impulse constant
- float STAND = 0; // move_flag constant
- float WALK = 1; // move_flag constant
- float RUN = 2; // move_flag constant
- float CUJO_LIGHT_TOGGLE = 105; // impulse constant
- float CUJO_GIVE_STATUS = 106; // impulse constant
- float CUJO_ATTACK_TOGGLE = 107; // impulse constant
- float CUJO_VIEW_TOGGLE = 103;
- float CUJO_STAY_TOGGLE = 102;
-
- //TEST
- //float PLAYER_DUCK_TOGGLE = 108; // impulse constant
-
- // Prototypes
-
- float () CUJO_FindTarget; //
- void () CUJO_ai_stand; //
- void () CUJO_pain; //
- void () CUJO_die; //
- void () CUJO_SightSound; //
- void () CUJO_FoundTarget;//
- void () CUJO_HuntTarget; //
- void (float dist) CUJO_ai_walk; //
- void () CUJO_ai_turn; //
- void (float dist) CUJO_ai_run; //
- void (float dist) CUJO_ai_follow; //
- void (void () thinkst) CUJO_CheckRefire;//
- //void (float deathframe) CUJO_SelfDeactivate;//
- void () CUJO_EatGib;
- void () CUJO_EatHead;
- //entity () CUJO_FindFood;
-
- void () CUJO_TeleportToOwner;//
-
- // Bot Prototypes - called by player
-
- void () CUJO_Precache;
- void () CUJO_Activate; // Activate bot
- void () CUJO_Deactivate; // DeActivate bot
- void () CUJO_Toggle; // Toggle bot on and off
- void () CUJO_AttackToggle; // Toggle bot's auto-firing in auto mode
- /*
- void () CUJO_Attack; // Have bot fire at its current target in auto mode
- */
- void () CUJO_TeleportHome; // Have bot teleport back to its owner
- void () CUJO_LightToggle; // Have bot teleport back to its owner
- void () CUJO_CheckImpulses; // check for commands to CUJO
- void () CUJO_SetDogView;
- void () CUJO_SetPlayerView;
- void () CUJO_Stay;
-
- // Additional entity fields, DEFINED IN DEFS.QC!!!!!
- // .entity Cujo; // bot entity
- // .float Cujo_flag; // existence of bot (TRUE or FALSE)
- // .float Cujo_auto; // flags auto mode of bot (TRUE or FALSE)
- // .float Cujo_moveflag; // (STAND, WALK, OR RUN)
- // .float Cujo_attack; // (TRUE or FALSE)
-