Infection Free Zone Cheats: Debug Console Commands
- PC In a save, press the backtick key (`), click ? and Enable Cheats, then pick a command and left-click the map to use it.
Published by Andrew B.
No cheats match that filter.
Resources and workers
| Cheat | Code | Effect |
|---|---|---|
| Add resources to building | PCAddResourcesToBuilding res_cans 10 | Adds the resource and amount you choose to each building you click, here 10 cans. |
| Add resources to HQ | PCAddResourcesToHq | Adds the chosen resource and amount to your first HQ. |
| Add workers | PCAddWorkersToHq | Adds workers of the chosen type and number to your HQ. Large numbers can cause lag. |
| Add research books | PCAddScientificMaterials | Adds scientific materials (books) used for research. |
| Research points | PCAddResearchProgressPoints | Adds points to the research project that is running. |
| Spawn resource | PCCreateResourceCursor | Places the chosen resource where you click. |
| Reveal loot | PCScavengeAllBuildings | Reveals the items inside every building. |
Building
| Cheat | Code | Effect |
|---|---|---|
| Build walls | PCCreateWall | Choose a wall type and place walls instantly with left-click. |
| Build gates | PCCreateGate | Choose a gate type and build it instantly with left-click. |
| Farm fields | PCCreateFarmLand | Select bld_farm as the type, then left-click to place a crop field. |
| Convert building | PCAdaptBuilding | Turns the building you click into a shelter or cookhouse. |
| Unlock research | PCUnlockResearchType | Unlocks the research project you choose. |
| Unlock content | PCUnlockContent | Unlocks content such as gathering, the hospital and buildings. |
Squads and vehicles
| Cheat | Code | Effect |
|---|---|---|
| Squad at cursor | PCSpawnSquadAtCursor | Choose a vehicle, then left-click where the squad should appear. |
| Big squad | PCSpawnBigSquadAtCursor | Spawns a 16-man squad with the vehicle you choose. |
| Random squad | PCSpawnRandomSquad | Spawns a player squad with a random vehicle. |
| Spawn vehicle | PCSpawnVehicle | Choose a vehicle, close the console and click to place it. |
| Soldier HP | PCSetSoldierHp | Sets soldier HP to the number you enter. |
| Immigrants who join | PCSpawnImmigrantsAccept | Spawns immigrants who accept joining your community. |
Missions and events
| Cheat | Code | Effect |
|---|---|---|
| Complete missions | PCCompleteActiveMissions | Completes all currently active missions. |
| End a mission | PCEndMission | Ends the active mission you pick. |
| Start an event | PCStartEvent | Starts the event you pick. |
| Start a transmission | PCStartTransmission | Triggers an incoming transmission. Needs a built antenna. |
Time and world
| Cheat | Code | Effect |
|---|---|---|
| Set day | PCSetDay | Sets the in-game day. Keep it at 9999 or below. |
| Set hour | PCSetHour | Sets the in-game time. Invalid times can crash the game. |
| Fog | PCStartWeatherFog | Enter true to create fog. |
| Kill all groups | PCKillAllGroups | Kills every group in the game. Save first. |
| Save game | PCSaveGame | Saves your game. |
A code here did not work? Tell us and it gets rechecked. Report a code
How to enter cheats
PC
- Load a save. The console does not work from the main menu.
- Press the backtick key (`), click the ? at the bottom right and choose Enable Cheats. Close the bug reporter.
- Reopen the console, pick a command and enter any value it asks for.
- Close the console, left-click on the map to apply the command and right-click to stop it.
Compatibility notes
Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.
- Getting in Item Level Gaming says cheats can only be enabled while you are playing a save. After choosing Enable Cheats you close the bug reporter, press the backtick key again, move a little in-game and click ? once more to finish. Item Level Gaming: Infection Free Zone how to use console commands guide
- SetDay Both guides warn that a day value above 9999 breaks the game and cannot be reversed. SteamAH: Infection Free Zone, how to use commands
- Commands that can damage a save SteamAH says ClearStockrooms removes every item from all storage and can badly damage a save, and advises saving before KillAllGroups and CompleteActiveMissions. It also says UnlockResearchType can make the antenna mission impossible to finish. SteamAH: Infection Free Zone, how to use commands
- Early Access Item Level Gaming describes the spawn-group commands, AddEventToPool, SetHour and SetDay as buggy and puts it down to the game being in Early Access, so later updates may change how these commands behave. Item Level Gaming: Infection Free Zone how to use console commands guide
FAQ
How do you enable cheats in Infection Free Zone?
Load a save, press the backtick key (`), click the ? at the bottom right and choose Enable Cheats. Close the bug reporter and reopen the console.
Is there a resource cheat in Infection Free Zone?
Yes. AddResourcesToBuilding adds a resource to the building you click, for example AddResourcesToBuilding res_cans 10, and AddResourcesToHq adds resources to your first HQ.
Can Infection Free Zone cheats break a save?
Yes. ClearStockrooms, KillAllGroups and SetDay above 9999 are reported to damage a save, so save first.
How do you stop a command in Infection Free Zone?
Right-click on the map to stop the command you are using.
