Difference between revisions of "Changing max ammo in HL2"

From Valve Developer Community
Jump to: navigation, search
m
m
Line 4: Line 4:
 
== Editing ammo settings ==
 
== Editing ammo settings ==
 
Before we can change the values in our mod, we need to get a file from one of the gcf's.
 
Before we can change the values in our mod, we need to get a file from one of the gcf's.
Using [http://nemesis.thewavelength.net/index.php?p=26 GCFscape] we open the GCF called source engine.gcf. in this file, browse to Root/hl2/cfg/ and extract the file called skill.cfg.</br>
+
Using [http://nemesis.thewavelength.net/index.php?p=26 GCFscape] we open the GCF called source engine.gcf. in this file, browse to Root/hl2/cfg/ and extract the file called skill.cfg.<br>
 
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>
 
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>
</br></br>[[User:Solokiller|Solokiller]] 13:03, 12 November 2006 (UTC)
+
<br><br>[[User:Solokiller|Solokiller]] 13:03, 12 November 2006 (UTC)
  
 
[[Category:Programming]]
 
[[Category:Programming]]

Revision as of 13:22, 12 November 2006

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)