Console Helper

V 1.0.0.1 mod for Farming Simulator 22

0
Downloads today
1,583
Downloads total
0
Comments

description

Moin,

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

Credits

BigBlueHH

  • 04 Dec 02:04
    Version 1.0.0.1

    Fehler in chV Command behoben (gfind ersetzt durch gmatch)

  • 27 Nov 22:28
    Version 1.0.0.0



Files

27.11 2021
Modhoster user rating
5.0 / 2 Votes

Empfehlungsrate

-/-      
noch nicht genug Stimmen

Do you think this mod should be featured?

V 1.0.0.1
Farming Simulator 22
FS22_ConsoleHelper.zip
15.3 KB 804
04. 12 2021 804
V 1.0.0.0
Farming Simulator 22
FS22_ConsoleHelper.zip
15.3 KB 779
27. 11 2021 779

0 Comments for Console Helper

You have to log in for writing comments.
You can also sign up for free, id you don't have an account yet - it only takes 5 minutes.

No comments yet.

Write the first comment...

      }