Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
2.6 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Default schedules.
  4. //
  5. //=============================================================================//
  6. #ifndef AI_DEFAULT_H
  7. #define AI_DEFAULT_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //=========================================================
  12. // These are the schedule types
  13. //=========================================================
  14. enum
  15. {
  16. SCHED_NONE = 0,
  17. SCHED_IDLE_STAND,
  18. SCHED_IDLE_WALK,
  19. SCHED_IDLE_WANDER,
  20. SCHED_WAKE_ANGRY,
  21. SCHED_ALERT_FACE,
  22. SCHED_ALERT_FACE_BESTSOUND,
  23. SCHED_ALERT_REACT_TO_COMBAT_SOUND,
  24. SCHED_ALERT_SCAN,
  25. SCHED_ALERT_STAND,
  26. SCHED_ALERT_WALK,
  27. SCHED_INVESTIGATE_SOUND,
  28. SCHED_COMBAT_FACE,
  29. SCHED_COMBAT_SWEEP,
  30. SCHED_FEAR_FACE,
  31. SCHED_COMBAT_STAND,
  32. SCHED_COMBAT_WALK,
  33. SCHED_CHASE_ENEMY,
  34. SCHED_CHASE_ENEMY_FAILED,
  35. SCHED_VICTORY_DANCE,
  36. SCHED_TARGET_FACE,
  37. SCHED_TARGET_CHASE,
  38. SCHED_SMALL_FLINCH,
  39. SCHED_BIG_FLINCH,
  40. SCHED_BACK_AWAY_FROM_ENEMY,
  41. SCHED_MOVE_AWAY_FROM_ENEMY,
  42. SCHED_BACK_AWAY_FROM_SAVE_POSITION,
  43. SCHED_TAKE_COVER_FROM_ENEMY,
  44. SCHED_TAKE_COVER_FROM_BEST_SOUND,
  45. SCHED_FLEE_FROM_BEST_SOUND,
  46. SCHED_TAKE_COVER_FROM_ORIGIN,
  47. SCHED_FAIL_TAKE_COVER,
  48. SCHED_RUN_FROM_ENEMY,
  49. SCHED_RUN_FROM_ENEMY_FALLBACK,
  50. SCHED_MOVE_TO_WEAPON_RANGE,
  51. SCHED_ESTABLISH_LINE_OF_FIRE,
  52. SCHED_ESTABLISH_LINE_OF_FIRE_FALLBACK,
  53. SCHED_PRE_FAIL_ESTABLISH_LINE_OF_FIRE,
  54. SCHED_FAIL_ESTABLISH_LINE_OF_FIRE,
  55. SCHED_SHOOT_ENEMY_COVER,
  56. SCHED_COWER, // usually a last resort!
  57. SCHED_MELEE_ATTACK1,
  58. SCHED_MELEE_ATTACK2,
  59. SCHED_RANGE_ATTACK1,
  60. SCHED_RANGE_ATTACK2,
  61. SCHED_SPECIAL_ATTACK1,
  62. SCHED_SPECIAL_ATTACK2,
  63. SCHED_STANDOFF,
  64. SCHED_ARM_WEAPON,
  65. SCHED_DISARM_WEAPON,
  66. SCHED_HIDE_AND_RELOAD,
  67. SCHED_RELOAD,
  68. SCHED_AMBUSH,
  69. SCHED_DIE,
  70. SCHED_DIE_RAGDOLL,
  71. SCHED_WAIT_FOR_SCRIPT,
  72. SCHED_AISCRIPT,
  73. SCHED_SCRIPTED_WALK,
  74. SCHED_SCRIPTED_RUN,
  75. SCHED_SCRIPTED_CUSTOM_MOVE,
  76. SCHED_SCRIPTED_WAIT,
  77. SCHED_SCRIPTED_FACE,
  78. SCHED_SCENE_GENERIC,
  79. SCHED_NEW_WEAPON,
  80. SCHED_NEW_WEAPON_CHEAT,
  81. SCHED_SWITCH_TO_PENDING_WEAPON,
  82. SCHED_GET_HEALTHKIT,
  83. SCHED_WAIT_FOR_SPEAK_FINISH,
  84. SCHED_MOVE_AWAY,
  85. SCHED_MOVE_AWAY_FAIL,
  86. SCHED_MOVE_AWAY_END,
  87. SCHED_FORCED_GO,
  88. SCHED_FORCED_GO_RUN,
  89. SCHED_NPC_FREEZE,
  90. SCHED_PATROL_WALK,
  91. SCHED_COMBAT_PATROL,
  92. SCHED_PATROL_RUN,
  93. SCHED_RUN_RANDOM,
  94. SCHED_FALL_TO_GROUND,
  95. SCHED_DROPSHIP_DUSTOFF,
  96. SCHED_FLINCH_PHYSICS,
  97. SCHED_FAIL,
  98. SCHED_FAIL_NOSTOP,
  99. SCHED_RUN_FROM_ENEMY_MOB,
  100. SCHED_DUCK_DODGE,
  101. SCHED_INTERACTION_MOVE_TO_PARTNER,
  102. SCHED_INTERACTION_WAIT_FOR_PARTNER,
  103. SCHED_SLEEP,
  104. // ======================================
  105. // IMPORTANT: This must be the last enum
  106. // ======================================
  107. LAST_SHARED_SCHEDULE
  108. };
  109. #endif // AI_DEFAULT_H