GameConfig.cfg 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. {
  2. "version": 4,
  3. "name": "Quake 2",
  4. "icon": "Icon.png",
  5. "fileformats": [
  6. { "format": "Quake2" },
  7. { "format": "Quake2 (Valve)"}
  8. ],
  9. "filesystem": {
  10. "searchpath": "baseq2",
  11. "packageformat": { "extension": "pak", "format": "idpak" }
  12. },
  13. "textures": {
  14. "package": { "type": "directory", "root": "textures" },
  15. "format": { "extension": "wal", "format": "wal" },
  16. "palette": "pics/colormap.pcx",
  17. "attribute": "_tb_textures"
  18. },
  19. "entities": {
  20. "definitions": [ "Quake2.fgd" ],
  21. "defaultcolor": "0.6 0.6 0.6 1.0",
  22. "modelformats": [ "md2" ],
  23. "scale": [ scale ]
  24. },
  25. "tags": {
  26. "brush": [
  27. {
  28. "name": "Trigger",
  29. "attribs": [ "transparent" ],
  30. "match": "classname",
  31. "pattern": "trigger*",
  32. "texture": "trigger"
  33. },
  34. {
  35. "name": "Areaportal",
  36. "attribs": [ "transparent" ],
  37. "match": "classname",
  38. "pattern": "func_areaportal",
  39. "texture": "trigger"
  40. }
  41. ],
  42. "brushface": [
  43. {
  44. "name": "Playerclip",
  45. "attribs": [ "transparent" ],
  46. "match": "contentflag",
  47. "flags": [ "playerclip" ]
  48. },
  49. {
  50. "name": "Monsterclip",
  51. "attribs": [ "transparent" ],
  52. "match": "contentflag",
  53. "flags": [ "monsterclip" ]
  54. },
  55. {
  56. "name": "Detail",
  57. "match": "contentflag",
  58. "flags": [ "detail" ]
  59. },
  60. {
  61. "name": "Liquid",
  62. "match": "contentflag",
  63. "flags": [ "lava", "slime", "water" ]
  64. },
  65. {
  66. "name": "Skip",
  67. "attribs": [ "transparent" ],
  68. "match": "texture",
  69. "pattern": "skip"
  70. },
  71. {
  72. "name": "Hint",
  73. "attribs": [ "transparent" ],
  74. "match": "texture",
  75. "pattern": "hint*"
  76. },
  77. {
  78. "name": "Transparent",
  79. "attribs": [ "transparent" ],
  80. "match": "surfaceflag",
  81. "flags": [ "trans33", "trans66" ]
  82. }
  83. ]
  84. },
  85. "faceattribs": {
  86. "surfaceflags": [
  87. {
  88. "name": "light",
  89. "description": "Emit light from the surface, brightness is specified in the 'value' field"
  90. }, // 0
  91. {
  92. "name": "slick",
  93. "description": "The surface is slippery"
  94. }, // 1
  95. {
  96. "name": "sky",
  97. "description": "The surface is sky, the texture will not be drawn, but the background sky box is used instead"
  98. }, // 2
  99. {
  100. "name": "warp",
  101. "description": "The surface warps (like water textures do)"
  102. }, // 3
  103. {
  104. "name": "trans33",
  105. "description": "The surface is 33% transparent"
  106. }, // 4
  107. {
  108. "name": "trans66",
  109. "description": "The surface is 66% transparent"
  110. }, // 5
  111. {
  112. "name": "flowing",
  113. "description": "The texture wraps in a downward 'flowing' pattern (warp must also be set)"
  114. }, // 6
  115. {
  116. "name": "nodraw",
  117. "description": "Used for non-fixed-size brush triggers and clip brushes"
  118. }, // 7
  119. {
  120. "name": "hint",
  121. "description": "Make a primary bsp splitter"
  122. }, // 8
  123. {
  124. "name": "skip",
  125. "description": "Completely ignore, allowing non-closed brushes"
  126. }, // 9
  127. { "unused": true }, // 10
  128. { "unused": true }, // 11
  129. { "unused": true }, // 12
  130. { "unused": true }, // 13
  131. { "unused": true }, // 14
  132. { "unused": true }, // 15
  133. { "unused": true }, // 16
  134. { "unused": true }, // 17
  135. { "unused": true }, // 18
  136. { "unused": true }, // 19
  137. { "unused": true }, // 20
  138. { "unused": true }, // 21
  139. { "unused": true }, // 22
  140. { "unused": true }, // 23
  141. { "unused": true }, // 24
  142. {
  143. "name": "alphatest",
  144. "description": "Alpha test/fence"
  145. }, // 25
  146. { "unused": true }, // 26
  147. { "unused": true }, // 27
  148. { "unused": true }, // 28
  149. {
  150. "name": "scrollx",
  151. "description": "(N64) Scroll X direction, slower than flowing surfaces"
  152. }, // 29
  153. {
  154. "name": "scrolly",
  155. "description": "(N64) Scroll Y direction, slower than flowing surfaces"
  156. }, // 30
  157. {
  158. "name": "scrollflip",
  159. "description": "(N64) Flip scroll direction"
  160. } // 31
  161. ],
  162. "contentflags": [
  163. {
  164. "name": "solid",
  165. "description": "Default for all brushes"
  166. }, // 1 << 0
  167. {
  168. "name": "window",
  169. "description": "Brush is a window (not really used)"
  170. }, // 1 << 1
  171. {
  172. "name": "aux",
  173. "description": "Unused by the engine"
  174. }, // 1 << 2
  175. {
  176. "name": "lava",
  177. "description": "The brush is lava"
  178. }, // 1 << 3
  179. {
  180. "name": "slime",
  181. "description": "The brush is slime"
  182. }, // 1 << 4
  183. {
  184. "name": "water",
  185. "description": "The brush is water"
  186. }, // 1 << 5
  187. {
  188. "name": "mist",
  189. "description": "The brush is non-solid"
  190. }, // 1 << 6
  191. { "unused": true }, // 1 << 7
  192. { "unused": true }, // 1 << 8
  193. { "unused": true }, // 1 << 9
  194. { "unused": true }, // 1 << 10
  195. { "unused": true }, // 1 << 11
  196. { "unused": true }, // 1 << 12
  197. { "unused": true }, // 1 << 13
  198. {
  199. "name": "projclip",
  200. "description": "Projectiles cannot pass through the brush (players/monsters can)"
  201. }, // 1 << 14
  202. { "unused": true }, // 1 << 15
  203. {
  204. "name": "playerclip",
  205. "description": "Player cannot pass through the brush (other things can)"
  206. }, // 1 << 16
  207. {
  208. "name": "monsterclip",
  209. "description": "Monster cannot pass through the brush (player and other things can)"
  210. }, // 1 << 17
  211. {
  212. "name": "current_0",
  213. "description": "Brush has a current in direction of 0 degrees"
  214. }, // 1 << 18
  215. {
  216. "name": "current_90",
  217. "description": "Brush has a current in direction of 90 degrees"
  218. }, // 1 << 19
  219. {
  220. "name": "current_180",
  221. "description": "Brush has a current in direction of 180 degrees"
  222. }, // 1 << 20
  223. {
  224. "name": "current_270",
  225. "description": "Brush has a current in direction of 270 degrees"
  226. }, // 1 << 21
  227. {
  228. "name": "current_up",
  229. "description": "Brush has a current in the up direction"
  230. }, // 1 << 22
  231. {
  232. "name": "current_dn",
  233. "description": "Brush has a current in the down direction"
  234. }, // 1 << 23
  235. {
  236. "name": "origin",
  237. "description": "Special brush used for specifying origin of rotation for rotating brushes"
  238. }, // 1 << 24
  239. {
  240. "name": "internal",
  241. "description": "Do not set"
  242. }, // 1 << 25
  243. {
  244. "name": "internal",
  245. "description": "Do not set"
  246. }, // 1 << 26
  247. {
  248. "name": "detail",
  249. "description": "Detail brush"
  250. }, // 1 << 27
  251. {
  252. "name": "translucent",
  253. "description": "Use for opaque water that does not block vis"
  254. }, // 1 << 28
  255. {
  256. "name": "ladder",
  257. "description": "Brushes with this flag allow a player to move up and down a vertical surface"
  258. } // 1 << 29
  259. ]
  260. },
  261. "softMapBounds":"-4096 -4096 -4096 4096 4096 4096"
  262. }