Console Helper v1.0.0.1
0 235 108

Mod Console Helper v1.0.0.1 for Farming Simulator 2022
Version 1.0.0.1
Fix a bug in the chV command (gfind is replaced by gmatch)
This mod is a little helper to make debugging mods or scripts easier. With three commands, values ​​can be read and written, functions can be called, and tables can be read recursively. Anything that is output to the console is also directly available in the log file.
the following commands are available:
Command: chT
Recursive reading of tables, you can specify the maximum depth if you want (no BOM = depth 1).
Examples of
chT _G
chT g_currentMission
chT g_currentMission 10 (better not do this because it will take forever ...)
Command: chF
Calling functions / methods, if desired, you can pass up to 3 arguments.
Examples of
chF g_currentMission.controlledVehicle: getFullName
chF g_currentMission.controlledVehicle: setCruiseControlMaxSpeed ​​20
chF g_currentMission.controlledVehicle: getCruiseControlMaxSpeed
Command: chV
Read or write down the field value.
Examples of
chV g_currentMission.controlledVehicle.price
chV g_currentMission.controlledVehicle.price 999999
chV g_missionManager.missions.1.reward
chV g_missionManager.missions.1.reward 50,000
Of course, many other things can be called or displayed using ConsoleHelper commands.

Credits: BigBlueHH

Photo


Download16 KB


TAGS:Console, Helper, V1.0.0.1

SIMILAR MODIFICATIONS

COMMENTS
avatar