Kindlesticks

Dark RP shared.lua

Apr 1st, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.52 KB | None | 0 0
  1. /*--------------------------------------------------------
  2. Default teams. If you make a team above the citizen team, people will spawn with that team!
  3. --------------------------------------------------------*/
  4. TEAM_CITIZEN = AddExtraTeam("Wastelander", {
  5. color = Color(20, 150, 20, 255),
  6. model = {
  7. "models/player/Group01/Female_01.mdl",
  8. "models/player/Group01/Female_02.mdl",
  9. "models/player/Group01/Female_03.mdl",
  10. "models/player/Group01/Female_04.mdl",
  11. "models/player/Group01/Female_06.mdl",
  12. "models/player/group01/male_01.mdl",
  13. "models/player/Group01/Male_02.mdl",
  14. "models/player/Group01/male_03.mdl",
  15. "models/player/Group01/Male_04.mdl",
  16. "models/player/Group01/Male_05.mdl",
  17. "models/player/Group01/Male_06.mdl",
  18. "models/player/Group01/Male_07.mdl",
  19. "models/player/Group01/Male_08.mdl",
  20. "models/player/Group01/Male_09.mdl"
  21. },
  22. description = [[You survived the Apocalypse to a world unknown
  23. How you did it no one knows. You're Just greatful you did...]],
  24. weapons = {""},
  25. command = "citizen",
  26. max = 0,
  27. salary = 45,
  28. admin = 0,
  29. vote = false,
  30. hasLicense = false
  31. })
  32.  
  33. TEAM_POLICE = AddExtraTeam("BoS Knight ", {
  34. color = Color(25, 25, 170, 255),
  35. model = {
  36. "models/player/police.mdl",
  37. "models/policetrench.mdl",
  38. "models/steampunk_police.mdl",
  39. "models/arctic.mdl"
  40. },
  41. description = [[The Brotherhood of steel serves
  42. to protect the people of the wastes, made up mostly
  43. of the remanants of the U.S. Military. Your armour is
  44. mostly scavanged but still usable. You're feuding with the
  45. enclave for control over the wastes.
  46. You have the power to arrest criminals and protect innocents.
  47. Hit them with your arrest baton to put them in jail
  48. Bash them with a stunstick and they might learn better than to disobey
  49. the law.
  50. The Battering Ram can break down the door of a criminal with a warrant
  51. for his/her arrest.
  52. The Battering Ram can also unfreeze frozen props.
  53. Type /wanted <name> to alert the public to this criminal
  54. OR go to tab and warrant someone by clicking the warrant button]],
  55. weapons = {"arrest_stick", "unarrest_stick", "weapon_fo3_laserpistol", "stunstick", "door_ram", "weaponchecker", "fo3_laserrifle"},
  56. command = "bos",
  57. max = 4,
  58. salary = 65,
  59. admin = 0,
  60. vote = true,
  61. hasLicense = true
  62. })
  63.  
  64. TEAM_GANG = AddExtraTeam("Raider", {
  65. color = Color(75, 75, 75, 255),
  66. model = {
  67. "models/player/Group03/Female_01.mdl",
  68. "models/player/Group03/Female_02.mdl",
  69. "models/player/Group03/Female_03.mdl",
  70. "models/player/Group03/Female_04.mdl",
  71. "models/player/Group03/Female_06.mdl",
  72. "models/player/group03/male_01.mdl",
  73. "models/player/Group03/Male_02.mdl",
  74. "models/player/Group03/male_03.mdl",
  75. "models/player/Group03/Male_04.mdl",
  76. "models/player/Group03/Male_05.mdl",
  77. "models/player/Group03/Male_06.mdl",
  78. "models/player/Group03/Male_07.mdl",
  79. "models/player/Group03/Male_08.mdl",
  80. "models/player/Group03/Male_09.mdl"},
  81. description = [[When all hell broke loose some people decided
  82. to have some 'fun'
  83. This often meant rioting, stealing, looting and General Chaos.
  84. That was exactly what you wanted. And so you did Just that.
  85. But now, as time has passed since the outbreak, you've joined up
  86. made a proper gang. And Soon, You'll rule the streets
  87. Or atleast what was once the streets...]],
  88. weapons = {"weapon_fo3_cowboyrepeater", "weapon_fo3_chinesepistol"},
  89. command = "gangster",
  90. max = 3,
  91. salary = 45,
  92. admin = 0,
  93. vote = false,
  94. hasLicense = false
  95. })
  96.  
  97. TEAM_MOB = AddExtraTeam("Raider Leader", {
  98. color = Color(25, 25, 25, 255),
  99. model = "models/player/gman_high.mdl",
  100. description = [[After the outbreak occured many people
  101. lost it,
  102. some looted, others cried. Some went into
  103. their studdies and never left.
  104. You decided to get some thing you
  105. always wanted to...
  106. Eventually you thought, I'm the best Gangster
  107. out there. We need to organise
  108. our selves. You were the strongest.
  109. And through many a bloody battle
  110. you eventually came out on top.
  111. So, here you are. Incharge, but for how long?]],
  112. weapons = {"lockpick", "unarrest_stick", "weapon_fo3_cowboyrepeater", "weapon_fo3_9mmpistolmaria"},
  113. command = "mobboss",
  114. max = 1,
  115. salary = 60,
  116. admin = 0,
  117. vote = false,
  118. hasLicense = false
  119. })
  120.  
  121. TEAM_GUN = AddExtraTeam("Gun Runner", {
  122. color = Color(255, 140, 0, 255),
  123. model = "models/player/monk.mdl",
  124. description = [[A Gun Runner is the only person who can sell 'legal' guns to other
  125. people.
  126. However, make sure you aren't caught selling guns that are illegal to
  127. the public.
  128. /Buyshipment <name> to Buy a weapon shipment
  129. /Buygunlab to Buy a gunlab that spawns P228 pistols
  130. In these time you are necessity. Some say you're only causing more problems
  131. Others, say that you are the potential key to ending this situation.]],
  132. weapons = {},
  133. command = "gundealer",
  134. max = 2,
  135. salary = 45,
  136. admin = 0,
  137. vote = false,
  138. hasLicense = false
  139. })
  140.  
  141. TEAM_MEDIC = AddExtraTeam("Doctor", {
  142. color = Color(47, 79, 79, 255),
  143. model = "models/player/kleiner.mdl",
  144. description = [[In times like these people fall to radiation
  145. sickness, it's your job to help those that can't help
  146. them selves...
  147. NOTES:
  148. Left click with the Medical Kit to heal other players.
  149. Right click with the Medical Kit to heal yourself.]],
  150. weapons = {"med_kit"},
  151. command = "medic",
  152. max = 3,
  153. salary = 45,
  154. admin = 0,
  155. vote = false,
  156. hasLicense = false
  157. })
  158.  
  159. TEAM_COOK = AddExtraTeam("Cook", {
  160. color = Color(238, 99, 99, 255),
  161. model = "models/player/mossman.mdl",
  162. description = [[As a cook, it is your responsibility to feed the other members
  163. of your city.
  164. You can spawn a microwave and sell the food you make:
  165. /Buymicrowave]],
  166. weapons = {},
  167. command = "cook",
  168. max = 2,
  169. salary = 45,
  170. admin = 0,
  171. vote = false,
  172. hasLicense = false
  173. })
  174.  
  175. TEAM_CHIEF = AddExtraTeam("BoS Commander", {
  176. color = Color(20, 20, 255, 255),
  177. model = "models/player/fallout_3/army1_armor.mdl",
  178. description = [[The Commander is the head of the HMAF,
  179. You control the forces of the HMAF, Tell them where to go. Who/what
  180. to shoot.
  181. However, your primary concern is of the Citizens. Keep the infected away
  182. organise quarantine areas when you hear of infected.
  183. While you wait for the Message from Base...]],
  184. weapons = {"arrest_stick", "unarrest_stick", "weapon_fo3_rangersequioa", "stunstick", "door_ram", "weaponchecker", "fo3_lasertribeam", },
  185. command = "chief",
  186. max = 1,
  187. salary = 75,
  188. admin = 0,
  189. vote = false,
  190. hasLicense = true,
  191. NeedToChangeFrom = TEAM_POLICE
  192. })
  193.  
  194. TEAM_MAYOR = AddExtraTeam("Overseer", {
  195. color = Color(150, 20, 20, 255),
  196. model = "models/Humans/Charple01.mdl",
  197. description = [[You were the mayor of the city during peace time.
  198. Alas, the infection has destroyed your great haven that you've spent
  199. the last 30 Years of your life creating. Now you're under the Military's
  200. control. Or at least that's what they think.
  201. If you are the mayor you may create and accept warrants.
  202. Type /wanted <name> to warrant a player
  203. Type /jailpos to set the Jail Position
  204. Type /lockdown initiate a lockdown of the city.
  205. Everyone must be inside during a lockdown.
  206. The cops patrol the area
  207. /unlockdown to end a lockdown]],
  208. weapons = {"weapon_real_cs_usp"},
  209. command = "mayor",
  210. max = 1,
  211. salary = 85,
  212. admin = 0,
  213. vote = true,
  214. hasLicense = false
  215. })
  216.  
  217. TEAM_HOBO = AddExtraTeam("Ferile Ghoul", {
  218. color = Color(80, 45, 0, 255),
  219. model = "models/fallout_3/ghoul.mdl",
  220. description = [[When the bombs fell it did many things:
  221. 1. It Killed of Most of the Population
  222. 2. Brutally mutated anything that didn't die instantly
  223. You fall into catergory 2, Mutated...
  224. Still alive but you look like a corpse.
  225. You're ferile and will attack on sight]],
  226. weapons = {"weapon_fo3_leadpipe"},
  227. command = "hobo",
  228. max = 7,
  229. salary = 10,
  230. admin = 0,
  231. vote = false,
  232. hasLicense = false
  233. })
  234. //ADD CUSTOM TEAMS UNDER THIS LINE:
  235.  
  236. TEAM_ADMIN = AddExtraTeam("Admin on Duty", Color(255, 0, 0, 255), "models/player/fallout_3/power_armor_pink.mdl", [[Keep the server Clean and Free from Minges. Do
  237. your Job. You'll do us Proud!]], {"weapon_real_cs_admin_weapon", "weapon_real_cs_xm101", "weapon_real_cs_desert_eagle", "weapon_fo3_laserrcw"}, "adminon", 2, 70000, 2, false, true, false)
  238.  
  239. TEAM_BOSHEV = AddExtraTeam("BoS Heavy", Color(0, 255, 51, 255), "models/player/fallout_3/t51b.mdl", [[Work for the Military... You get called in when a
  240. bio-agent gets a little out of hand.
  241. Contain, Protect, Clean. You are the last line
  242. after the military fails.]], {"fo3_gatlinglaser", "fo3_lasertribeam"}, "hazmat", 3, 65, 0, false, true, {TEAM_POLICE})
  243.  
  244. TEAM_STRIPPER = AddExtraTeam("Stripper", Color(204, 51, 255, 255), "models/player/group01/male_01.mdl", [[Give some one the time of their life. "Take off
  245. yer clothes!" They'll yell. And you have no
  246. choice but to obey]], {""}, "stripper", 5, 35, 0, false, false, false)
  247.  
  248. TEAM_ENCLAVE = AddExtraTeam("Enclave", Color(0, 102, 0, 255), "models/fallout_3/tesla_power_armor.mdl", [[You get paid per hit. Kill The person you're
  249. assigned.
  250. When you get the hit type /advert Hit accepted and
  251. once it's done type /advert Hit complete
  252.  
  253. NOTES: Do not RDM with this class
  254. You are sanctioned by law to kill people. However,
  255. Don't let the police find out who your client
  256. is...]], {"fo3_plasmarifle","weapon_fo3_plasmapistol"}, "enclave", 3, 50, 0, true, true, false)
  257.  
  258. TEAM_HACKER = AddExtraTeam("Hacker", Color(0, 0, 51), "models/player/group01/male_01.mdl", [[Crackin' Keypads, Pickin' Locks... You can do it all
  259. Work for the highest bidder. Crack Keypads for them,
  260. pick the locks they tell you to.
  261. Words of advice: Don't get caught cracking
  262. Keypads/Picking doors.
  263. The Police don't look to kindly apon that]], {"keypad_cracker", "lockpick"},"hacker", 3, 40, 0, true, false)
  264.  
  265. TEAM_LOCKSMITH = AddExtraTeam("Locksmith", Color(0, 102, 0), " models/player/combine_soldier.mdl", [[Like the Hacker, you can open locked doors
  266. that you
  267. Don't exactly own... However, Unlike the Hacker; You're
  268. legal, when working for the HMAF ONLY]], {"lockpick"}, "locksmith", 4, 70, 0, true, false)
  269.  
  270. TEAM_CUSTOM = AddExtraTeam("Custom Job", Color(20, 150, 20, 255), {
  271. "models/player/Group01/Female_01.mdl",
  272. "models/player/Group01/Female_02.mdl",
  273. "models/player/Group01/Female_03.mdl",
  274. "models/player/Group01/Female_04.mdl",
  275. "models/player/Group01/Female_06.mdl",
  276. "models/player/group01/male_01.mdl",
  277. "models/player/Group01/Male_02.mdl",
  278. "models/player/Group01/male_03.mdl",
  279. "models/player/Group01/Male_04.mdl",
  280. "models/player/Group01/Male_05.mdl",
  281. "models/player/Group01/Male_06.mdl",
  282. "models/player/Group01/Male_07.mdl",
  283. "models/player/Group01/Male_08.mdl",
  284. "models/player/Group01/Male_09.mdl"},[[This is a Custom Job. Your Job must be somthing realistic
  285. like "Gun for Hire"
  286. Not "Superman"
  287. Notes:
  288. Standard Rules apply for this job...
  289. Don't RDM ]],
  290. {""},
  291. "custom job", 0, 45, 0, false, false)
  292. /*
  293. --------------------------------------------------------
  294. HOW TO MAKE A DOOR GROUP
  295. --------------------------------------------------------
  296. AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
  297.  
  298. WARNING: THE DOOR GROUPS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  299.  
  300.  
  301. The default door groups, can also be used as examples:
  302. */
  303. AddDoorGroup("HMAF And Mayor Only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_HAZMAT, TEAM_BOT)
  304. AddDoorGroup("Gundealer only", TEAM_GUN)
  305.  
  306. /*
  307. --------------------------------------------------------
  308. HOW TO MAKE AN AGENDA
  309. --------------------------------------------------------
  310. AddAgenda(Title of the agenda, Manager (who edits it), Listeners (the ones who just see and follow the agenda))
  311.  
  312. WARNING: THE AGENDAS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  313.  
  314. The default agenda's, can also be used as examples:
  315. */
  316. AddAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
  317. AddAgenda("HMAF agenda", TEAM_CHIEF, {TEAM_CHIEF, TEAM_POLICE, TEAM_BOT})
  318.  
  319.  
  320. /*
  321. ---------------------------------------------------------------------------
  322. HOW TO MAKE A GROUP CHAT
  323. ---------------------------------------------------------------------------
  324. Pick one!
  325. GAMEMODE:AddGroupChat(List of team variables separated by comma)
  326.  
  327. or
  328.  
  329. GAMEMODE:AddGroupChat(a function with ply as argument that returns whether a random player is in one chat group)
  330. This one is for people who know how to script Lua.
  331.  
  332. */
  333. GM:AddGroupChat(function(ply) return ply:IsCP() end)
  334. GM:AddGroupChat(TEAM_MOB, TEAM_GANG)
  335. -----------------------------4611040911791--
Advertisement
Add Comment
Please, Sign In to add comment