AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Infinite Ammo Reserve (https://forums.alliedmods.net/showthread.php?t=96188)

(-DR-)GrammerNatzi 07-01-2009 18:59

[L4D] Infinite Ammo Reserve
 
4 Attachment(s)
This is the second public plug-in I have made, and it is probably the most simple one out of those I have made to date, too. What this plug-in does is it automatically refills your reserve ammo whenever you reload. This means that you will never run out of ammo, but you still have to reload, just like the pistols.

I made this plug-in because...
  1. It was very easy to do.
  2. Nobody else had done it yet.
  3. I don't like having just plain infinite ammo. It sucks the fun out of the game. I'd much rather just have an infinite amount of reserve ammo, and I think many of you will agree with me, too. It makes it feel less like cheating and still leaves those vital reload times in versus for the infected to take advantage upon.
I did not use any tutorial to make this plug-in. The reason that the comments are tutorial-like in the script is because that's just the way I write them.

Any constructive criticism is appreciated.

Cvars (I only put working ones here. If it isn't shown, it doesn't work.):
  • infinitereserve_enabled - Enable/disable the plug-in. (Default: 1)
Future Additions:
  • Make it so that admins can bestow infinite reserve ammo on certain players if the plug-in is disabled.
  • Make it so that admins can still have infinite reserve even if the plug-in is off.
Servers with this plug-in:

http://www.game-monitor.com/search.p...&type=variable

Change Log:

Version 1.11: Switched back to old way of infinite ammo, although it shouldn't cause too many conflicts now. I need client confirmation of this.

Version 1.1: Used a more efficient, conflict-free way to give infinite ammo. Might resort to the old one sometime soon, though, as I think I've found a way to make it work without problems. Also added semi-infinite pipebombs and molotovs.

Version 1.0: None.

Credits:
{7~11} TROLL - I used his method of stripping cheats away from commands.

fpsbrian 07-02-2009 10:00

Re: [L4D] Infinite Ammo Reserve
 
Installing this now

Antithasys 07-31-2009 20:32

Re: [L4D] Infinite Ammo Reserve
 
Fill out description field please.

(-DR-)GrammerNatzi 08-01-2009 23:40

Re: [L4D] Infinite Ammo Reserve
 
Quote:

Originally Posted by Antithasys (Post 887066)
Fill out description field please.

Alright, will do.

bl4nk 08-02-2009 14:48

Re: [L4D] Infinite Ammo Reserve
 
The code looks good, but you could probably have done it a different way that wouldn't require modifying the command's flags. Anyways, I suggest you shorten the length of the plugin's description. It's meant to be a short and simple, and yours is pretty long. Approved nonetheless.

(-DR-)GrammerNatzi 08-02-2009 15:29

Re: [L4D] Infinite Ammo Reserve
 
Quote:

Originally Posted by bl4nk (Post 888572)
The code looks good, but you could probably have done it a different way that wouldn't require modifying the command's flags. Anyways, I suggest you shorten the length of the plugin's description. It's meant to be a short and simple, and yours is pretty long. Approved nonetheless.

How would I do that? I haven't really gone deep into the very advanced parts of sourcemod.

billabonker 08-23-2009 09:48

Re: [L4D] Infinite Ammo Reserve
 
ur plugin crashed my whole game :(

billabonker 08-31-2009 02:51

Re: [L4D] Infinite Ammo Reserve
 
this thing does nothing
it just crashes your game :(
this shud go to the unapproved corner :)

(-DR-)GrammerNatzi 09-02-2009 19:48

Re: [L4D] Infinite Ammo Reserve
 
Quote:

Originally Posted by billabonker (Post 918630)
this thing does nothing
it just crashes your game :(
this shud go to the unapproved corner :)

What?

I've never heard of it crashing games before. Seeing that you are the only person with this problem, I think it is a plug-in conflict. As for which plugin, I am not sure, but it probably isn't one that most people use.

-Sky 09-03-2009 13:47

Re: [L4D] Infinite Ammo Reserve
 
it doesn't work. they don't get infinite reserve. u should put what this plugin isn't compatible with.


All times are GMT -4. The time now is 22:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.