Infection Free Zone Cheats: Debug Console Commands

Published by

Resources and workers

CheatCodeEffect
Add resources to buildingPCAddResourcesToBuilding res_cans 10Adds the resource and amount you choose to each building you click, here 10 cans.
Add resources to HQPCAddResourcesToHqAdds the chosen resource and amount to your first HQ.
Add workersPCAddWorkersToHqAdds workers of the chosen type and number to your HQ. Large numbers can cause lag.
Add research booksPCAddScientificMaterialsAdds scientific materials (books) used for research.
Research pointsPCAddResearchProgressPointsAdds points to the research project that is running.
Spawn resourcePCCreateResourceCursorPlaces the chosen resource where you click.
Reveal lootPCScavengeAllBuildingsReveals the items inside every building.

Building

CheatCodeEffect
Build wallsPCCreateWallChoose a wall type and place walls instantly with left-click.
Build gatesPCCreateGateChoose a gate type and build it instantly with left-click.
Farm fieldsPCCreateFarmLandSelect bld_farm as the type, then left-click to place a crop field.
Convert buildingPCAdaptBuildingTurns the building you click into a shelter or cookhouse.
Unlock researchPCUnlockResearchTypeUnlocks the research project you choose.
Unlock contentPCUnlockContentUnlocks content such as gathering, the hospital and buildings.

Squads and vehicles

CheatCodeEffect
Squad at cursorPCSpawnSquadAtCursorChoose a vehicle, then left-click where the squad should appear.
Big squadPCSpawnBigSquadAtCursorSpawns a 16-man squad with the vehicle you choose.
Random squadPCSpawnRandomSquadSpawns a player squad with a random vehicle.
Spawn vehiclePCSpawnVehicleChoose a vehicle, close the console and click to place it.
Soldier HPPCSetSoldierHpSets soldier HP to the number you enter.
Immigrants who joinPCSpawnImmigrantsAcceptSpawns immigrants who accept joining your community.

Missions and events

CheatCodeEffect
Complete missionsPCCompleteActiveMissionsCompletes all currently active missions.
End a missionPCEndMissionEnds the active mission you pick.
Start an eventPCStartEventStarts the event you pick.
Start a transmissionPCStartTransmissionTriggers an incoming transmission. Needs a built antenna.

Time and world

CheatCodeEffect
Set dayPCSetDaySets the in-game day. Keep it at 9999 or below.
Set hourPCSetHourSets the in-game time. Invalid times can crash the game.
FogPCStartWeatherFogEnter true to create fog.
Kill all groupsPCKillAllGroupsKills every group in the game. Save first.
Save gamePCSaveGameSaves your game.

A code here did not work? Tell us and it gets rechecked. Report a code

How to enter cheats

PC

  1. Load a save. The console does not work from the main menu.
  2. Press the backtick key (`), click the ? at the bottom right and choose Enable Cheats. Close the bug reporter.
  3. Reopen the console, pick a command and enter any value it asks for.
  4. 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.

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.

Part of

References: Item Level Gaming: Infection Free Zone how to use console commands guide; SteamAH: Infection Free Zone, how to use commands.