Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[---------------------------------------------------------------------------
- DarkRP custom jobs
- ---------------------------------------------------------------------------
- This file contains your custom jobs.
- This file should also contain jobs from DarkRP that you edited.
- Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
- Once you've done that, copy and paste the job to this file and edit it.
- The default jobs can be found here:
- https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
- For examples and explanation please visit this wiki page:
- http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
- Add your custom jobs under the following line:
- ---------------------------------------------------------------------------]]
- -- Death Watch
- TEAM_DEATH = DarkRP.createJob("Pre Vizsla", {
- color = Color(0, 0, 0, 255),
- model = "models/grealms/characters/deathwatch/deathwatch_previszla.mdl",
- description = [[Leader of the DeathWatch]],
- weapons = {"tfa_deathwatch_1","tfa_sw_westardual","climb_swep2","weapon_lightsaber_dls_darksaber"},
- command = "pre",
- max = 1,
- salary = 100,
- admin = 0,
- category = "Deathwatch",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(6000)
- ply:SetHealth(6000)
- ply:SetArmor(500)
- end
- })
- TEAM_DEATH = DarkRP.createJob("Commando Captain", {
- color = Color(0, 0, 0, 255),
- model = {"models/tfa/comm/gg/deathwatch_bf2/super_commando_captain_helmet.mdl"},
- description = [[Second in command of the Deathwatch.]],
- weapons = {"tfa_deathwatch_1", "tfa_imperialdisruptor_extended", "tfa_relby","climb_swep2"},
- command = "DCAP",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Deathwatch",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(5000)
- ply:SetHealth(5000)
- ply:SetArmor(500)
- end
- })
- TEAM_DEATH = DarkRP.createJob("Commando", {
- color = Color(0, 0, 0, 255),
- model = {"models/tfa/comm/gg/deathwatch_bf2/super_commando_helmet.mdl"},
- description = [[Deathwatch Commando.]],
- weapons = {"tfa_deathwatch_1", "tfa_imperialdisruptor_extended", "tfa_kotor_repeaten_1","climb_swep2"},
- command = "DCOM",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- category = "Deathwatch",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2500)
- ply:SetHealth(2500)
- end
- })
- TEAM_DEATH = DarkRP.createJob("Assassin", {
- color = Color(0, 0, 0, 255),
- model = "models/tfa/comm/gg/deathwatch_bf2/soldier_helmet.mdl",
- description = [[A Specialist in the Death Watch]],
- weapons = {"tfa_deathwatch_1","tfa_relby","climb_swep2"},
- command = "specsoldier",
- max = 2,
- salary = 100,
- admin = 0,
- category = "Deathwatch",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2000)
- ply:SetHealth(2000)
- end
- })
- TEAM_DEATH = DarkRP.createJob("Soldier", {
- color = Color(0, 0, 0, 255),
- model = "models/tfa/comm/gg/deathwatch_bf2/sold_com_helmet.mdl",
- description = [[An infantry unit in the Death Watch]],
- weapons = {"tfa_deathwatch_1","tfa_f11_shadow","climb_swep2"},
- command = "soldier",
- max = 5,
- admin = 0,
- salary = 100,
- category = "Deathwatch",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2000)
- ply:SetHealth(2000)
- end
- })
- -- Jedi
- TEAM_REPUBLIC = DarkRP.createJob("Jedi Grand Master", {
- color = Color(0, 0, 255, 255),
- model = "models/grealms/characters/jedibattlelord/jedibattlelord_08.mdl",
- description = [[Leader of the The Republic]],
- weapons = {"weapon_lightsaber_dls_grandmaster"},
- command = "Grand",
- max = 1,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(6000)
- ply:SetHealth(6000)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Jedi Council", {
- color = Color(0, 0, 255, 255),
- model = "models/grealms/characters/jedibattlelord/jedibattlelord_04.mdl",
- description = [[You are a Council for the Republic]],
- weapons = {"weapon_lightsaber_dls_council"},
- command = "Coun",
- max = 5,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(5000)
- ply:SetHealth(5000)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Jedi Master", {
- color = Color(0, 0, 255, 255),
- model = "models/grealms/characters/jedibattlelord/jedibattlelord_06.mdl",
- description = [[You are a Master for the Republic]],
- weapons = {"weapon_lightsaber_dls_grandmaster"},
- command = "Mast",
- max = 10,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(4000)
- ply:SetHealth(4000)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Jedi Knight", {
- color = Color(0, 0, 255, 255),
- model = "models/grealms/characters/jedibattlelord/jedibattlelord_05.mdl",
- description = [[You are a Knight for the Republic]],
- weapons = {"weapon_lightsaber_dls_knight"},
- command = "Knig",
- max = 10,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(3000)
- ply:SetHealth(3000)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Jedi Padawan", {
- color = Color(0, 0, 255, 255),
- model = "models/grealms/characters/jedibattlelord/jedibattlelord.mdl",
- description = [[You are a Padawan for the Republic]],
- weapons = {"weapon_lightsaber_dls_padawan"},
- command = "Pada",
- max = 10,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2000)
- ply:SetHealth(2000)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Commander", {
- color = Color(0, 0, 255, 255),
- model = "models/gonzo/swbf2arc/arcyellow/arcyellow.mdl",
- description = [[You are the Commander for the Republic]],
- weapons = {"tfa_dc15a_expanded","tfa_swch_dc17", "climb_swep2"},
- command = "Cmd",
- max = 1,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2500)
- ply:SetHealth(2500)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Trooper", {
- color = Color(0, 0, 255, 255),
- model = "models/gonzo/swbf2arc/arcred/arcred.mdl",
- description = [[You are the Trooper for the Republic]],
- weapons = {"tfa_dc15a_expanded","tfa_swch_dc17","climb_swep2"},
- command = "Trop",
- max = 10,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2000)
- ply:SetHealth(2000)
- end
- })
- TEAM_REPUBLIC = DarkRP.createJob("Republic Initiate", {
- color = Color(0, 0, 255, 255),
- model = "models/gonzo/swbf2arc/arcblue/arcblue.mdl",
- description = [[You are a Republic Initiate]],
- weapons = {"weapon_fists"},
- command = "ini",
- max = 0,
- salary = 100,
- admin = 0,
- category = "Republic",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(1000)
- ply:SetHealth(1000)
- end
- })
- -- Empire Sith
- TEAM_EMP = DarkRP.createJob("Darth Vader", {
- color = Color(0, 0, 0, 255),
- model = "models/nate159/swbf/hero/player/hero_sith_vader_player.mdl",
- description = [[The Leader of the Imperial Army and the Sith]],
- weapons = {"weapon_lightsaber_dls_vader"},
- command = "vader",
- max = 1,
- admin = 0,
- salary = 100,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(7000)
- ply:SetHealth(7000)
- end
- })
- TEAM_EMP = DarkRP.createJob("Dark Council", {
- color = Color(255, 0, 0, 255),
- model = "models/grealms/characters/darthjadus/darthjadus.mdl",
- description = [[A member of the Dark Council.]],
- weapons = {"weapon_lightsaber_dls_darkcouncil"},
- command = "darkc",
- max = 5,
- salary = 100,
- admin = 0,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(5000)
- ply:SetHealth(5000)
- end
- })
- TEAM_EMP = DarkRP.createJob("Sith Lord", {
- color = Color(255, 0, 0, 255),
- model = "models/grealms/characters/revan_real/revan.mdl",
- description = [[A member of the Sith Order.]],
- weapons = {"weapon_lightsaber_dls_lord"},
- command = "lord",
- max = 10,
- salary = 100,
- admin = 0,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(4000)
- ply:SetHealth(4000)
- end
- })
- TEAM_EMP = DarkRP.createJob("Sith Apprentice", {
- color = Color(255, 0, 0, 255),
- model = "models/syntheticgaming/characters/sithassassin/sithassassin.mdl",
- description = [[A member of the Sith Order.]],
- weapons = {"weapon_lightsaber_dls_apprentice"},
- command = "apprent",
- max = 10,
- salary = 100,
- admin = 0,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(3000)
- ply:SetHealth(3000)
- end
- })
- TEAM_EMP = DarkRP.createJob("Sith Acolyte", {
- color = Color(255, 0, 0, 255),
- model = "models/jazzmcfly/jka/darth_savet/jka_savet.mdl",
- description = [[A member of the Sith Order.]],
- weapons = {"weapon_lightsaber_dls_acolyte"},
- command = "acolyte",
- max = 0,
- salary = 100,
- admin = 0,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2000)
- ply:SetHealth(2000)
- end
- })
- --Empire Troopers put the sith up here solo you faggot^^^
- TEAM_EMP = DarkRP.createJob("Stormtrooper Commander", {
- color = Color(255, 0, 0, 255),
- model = "models/player/fatal/troopers/commander.mdl",
- description = [[The Commander of the Imperial Army]],
- weapons = {"tfa_752_dlt19", "tfa_e11_extended"},
- command = "SC",
- max = 1,
- admin = 0,
- salary = 100,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(5000)
- ply:SetHealth(5000)
- end
- })
- TEAM_EMP = DarkRP.createJob("Stormtrooper Officer", {
- color = Color(255, 0, 0, 255),
- model = "models/player/fatal/troopers/officer.mdl",
- description = [[You are Second in Command in the Imperial Army]],
- weapons = {"tfa_752_dlt19", "tfa_e11_extended"},
- command = "SO",
- max = 1,
- admin = 0,
- salary = 100,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(4000)
- ply:SetHealth(4000)
- end
- })
- TEAM_EMP = DarkRP.createJob("Stormtrooper", {
- color = Color(255, 0, 0, 255),
- model = "models/player/fatal/troopers/trooper.mdl",
- description = [[You are a Stormtrooper in the Imperial Army]],
- weapons = {"tfa_e11_extended"},
- command = "ST",
- max = 0,
- admin = 0,
- salary = 100,
- category = "Empire",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2500)
- ply:SetHealth(2500)
- end
- })
- -- Rebels
- TEAM_REBEL = DarkRP.createJob("Luke Skywalker", {
- color = Color(0, 255, 0, 255),
- model = "models/player/luke_skywalker.mdl",
- description = [[The leader of the rebel forces.]],
- weapons = {"weapon_lightsaber_dls_luke"},
- command = "luke",
- max = 1,
- salary = 100,
- admin = 0,
- category = "Rebel",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(7000)
- ply:SetHealth(7000)
- end
- })
- TEAM_REBEL = DarkRP.createJob("Han Solo", {
- color = Color(0, 255, 0, 255),
- model = "models/player/hydro/swbf_han_solo_ho/swbf_han_solo_ho.mdl",
- description = [[Commander of the Rebel forces.]],
- weapons = {"tfa_dl44_extended"},
- command = "han",
- max = 1,
- salary = 100,
- admin = 0,
- category = "Rebel",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(5000)
- ply:SetHealth(5000)
- end
- })
- TEAM_REBEL = DarkRP.createJob("Rebel Officer", {
- color = Color(0, 255, 0, 255),
- model = {
- "models/player/hydro/swbf_rebel_officer_anton/swbf_rebel_officer_anton.mdl",
- "models/player/hydro/swbf_rebel_officer_ingrid/swbf_rebel_officer_ingrid.mdl",
- "models/player/hydro/swbf_rebel_officer_linnea/swbf_rebel_officer_linnea.mdl",
- "models/player/hydro/swbf_rebel_officer_roger/swbf_rebel_officer_roger.mdl"
- },
- description = [[Officer of the Rebel forces.]],
- weapons = {"tfa_dh17_extended"},
- command = "rebelofficer",
- max = 4,
- salary = 100,
- admin = 0,
- category = "Rebel",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(5000)
- ply:SetHealth(5000)
- end
- })
- TEAM_REBEL = DarkRP.createJob("Rebel Fighter", {
- color = Color(0, 255, 0, 255),
- model = {
- "models/player/hydro/linnea/swbf_rebel_soldiersnow_linnea/swbf_rebel_soldiersnow_linnea.mdl",
- "models/player/hydro/roger/swbf_rebel_soldiersnow_roger/swbf_rebel_soldiersnow_roger.mdl"
- },
- description = [[Fighter for the Rebel forces.]],
- weapons = {"tfa_a280_extended"},
- command = "rebelfighter",
- max = 0,
- salary = 100,
- admin = 0,
- category = "Rebel",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(2500)
- ply:SetHealth(2500)
- end
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CITIZEN
- --[[---------------------------------------------------------------------------
- Define which teams belong to civil protection
- Civil protection can set warrants, make people wanted and do some other police related things
- ---------------------------------------------------------------------------]]
- GAMEMODE.CivilProtection = {
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = true,
- [TEAM_MAYOR] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement