- Start the game with
-devconsole
launch argument (Steam Guide / Epic Games Guide) - Press the Backtick (Grave Accent) to toggle console
Command | Description |
---|---|
SetGameTime(Day) | Changes the day |
SetResource("Id", Amount) | Changes the resource amount. Quotes are required for the resource id |
ShowDebugButtonsPanel | Cheats / Debugging buttons |
Id | Name |
---|---|
Coal | Coal |
Wood | Wood |
Steel | Steel |
Steam Cores | Steam Cores |
Raw Food | Raw Food |
Food Rations | Food Rations |
Bodies | Bodies |
Wooden Materials | Structural Profiles |
Steam Tools | Steam Exchangers |
Steel Plates | Steel Composites |
Frostpunk v1.6.1 Dump or run the following (Source):
local a={}function dump(b,c)a[b]=true;local d={}local e=0;for f in pairs(b)do e=e+1;d[e]=f end;table.sort(d)for f,g in ipairs(d)do print(c,g)g=b[g]if type(g)=="table"and not a[g]then dump(g,c.."-")end end end;dump(_G,"-")
Open ConsoleOutput.html
located in the root of the game directory to view them all.
- Open
Library
- Click
...
forFrostpunk
- Click
Manage
- Enable
Launch Options
- Add
-devconsole
to theLaunch Options
field
@Moriac1 Basically bruteforce and luck, I put the commands in the console, hit enter then looked at the output.
ShowDebugButtonsPanel
was easy cause it worked instantly, a giant button panel popped up on the screen.SetGameTime
andSetResource
check the input and provide feedback to the console, for exampleSetResource
will respond with "The resource "INPUT" does not exist.", these messages helped with understanding which parameters the command required.It gets significantly more difficult / impossible when commands provide no feedback, even worse is when the command crashes the game. Part of the issue is wondering if the command you're trying to run has actually been removed from the production build of the game. At that point you'd be better off deciphering the game files and reverse engineering the logic instead of attempting to do it through a limited console.