Gaming How-To

STALKER 2: How to Enable the Developer Console (Cheat Commands and Weapon IDs)

A PC-only mod unlocks the hidden dev console, letting you toggle god mode, spawn weapons by ID, and force weather.

A PC-only mod unlocks the hidden dev console, letting you toggle god mode, spawn weapons by ID, and force weather.

The developer console in STALKER 2: Heart of Chornobyl stays locked out of the box, but a small mod restores it on PC. Once it is installed, you can open an in-game command line and run cheats, spawn gear, or nudge a bugged quest past a stuck condition. None of this works on console hardware, and there is no built-in toggle to enable without modding.

Quick answer: Install a console-enabler mod (Kyne’s Commands Console, UETools, or UE4SS patched with RE-UE4SS), launch the game, then press ~ (tilde) or F10 to open the console and type commands such as XSetGodMode true.

Image credit: GSC Game World

What you need before you start

Console commands are a PC-only feature. They rely on modding, so an Xbox or Game Pass console build cannot run them. Back up your save files first, since some commands can crash the game or produce unexpected results.

You have a few working mods to pick from. Any of them unlocks the same set of commands, so the choice comes down to how easy the install is for you.

ModInstall difficultyNotes
Kyne’s Commands ConsoleSimplestEasy to add and delete; works as of game version 2.03
UEToolsSimpleDrops into the Paks folder; older .pak build, latest supported v1.2.1
UE4SS + RE-UE4SS patchAdvancedRequires following the patch’s own instructions carefully

Note: Mods tend to break after every STALKER 2 patch. If your console enabler starts crashing or stops responding, remove it and wait for an updated version from the author.


Install a console-enabler mod

Download a console mod. The most convenient option is Kyne’s Commands Console, which is quick to install and just as quick to remove if something goes wrong.
Image credit: Nexus Mods
Find your STALKER 2 install folder. Open the game’s properties in your Steam or Xbox library and browse to the local files.
Unpack the mod files into the game directory as the mod’s own instructions describe. For the .pak-based UETools build, the path is \Stalker2\Content\Paks\~mods. Create the ~mods folder if it does not already exist, then drop the .pak, .sig, .ucas, and .ucos files inside.
If you chose the UE4SS route, get UE4SS from its GitHub releases and apply the RE-UE4SS patch files, following the steps on that mod page. This path is more involved, so read the included readme closely.
Image credit: Nexus Mods
Launch STALKER 2 and press ~ (the tilde key above Tab) or F10. If a text line appears at the bottom of the screen, the console is active and the mod installed correctly. The Unreal console has three states: closed, a thin input line, and a maximized log view that shows every command you run.

Core cheat commands

The commands are identical no matter which enabler you use. Type one into the open console and press Enter. For toggles, swap true for false to turn the effect off.

EffectCommand
God mode (invincibility)XSetGodMode true
Noclip (fly through walls)XSetNoClipGSC true (speed)
Add CouponsXAddMoneyToPlayer (x)
Add an item by IDXCreateItemInInventoryByID (id) 0 (count) (durability)
Set in-game timeXSetWeatherTime (hour) (minute) (second)
Force weatherXForceWeather (type)

The XForceWeather command accepts these presets: Cloudy, Clearly, Foggy, Thundery, Rainy, and CalmBeforeEmmission.

If you installed a UETools-based build, a few extra Unreal Engine commands are handy for movement and cleanup. UETools_Help prints the full command list. UETools_Ghost disables collision so you can phase through a locked or bugged door, and UETools_Walk turns it back off. UETools_Fly lets you fly with collision still on, which is useful for covering long distances. Note: if the UETools_ commands do not respond at first, run Init, Reload, or r in the console to wake them up.

Image credit: GSC Game World / Scalespeeder Gaming

Spawn weapons with item IDs

To pull a gun straight into your inventory, use the add-item command and replace the placeholder with a weapon ID. The pattern is:

XCreateItemInInventoryByID (id) 0 1 1

The final two numbers set the count and durability. For example, XCreateItemInInventoryByID GunArev_ST 0 1 1 spawns one weapon at full durability. Raise the third value to spawn several copies at once.

WeaponID
AK74UGunAKU_PP
AK74SGunAK74_ST
APSBGunAPB_HG
AR416GunM16_ST
AS LavinaGunLavina_ST
BoomstickGunObrez_SG
BuketGunBucket_PP
DniproGunDnipro_ST
Fora-221GunFora_ST
GromGunGrim_ST
Gauss RifleGunGauss_SP
GP37GunG37_ST
Integral-AGunIntegral_PP
KharodGunKharod_ST
Kora-1911GunKora_HG
RAM-2GunRam2_SG
RPG-7UGunRpg7_GL
RhinoGunRhino_HG
M10GunM10_HG
M701GunM701_SP
M860GunM860_SG
Mark 1 EMRGunMark_SP
PKPGunPKP_MG
PTMGunPM_HG
SaigaGunD12_SG
SPSA-14GunSPSA_SG
SVDMGunSVDM_SP
SVUGunSVU_SP
Three Line RifleGunThreeLine_SP
TOZ-34GunTOZ_SG
UDPGunUDP_HG
Viper-5GunViper_PP
VS VintarGunGvintar_ST
ZubrGunZubr_PP

Named and unique weapons

Unique guns follow a different naming template. Use Gun_(name)_(type), where the type matches the two-letter suffix in the table above. For instance, the Drowned AK spawns with Gun_Drowned_AR. This works for most named weapons, though a handful use entirely separate IDs.

Image credit: GSC Game World

How to confirm it worked and common failures

Each command reports back in the maximized console log, so you can read whether it ran or threw an error. God mode is obvious once enemies stop damaging you, added Coupons appear immediately in your total, and spawned weapons drop straight into your inventory.

If nothing happens when you press ~ or F10, the mod either failed to install or broke after a game update. The most frequent causes are a missing ~mods folder, files placed in the wrong directory, or a patch that made the current mod version incompatible. Remove the mod, reinstall a version that matches your game build, and try again. Because these mods hook into the game engine directly, keeping a save backup means a bad command never costs you real progress.