home *** CD-ROM | disk | FTP | other *** search
/ Net Power 2000 November / Net02.iso / Patch / Q3PointRelease_125.exe / Main / pak4.pk3 / botfiles / new_chars.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-29  |  4.0 KB  |  95 lines

  1. //===========================================================================
  2. //
  3. // Name:            chars.h
  4. // Function:        bot characteristics
  5. // Programmer:        Mr Elusive (MrElusive@idsoftware.com)
  6. // Last update:        1999-09-08
  7. // Tab Size:        4 (real tabs)
  8. //===========================================================================
  9.  
  10.  
  11. //========================================================
  12. //========================================================
  13. //name
  14. #define CHARACTERISTIC_NAME                        0    //string
  15. //gender of the bot
  16. #define CHARACTERISTIC_GENDER                    3    //string ("male", "female", "it")
  17. //attack skill
  18. #define CHARACTERISTIC_ATTACK_SKILL                4    //float [0, 1]
  19. //weapon weight file
  20. #define CHARACTERISTIC_WEAPONWEIGHTS            5    //string
  21. //skill when aiming
  22. #define CHARACTERISTIC_AIM_SKILL                7    //float [0, 1]
  23. //accuracy when aiming
  24. #define CHARACTERISTIC_AIM_ACCURACY                8    //float [0, 1]
  25. //view angle difference to angle change factor
  26. #define CHARACTERISTIC_VIEW_FACTOR                9    //float <0, 1]
  27. //maximum view angle change
  28. #define CHARACTERISTIC_VIEW_MAXCHANGE            10    //float [1, 360]
  29. //reaction time in seconds
  30. #define CHARACTERISTIC_REACTIONTIME                11    //float [0, 5]
  31. //========================================================
  32. //chat
  33. //========================================================
  34. //file with chats
  35. #define CHARACTERISTIC_CHAT_FILE                12    //string
  36. //name of the chat character
  37. #define CHARACTERISTIC_CHAT_NAME                13    //string
  38. //characters per minute type speed
  39. #define CHARACTERISTIC_CHAT_CPM                    14    //integer [1, 4000]
  40. //tendency to insult/praise
  41. #define CHARACTERISTIC_CHAT_INSULT                15    //float [0, 1]
  42. //tendency to chat misc
  43. #define CHARACTERISTIC_CHAT_MISC                16    //float [0, 1]
  44. //tendency to chat at start or end of level
  45. #define CHARACTERISTIC_CHAT_STARTENDLEVEL        17    //float [0, 1]
  46. //tendency to chat entering or exiting the game
  47. #define CHARACTERISTIC_CHAT_ENTEREXITGAME        18    //float [0, 1]
  48. //tendency to chat when killed someone
  49. #define CHARACTERISTIC_CHAT_KILL                19    //float [0, 1]
  50. //tendency to chat when died
  51. #define CHARACTERISTIC_CHAT_DEATH                20    //float [0, 1]
  52. //tendency to chat when enemy suicides
  53. #define CHARACTERISTIC_CHAT_ENEMYSUICIDE        21    //float [0, 1]
  54. //tendency to chat when hit while talking
  55. #define CHARACTERISTIC_CHAT_HITTALKING            22    //float [0, 1]
  56. //tendency to chat when bot was hit but didn't dye
  57. #define CHARACTERISTIC_CHAT_HITNODEATH            23    //float [0, 1]
  58. //tendency to chat when bot hit the enemy but enemy didn't dye
  59. #define CHARACTERISTIC_CHAT_HITNOKILL            24    //float [0, 1]
  60. //tendency to randomly chat
  61. #define CHARACTERISTIC_CHAT_RANDOM                21    //float [0, 1]
  62. //tendency to reply
  63. #define CHARACTERISTIC_CHAT_REPLY                22    //float [0, 1]
  64. //========================================================
  65. //movement
  66. //========================================================
  67. //tendency to crouch
  68. #define CHARACTERISTIC_CROUCHER                    24    //float [0, 1]
  69. //tendency to jump
  70. #define CHARACTERISTIC_JUMPER                    25    //float [0, 1]
  71. //tendency to jump using a weapon
  72. #define CHARACTERISTIC_WEAPONJUMPING            26    //float [0, 1]
  73. //tendency to use the grapple hook when available
  74. #define CHARACTERISTIC_GRAPPLE_USER                27    //float [0, 1]    //use this!!
  75. //========================================================
  76. //goal
  77. //========================================================
  78. //item weight file
  79. #define CHARACTERISTIC_ITEMWEIGHTS                28    //string
  80. //the aggression of the bot
  81. #define CHARACTERISTIC_AGGRESSION                32    //float [0, 1]
  82. //the self preservation of the bot (rockets near walls etc.)
  83. #define CHARACTERISTIC_SELFPRESERVATION            34    //float [0, 1]
  84. //how likely the bot is to take revenge
  85. #define CHARACTERISTIC_VENGEFULNESS                35    //float [0, 1]    //use this!!
  86. //tendency to camp
  87. #define CHARACTERISTIC_CAMPER                    36    //float [0, 1]    //use this!!
  88. //========================================================
  89. //========================================================
  90. //tendency to get easy frags
  91. #define CHARACTERISTIC_EASY_FRAGGER                42    //float [0, 1]    //use this!!
  92. //how alert the bot is (view distance)
  93. #define CHARACTERISTIC_ALERTNESS                43    //float [0, 1]
  94.  
  95.