Console Commands & Cheats
Enabling The Console
Make sure you have Half-Life Alyx closed
Navigate to your library and right click Half Life Alyx, in the dropdown menu that appears, click “properties”
Next, click ” set launch options”
Next, paste -console -vconsole into the textbox and click OK
Opening The Console In-Game
Open up Half-Life Alyx
For most of these commands to work, you have to be loaded ingame, so load a savegame and pause your game.
Press “~” on your keyboard to load up the console. If you cant find the key, its located above the “tab” key. Now, a window will open up on your PC monitor, not in your VR headset so you’ll have to take off your headset to use the console, which is why I recommend pausing your game when using the console.
Using The Console (Entering Commands)
This is what your console will look like.
Type in your commands in the textbox that I’ve circled in red, helpfully labeled “command”.
Press enter after you are finished typing in or copy-pasting your commands for them to take effect.
You must type in “sv_cheats 1” without quotes and press enter for most of these commands to work, .
Commands: (feel free to submit more in the comments section and I’ll add them here, I haven’t really had the time to test out that many commands).
sv_infinite_ammo 1 – enables infinite ammo, change the 1 to a 0 to disable infinite ammo
god – toggles invincibility