Half-Life 2 Guide

Infinite Ammo in Half Life 2 for Half-Life 2

Infinite Ammo in Half Life 2

Overview

Tired of having to spam impulse 101 or givecurrentammo through console or binds, but don’t want to worry about running out of ammo? Here’s a surefire way to never run out ever again with no further input!

Editing the skill.cfg

Alright, so here’s the lowdown. And it’s pretty easy too.
You have to navigate to the cfg folder, in steamapps/common/Half-Life 2/hl2

Open the skill.cfg, notepad or wordpad, doesn’t matter, and you scroll until you reach the section “WEAPONS”. You can just use the ctrl+F search if you want to find it quicker. This section of the file has all the commands regarding weapon damage and ammo maxes. Every command that you see with ‘sk_max_’ you want to change to -2 and be sure to save the changes when done. When you next go into the game, you should see your reserve count next to the clip read 999, along with the ‘alt ammo’, if it has an alt fire. This means it’ll have worked. Now no matter how often you reload your gun, or fire your secondaries, you’ll never run out of ammo!
And this should work for just about any source game or mod as well, so long as you can access the ammo commands.

I have no idea why the -2 integer works like that, but it’s hard coded into the source engine or something, and is in fact used to make pistols in left 4 dead 1 and 2 infinite.

SteamSolo.com