home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 2000 June / CD-Gamer_2000-06_10_cd.bin / Patches / Quake3A / q3pointrelease_116n.exe / Main / pak2.pk3 / botfiles / match.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-11  |  3.7 KB  |  112 lines

  1. //===========================================================================
  2. //
  3. // Name:            match.h
  4. // Function:        match template defines
  5. // Programmer:        Mr Elusive (MrElusive@idsoftware.com)
  6. // Last update:        1999-10-01
  7. // Tab Size:        4 (real tabs)
  8. //
  9. //===========================================================================
  10.  
  11. //match template contexts
  12. #define MTCONTEXT_ENTERGAME                2
  13. #define MTCONTEXT_INITIALTEAMCHAT        4
  14. #define MTCONTEXT_TIME                    8
  15. #define MTCONTEXT_TEAMMATE                16
  16. #define MTCONTEXT_ADDRESSEE                32
  17. #define MTCONTEXT_PATROLKEYAREA            64
  18. #define MTCONTEXT_REPLYCHAT                128
  19. #define MTCONTEXT_CTF                    256
  20.  
  21. //message types
  22. #define MSG_ENTERGAME                    2        //enter game message
  23. #define MSG_HELP                        3        //help someone
  24. #define MSG_ACCOMPANY                    4        //accompany someone
  25. #define MSG_DEFENDKEYAREA                5        //defend a key area
  26. #define MSG_RUSHBASE                    6        //everyone rush to base
  27. #define MSG_GETFLAG                        7        //get the enemy flag
  28. #define MSG_STARTTEAMLEADERSHIP            8        //someone wants to become the team leader
  29. #define MSG_STOPTEAMLEADERSHIP            9        //someone wants to stop being the team leader
  30. #define MSG_WHOISTEAMLAEDER                10        //who is the team leader
  31. #define MSG_WAIT                        11        //wait for someone
  32. #define MSG_WHATAREYOUDOING                12        //what are you doing?
  33. #define MSG_JOINSUBTEAM                    13        //join a sub-team
  34. #define MSG_LEAVESUBTEAM                14        //leave a sub-team
  35. #define MSG_CREATENEWFORMATION            15        //create a new formation
  36. #define MSG_FORMATIONPOSITION            16        //tell someone his/her position in a formation
  37. #define MSG_FORMATIONSPACE                17        //set the formation intervening space
  38. #define MSG_DOFORMATION                    18        //form a known formation
  39. #define MSG_DISMISS                        19        //dismiss commanded team mates
  40. #define MSG_CAMP                        20        //camp somewhere
  41. #define MSG_CHECKPOINT                    21        //remember a check point
  42. #define MSG_PATROL                        22        //patrol between certain keypoints
  43. #define MSG_LEADTHEWAY                    23        //lead the way
  44. #define MSG_GETITEM                        24        //get an item
  45. #define MSG_KILL                        25        //kill someone
  46. #define MSG_WHEREAREYOU                    26        //where is someone
  47. #define MSG_RETURNFLAG                    27        //return the flag
  48. #define MSG_WHATISMYCOMMAND                28        //ask the team leader what to do
  49. #define MSG_WHICHTEAM                    29        //ask which team a bot is in
  50. #define MSG_CTFTASKPREFERENCE            30        //tell your CTF task preference
  51. //
  52. #define MSG_ME                            100
  53. #define MSG_EVERYONE                    101
  54. #define MSG_MULTIPLENAMES                102
  55. #define MSG_NAME                        103
  56. #define MSG_PATROLKEYAREA                104
  57. #define MSG_MINUTES                        105
  58. #define MSG_SECONDS                        106
  59. #define MSG_FOREVER                        107
  60. //
  61. #define MSG_CHATALL                        200
  62. #define MSG_CHATTEAM                    201
  63. //
  64. #define MSG_CTF                            300        //ctf message
  65.  
  66. //command sub types
  67. #define ST_SOMEWHERE                    0
  68. #define ST_NEARITEM                        1
  69. #define ST_ADDRESSED                    2
  70. #define ST_METER                        4
  71. #define ST_FEET                            8
  72. #define ST_TIME                            16
  73. #define ST_HERE                            32
  74. #define ST_THERE                        64
  75. #define ST_I                            128
  76. #define ST_MORE                            256
  77. #define ST_BACK                            512
  78. #define ST_REVERSE                        1024
  79. #define ST_SOMEONE                        2048
  80. #define ST_GOTFLAG                        4096
  81. #define ST_CAPTUREDFLAG                    8192
  82. #define ST_RETURNEDFLAG                    16384
  83. #define ST_TEAM                            32768
  84. //ctf task preferences
  85. #define ST_DEFENDER                        1
  86. #define ST_ATTACKER                        2
  87. #define ST_ROAMER                        4
  88.  
  89.  
  90. //word replacement variables
  91. #define THE_ENEMY                        7
  92. #define THE_TEAM                        7
  93. //team message variables
  94. #define NETNAME                            0
  95. #define PLACE                            1
  96. #define FLAG                            1
  97. #define MESSAGE                            2
  98. #define ADDRESSEE                        2
  99. #define ITEM                            3
  100. #define TEAMMATE                        4
  101. #define TEAMNAME                        4
  102. #define ENEMY                            4
  103. #define KEYAREA                            5
  104. #define FORMATION                        5
  105. #define POSITION                        5
  106. #define NUMBER                            5
  107. #define TIME                            6
  108. #define NAME                            6
  109. #define MORE                            6
  110.  
  111.  
  112.