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 would make you race in our Club events

  • Special events

    Votes: 44 26.5%
  • More leagues

    Votes: 32 19.3%
  • Prizes

    Votes: 31 18.7%
  • Trophies

    Votes: 17 10.2%
  • Forum trophies

    Votes: 11 6.6%
  • Livestreams

    Votes: 27 16.3%
  • Easier access

    Votes: 92 55.4%
  • Other? post your reason

    Votes: 27 16.3%
Back
Top