Changing max ammo in HL2: Difference between revisions
Jump to navigation
Jump to search
Solokiller (talk | contribs) mNo edit summary |
(Cleaned up somewhat and removed signature. (Signing is against wiki policy.)) |
||
Line 1: | Line 1: | ||
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. | |||
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. | |||
# Using [[GCFScape]], open the GCF file called ''source engine.gcf''. | |||
# In this file, browse to <code>Root/hl2/cfg/</code> and extract the file called ''skill.cfg''. | |||
Using [ | # Place the extracted file in <code>Steam/Steamapps/Sourcemods/yourmodname/cfg/</code>. | ||
Place the file in Steam/Steamapps/Sourcemods/yourmodname/cfg/. | # In this file, go down to the ''Weapons'' part, and edit the lines starting with <code>sk_max_*</code>, where <code>*</code> is the name of the weapon (such as pistol, 357, ar2, etc). | ||
[[Category:Programming]] | [[Category:Programming]] |
Revision as of 16:30, 12 November 2006
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.
- Using GCFScape, open the GCF file called source engine.gcf.
- In this file, browse to
Root/hl2/cfg/
and extract the file called skill.cfg. - Place the extracted file in
Steam/Steamapps/Sourcemods/yourmodname/cfg/
. - 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).