Table of Contents Show
Get money, fill your vehicle with anything, spawn bales and pallets, change time, teleport, run faster than any car – all directly in game with no external applications.
Cheats & Console Commands
Enable developers console
First we want to enable developers console that can be opened using backtick (`) key – tilde (~) key without holding shift
1. Open your game directory
Steam Library -> Farming Simulator 22 (right click) -> Manage -> Browse local files
2. Open file named game.xml in text editor
3. Find the following lines in the file:
<development>
<controls>false</controls>
<openDevConsole onWarnings=”false” onErrors=”false”/>
</development>
4. Change <controls>false</controls> to:
<controls>true</controls>
5. Run the game to test if the backtick key (`) (to the left of 1, above Tab) opens the console
Enable cheats
To enable cheat commands in the console you need to run the game with command line parameter -cheats.
1. Find Launch options in Steam
Steam Library -> Farming Simulator 22 (right click) -> Properties -> General -> Launch options
2. Write “-cheats” (without quotes) to your launch options
3. Run the game
As a side effect of enabling cheats – you should now be running super fast.
Using the console
Console is opened with the backtick key (`) (to the left of 1, above Tab).
Pressing the backtick first time opens the console in read-only mode.
Pressing it 2nd time shows the box where you can enter commands.
Pressing it 3rd time hides the console.
PAGE UP and PAGE DOWN keys scroll the console output.
TAB auto-completes the command (by pressing the TAB key with no command you can cycle through all available commands)
Console commands
You can get list of all commands along with descriptions by using help command.
Just write help and press ENTER in the console and then use PAGE UP / PAGE DOWN to scroll through the output.
Basic cheat commands
gsPlayerFlightMode
Enables/disables the flight mode toggle (key J). Use keys Q and E to change altitude
gsMoneyAdd
Add a lot (10 mil) of money
Use ‘gsMoneyAdd <amount>’ to add or remove a custom amount
gsTeleport
Teleports to given field or x/z-position
Usage: gsTeleport xPos|field [zPos] (if zPos is not given first parameter is used as field id)
gsTimeSet
Sets the day time in hours
Usage: gsTimeSet <hour>
gsFillUnitAdd
Changes a fillUnit with given filllevel and filltype
Fills the fillUnitIndex slot in your current vehicle with amount of given fill type.
Usage: gsFillUnitAdd <fillUnitIndex> <fillTypeName> [amount]
When you use it incorrectly it will usually tell you what it expects eg:
gsFillUnitAdd 0 grass 1
Error: FillUnit ‘0’ in ‘Pickup 1986’ does not exist!
Available FillUnits and supported FillTypes:
FillUnit 1 – FillTypes: DIESEL
gsBaleAdd
Adds a bale (in front of you)
For specific bales use: gsBaleAdd fillTypeName isRoundBale [width] [height/diameter] [length] [wrapState] [modName]
gsPalletAdd
Adds a pallet (in front of you)
Usage: gsPalletAdd <type>
Valid types are BUTTER LETTUCE CAKE BREAD SILAGE_ADDITIVE FERTILIZER WOOL LIQUIDFERTILIZER MINERAL_FEED WHEAT OAT OLIVE SUGAR SOYBEAN HERBICIDE LIME OILSEEDRADISH BARLEY FURNITURE BOARDS CHOCOLATE STRAWBERRY CEREAL CANOLA_OIL GRAPEJUICE SUNFLOWER_OIL RAISINS OLIVE_OIL HONEY MAIZE SEEDS GRAPE CANOLA FLOUR CLOTHES COTTON FABRIC SUNFLOWER SORGHUM POTATO SUGARCANE EGG CHEESE TOMATO
Advanced cheat commands
There is very little info about the parameters that you can put to commands available in game. You will need to experiment / google / etc. When you try to run the command it will usually give you some idea of what it expects.
gsFarmSet
Set farm for current player or vehicle
gsFarmlandBuy
Buys farmland with given id
gsFarmlandBuyAll
Buys all farmlands
gsFarmlandSell
Sells farmland with given id
gsFarmlandSellAll
Sells all farmlands
gsFieldSetFruit
Sets a given fruit to field
gsFieldSetFruitAll
Sets a given fruit to all fields
gsFieldSetGround
Sets a given fruit to field
gsFieldSetGroundAll
Sets a given fruit to allfield
gsSnowAdd
Add snow
gsSnowAddSalt
Salt around player
gsSnowReset
Reset snow
gsSnowSet
Set snow
gsTreeAdd
Load a tree
gsVehicleAddDamage
Adds a given amount to current damage amount
gsVehicleAddDirt
Adds a given amount to current dirt amount
gsVehicleAddWear
Adds a given amount to current wear amount
gsVehicleFuelSet
Sets the vehicle fuel level
gsVehicleLoadAll
Load all vehicles
gsVehicleOperatingTimeSet
Sets the vehicle operating time
gsWeatherAdd
Adds a weather object by type
gsWeatherSet
Sets a weather object by type
gsWeedSystemAddDelta
Add weed delta to field
gsWeedSystemSetState
Set weed state to field
gsStoneSystemAddDelta
Add stone delta to field
gsStoneSystemSetState
Set stone state to field
gsTipAnywhereAdd
Tips a fillType
gsTipAnywhereClear
Clears tip area
Other commands pt 1 (Game Version: 1.1.1.0 b14227)
enableAnimalStatesDebugRendering
Enable/disable animal states debug rendering
enableCloudFx
Enable/disable cloudfx
enableDoF
Enable / Disable DoF
enableFramerateLimit
Enable/disable frames per second limiter
enableOccluderDebugRendering
Enable/disable occluder debug rendering
enablePostFx
Enable/disable postfx
exit
Quits application
framerateLimitFPS
Frames per second limit attribute
gsAICostsExport
Export costmap to image file
gsAICostsShow
Shows the costs per cell
gsAICostsUpdate
Update costmap given width around the camera
gsAIEnableDebug
Enables AI debugging
gsAIObstaclesShow
Shows the obstacles around the camera
gsAISetLastTarget
Sets AI Target to last position
gsAISetTarget
Sets AI Target
gsAISplinesShow
Toggle AI system spline visibility
gsAIStart
Starts driving to target
gsAIStationsShow
Toggle AI system stations ai nodes visibility
gsAmbientSoundSystemReload
Reloads the ambient sound system
gsAmbientSoundSystemToggleDebugView
Toggles the ambient sound system debug view
gsAutoSave
Enables/disables auto save
gsAutoSaveInterval
Sets the auto save interval
gsBaleList
List available bale types
gsBenchmark
Starts a benchmark sequence with camera flight and working vehicles
gsBenchmarkMapPerformanceTest
Runs a basic performance test for the current map
gsCameraFovSet
Sets camera field of view angle
gsCollisionFlagShowAll
Shows all available collision flags
gsDebugManagerClearElements
Removes all permanent elements and functions from DebugManager
gsDensityMapToggleDebug
Toggles debug mode
gsEnvironmentAreaSystemToggleDebugView
Toggles the environment checker debug view
gsEnvironmentFixedVisualsSet
Sets the visual seasons to a fixed period
gsEnvironmentMaskSystemToggleDebugView
Toggles the environment mask system debug view
gsEnvironmentReload
Reloads environment
gsEnvironmentSeasonalShaderDebug
Shows the current seasonal shader parameter
gsEnvironmentSeasonalShaderSet
Sets the seasonal shader to a forced value
gsFieldToggleStatus
Shows field status
gsGuiDebug
gsGuiDrawHelper
gsGuiSafeFrameShow
gsHudVisibility
Toggle HUd visibility
gsI3DCacheClean
Removes all cached i3d files to ensure the latest versions are loaded from disk
gsI3DLoadingDelaySet
Sets loading delay for i3d files
gsI3DPrintActiveLoadings
Print active loadings
gsI3DShowCache
Show active i3d cache
gsIndoorMaskToggle
Toggle indoor mask visualization
gsInputContextPrint
gsInputContextShow
gsInputDebug
gsInputDrawRaw
gsNetworkDebug
Toggle network debugging
gsNetworkShowObjects
Toggle network show objects
gsNetworkShowTraffic
Toggle network traffic visualization
gsPedestrianSystemReload
Reload pedestrian system xml
gsPedestrianSystemToggle
Toggle pedestrian system
gsPlacementCollisionsShow
Shows the collisions for placement and terraforming
gsPlayerDebug
Enables/disables player debug information
gsPlayerFsmDebug
Toggle debug mode for player state machine
gsPlayerFsmStateJumpDebug
Toggle debug mode for Jump
gsPowerConsumerSet
Sets properties of the powerConsumer specialization
gsProductionPointSetFillLevel
gsProductionPointSetOutputMode
gsProductionPointSetOwner
gsProductionPointSetProductionState
gsProductionPointToggleDebug
Toggle production point debugging
gsProductionPointsList
List all production points on map
gsProductionPointsPrintAutoDeliverMapping
Prints which fillTypes are required by which production points
gsRenderColorAndDepthScreenShot
gsRenderingDebugMode
gsReverbSystemToggleDebugView
Toggles the reverb debug view
gsScriptCommandsList
Lists script-based console commands. Use ‘help’ to get all commands
gsSetFixedExposureSettings
Sets fixed exposure settings
gsSetHighQuality
Incease draw and LOD distances of foliage, terrain and objects
gsShopUIToggle
Toggle shop config screen UI visiblity
gsSoundManagerDebug
Toggle SoundManager global debug mode
gsStoreItemsReload
Reloads storeItem data
gsTakeEnvProbes
Takes env. probes from current camera position
gsTensionBeltDebug
Toggles the debug tension belt rendering of the vehicle
gsTestForceFeedback
gsTipCollisionsShow
Shows the collisions for tipping on the ground
gsVehicleAnalyze
Analyze vehicle
gsVehicleDebug
Toggles the vehicle debug values rendering
gsVehicleDebugReverb
Toggles the reverb debug rendering
gsVehicleReload
Reloads currently entered vehicle or vehicles within a range when second radius parameter is given
gsVehicleShowDistance
Shows the distance between vehicle and cam
gsVehicleTemperatureSet
Sets the vehicle motor temperature
gsVineSystemSetGrowthState
Sets vineyard growthstate
gsWeatherDebug
Toggles weather debug
gsWeatherReload
Reloads weather data
gsWeatherSetClouds
Sets cloud data
gsWeatherSetDebugWind
Sets wind data
gsWeatherSetFog
Sets fog height, mieScale and duration
gsWeatherToggleRandomWindWaving
Toggles waving of random wind
gsWildlifeDebug
Toggle shows/hide all wildlife debug information.
gsWildlifeDebugAnimalAdd
Adds an animal to a debug list.
gsWildlifeDebugAnimalRemove
Removes an animal to a debug list.
gsWildlifeDebugAnimation
Toggle shows/hide animal animation information.
gsWildlifeDebugId
Toggle shows/hide all wildlife animal id.
gsWildlifeDebugSteering
Toggle shows/hide animal steering information.
gsWildlifeToggle
Toggle wildlife on map
gsWiperStateSet
Sets the given wiper state for all vehicles
gsWoodCuttingMarkerVisiblity
Enables/disables chainsaw woodcutting marker
gsXMLGenerateSchemas
Generates xml schemas
listEntities
Print detailed entity list
listResources
Print detailed resource list
parallelRenderingAndPhysics
Enable parallel rendering and physics
q
Quits application
quit
Quits application
Other commands pt 2 (Game Version: 1.1.1.0 b14227)
reloadAnimalConfiguration
Reload configuration data for animals in husbandires
setAsymmetryFactor
Set CornetteShrank asymmetry factor [0..1]
setBloomMagnitude
Sets bloom magnitude [0..1]
setBloomThreshold
Sets threshold for bloom mask computation
setCirrusCloudDensityScaling
Sets cirrus cloud coverage scaling factor
setCirrusCloudVelocity
Sets cirrus cloud velocity
setCloudBaseShapeScaling
Scales sampling position of base cloud shape texture
setCloudErosionScaling
Scales sampling position of cloud erode texture
setCloudNoiseVelocity
Sets Volumetric Noise Scroll-Velocity
setCloudPrecipitation
Sets cloud precipitation coefficient [0 1]
setCloudScatteringCoeff
Sets cloud scattering coefficient
setDLSSQuality
Set DLSS Quality
setDoFBlendWeights
X-fade distances d0, d1, d2
setDoFBlurArea
DOF Blur Area, top left(x,y) bottom right(x,y), x,y in [0 1]
setDoFFarCoC
Set DoF far CoC radius
setDoFNearCoC
Set DoF near CoC radius
setDoFParams
DOF parameters, nearCocR, endNearBlurDist, farCocR, startFarBlurDist, endFarBlurDist
setFogPlaneHeight
Set fog plane top height [0..1000]
setFogPlaneMieScaling
Scale fog plane mie scattering coefficient [0.001..1000]
setHistogramLogLuminanceRange
Histogram Luminance Range [min max]
setMSAA
Set MSAA
setMieScaling
Scale mie scattering coefficient [0.001..1000]
setMinMaxLuminanceAdaption
Luminance Adaption Range [min max]
setMoonSizeScale
Scales Moon disc size
setPostFxAA
Set Post Process Anti Aliasing
setSSAOIntensity
SSAO intensity
setSSAORadius
world space radius size
setSSAOSamples
num samples in SSAO computation [1..12]
setSunBrightnessScale
Scales Sun brightness
setSunSizeScale
Scales Sun disc size
setTextureStreamingBehavior
Set texture streaming behavior
setTextureStreamingPaused
Set texture streaming pause
setVolumetricCloudVelocity
Sets Volumetric-Cloud Wind-Direction and -Velocity
showFps
Show frames per second
The End
I know its not really comprehensive guide explaining every command in detail, but I hope it helps some of you. I saw most people used to edit save files and/or use mods for most of the stuff that can be done using console commands so I made this.
Enjoy and have fun!