How to change ammo amount ?

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending SPYmaps points.
  • Post: Give SPYmaps your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Stop Lurking!

Join GameBanana

Already a Bananite? Login

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 ![](http://imagizer.imageshack.us/v2/800x600q90/404/spymapsroofintro180010.jpg "") ![](http://imagizer.imageshack.us/v2/800x600q90/40/teststrider670032.jpg "") Mods Moddb page; [http://www.moddb.com/mods/the-closure](http://www.moddb.com/mods/the-closure "")

Posts

  • 3y
    Foofinoo avatar
    Foofinoo avatar Lost in time...
    Cell 1 Flag Affiliation: Cell 1
    Member Joined 4y
    5,690 points Ranked 791st
    24 medals 2 legendary 4 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Thanked 50 submitters Medal icon
    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
    Mantra
    Professional Crastination
  • 3y
    does-not-exist avatar
    Member Joined 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
  • 3y
    SPYmaps avatar
    SPYmaps Offline
    Member Joined 3y
    106 points Ranked 26797th
    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

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

More embeddable images

Bookmark and Share

Submitter

SPYmaps avatar
SPYmaps Offline
Member Joined 3y
106 points Ranked 26797th

SPYmaps
Send a Private Message to the submitter

Category

Stats

Posts
3
Views
2,939
Date Added
3y
bcp.crwdcntrl.net tracking pixel