Have you wanted to use ring weapons in singleplayer/coop?
Have you wanted to never run out of rings while using these weapons?
Do you want to never lose them?
Misc question: Possibly you want to create mayhem on match forcing everyone to make a mess spamming grenades everywhere in a confined space like GFZ3?
Then this does the trick!
This modification lets the admin use a command to set permanent weapons.
What are permanent weapons and what they do?
Well, permanent weapons are self-descriptive:
You always have them.
You cannot lose them by being hit.
You cannot run out of ammo!
You can use this in coop/singleplayer too!
And even if you die, when you respawn you have these again!
And the best part of it: These doesn't use your rings! So basically you can spam grenades without having fear of dying! (unless you get hit)
And with only 1 ring you are able to use any gun!
Using the addon
The command that does this is "permguns".
When used alone, it gives a quick explanation for the command, but it isn't enough useful information. There's the explanation:
As you can see, the command takes six arguments: Whether if you want the automatic, bounce, scatter, grenade, bomb or rail rings.
If you want to have infinite weapon rings for a certain gun, you would type "1" as the argument for that weapon, and if you don't want it, you type "0". Numbers without quotes!
New from 1.1: Now you can also use "2" as the argument to be able to set permanent guns, that DO use rings.
If you, for example, wanted to have infinite automatic and rail rings, you would use
permguns 1 0 0 0 0 1
and voila: The other guns won't be permanent but the automatic and rail rings!
However, as normal, if you want to use a weapon, you MUST have at least 1 ring.
New from 1.1:
Imagine that for some reason you want to make all weapons permanent but you don't want people spamming the grenades, but you want to enable grenades. All you have to do is use
permguns 1 1 1 2 1 1
Now, people can use all guns, but if you try to use the grenade you will lose a ring, as usual.
Remember, if a gun isn't permanent, it is rendered unobtainable: If only automatic rings are permanent, don't bother grabbing the other weapon rings (infinity rings, however, can be obtained) because it will be removed from your hotbar as soon as it is grabbed.
The guns can be toggled in singleplayer, co-op, match, tag, you name it - as long as ringslinger is on.
ToDo
Accepting suggestions!
Known bugs
None yet! Woo!
(However, if you find one, tell me so I can fix it ASAP!)
Changelog
Have you wanted to never run out of rings while using these weapons?
Do you want to never lose them?
Misc question: Possibly you want to create mayhem on match forcing everyone to make a mess spamming grenades everywhere in a confined space like GFZ3?
Then this does the trick!
This modification lets the admin use a command to set permanent weapons.
What are permanent weapons and what they do?
Well, permanent weapons are self-descriptive:
You always have them.
You cannot lose them by being hit.
You cannot run out of ammo!
You can use this in coop/singleplayer too!
And even if you die, when you respawn you have these again!
And the best part of it: These doesn't use your rings! So basically you can spam grenades without having fear of dying! (unless you get hit)
And with only 1 ring you are able to use any gun!
Using the addon
The command that does this is "permguns".
When used alone, it gives a quick explanation for the command, but it isn't enough useful information. There's the explanation:
As you can see, the command takes six arguments: Whether if you want the automatic, bounce, scatter, grenade, bomb or rail rings.
If you want to have infinite weapon rings for a certain gun, you would type "1" as the argument for that weapon, and if you don't want it, you type "0". Numbers without quotes!
New from 1.1: Now you can also use "2" as the argument to be able to set permanent guns, that DO use rings.
If you, for example, wanted to have infinite automatic and rail rings, you would use
permguns 1 0 0 0 0 1
and voila: The other guns won't be permanent but the automatic and rail rings!
However, as normal, if you want to use a weapon, you MUST have at least 1 ring.
New from 1.1:
Imagine that for some reason you want to make all weapons permanent but you don't want people spamming the grenades, but you want to enable grenades. All you have to do is use
permguns 1 1 1 2 1 1
Now, people can use all guns, but if you try to use the grenade you will lose a ring, as usual.
Remember, if a gun isn't permanent, it is rendered unobtainable: If only automatic rings are permanent, don't bother grabbing the other weapon rings (infinity rings, however, can be obtained) because it will be removed from your hotbar as soon as it is grabbed.
The guns can be toggled in singleplayer, co-op, match, tag, you name it - as long as ringslinger is on.
ToDo
- Make something to let people grab non-permanent weapons.
(Quick note: I can't. Read the comments in the file) - A way to use weapon names in command
Accepting suggestions!
Known bugs
None yet! Woo!
(However, if you find one, tell me so I can fix it ASAP!)
Changelog
1.0
Released!
1.01
Changed a flag to prevent non-admins change the permanent weapons.
1.1
Removed the "Permanent guns set" spam.
Added a new argument to set permanent guns that use rings.
Resynch errors happen less often (all variables are now synched correctly)
If an argument is not set (is nil) it is automatically set to 0.
Added more comments in the file.
Added more blank lines in the file.
Released!
1.01
Changed a flag to prevent non-admins change the permanent weapons.
1.1
Removed the "Permanent guns set" spam.
Added a new argument to set permanent guns that use rings.
Resynch errors happen less often (all variables are now synched correctly)
If an argument is not set (is nil) it is automatically set to 0.
Added more comments in the file.
Added more blank lines in the file.
Attachments
Last edited: