The Game Modding Community - Since 2001

How to change ammo amount ?

A Forum Thread for Half-Life 2: Episode Two

need to give a weapon less ammo to carry, how?

Hello, am working hard on my HL2 ep2 SP-mod, (please see link and screenshot at bottum if your interested). I did add a sniper rifle to the mod and long ago some one explained to me how i could give it more ammo in its chamber and magazine. So i changed it, believe it was in a .cfg file. Now i want to change it again because otherwise the weapon is much to powerfull, when it can be used all the time. Just forgot which file i used to change it. Can someone please tell me were i can do this, have been looking in to this for quit some time now. Please help, Leon ![]( "") ![]( "") Mods Moddb page; []( "")


  • 4y
    Foofinoo avatar
    Foofinoo username pic Joined 4y ago
    Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    10,951 points Ranked 462nd
    28 medals 3 legendary 5 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    Foofinoo avatar
    Cell 1 Flag
    Cell 1
    It's a .txt file located in the scripts folder (for the crossbow, it's "scripts/weapon_crossbow"). You have just to find the line "clip_size" and change the value...
    Professional Crastination avatar
    Professional Crastination
  • 4y
    So damn easy. For spare ammo, you'd go to whatever CFG file you've set it in, but since most people set their max ammo values in cfg/skill.cfg, that's probably where you should look at. Don't know what cvar you've set to control max ammo, but you can find it all there. For the max mag capacity, pretty easy too. Just go to scripts/weapon_(whatever).txt and fiddle with the "clip _size" parameter. wait, IT'S THIS MOD
  • 4y
    SPYmaps avatar
    SPYmaps Joined 4y ago
    106 points Ranked 28476th
    Thanks guys! It will indeed be very easy for you to find this, but as a mapper i have no skills at all with this. But, did find the weapon_crossbow.txt in the scripts folder and changed it back. See if i only need to change this or also something to lower the amount of magazines. thanks,! Leon
    SP leveldesign maniac


Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:


SPYmaps avatar
SPYmaps Joined 4y ago
106 points Ranked 28476th

Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!



  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+


  • 3 Posts
  • 4y Submitted

Hey, you! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Sound fun? Sign up now!

Already a Bananite? Login tracking pixel