Console Helper v1.0.0.1


Console Helper v1.0.0.1


Version 1.0.0.1
Fix bug in chV command (gfind replaced by gmatch)

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

Of course, many other things can be called or displayed using the ConsoleHelper’s commands as well.
Have fun with this
BigBlueHH

Author:
BigBlueHH





What is FS22 mod use for:

Have you ever tried using Farming Simulator 22 mods? If not, it’s high time you do. This is the perfect place to find everything that you need to know! Farming Simulator 22 Mods will have a huge impact on your initial game. We are not saying that the original game is not good enough, but there is always room for improvement and extra challenge. We believe that you might want some more tools, more extensive choice of vehicles and other elements in your game. Also, the game itself provides you with different mods in order to solve disturbing bugs. Overall, FS22 mods help to lift the experience of the game, which makes it more interesting. LS 22 mods will enable you to create your own specific and unique experience and since there are many different FS22 mods, you can slowly introduce them into your game and make it completely your own. On the plus side, the LS 22 mods are all completely free, so don’t be afraid to try them out because you will not be charged any hidden fees. So, now you should definitely be convinced to download Farming Simulator 22 mods and begin customize your game!



You may also like...

Leave a Reply

Your email address will not be published.