Infection Free Zone – How to Cheat (Console Commands)

This definitive guide explains how to run console commands and more info about it.

Cheat Codes and How to Use It

Before Use

Before unleashing the power of cheats, remember that excessive use can make the game lose its charm. Reserve their use for experimentation or when you’re stuck. It’s recommended to play the game without cheats initially to experience the intended gameplay.

How to Activate Cheats

  • Make sure you’re inside a save file; cheats can only be activated in-game, not from the main menu.
  • Press the “`” key to open the console command menu. On an AZERTY keyboard, it’s “!”. Navigate using the WASD keys to move in-game, triggering the debug menu. Hit the “?” icon located at the bottom right of the menu. Click on “Enable Cheats” from the list that appears. Ignore any bug report that pops up. Press “`” again to exit the menu and resume gameplay.
  • Press “`” again to make sure cheats are enabled. Success! You now wield god-like powers, within limits.

Quick PSA

Cheating alters the game experience from its intended design. While it’s your game and your choice, keep in mind that excessive cheating can diminish the fun.

Understanding Cheats

Now, onto the cheats themselves. With over 54 cheats available, let’s categorize them for easier understanding. When executing a cheat, you’ll often need to specify a type and quantity, such as resources. For instance: “AddResourcesToBuilding res_cans 10”.

Remember

  • After entering a command, exit the debug menu to apply it in-game.
  • Right-click to exit a cheat without executing it.

Building Cheats

First will appear as incomplete, but after right clicking it puts it all down.

AdaptBuilding

  • Description: Instantly adapts a building to a shelter or a cookhouse.
  • How to use: Left click on a building.
  • Note: Lets you build buildings you like homes and gathering places which u can’t research as of now.

CreateFarmLand

  • Description: Builds Crop Field
  • How to use: Select and click “bld_farm”. Go out the debug mode and build
  • Note: Every field are 2 workers more stressing your pc. Just spawn food and your good. But can be used for visuals.

CreateGate

  • Description: Instantly Builds Gate .
  • How to use: Select and select what type you want. Than exit debug menu, and then build.
  • Note: Act as watchtowers and are better cause these actually get instantly build. (can be use to cancel the spawn of enemies in their visual area.

CreateWall

  • Description: Instantly Builds Wall .
  • How to use: Select and select what type you want. Than exit debug menu, and then build.
  • Note: Good use if you want to create a big space without enemies.

Events

CompleteActiveMissions

  • Description: Completes all active missions.
  • How to use: Select.
  • Note: Be sure to save before using.

EndMission

  • Description: Ends a mission.
  • How to use: Select what mission.
  • Note: Be sure to end a active mission.

StartAction

  • Description: Starts a action.
  • How to use: Select and select a event.
  • Note: Didn’t understand it. But good little secret code to see what the devs have planned.

StartEvent

  • Description: Starts Events.
  • How to use: Select and select a event .
  • Note: More secret Code hehe.

StartMission

  • Description: Starts Events.
  • How to use: Select and select a mission.
  • Note: goodjob.

StartTransmission

  • Description: Starts a incoming transmission.
  • How to use: Select and select a transmission.
  • Note: Be sure to have done the antenna mission and build one.

Add Cheats

AddEventToPool

  • Description: ??
  • How to use: Select it
  • Note: BEWARE! My game crashed and after a second time it didn’t but nothing happened. Use With Caution.

AddMoodModifier

  • Description: Adds a mood boost
  • How to use: Select it and add a X times
  • Note: Gave me a Bug and didn’t work

AddResearchProgressPoints

  • Description: Adds points to your current research
  • How to use: Select and add the amount of points you want
  • Note: Be sure to have a active research Project

AddResourcesToBuilding

  • Description: Adds a certain resource to a building of your choosing
  • How to use: Select a resource and a amount. press Enter. Exit Menu. Click on a building.
  • Note: Every click is 1X. SO for example u did 20. Pressing 2 times on a building gives it 40. (Be sure to click on a Owned building with a inventory.

AddResourcesToHq

  • Same as above but that its your HQ so u don’t have to select it.
  • Note: U can build multiple HQ’s but this cheat only sends it to your first one!

AddScientificMaterials

  • Description: Adds books which are used for research
  • How to use: Select and type a amount
  • Note: Yay, you are becoming smarter!

AddWorkersToHq

  • Description: Adds workers to the main HQ
  • How to use: Select and type amount
  • Note: Beware, the more workers the more lag

Clear Cheats (Use With Caution)

ClearNavData

  • I have no clue what it does. When u click on it it automatically enables it. So yeah, don’t just click.
  • Maybe NavData is used for pathfinding but I am not 100% sure about this.

ClearStockrooms

  • Description: Removes all items from all storage’s
  • How to use: Select
  • Note: Beware when using in a save, can really screw you up if you didn’t save. (happened to me while testing lmao)

Power Cheats

ScavengeAllBuildings

  • Description: It explores all buildings and shows the items in them like you already went there.
  • How to use: Select.
  • Note: Map clutter, a lot of things on the screen.

SetDay

  • Description: Changes the day.
  • How to use: Select and type the amount.
  • Note: Higher than 9999 causes a bug. (i found doomsday hehe)
  • Also: After going higher than 9999 u can’t change it back to day 56 for example.

SetHour

  • Description: Changes the time.
  • How to use: Select and type amount.
  • Note: Didn’t test but don’t do 56:23 or something.

SetSoldierHp

  • Description: Changes the hp of a soldier.
  • How to use: Select and type a amount.
  • Note: I assume this does it for all your squads.

ShowAllGroups

  • Description: Shows all squad.
  • How to use: Select.
  • Note: Doesn’t have much effect on my end.

ShowAllVehicles

  • Description: Shows all Vehicles
  • How to use: Select.
  • Note: Doesn’t have much effect on my end.

StartWeatherFog

  • Description: Fog appears
  • How to use: Select and type true
  • Note: can cause a error

UnlockContent

  • Description: It unlocks stuff like the gathering stuff, hospital or even already unlockable buildings.
  • How to use: Select and Select Content
  • Note: You’d be building useless buildings cause they have no function

Note 2: It also allows you to unlock production types such as ‘wood to fertilizer’. as for the ‘useless buildings’ most of them don’t have a use yet but some do, all tower types (like the wooden towers but able to hold more guards and have more HP), greenhouse (farm inside a house, production speed depends on workers assigned. produces 2 wheat (not sure if tech impacts it) and if staffed with a decent amount is already tens of times more time efficient than farms) and houses (superior shelters that are a bit more expensive, give more housing and a mood bonus ‘people living in luxurious conditions’), are confirmed to have functionality.

UnlockResearchType

  • Description: Unlocks a research
  • How to use: Select and select a Research Project
  • Note: Can cause missions like the antenna not to be able to complete cause u can’t research it anymore.

Spawning Cheats

CreateResourceCursor

  • Description: Spawns a resource of choosing on the ground where u click
  • How to use: Select and select resource. Exit debug menu and spawn
  • Note: Outside of challenges i don’t see much use for it cause u can spawn stuff in buildings.

SetSpawnPointVisualizationState

  • Description: I don’t know
  • How to use: Select and press true
  • Note: I assume this should show a marker for what you’re spawning but it doesn’t do much for me.

SpawnBigSquadAtCursor

  • Description: Spawns a selected vehicle with a 16 man squad
  • How to use: Select and select vehicle. Exit debug menu and spawn in
  • Note: Won’t spawn with any weapons

SpawnGroupAtCursor

  • Description: Spawns a group of npcs.
  • How to use: Select, select a amount of units, select a weapon, and type 1.
  • Note: Don’t spawn birds or armor. These create a bug.
  • Important: don’t spawn them with snipers! Only when it’s your own squad!! Every time they shoot u get a bug!!

SpawnGroupInBuilding

  • Description: Spawns a group of npc’s in a building
  • How to use: Select, select a amount of units, select a weapon, and type 1.
  • Note: Don’t spawn birds or armor. These create a bug.

SpawnImmigrants

  • Description: Spawns Immigrants in the map
  • How to use: Select
  • Note: Didn’t appear so i assume they spawn random

SpawnImmigrantsAccept

  • Description: Spawns Immigrants in the map. That are accepted to your community
  • How to use: Select
  • Note: Didn’t appear so i assume they spawn random

SpawnRandomSquad

  • Description: Spawns a player squad with
  • How to use: Select
  • Note: Spawns in a random vehicles. They have ak’s but when clicking on them the ak’s are gone.

SpawnSquadAt

  • Description: Spawns a Squad on cords
  • How to use: Select, type cords, type amount and select vehicle

SpawnSquadAtCursor

  • Description: Spawns a squad where your press
  • How to use: Select and choose vehicles
  • Note: better option than above

SpawnSquadAtLatLon

  • Description: Spawns Squad on cords
  • How to use: Select, type cords and select vehicle
  • Note: The cursor is better

SpawnVehicle

  • Description: Spawns a Vehicle
  • How to use: Select a Vehicle, exit Debug mode and spawn in
  • Note: Some vehicles don’t work and don’t have a inventory. (no the tank isn’t worth it)

Remove Cheats

DestroyResourceCursor

  • Description: Removes a dropped Item
  • How to use: Select, Exit Debug Menu and click
  • Note: Only works on items. Not buildings or raw materials like trees and brick piles

KillAllGroups

  • Description: Kills them all
  • How to use: Select
  • Note: Savesavesave!

KillWorker

  • Description: Kills a random worker
  • How to use: Select
  • Note: Kills a random worker and can cause a hole in your work force

RemoveMoodModifier

  • Description: Removes morale by %
  • How to use: Select with a amount
  • Note: Doesn’t seem to work

RemoveResourcesFromHq

  • Description: Removes a certain recourse after choosing one
  • How to use: Select and select the recourse
  • Note: Assuming this only works on main HQ

Debug (Non Cheat Kind)

ChangeLanguage

  • You know what it means.
  • Need a line of code that I don’t know. Sorry

HideFPS

  • It hides your FPS

SaveGame

  • Saves your game

SetFpsLimit

  • Sets a Fps Limit

SetResolution

  • This is in your settings

SetTimeSpeed

  • This is literally your F1 F2 and F3 keys
Egor Opleuha
About Egor Opleuha 4462 Articles
Egor Opleuha, also known as Juzzzie, is the Editor-in-Chief of Gameplay Tips. He is a writer with more than 12 years of experience in writing and editing online content. His favorite game was and still is the third part of the legendary Heroes of Might and Magic saga. He prefers to spend all his free time playing retro games and new indie games.

1 Comment

  1. Remember boys and girls some of the routines that allow you to use cheats are for debugging and testing things; So if you unlock items they may not work because they’re not fully functional.

    So, use at your own risk and don’t say the game is broken..:)

Leave a Reply

Your email address will not be published.


*