Raised This Month: $32 Target: $400
 8% 

[L4D] Infinite Ammo Reserve


Post New Thread Reply   
 
Thread Tools Display Modes
dave_with_beer_bottle
Senior Member
Join Date: Jul 2009
Old 09-03-2009 , 14:54   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #11

yea it doesn't work for me too i was kinda hoping for infinite medkits and pills because i still can't figure out how to make those work and especially the pills since i'm using olj's pilladdiction
i believe its probably interfering with some of the plugins i have,but i just like them

also i have these in my sourcemode.cfg instead and they work perfect
Code:
//ammo
sm_cvar ammo_assaultrifle_max 999999 //360
sm_cvar ammo_huntingrifle_max 999999 //180
sm_cvar ammo_pipebomb_max 50 //1
sm_cvar ammo_molotov_max 50 //1
sm_cvar ammo_buckshot_max 999999 //128
sm_cvar ammo_smg_max 999999 //480
but these two no matter what amount i tried seems not getting infinite medkits and pills if u set it to like 2-20 it just pops extra medkits when u pick one from the table,but when u in the middle of the map and heals u loose the medkit and for sure u don't want to go back to the safe house
sm_cvar ammo_firstaid_max 2 //-1
sm_cvar ammo_painpills_max 2 //1

as for the amount of ammo, in case u laughing i have set almost infinite hordes on my server, they are coming in amount of 250 every 10-15 seconds +gang of SI 2smokers,5hunters and 3 boomers

Last edited by dave_with_beer_bottle; 09-03-2009 at 15:02.
dave_with_beer_bottle is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 09-03-2009 , 23:33   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #12

Quote:
Originally Posted by dave_with_beer_bottle View Post
yea it doesn't work for me too i was kinda hoping for infinite medkits and pills because i still can't figure out how to make those work and especially the pills since i'm using olj's pilladdiction
i believe its probably interfering with some of the plugins i have,but i just like them

also i have these in my sourcemode.cfg instead and they work perfect
Code:
//ammo
sm_cvar ammo_assaultrifle_max 999999 //360
sm_cvar ammo_huntingrifle_max 999999 //180
sm_cvar ammo_pipebomb_max 50 //1
sm_cvar ammo_molotov_max 50 //1
sm_cvar ammo_buckshot_max 999999 //128
sm_cvar ammo_smg_max 999999 //480
but these two no matter what amount i tried seems not getting infinite medkits and pills if u set it to like 2-20 it just pops extra medkits when u pick one from the table,but when u in the middle of the map and heals u loose the medkit and for sure u don't want to go back to the safe house
sm_cvar ammo_firstaid_max 2 //-1
sm_cvar ammo_painpills_max 2 //1

as for the amount of ammo, in case u laughing i have set almost infinite hordes on my server, they are coming in amount of 250 every 10-15 seconds +gang of SI 2smokers,5hunters and 3 boomers
Thanks, I'll try toggling those cvars instead of repeatedly giving ammo.
(-DR-)GrammerNatzi is offline
Whosat
Senior Member
Join Date: Nov 2007
Location: Singapore
Old 09-04-2009 , 10:56   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #13

For those cvars, a value of "-1" means one-use (as in the case of firstaid by default)
and a value of "-2" means unlimited, as in the case of the pistols.
So there's no need for you to put sm_cvar ammo_smg_max 999999 when you can put sm_cvar ammo_smg_max -2

Give that a go Hope I remembered correctly what I researched quite a while ago
__________________
Whosat is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 09-04-2009 , 20:27   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #14

Quote:
Originally Posted by Whosat View Post
For those cvars, a value of "-1" means one-use (as in the case of firstaid by default)
and a value of "-2" means unlimited, as in the case of the pistols.
So there's no need for you to put sm_cvar ammo_smg_max 999999 when you can put sm_cvar ammo_smg_max -2

Give that a go Hope I remembered correctly what I researched quite a while ago
Interesting. But what is the point of making a plugin if all it does is set cvars?
(-DR-)GrammerNatzi is offline
Whosat
Senior Member
Join Date: Nov 2007
Location: Singapore
Old 09-05-2009 , 01:23   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #15

Lol, precisely, so there's no need for the plugin hmm.
OR you could add more features to it ;)

ALTHOUGH I forgot to mention that those cvars affect all clients in the server.
I'm not sure if its a client-side cvar or a server-side cvar.
__________________
Whosat is offline
egor1908
Veteran Member
Join Date: Sep 2009
Old 09-06-2009 , 06:43   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #16

Can you add a possibility to give infinite ammo reserve to a custom player? Like give_infinite_ammo NAME.

And what about doing this another way then executing the "ammo" command? Because this wont work with Kigens anticheat, but i wont modify it's sourcecode
egor1908 is offline
dave_with_beer_bottle
Senior Member
Join Date: Jul 2009
Old 09-07-2009 , 21:32   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #17

Quote:
Originally Posted by Whosat View Post
For those cvars, a value of "-1" means one-use (as in the case of firstaid by default)
and a value of "-2" means unlimited, as in the case of the pistols.
So there's no need for you to put sm_cvar ammo_smg_max 999999 when you can put sm_cvar ammo_smg_max -2

Give that a go Hope I remembered correctly what I researched quite a while ago
yes it works perfect for the ammo THANKS man , only still don't have infinite pills and medkits even when set to -2

in case you will read this again or someone who knows, PLEASE tell me how can i turn infinite medkits and pills on , without turning infiniteammo to 1
THANK YOU
dave_with_beer_bottle is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 09-09-2009 , 20:40   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #18

Quote:
Originally Posted by egor1908 View Post
And what about doing this another way then executing the "ammo" command? Because this wont work with Kigens anticheat, but i wont modify it's sourcecode
I could use SDK calls, but I don't know how to use those.
(-DR-)GrammerNatzi is offline
REDSCOUT
Member
Join Date: Sep 2009
Old 03-26-2010 , 03:23   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #19

:O
REDSCOUT is offline
x Ares x
New Member
Join Date: Feb 2011
Old 02-27-2011 , 07:55   Re: [L4D] Infinite Ammo Reserve
Reply With Quote #20

Great plugin, love the reload feature, would love to use it on my server, any chance of making it Without unlimited throwables. Players tend to just throw molotovs and that takes away from the game.
x Ares x is offline
Reply



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 20:58.


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