How to enable the console

Game Version: All versions
GE Version: 4.x and later


Modding Index | Misc. Modding Tutorials


A quick rundown of how to enable the in-game console and development controls, and what they do.

When doing maps/mods for Farming Simulator, a handy tool - that is already in the game - and I would say a must have enabled by all who makes maps/mods; the console and development controls.

To enable the console and development controls, you need to have run Farming Simulator once beforehand, as it needs to generate a file called Game.XML. - Remember to quit Farming Simulator completely.

That file is located in the same folder that contains the MODS folder, which is (on an English Windows 7):

%USERPROFILE%\My Documents\My Games\FarmingSimulator2011
%USERPROFILE%\My Documents\My Games\FarmingSimulator2013
%USERPROFILE%\My Documents\My Games\FarmingSimulator2015
%USERPROFILE%\My Documents\My Games\FarmingSimulator2017\

Find the file Game.XML and open it with Notepad++ (link) - DO NOT use the regular Notepad, as it will not present the lines correctly.

Find the positions, as indicated in this image, and change the value from false to true:

http://gallery.fs-uk.com/90139_04_03_13_9_24_16.png

Save the Game.XML file, and start Farming Simulator again.

Now that both the console and development controls have been enabled, you have some options, while in-game, to see what is happening “behind the curtain”.

The console - which has two modes - is activated/toggled using the tilde key (link), which normally is placed to the left of the 1 key and above the Tab key. However some keyboard-layouts may have it placed elsewhere.

The first mode of the console, is reading mode. Note that the PageUp and PageDown keys will scroll up/down in the console lines.

The second mode, is the command mode, where you can type in commands - among those the quit command, to quickly shutdown Farming Simulator, if in case something went wrong when loading a map/mod.

Pressing the tilde key a third time, closes the console.

Some console-commands of interest:

- q

- quit

- exit

- showFps < true | false >

- gsSetDayTime <hour>.<fraction>

- gsToggleFlightAndNoHUDMode

- gsDrawGuiHelper <false | decimal-value>

- gsSetFOV <integer-value>

- listResources

There are other console-commands, which can be found by continuously pressing the Tab key.

For the development controls, some function-keys now toggles extra special rendering and/or texts on the screen: - F2 = FPS / frames-per-second display - F4 = wireframe mode - F5 = two modes; a) Collision-/Trigger-/Wheels-wireframes and b) Light-wireframes - F8 = several technical statistics texts

Addendum 2013-04-28, due to comment:

When gsToggleFlightAndNoHUDMode is enabled, use the following letter keys:

- J = enable/disable “flight” of avatar.

- Q / E = increase/decrease “flight” (hover) of avatar when NOT in a vehicle. Hold SHIFT for faster movement.

- O = hide/show HUD, which includes; helpbox, clock and panel-bars for vehicle/money.

References:

http://fs-uk.com/forum/index.php?topic=95783

http://fs-uk.com/forum/index.php?topic=87507

http://fs-uk.com/forum/index.php?topic=61813.msg251535#msg251535

http://fs-uk.com/forum/index.php?topic=70708.msg320249#msg320249

http://fs-uk.com/forum/index.php?topic=102735.msg617922#msg617922


Original Author: Decker_MMIV | Date: March 04, 2013

Modding Index | Misc. Modding Tutorials