In this guide I’ll explain how you can use commands in your game to test stuff out, try techniques or simply have fun with.
Introduction:
In this Guide I’ll Explain how to use commands and what they do!
BEFORE USE:
Before using these commands. Remember: after using these cheats the game can become boring after using cheats too much. Try to use the cheats mostly to test stuff out. If you aren’t bothered much by this than use it.
Please first try the game without cheats for a couple tries before trying them out.
How to active cheats
2. Press “`” Key. That press Either A W D S to move in-game. This will make the debug menu appear.
3. Press the ? on the bottom right of the menu.
4. Once you see a list. click on “Enable Cheats”
5. Once clicked a bug report will appear. Ignore this.
6. Press “`” again, and move ingame
7. Press “?” again
8. Success! You’ve unlocked the power of god, If he was limited.
Quick PSA
A quick PSA: Remember cheating the game Isn’t as the game is intended but I am not your parent so use as you please.
Okay we have a lot of cheats. About 54. I am gonna split these up into Sections.
Important: When you click a cheat, there will be a Type and a Quantity you’ll probably need to full in like the resources like: “AddResourcesToBuilding res_cans 10”
WHEN USING A COMMAND AND PRESSING ENTER BE SURE TO EXIST THE DEBUG MENU TO ACTUALLY USE YOUR COMMAND! (I had this mistake)
AND RIGHT CLICK TO EXIT A CHEAT!
[Building Cheats – Add Cheats]
(First will appear as incomplete, but after right clicking it puts it all down.)
-AdaptBuilding
What it does: Instantly adapts a building to a shelter or a cookhouse.
How to use: Left click on a building.
Extra: Lets you build buildings you like homes and gathering places which u can’t research as of now.
-CreateFarmLand
What it does: Builds Crop Field
How to use: Select and click “bld_farm”. Go out the debug mode and build
Extra: Every field are 2 workers more stressing your pc. Just spawn food and your good. But can be used for visuals.
-CreateGate
What it does: Instantly Builds Gate .
How to use: Select and select what type you want. Than exit debug menu, and then build.
Extra: 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
What it does: Instantly Builds Wall .
How to use: Select and select what type you want. Than exit debug menu, and then build.
Extra: Good use if you want to create a big space without enemies.
=EVENTS=
CompleteActiveMissions
What it does: Completes all active missions.
How to use: Select.
Extra: Be sure to save before using.
-EndMission
What it does: Ends a mission.
How to use: Select what mission.
Extra: Be sure to end a active mission.
-StartAction
What it does: Starts a action.
How to use: Select and select a event.
Extra: Didn’t understand it. But good little secret code to see what the devs have planned.
-StartEvent
What it does: Starts Events.
How to use: Select and select a event .
Extra: More secret Code hehe.
-StartMission
What it does: Starts Events.
How to use: Select and select a mission.
Extra: goodjob.
-StartTransmission
What it does: Starts a incoming transmission.
How to use: Select and select a transmission.
Extra: Be sure to have done the antenna mission and build one.
=ADD CHEATS=
-AddEventToPool
What it does: ??
How to use: Select it
Extra: BEWARE! My game crashed and after a second time it didn’t but nothing happened. Use With Caution.
-AddMoodModifier
What it does: Adds a mood boost
How to use: Select it and add a X times
Extra: Gave me a Bug and didn’t work
-AddResearchProgressPoints
What it does: Adds points to your current research
How to use: Select and add the amount of points you want
Extra: Be sure to have a active research Project
-AddResourcesToBuilding
What it does: 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.
Extra: 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.
Extra: U can build multiple HQ’s but this cheat only sends it to your first one!
-AddScientificMaterials
What it does: Adds books which are used for research
How to use: Select and type a amount
Extra: Yay, you are becoming smarter!
-AddWorkersToHq
What it does: Adds workers to the main HQ
How to use: Select and type amount
Extra: Beware, the more workers the more lag
[Clear cheats – Debug cheats]
-ClearNavData
I have no clue what it does. When u click on it it automatically enables it. So yeah, don’t just click.
-ClearStockrooms
What it does: Removes all items from all storage’s
How to use: Select
Extra: 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
What it does: It explores all buildings and shows the items in them like you already went there.
How to use: Select.
Extra: Map clutter, a lot of things on the screen.
-SetDay
What it does: Changes the day.
How to use: Select and type the amount.
Extra: 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
What it does: Changes the time.
How to use: Select and type amount.
Extra: Didn’t test but don’t do 56:23 or something.
-SetSoldierHp
What it does: Changes the hp of a soldier.
How to use: Select and type a amount.
Extra: I assume this does it for all your squads.
-ShowAllGroups
What it does: Shows all squad.
How to use: Select.
Extra: Doesn’t have much effect on my end.
-ShowAllVehicles
What it does: Shows all Vehicles
How to use: Select.
Extra: Doesn’t have much effect on my end.
-StartWeatherFog
What it does: Fog appears
How to use: Select and type true
Extra: can cause a error
-UnlockContent
What it does: It unlocks stuff like the gathering stuff, hospital or even already unlockable buildings.
How to use: Select and Select Content
Extra: You’d be building useless buildings cause they have no function
-UnlockResearchType
What it does: Unlocks a research
How to use: Select and select a Research Project
Extra: Can cause missions like the antenna not to be able to complete cause u can’t research it anymore.
=SPAWNING CHEATS=
-CreateResourceCursor
What it does: Spawns a resource of choosing on the ground where u click
How to use: Select and select resource. Exit debug menu and spawn
Extra: Outside of challenges i don’t see much use for it cause u can spawn stuff in buildings.
-SetSpawnPointVisualizationState
What it does: I don’t know
How to use: Select and press true
Extra: I assume this should show a marker for what you’re spawning but it doesn’t do much for me.
-SpawnBigSquadAtCursor
What it does: Spawns a selected vehicle with a 16 man squad
How to use: Select and select vehicle. Exit debug menu and spawn in
Extra: Won’t spawn with any weapons
-SpawnGroupAtCursor
What it does: Spawns a group of npcs.
How to use: Select, select a amount of units, select a weapon, and type 1.
Extra: 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
What it does: Spawns a group of npc’s in a building
How to use: Select, select a amount of units, select a weapon, and type 1.
Extra: Don’t spawn birds or armor. These create a bug.
-SpawnImmigrants
What it does: Spawns Immigrants in the map
How to use: Select
Extra: Didn’t appear so i assume they spawn random
-SpawnImmigrantsAccept
What it does: Spawns Immigrants in the map. That are accepted to your community
How to use: Select
Extra: Didn’t appear so i assume they spawn random
-SpawnRandomSquad
What it does: Spawns a player squad with
How to use: Select
Extra: Spawns in a random vehicles. They have ak’s but when clicking on them the ak’s are gone.
-SpawnSquadAt
What it does:Spawns a Squad on cords
How to use: Select, type cords, type amount and select vehicle
-SpawnSquadAtCursor
What it does: Spawns a squad where your press
How to use: Select and choose vehicles
Extra: better option than above
-SpawnSquadAtLatLon
What it does: Spawns Squad on cords
How to use: Select, type cords and select vehicle
Extra: The cursor is better
-SpawnVehicle
What it does: Spawns a Vehicle
How to use: Select a Vehicle, exit Debug mode and spawn in
Extra: Some vehicles don’t work and don’t have a inventory. (no the tank isn’t worth it)
=REMOVE CHEATS=
-DestroyResourceCursor
What it does: Removes a dropped Item
How to use: Select, Exit Debug Menu and click
Extra: Only works on items. Not buildings or raw materials like trees and brick piles
-KillAllGroups
What it does: KILLS THEM ALL
How to use: Select
EXTRA: SAVESAVESAVE!!!
-KillWorker
What it does: Kills a random worker
How to use: Select
Extra: Kills a random worker and can cause a hole in your work force
-RemoveMoodModifier
What it does: Removes morale by %
How to use: Select with a amount
Extra: Doesn’t seem to work
-RemoveResourcesFromHq
What it does: Removes a certain recourse after choosing one
How to use: Select and select the recourse
Extra: Assuming this only works on main HQ
=DEBUG= (Non cheat kind) – i won’t put effort in these cause they’re basically settings.
-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 lol
-SetTimeSpeed
This is literally your F1 F2 and F3 keys
Ending
-With some cheats and typing “what they do” i feel like that kid that got asked “what does a Wind blower do” and answers “Something that blows air”. Some commands were just obvious lmao
Alright, Hopefully you had a use to this guide. It took my evening to make it so if u can spare a like I’d appreciate it!
If i can just add my opinion and i think others can agree: This game is what Project Zomboid misses (which isn’t bad, each game their own thing). This game is one of a kind, and there is so much potential.
Related Posts:
- Infection Free Zone – How to Gain Resources More Efficiently
- Infection Free Zone – Map Editor Manual Guide
- Infection Free Zone: Food Production Calculations