Advertisement
Guest User

Untitled

a guest
Mar 4th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. --[[-------------------------------------------------------------------------
  2. Enable or disable the usage of the M9K weapon packs.
  3.  
  4. To use this, make sure that the server has installed all of the required addons.
  5. Players also need to download the addons, but as a dedicated server owner I
  6. expect you to know how this works.
  7.  
  8. Required addon IDs:
  9. - 144982052
  10. - 128089118
  11. - 128091208
  12. - 128093075
  13.  
  14. NOTE: If you disable this, the weapons in the pre-made weapon list won't work!
  15. ---------------------------------------------------------------------------]]
  16. GG_USE_M9K = true
  17.  
  18. --[[-------------------------------------------------------------------------
  19. Enable or disable the usage of MW2 playermodels.
  20.  
  21. To use this, make sure that the server has installed the required addon.
  22. Players also need to download the addon, but as a dedicated server owner I
  23. expect you to know how this works.
  24.  
  25. Required addon ID:
  26. - 500247187
  27.  
  28. NOTE: If you disable this, the skins in the pre-made skins list won't work!
  29. ---------------------------------------------------------------------------]]
  30. GG_USE_MW2_SKINS = true
  31.  
  32. --[[-------------------------------------------------------------------------
  33. This is the list with weapons used during the game. You can edit the list if
  34. you want to use different weapons. Keep in mind that the all slots have to
  35. be filled and that you can't have more than 20 weapons in the list.
  36.  
  37. Note: If somehow the weapons in the list below don't work, the back-up
  38. weapons list will be used instead.
  39. ---------------------------------------------------------------------------]]
  40. GG_WEAPONS_LIST = {
  41. { weapon = "m9k_luger", ammo = 24 }, -- Colt Python
  42. { weapon = "m9k_colt1911", ammo = 21 }, -- SIG P229R
  43. { weapon = "m9k_deagle", ammo = 21 }, -- Glock 18
  44. { weapon = "m9k_remington7615p", ammo = 15 }, -- MP9
  45. { weapon = "m9k_browningauto5", ammo = 24 }, -- MP5
  46. { weapon = "m9k_1887winchester", ammo = 12 }, -- P90
  47. { weapon = "m9k_1897winchester", ammo = 12 }, -- MP7
  48. { weapon = "m9k_intervention", ammo = 10 }, -- AK47
  49. { weapon = "m9k_m24", ammo = 10 }, -- SCAR
  50. { weapon = "m9k_svt40", ammo = 20 }, -- AUG A3
  51. { weapon = "m9k_an94", ammo = 60 }, -- PKM
  52. { weapon = "m9k_famas", ammo = 60 }, -- M249
  53. { weapon = "m9k_ak74", ammo = 60 }, -- Ithacam 37
  54. { weapon = "m9k_honeybadger", ammo = 60 }, -- M3
  55. { weapon = "m9k_ump45", ammo = 50 }, -- 1887 Winchester
  56. { weapon = "m9k_auga3", ammo = 60 }, -- M14
  57. { weapon = "m9k_m16a4_acog", ammo = 60 }, -- M98B
  58. { weapon = "m9k_scar", ammo = 60 }, -- AW50
  59. { weapon = "m9k_mp40", ammo = 64 }, -- M79GL
  60. { weapon = "m9k_sten", ammo = 64 }, -- RPG7
  61. }
  62.  
  63. --[[-------------------------------------------------------------------------
  64. This is the back-up weapons list that will be used during the game if somehow
  65. the above weapons list doesn't work.
  66. ---------------------------------------------------------------------------]]
  67. GG_BACKUP_WEAPONS_LIST = {
  68. { weapon = "weapon_357", ammo = 36 },
  69. { weapon = "weapon_pistol", ammo = 36 },
  70. { weapon = "weapon_smg1", ammo = 64 },
  71. { weapon = "weapon_shotgun", ammo = 40 },
  72. { weapon = "weapon_ar2", ammo = 100 },
  73. { weapon = "weapon_crossbow", ammo = 10 },
  74. { weapon = "weapon_rpg", ammo = 2 },
  75. { weapon = "weapon_357", ammo = 36 },
  76. { weapon = "weapon_pistol", ammo = 36 },
  77. { weapon = "weapon_smg1", ammo = 64 },
  78. { weapon = "weapon_shotgun", ammo = 40 },
  79. { weapon = "weapon_ar2", ammo = 100 },
  80. { weapon = "weapon_crossbow", ammo = 10 },
  81. { weapon = "weapon_rpg", ammo = 2 },
  82. { weapon = "weapon_357", ammo = 36 },
  83. { weapon = "weapon_pistol", ammo = 36 },
  84. { weapon = "weapon_smg1", ammo = 64 },
  85. { weapon = "weapon_shotgun", ammo = 40 },
  86. { weapon = "weapon_ar2", ammo = 100 },
  87. { weapon = "weapon_crossbow", ammo = 10 },
  88. }
  89.  
  90. --[[-------------------------------------------------------------------------
  91. This is the secondary weapon which should be a melee weapon of some sort.
  92.  
  93. Note: If somehow the melee weapon down below doesn't work, the back-up melee
  94. weapon will be used instead.
  95. ---------------------------------------------------------------------------]]
  96. GG_KNIFE = "m9k_knife"
  97. GG_KNIFE_THROW = "m9k_thrown_spec_knife"
  98.  
  99. --[[-------------------------------------------------------------------------
  100. This is the back-up melee weapon that will be used during the game if somehow
  101. the above melee weapon doesn't work.
  102. ---------------------------------------------------------------------------]]
  103. GG_BACKUP_KNIFE = "weapon_crowbar"
  104. GG_BACKUP_KNIFE_THROW = "weapon_crowbar"
  105.  
  106. --[[-------------------------------------------------------------------------
  107. This is a list of skins that will be used during the game. You can add
  108. whatever skin you want here but make sure that every client has the skins
  109. installed, otherwise they'll only see errors.
  110.  
  111. Note: If somehow the skins in the list below don't work, the backup list will
  112. be used instead. Leave this list untouched!
  113. ---------------------------------------------------------------------------]]
  114. GG_SKINS_LIST = {
  115. "models/codmw2/codmw2.mdl",
  116. "models/codmw2/codmw2h.mdl",
  117. "models/codmw2/codmw2he.mdl",
  118. "models/codmw2/codmw2hexe.mdl",
  119. "models/codmw2/codmw2m.mdl",
  120. "models/codmw2/t_codm.mdl",
  121. "models/codmw2/t_codmw2.mdl",
  122. "models/codmw2/t_codmw2h.mdl",
  123. "models/mw2guy/rus/gassoldier.mdl",
  124. "models/mw2guy/rus/soldier_a.mdl",
  125. "models/mw2guy/rus/soldier_c.mdl",
  126. "models/mw2guy/rus/soldier_d.mdl",
  127. "models/mw2guy/rus/soldier_e.mdl",
  128. "models/mw2guy/rus/soldier_f.mdl",
  129. }
  130.  
  131. --[[-------------------------------------------------------------------------
  132. This is a list of skins that will be used during the game if somehow the
  133. skins in the list above don't work. Leave this list untouched!
  134. ---------------------------------------------------------------------------]]
  135. GG_BACKUP_SKINS_LIST = {
  136. "models/player/urban.mdl",
  137. "models/player/gasmask.mdl",
  138. "models/player/riot.mdl",
  139. "models/player/swat.mdl",
  140. "models/player/leet.mdl",
  141. "models/player/guerilla.mdl",
  142. "models/player/arctic.mdl",
  143. "models/player/phoenix.mdl"
  144. }
  145.  
  146. --[[-------------------------------------------------------------------------
  147. The default number of minutes a round will take. You can also edit this in-game.
  148. ---------------------------------------------------------------------------]]
  149. GG_ROUND_TIME_IN_MINUTES = 15
  150.  
  151. --[[-------------------------------------------------------------------------
  152. The default amount of rounds a match has. You can also edit this in-game.
  153. ---------------------------------------------------------------------------]]
  154. GG_AMOUNT_OF_ROUNDS_PER_MATCH = 5
  155.  
  156. --[[-------------------------------------------------------------------------
  157. This is a list of usernames who can edit the game settings and start the
  158. match. If you leave the list empty, every player can start the match.
  159.  
  160. Note: If a player has admin rights but is not present in this list, he/she
  161. can still start and control the game.
  162.  
  163. Example: GG_ALLOWED_PLAYERS = {
  164. "poepjejan1",
  165. "bluedragon102"
  166. }
  167. ---------------------------------------------------------------------------]]
  168. GG_ALLOWED_PLAYERS = {}
  169.  
  170. --[[-------------------------------------------------------------------------
  171. MySQL Support. If enabled, certain game stats will be stored which can be
  172. used later on by for example, a dashboard on a website.
  173.  
  174. Requirements to get this feature working:
  175.  
  176. - Have gmsv_tmysql4 installed on the dedicated server
  177. Windows: https://github.com/bkacjios/gm_tmysql4/releases/download/R1/gmsv_tmysql4_win32.dll
  178. Linux: https://github.com/bkacjios/gm_tmysql4/releases/download/R1.01/gmsv_tmysql4_linux.dll
  179.  
  180. Install in "path/to/server/garrysmod/lua/bin/".
  181. (create the bin folder if it does not exist)
  182.  
  183. - Have libmysql/libmysqlclient installed on the dedicated server
  184. Windows: https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/windows/libmysql.dll
  185. Linux: https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18
  186.  
  187. Install in "path/to/server/".
  188. (in the folder that contains srcds.exe or srcds_run)
  189.  
  190. Note: no pre-made website dashboard will be provided. You need to have
  191. programming knowledge to develop your own.
  192. ---------------------------------------------------------------------------]]
  193. GG_USE_MYSQL = false
  194. GG_MYSQL_HOST = "localhost"
  195. GG_MYSQL_USERNAME = "username"
  196. GG_MYSQL_PASSWORD = "password"
  197. GG_MYSQL_DATABASE = "database"
  198. GG_MYSQL_POST = 3306
  199.  
  200. --[[-------------------------------------------------------------------------
  201. KEEP THIS DISABLED ON REAL SERVERS - FOR DEBUGGING ONLY!
  202. ---------------------------------------------------------------------------]]
  203. GG_DEBUG = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement