Half-Life 2: VR Mod

Half-Life 2: VR Mod

Not enough ratings
999 health, 999 ammo, 99 explosives (or more of all)
By notsee zamby scrake
simple console command and skill.cfg edits to reward you more for exploring every corner of the game
2
2
   
Award
Favorite
Favorited
Unfavorite
it's simple, you just
open the console and enter this:

ent_fire player addoutput "max_health 999"

yes, you can change that number to whatever you want. lower it to 50 if you want, or increase it to 9999 (the hud will not display numbers in the thousands on your hand, it will show it in vehicles).

as for increasing your maximum ammo capacity, find the skill.cfg file in the local game files
steamapps/common/half life 2 vr/hl2/cfg
scroll down to the weapons section and look for something like this:

sk_plr_dmg_ar2 "8"
sk_npc_dmg_ar2 "3"
sk_max_ar2 "999"
sk_max_ar2_altfire "99"

as you can see here, I have already edited my file. sk_max_ar2 is the maximum ammo capacity for the combine pulse rifle, and altfire is the capacity for the energy grenades. I think the default used to be 60 reserve for standard fire and 3 for the grenades.

now change the values of the other weapons to whatever you want. lower them (why?) or raise them. you can even edit the damage values for specific weapons, make them do even more damage, make them do less, make yourself take less damage from them, or more, your choice.
(why?)
I hate wasting food, and medkits are like food. ammo too, its gun food. now, if you like exploring the game world and scooping up every drop to carry with you forever, you can. it's especially helpful for playing on hard going up against striders, gunships, or the prison turret defense section. also especially helpful for the leadup to ravenholm, where I still ran out of ammo. the magnum finally carries more than 12 in reserve.
6 Comments
notsee zamby scrake  [author] 30 Jan @ 12:03pm 
oh yea the quest version, I dunno how
normally I just copy the command from a conveniently pinned discord comment before launching the game and put the keyboard next to me to hit control v
there is supposedly a way to make the game autolaunch with a console command already added by default, autoexec.cfg? but I tried that once before and it didnt work so I really am not sure
for those wondering, I am playing the steam vr version of vr mod
SharkOfTheDead #1999 30 Jan @ 10:26am 
Any recommendations for what to use when editing the values? Console doesn't work well at all on Quest 2.
VTOL 16 Sep, 2023 @ 11:08am 
Also -2 is the value for Infinite ammo meaning it will never deplete even if you have 0 ammo for the gun when you pick it up
notsee zamby scrake  [author] 1 Nov, 2022 @ 7:42pm 
yup just tested it myself and it still works fine
Thomas o Kawaiiness 1 Nov, 2022 @ 4:23am 
I just tried this near the beginning of Water Hazard while I was in the airboat and it worked fine (both the console command for raising max health to 9999 and the skill cfg for raising max ammo to 999). Not sure if anyone having problems tried different numbers or overwrote the skill.cfg entirely or something but I had no problems.
notsee zamby scrake  [author] 31 Oct, 2022 @ 6:54pm 
damn I wonder if the new patch did something, would have to test it myself