Changing max ammo in HL2

From Valve Developer Community
Revision as of 13:11, 12 November 2006 by Solokiller (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Changing maximum ammo in HL2

Many people that make a total conversion mod will want to change the ammunition settings in Half-Life 2. This small tutorial will tell you just how to do that.

Editing ammo settings

Before we can change the values in our mod, we need to get a file from one of the gcf's. Using GCFscape we open the GCF called source engine.gcf. in this file, browse to Root/hl2/cfg/ and extract the file called skill.cfg. Place the file in Steam/Steamapps/Sourcemods/yourmodname/cfg/. Then go down to the Weapons part, and edit the lines starting with sk_max_*, where * is the name of the weapon (such as pistol, 357, ar2, etc).</br> Solokiller 13:03, 12 November 2006 (UTC)