Raised This Month: $94 Target: $400
 23% 

Ammo Conservation


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Sven Coop        Category:   Gameplay        Approver:   sawce (9)
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-27-2007 , 02:00   Ammo Conservation
Reply With Quote #1

Ammo Conservation 0.10
Tired of ammo mongers snatching up an entire 9mmAR ammo box when they have 249 out of 250 bullets? This plugin limits at what point a player is no longer allowed to pickup any more ammo (as well as health and armor), based on a percentage threshold.

Cvars
  • sc_limit_ammo (default 75.0) - if players have more than this percentage of backpack ammo for a weapon, they cannot pickup any more ammo for that weapon.
  • sc_limit_minigun (default 0.0) - like sc_limit_ammo, but relates specifically to the minigun.
  • sc_limit_expendables (default 0.0) - like sc_limit_ammo, but relates specifically to expendable weapons (which includes tripmines, satchel charges, hand grenades, and snarks).
  • sc_limit_health (default 0.0) - like sc_limit_ammo, but relates specifically to health kits (and is based off of your current health).
  • sc_limit_armor (default 75.0) - like sc_limit_ammo, but relates specifically to armor batteries (and is based off of your current armor).

Notes
  • Setting a percentage to 0.0 means that ammo for that item is unrestricted.
  • This does not limit picking up dropped ammo (as a result of the dropammo command or death).
  • This does not limit wall chargers.

So, for example, if sc_limit_ammo is 75.0, players cannot pick up any more .357 ammo if they have more than 27 extra ammo for it.

Requires Fakemeta!
Attached Files
File Type: sma Get Plugin or Get Source (ammo_conserve.sma - 1907 views - 5.2 KB)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Inogood
BANNED
Join Date: Feb 2007
Old 02-27-2007 , 10:42   Re: Ammo Conservation
Reply With Quote #2

Very nice Thanks
Inogood is offline
polakpolak
Senior Member
Join Date: Mar 2005
Location: Montreal, Canada
Old 02-27-2007 , 12:56   Re: Ammo Conservation
Reply With Quote #3

Gj mate,
keep up them good ideas
__________________
------------------------------------
Server Location: New York
WC3FT Server IP: 69.9.42.144:27015
500Fps www.PolakServers.com
------------------------------------
polakpolak is offline
Send a message via MSN to polakpolak
Fadeproof18
Senior Member
Join Date: Feb 2007
Location: Pittsburgh, PA
Old 03-09-2007 , 16:59   Re: Ammo Conservation
Reply With Quote #4

I like it
Good job
Fadeproof18 is offline
Send a message via AIM to Fadeproof18 Send a message via MSN to Fadeproof18
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:06.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode