A very important server idea.

View previous topic View next topic Go down

A very important server idea.

Post  TheDarkAvenger on Sat Jun 02, 2012 4:07 am

I have an idea. I've found recently that there's alot of problems with going S.W.A.T / Merc / ect, And I do believe I've found a way to fix this. You see, in some servers, There's donator only ranks, which allow special content in the server, such as Custom jobs and Weapons - Meaning no citizens can choose these jobs, And donators didn't just buy admin - They're essentially just a citizen with more jobs. I propose that a Similar rank is made - Called of course, F.R.A.G, in which the rank is given to any member of F.R.A.G. This member now has the ability to select F.R.A.G Only jobs, Such as Rifleman, Heavy Gunner, Marksman, ect... HOWEVER! What this solves is that that person now can freely select his job, type /job to indicate his rank and class, not making admins take their time to either vote yes or make them that job their own. IN THE SAME SENSE, That member doesn't have any benefits besides the jobs and all that entail them - So no admin abilities, just a quick, painless way to get your gear and job without having to dump weapons and wait for people to retrieve them. There's even further benefit from this, because with those custom made jobs I just spoke of, instead of needing to go straight to the armory, you can set it so they spawn with whatever weapon they're using, including armor and perhaps even custom models. AND - The armory isn't eliminated, so it still has a purpose - It's just more efficent! Now instead of needing to get your gear, you just grab your ammunition and whatever else gear they need, like parachutes or custom weapons.



Pretty smart, eh?

TheDarkAvenger

Posts : 5
Join date : 2012-05-24

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Sun Jun 03, 2012 12:10 am

I like it, however I have talked to Hobs about this already, he said no.
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re:

Post  General Hobskins on Fri Jun 08, 2012 3:36 pm

I said no because in darkrp i have no clue how to create this cause it would have to work with ULX, and ULX is a Semi-crappy system so i would have no clue how to code this i'm more of an editor then a creator and in darkrp there on only 2 ranks i am able to do this with superadmin and admin, not it i use either one of these you would have to be SA or Admin to be able to see the job. If you can found out how i can add it in dark with ulx i would do it. Other then that nope.
avatar
General Hobskins

Posts : 20
Join date : 2012-04-01
Age : 22
Location : New York

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Sat Jun 09, 2012 6:44 pm

I could make it. (I think)
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Sun Jun 10, 2012 11:24 pm

http://wiki.darkrp.com/index.php?title=DarkRP-Config

This explains how to make a job go off of a user group.

This is the code that you would need to make it work. (It would require making a new group, like a "FRAG" user group in ULX.)
Code:
function(ply) return ply:GetUserGroup() == "frag" or ply:IsAdmin()

This may work.
Code:
TEAM_FRAGSoldier = AddExtraTeam("F.R.A.G. Soldier", -- Name
Color(255, 000, 000, 000), -- Team color
"models/player/gign.mdl", -- Player model
[[F.R.A.G. Soldier]],  -- Job description
{}, -- Weapons
"FRAG", -- Command to become the job
50, -- Maximum amount of said job
45, -- Salary
0, -- Admin status
0, -- Has to vote
true, -- Has a license
nil, -- Needs to be job X in order to get this job
function(ply) return ply:GetUserGroup() == "frag" or ply:IsAdmin() end -- The extra check function. Enter nil or nothing to not have an extra check
)
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Mon Jun 11, 2012 11:53 am

I GOT IT TO WORK! however it requires you to made a new user group named "frag". You even spawn with the Firearms Source weapons!

Here is the code:
Code:
TEAM_FRAGSoldier = AddExtraTeam("F.R.A.G. Soldier", -- Name
Color(255, 000, 000, 000), -- Team color
"models/player/swat.mdl", -- Player model
[[F.R.A.G. Soldier]],  -- Job description
{"arrest_stick", "door_ram", "gmod_tool", "keys", "pocket", "stunstick", "unarrest_stick", "ai_weapon_fas_m4a1", "ai_weapon_fas_m9"}, -- Weapons
"FRAGSoldier", -- Command to become the job
50, -- Maximum amount of said job
85, -- Salary
0, -- Admin status
0, -- Has to vote
true, -- Has a license
nil, -- Needs to be job X in order to get this job
function(ply) return ply:GetUserGroup() == "frag" or ply:IsAdmin() end -- The extra check function. Enter nil or nothing to not have an extra check
)

Or I could set one class and have multiple models.
Code:
TEAM_FRAGSoldier = AddExtraTeam("F.R.A.G. Soldier", -- Name
Color(255, 000, 000, 000), -- Team color
{"models/player/police.mdl","models/player/swat.mdl","models/player/riot.mdl","models/player/gasmask.mdl","models/player/combine_soldier.mdl","models/player/urban.mdl","models/player/combine_super_soldier.mdl",} -- Player model
[[F.R.A.G. Soldier]],  -- Job description
{"arrest_stick", "door_ram", "gmod_tool", "keys", "pocket", "stunstick", "unarrest_stick", "ai_weapon_fas_m4a1", "ai_weapon_fas_m9"}, -- Weapons
"FRAG", -- Command to become the job
50, -- Maximum amount of said job
85, -- Salary
0, -- Admin status
0, -- Has to vote
true, -- Has a license
nil, -- Needs to be job X in order to get this job
function(ply) return ply:GetUserGroup() == "frag" or ply:IsAdmin() end -- The extra check function. Enter nil or nothing to not have an extra check
)

The only problem is that you need to drop the weapons and pick them back up to have them work properly.
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re: A very important server idea.

Post  1SGT. J. Welsh on Mon Jun 11, 2012 11:57 am

I guess this could work.
avatar
1SGT. J. Welsh

Posts : 4
Join date : 2012-04-01
Age : 21
Location : F.R.A.G HQ

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Mon Jun 11, 2012 12:00 pm

I just reread what Dark said, and I could make that work, very easily too.
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Mon Jun 11, 2012 4:58 pm

I got it all to work, every class (that has different weapons from the regular) has a job and they spawn with weapons and ammo.
Code:
TEAM_FRAGSoldier = AddExtraTeam("F.R.A.G. Soldier", -- Name
Color(255, 000, 000, 000), -- Team color
{"models/player/police.mdl",
"models/player/swat.mdl",
"models/player/riot.mdl",
"models/player/gasmask.mdl",
"models/player/combine_soldier.mdl",
"models/player/urban.mdl",
"models/player/combine_super_soldier.mdl"}, -- Player model
[[F.R.A.G. Soldier]],  -- Job description
{"arrest_stick", "door_ram", "gmod_tool", "keys", "hands", "pocket", "stunstick", "unarrest_stick", "sim_fas_m4a1", "sim_fas_m9", "sim_fas_ammo_sampler"}, -- Weapons
"FRAGSoldier", -- Command to become the job
50, -- Maximum amount of said job
100, -- Salary
0, -- Admin status
0, -- Has to vote
true, -- Has a license
nil, -- Needs to be job X in order to get this job
function(ply) return ply:GetUserGroup() == "frag" or ply:IsAdmin() end -- The extra check function. Enter nil or nothing to not have an extra check
)
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re: A very important server idea.

Post  Reidmaster on Sat Jul 14, 2012 12:51 pm

Hobbs, I see you, now would you please add the jobs (to make everyone's lives so much easier)? It would take less than 5 mins.
avatar
Reidmaster

Posts : 17
Join date : 2012-04-01
Location : Among The Many Tubes Of The Internet

Back to top Go down

Re: A very important server idea.

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum