Is it possible to increase ammo capacity?

Kouler

Tank
Joined
Jun 12, 2004
Messages
1,341
Reaction score
0
Hey all, i was wondering if it was possible to make a script or something that would increase the ammo capacity of weapons to be the same as HL1.

Combine Pulse Rifle should have 180 in reserve
Magnum should have 36
Crossbow should have the same as the HL1 (was it 40?)
Grenades should be the same as HL1 (was it 20?)
RPG should have 5 rockets

And the rest should be left the same as they are different weapons.

Any help would be appreciated :cheers:
 
it should be, but since I have pretty much 0 coding experience, I'd have no clue where to look.
 
Commands to set max ammo are listed on the GameFaq cheat page here:
http://www.gamefaqs.com/computer/doswin/code/36599.html

However, I'm not sure if it effects ammo in the clip or in reserve. You should be able to change both.

Commands look like this:
sk_max_ar2 #
Where # is the amount of ammo for the pulse rifle

You can set these in Autoexec.cfg or config.cfg or something like that.
 
Yeah-set it in the autoexec or make your own if there isn't one.
 
Create a .cfg file in your HL2 cfg folder with the commands in it and bind it to a key, because you need to reload the values each map. (e.g. name the file ammo.cfg and ingame type 'bind x "exec ammo.cfg"')
 
zul said:
Create a .cfg file in your HL2 cfg folder with the commands in it and bind it to a key, because you need to reload the values each map. (e.g. name the file ammo.cfg and ingame type 'bind x "exec ammo.cfg"')
Yes, I had this problem. Great solution.
 
Hmm... cool... time to make my ammo capacity to 999!!!
 
f|uke said:
Yes, I had this problem. Great solution.

Use userconfig.cfg :) From what I know it's loaded at map change and when you first start the game up.
 
Back
Top