Apps Getting the proper commands out of Lua/ Phyton?

Hi guys,

Inspired by the digital display's that are around, I tried to make my own.
Reverse engineering some existing things, it was doable.
The problem starts when I want to take different values, that are not yet in there, like water temperature.

Now I opened up -I believe- ALL files there are.......and there are a LOT........but I didn't find the proper line to use.

For instance, it gets the lap count from "car.lapCount".
That part "lapcount".......I need that for the water temp. But "car.waterTemp" does not work, so there has to be a file stating all those things taken out of the game.

Does anyone know where I can find these commands/lines/whatever it is called?
 
If you use VSCode, then you can include the lua language server and the sdk from CSP. Then you have a code check and completion with lots of documentation.

Lua language server:

Inside VSCode use "install from VSIX" and choose the /assettocorsa/extension/internal/lua-sdk/vs-code-extension.vsix
 
Last edited:

Latest News

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top