Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.89 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8. Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19. -- Death Watch
  20.  
  21. TEAM_DEATH = DarkRP.createJob("Pre Vizsla", {
  22. color = Color(0, 0, 0, 255),
  23. model = "models/grealms/characters/deathwatch/deathwatch_previszla.mdl",
  24. description = [[Leader of the DeathWatch]],
  25. weapons = {"tfa_deathwatch_1","tfa_sw_westardual","climb_swep2","weapon_lightsaber_dls_darksaber"},
  26. command = "pre",
  27. max = 1,
  28. salary = 100,
  29. admin = 0,
  30. category = "Deathwatch",
  31. PlayerSpawn = function(ply)
  32. ply:SetMaxHealth(6000)
  33. ply:SetHealth(6000)
  34. ply:SetArmor(500)
  35. end
  36. })
  37.  
  38. TEAM_DEATH = DarkRP.createJob("Commando Captain", {
  39. color = Color(0, 0, 0, 255),
  40. model = {"models/tfa/comm/gg/deathwatch_bf2/super_commando_captain_helmet.mdl"},
  41. description = [[Second in command of the Deathwatch.]],
  42. weapons = {"tfa_deathwatch_1", "tfa_imperialdisruptor_extended", "tfa_relby","climb_swep2"},
  43. command = "DCAP",
  44. max = 1,
  45. salary = 100,
  46. admin = 0,
  47. vote = false,
  48. hasLicense = false,
  49. candemote = false,
  50. category = "Deathwatch",
  51. PlayerSpawn = function(ply)
  52. ply:SetMaxHealth(5000)
  53. ply:SetHealth(5000)
  54. ply:SetArmor(500)
  55. end
  56. })
  57.  
  58. TEAM_DEATH = DarkRP.createJob("Commando", {
  59. color = Color(0, 0, 0, 255),
  60. model = {"models/tfa/comm/gg/deathwatch_bf2/super_commando_helmet.mdl"},
  61. description = [[Deathwatch Commando.]],
  62. weapons = {"tfa_deathwatch_1", "tfa_imperialdisruptor_extended", "tfa_kotor_repeaten_1","climb_swep2"},
  63. command = "DCOM",
  64. max = 2,
  65. salary = 100,
  66. admin = 0,
  67. vote = false,
  68. hasLicense = false,
  69. candemote = false,
  70. category = "Deathwatch",
  71. PlayerSpawn = function(ply)
  72. ply:SetMaxHealth(2500)
  73. ply:SetHealth(2500)
  74. end
  75. })
  76.  
  77. TEAM_DEATH = DarkRP.createJob("Assassin", {
  78. color = Color(0, 0, 0, 255),
  79. model = "models/tfa/comm/gg/deathwatch_bf2/soldier_helmet.mdl",
  80. description = [[A Specialist in the Death Watch]],
  81. weapons = {"tfa_deathwatch_1","tfa_relby","climb_swep2"},
  82. command = "specsoldier",
  83. max = 2,
  84. salary = 100,
  85. admin = 0,
  86. category = "Deathwatch",
  87. PlayerSpawn = function(ply)
  88. ply:SetMaxHealth(2000)
  89. ply:SetHealth(2000)
  90. end
  91. })
  92.  
  93. TEAM_DEATH = DarkRP.createJob("Soldier", {
  94. color = Color(0, 0, 0, 255),
  95. model = "models/tfa/comm/gg/deathwatch_bf2/sold_com_helmet.mdl",
  96. description = [[An infantry unit in the Death Watch]],
  97. weapons = {"tfa_deathwatch_1","tfa_f11_shadow","climb_swep2"},
  98. command = "soldier",
  99. max = 5,
  100. admin = 0,
  101. salary = 100,
  102. category = "Deathwatch",
  103. PlayerSpawn = function(ply)
  104. ply:SetMaxHealth(2000)
  105. ply:SetHealth(2000)
  106. end
  107. })
  108.  
  109. -- Jedi
  110.  
  111. TEAM_REPUBLIC = DarkRP.createJob("Jedi Grand Master", {
  112. color = Color(0, 0, 255, 255),
  113. model = "models/grealms/characters/jedibattlelord/jedibattlelord_08.mdl",
  114. description = [[Leader of the The Republic]],
  115. weapons = {"weapon_lightsaber_dls_grandmaster"},
  116. command = "Grand",
  117. max = 1,
  118. salary = 100,
  119. admin = 0,
  120. category = "Republic",
  121. PlayerSpawn = function(ply)
  122. ply:SetMaxHealth(6000)
  123. ply:SetHealth(6000)
  124. end
  125. })
  126.  
  127. TEAM_REPUBLIC = DarkRP.createJob("Jedi Council", {
  128. color = Color(0, 0, 255, 255),
  129. model = "models/grealms/characters/jedibattlelord/jedibattlelord_04.mdl",
  130. description = [[You are a Council for the Republic]],
  131. weapons = {"weapon_lightsaber_dls_council"},
  132. command = "Coun",
  133. max = 5,
  134. salary = 100,
  135. admin = 0,
  136. category = "Republic",
  137. PlayerSpawn = function(ply)
  138. ply:SetMaxHealth(5000)
  139. ply:SetHealth(5000)
  140. end
  141. })
  142.  
  143. TEAM_REPUBLIC = DarkRP.createJob("Jedi Master", {
  144. color = Color(0, 0, 255, 255),
  145. model = "models/grealms/characters/jedibattlelord/jedibattlelord_06.mdl",
  146. description = [[You are a Master for the Republic]],
  147. weapons = {"weapon_lightsaber_dls_grandmaster"},
  148. command = "Mast",
  149. max = 10,
  150. salary = 100,
  151. admin = 0,
  152. category = "Republic",
  153. PlayerSpawn = function(ply)
  154. ply:SetMaxHealth(4000)
  155. ply:SetHealth(4000)
  156. end
  157. })
  158.  
  159. TEAM_REPUBLIC = DarkRP.createJob("Jedi Knight", {
  160. color = Color(0, 0, 255, 255),
  161. model = "models/grealms/characters/jedibattlelord/jedibattlelord_05.mdl",
  162. description = [[You are a Knight for the Republic]],
  163. weapons = {"weapon_lightsaber_dls_knight"},
  164. command = "Knig",
  165. max = 10,
  166. salary = 100,
  167. admin = 0,
  168. category = "Republic",
  169. PlayerSpawn = function(ply)
  170. ply:SetMaxHealth(3000)
  171. ply:SetHealth(3000)
  172. end
  173. })
  174.  
  175. TEAM_REPUBLIC = DarkRP.createJob("Jedi Padawan", {
  176. color = Color(0, 0, 255, 255),
  177. model = "models/grealms/characters/jedibattlelord/jedibattlelord.mdl",
  178. description = [[You are a Padawan for the Republic]],
  179. weapons = {"weapon_lightsaber_dls_padawan"},
  180. command = "Pada",
  181. max = 10,
  182. salary = 100,
  183. admin = 0,
  184. category = "Republic",
  185. PlayerSpawn = function(ply)
  186. ply:SetMaxHealth(2000)
  187. ply:SetHealth(2000)
  188. end
  189. })
  190.  
  191. TEAM_REPUBLIC = DarkRP.createJob("Commander", {
  192. color = Color(0, 0, 255, 255),
  193. model = "models/gonzo/swbf2arc/arcyellow/arcyellow.mdl",
  194. description = [[You are the Commander for the Republic]],
  195. weapons = {"tfa_dc15a_expanded","tfa_swch_dc17", "climb_swep2"},
  196. command = "Cmd",
  197. max = 1,
  198. salary = 100,
  199. admin = 0,
  200. category = "Republic",
  201. PlayerSpawn = function(ply)
  202. ply:SetMaxHealth(2500)
  203. ply:SetHealth(2500)
  204. end
  205. })
  206.  
  207. TEAM_REPUBLIC = DarkRP.createJob("Trooper", {
  208. color = Color(0, 0, 255, 255),
  209. model = "models/gonzo/swbf2arc/arcred/arcred.mdl",
  210. description = [[You are the Trooper for the Republic]],
  211. weapons = {"tfa_dc15a_expanded","tfa_swch_dc17","climb_swep2"},
  212. command = "Trop",
  213. max = 10,
  214. salary = 100,
  215. admin = 0,
  216. category = "Republic",
  217. PlayerSpawn = function(ply)
  218. ply:SetMaxHealth(2000)
  219. ply:SetHealth(2000)
  220. end
  221. })
  222.  
  223. TEAM_REPUBLIC = DarkRP.createJob("Republic Initiate", {
  224. color = Color(0, 0, 255, 255),
  225. model = "models/gonzo/swbf2arc/arcblue/arcblue.mdl",
  226. description = [[You are a Republic Initiate]],
  227. weapons = {"weapon_fists"},
  228. command = "ini",
  229. max = 0,
  230. salary = 100,
  231. admin = 0,
  232. category = "Republic",
  233. PlayerSpawn = function(ply)
  234. ply:SetMaxHealth(1000)
  235. ply:SetHealth(1000)
  236. end
  237. })
  238.  
  239. -- Empire Sith
  240. TEAM_EMP = DarkRP.createJob("Darth Vader", {
  241. color = Color(0, 0, 0, 255),
  242. model = "models/nate159/swbf/hero/player/hero_sith_vader_player.mdl",
  243. description = [[The Leader of the Imperial Army and the Sith]],
  244. weapons = {"weapon_lightsaber_dls_vader"},
  245. command = "vader",
  246. max = 1,
  247. admin = 0,
  248. salary = 100,
  249. category = "Empire",
  250. PlayerSpawn = function(ply)
  251. ply:SetMaxHealth(7000)
  252. ply:SetHealth(7000)
  253. end
  254. })
  255. TEAM_EMP = DarkRP.createJob("Dark Council", {
  256. color = Color(255, 0, 0, 255),
  257. model = "models/grealms/characters/darthjadus/darthjadus.mdl",
  258. description = [[A member of the Dark Council.]],
  259. weapons = {"weapon_lightsaber_dls_darkcouncil"},
  260. command = "darkc",
  261. max = 5,
  262. salary = 100,
  263. admin = 0,
  264. category = "Empire",
  265. PlayerSpawn = function(ply)
  266. ply:SetMaxHealth(5000)
  267. ply:SetHealth(5000)
  268. end
  269. })
  270.  
  271. TEAM_EMP = DarkRP.createJob("Sith Lord", {
  272. color = Color(255, 0, 0, 255),
  273. model = "models/grealms/characters/revan_real/revan.mdl",
  274. description = [[A member of the Sith Order.]],
  275. weapons = {"weapon_lightsaber_dls_lord"},
  276. command = "lord",
  277. max = 10,
  278. salary = 100,
  279. admin = 0,
  280. category = "Empire",
  281. PlayerSpawn = function(ply)
  282. ply:SetMaxHealth(4000)
  283. ply:SetHealth(4000)
  284. end
  285. })
  286.  
  287. TEAM_EMP = DarkRP.createJob("Sith Apprentice", {
  288. color = Color(255, 0, 0, 255),
  289. model = "models/syntheticgaming/characters/sithassassin/sithassassin.mdl",
  290. description = [[A member of the Sith Order.]],
  291. weapons = {"weapon_lightsaber_dls_apprentice"},
  292. command = "apprent",
  293. max = 10,
  294. salary = 100,
  295. admin = 0,
  296. category = "Empire",
  297. PlayerSpawn = function(ply)
  298. ply:SetMaxHealth(3000)
  299. ply:SetHealth(3000)
  300. end
  301. })
  302.  
  303. TEAM_EMP = DarkRP.createJob("Sith Acolyte", {
  304. color = Color(255, 0, 0, 255),
  305. model = "models/jazzmcfly/jka/darth_savet/jka_savet.mdl",
  306. description = [[A member of the Sith Order.]],
  307. weapons = {"weapon_lightsaber_dls_acolyte"},
  308. command = "acolyte",
  309. max = 0,
  310. salary = 100,
  311. admin = 0,
  312. category = "Empire",
  313. PlayerSpawn = function(ply)
  314. ply:SetMaxHealth(2000)
  315. ply:SetHealth(2000)
  316. end
  317. })
  318.  
  319. --Empire Troopers put the sith up here solo you faggot^^^
  320.  
  321. TEAM_EMP = DarkRP.createJob("Stormtrooper Commander", {
  322. color = Color(255, 0, 0, 255),
  323. model = "models/player/fatal/troopers/commander.mdl",
  324. description = [[The Commander of the Imperial Army]],
  325. weapons = {"tfa_752_dlt19", "tfa_e11_extended"},
  326. command = "SC",
  327. max = 1,
  328. admin = 0,
  329. salary = 100,
  330. category = "Empire",
  331. PlayerSpawn = function(ply)
  332. ply:SetMaxHealth(5000)
  333. ply:SetHealth(5000)
  334. end
  335. })
  336.  
  337. TEAM_EMP = DarkRP.createJob("Stormtrooper Officer", {
  338. color = Color(255, 0, 0, 255),
  339. model = "models/player/fatal/troopers/officer.mdl",
  340. description = [[You are Second in Command in the Imperial Army]],
  341. weapons = {"tfa_752_dlt19", "tfa_e11_extended"},
  342. command = "SO",
  343. max = 1,
  344. admin = 0,
  345. salary = 100,
  346. category = "Empire",
  347. PlayerSpawn = function(ply)
  348. ply:SetMaxHealth(4000)
  349. ply:SetHealth(4000)
  350. end
  351. })
  352.  
  353. TEAM_EMP = DarkRP.createJob("Stormtrooper", {
  354. color = Color(255, 0, 0, 255),
  355. model = "models/player/fatal/troopers/trooper.mdl",
  356. description = [[You are a Stormtrooper in the Imperial Army]],
  357. weapons = {"tfa_e11_extended"},
  358. command = "ST",
  359. max = 0,
  360. admin = 0,
  361. salary = 100,
  362. category = "Empire",
  363. PlayerSpawn = function(ply)
  364. ply:SetMaxHealth(2500)
  365. ply:SetHealth(2500)
  366. end
  367. })
  368.  
  369. -- Rebels
  370. TEAM_REBEL = DarkRP.createJob("Luke Skywalker", {
  371. color = Color(0, 255, 0, 255),
  372. model = "models/player/luke_skywalker.mdl",
  373. description = [[The leader of the rebel forces.]],
  374. weapons = {"weapon_lightsaber_dls_luke"},
  375. command = "luke",
  376. max = 1,
  377. salary = 100,
  378. admin = 0,
  379. category = "Rebel",
  380. PlayerSpawn = function(ply)
  381. ply:SetMaxHealth(7000)
  382. ply:SetHealth(7000)
  383. end
  384. })
  385.  
  386. TEAM_REBEL = DarkRP.createJob("Han Solo", {
  387. color = Color(0, 255, 0, 255),
  388. model = "models/player/hydro/swbf_han_solo_ho/swbf_han_solo_ho.mdl",
  389. description = [[Commander of the Rebel forces.]],
  390. weapons = {"tfa_dl44_extended"},
  391. command = "han",
  392. max = 1,
  393. salary = 100,
  394. admin = 0,
  395. category = "Rebel",
  396. PlayerSpawn = function(ply)
  397. ply:SetMaxHealth(5000)
  398. ply:SetHealth(5000)
  399. end
  400. })
  401.  
  402. TEAM_REBEL = DarkRP.createJob("Rebel Officer", {
  403. color = Color(0, 255, 0, 255),
  404. model = {
  405. "models/player/hydro/swbf_rebel_officer_anton/swbf_rebel_officer_anton.mdl",
  406. "models/player/hydro/swbf_rebel_officer_ingrid/swbf_rebel_officer_ingrid.mdl",
  407. "models/player/hydro/swbf_rebel_officer_linnea/swbf_rebel_officer_linnea.mdl",
  408. "models/player/hydro/swbf_rebel_officer_roger/swbf_rebel_officer_roger.mdl"
  409. },
  410. description = [[Officer of the Rebel forces.]],
  411. weapons = {"tfa_dh17_extended"},
  412. command = "rebelofficer",
  413. max = 4,
  414. salary = 100,
  415. admin = 0,
  416. category = "Rebel",
  417. PlayerSpawn = function(ply)
  418. ply:SetMaxHealth(5000)
  419. ply:SetHealth(5000)
  420. end
  421. })
  422.  
  423. TEAM_REBEL = DarkRP.createJob("Rebel Fighter", {
  424. color = Color(0, 255, 0, 255),
  425. model = {
  426. "models/player/hydro/linnea/swbf_rebel_soldiersnow_linnea/swbf_rebel_soldiersnow_linnea.mdl",
  427. "models/player/hydro/roger/swbf_rebel_soldiersnow_roger/swbf_rebel_soldiersnow_roger.mdl"
  428. },
  429. description = [[Fighter for the Rebel forces.]],
  430. weapons = {"tfa_a280_extended"},
  431. command = "rebelfighter",
  432. max = 0,
  433. salary = 100,
  434. admin = 0,
  435. category = "Rebel",
  436. PlayerSpawn = function(ply)
  437. ply:SetMaxHealth(2500)
  438. ply:SetHealth(2500)
  439. end
  440. })
  441.  
  442. --[[---------------------------------------------------------------------------
  443. Define which team joining players spawn into and what team you change to if demoted
  444. ---------------------------------------------------------------------------]]
  445. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  446. --[[---------------------------------------------------------------------------
  447. Define which teams belong to civil protection
  448. Civil protection can set warrants, make people wanted and do some other police related things
  449. ---------------------------------------------------------------------------]]
  450. GAMEMODE.CivilProtection = {
  451. [TEAM_POLICE] = true,
  452. [TEAM_CHIEF] = true,
  453. [TEAM_MAYOR] = true,
  454. }
  455. --[[---------------------------------------------------------------------------
  456. Jobs that are hitmen (enables the hitman menu)
  457. ---------------------------------------------------------------------------]]
  458. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement