Changing max ammo in HL2

From Valve Developer Community
Revision as of 15:30, 12 November 2006 by Andreasen (talk | contribs) (Cleaned up somewhat and removed signature. (Signing is against wiki policy.))
Jump to: navigation, search

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

  1. Using GCFScape, open the GCF file called source engine.gcf.
  2. In this file, browse to Root/hl2/cfg/ and extract the file called skill.cfg.
  3. Place the extracted file in Steam/Steamapps/Sourcemods/yourmodname/cfg/.
  4. In this file, 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).