Console Helper v 1.0.0.1

FS22 mods

About the mod:

This mod is a little helper to debug mods or scripts easier. With the 3 commands, values can be read and written, functions can be called and tables can be read recursively. Everything that is output in the console is also directly available in the logfile.

The following commands are available:

Command: chT
– Read tables recursively, optionally you can specify the maximum depth (no specification = depth 1).

Examples:
– chT _G
– chT g_currentMission
– chT g_currentMission 10 (better not do this because it takes forever…)

Command: chF
– Call functions/methods, optionally pass up to 3 arguments.

Examples:
– chF g_currentMission.controlledVehicle:getFullName
– chF g_currentMission.controlledVehicle:setCruiseControlMaxSpeed 20
– chF g_currentMission.controlledVehicle:getCruiseControlMaxSpeed

Command: chV
– Read or write the value of a field.

Examples:
– chV g_currentMission.controlledVehicle.price
– chV g_currentMission.controlledVehicle.price 999999
– chV g_missionManager.missions.1.reward
– chV g_missionManager.missions.1.reward 50000

Version 1.0.0.1:
* Fix Bug in chV Command (gfind replaced by gmatch)

Credits:
BigBlueHH

How to install FS19 mods?

Firstly find a mod which you like and want to download. Then download a mod to your PC. Mods are usually in .zip format file. But sometimes it can be in .rar. If a mod file is a .zip format no needed additional actions. If a file is in .rar, then you must unarchive mod with software like WinRar or Zip7. Windows 10 users no need to use software for archives, Win10 itself has a feature to unarchive files.

The next step is to find mods folder in your PC. Usually, it is in Documents/My Games/Farming Simulator 19/2019. Open the "mods" folder and put downloaded .zip archive or unarchived .rar file to this folder.

Last step. Enjoy of FS19 mods!

Leave a Reply

Your email address will not be published. Required fields are marked *