SHARE
TWEET

GG

a guest Sep 25th, 2016 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 = false
  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 = false
  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 = "weapon_bo2_tac45", ammo = 999 }, -- Tac-45
  42.     { weapon = "weapon_bo2_kap40", ammo = 999 }, -- KAP-40
  43.     { weapon = "weapon_bo2_executioner", ammo = 999 }, -- Executioner
  44.     { weapon = "weapon_mw2_m1014", ammo = 999 }, -- M1014
  45.     { weapon = "weapon_bo2_msmc", ammo = 999 }, -- MSMC
  46.     { weapon = "weapon_bo2_pdw", ammo = 999 }, -- PDW
  47.     { weapon = "weapon_mw2_ump45", ammo = 999 }, -- UMP-45
  48.     { weapon = "weapon_mw2_acr", ammo = 999 }, -- ACR
  49.     { weapon = "weapon_bo2_scarh", ammo = 999 }, -- SCAR-H
  50.     { weapon = "weapon_bo2_m27", ammo = 999 }, --  M27
  51.     { weapon = "weapon_bo2_peacekeeper", ammo = 999 }, -- Peacekeeper
  52.     { weapon = "weapon_bo2_an94", ammo = 999 }, -- AN-94
  53.     { weapon = "weapon_mw2_m4", ammo = 999 }, -- M4
  54.     { weapon = "weapon_mw2_f2000", ammo = 999 }, -- F2000
  55.     { weapon = "weapon_bo2_lsat", ammo = 999 }, -- LSAT
  56.     { weapon = "weapon_bo2_dsr50", ammo = 999 }, -- DSR-50
  57.     { weapon = "weapon_bo2_ballista", ammo = 999 }, -- Ballista
  58.     { weapon = "weapon_mw2_intervention", ammo = 999 }, -- Intervention
  59.     { weapon = "cod_at4", ammo = 999 }, -- AT-4
  60.     { weapon = "ghost", ammo = 1 }, -- Knife
  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_bo2_tac45", ammo = 999 }, -- Tac-45
  69.     { weapon = "weapon_bo2_kap40", ammo = 999 }, -- KAP-40
  70.     { weapon = "weapon_bo2_executioner", ammo = 999 }, -- Executioner
  71.     { weapon = "weapon_mw2_m1014", ammo = 999 }, -- M1014
  72.     { weapon = "weapon_bo2_msmc", ammo = 999 }, -- MSMC
  73.     { weapon = "weapon_bo2_pdw", ammo = 999 }, -- PDW
  74.     { weapon = "weapon_mw2_ump45", ammo = 999 }, -- UMP-45
  75.     { weapon = "weapon_mw2_acr", ammo = 999 }, -- ACR
  76.     { weapon = "weapon_bo2_scarh", ammo = 999 }, -- SCAR-H
  77.     { weapon = "weapon_bo2_m27", ammo = 999 }, --  M27
  78.     { weapon = "weapon_bo2_peacekeeper", ammo = 999 }, -- Peacekeeper
  79.     { weapon = "weapon_bo2_an94", ammo = 999 }, -- AN-94
  80.     { weapon = "weapon_mw2_m4", ammo = 999 }, -- M4
  81.     { weapon = "weapon_mw2_f2000", ammo = 999 }, -- F2000
  82.     { weapon = "weapon_bo2_lsat", ammo = 999 }, -- LSAT
  83.     { weapon = "weapon_bo2_dsr50", ammo = 999 }, -- DSR-50
  84.     { weapon = "weapon_bo2_ballista", ammo = 999 }, -- Ballista
  85.     { weapon = "weapon_mw2_intervention", ammo = 999 }, -- Intervention
  86.     { weapon = "cod_at4", ammo = 999 }, -- AT-4
  87.     { weapon = "ghost", ammo = 1 }, -- Knife
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top