AutoSplitter - Stuck developing Live for Speed AutoSplitter
3 years ago
Basque Country

Some conext first:

This is an example run where the AutoSplitter would be relevant:

And this is the current version of my AutoSplitter:

The script works fine, it detects the current level and starts a new split when the player enters a new level, but that's all that it does.

I am having problems trying to figure out how to detect when the player enters the first level (Clicks GO in the menu, the "level" value gets loaded when the player selects it from the list or when it completes one level and presses "next lesson", not when clicking GO), I've tried detecting the menu strings but they are inconsistent, they are never in the same memory address and they sometimes do not change value when entering a level.

Can anyone with more AutoSplit experience guide me in the right direction?

If I am not mistaken the only things I need to detect are

* The player enters a level from the menu (Without completing the previous level).
* The player crosses the finish line (or the player exits a level, both would work) in the last level, as the level counter does not increase, and Strings like "finished" are already loaded beforehand, so their value does not change.

Thank you all in advance :)

Basque Country

Just a quick update, I finally got it working. I won't delete this post as I believe it might be beneficial as reference or example for future new AutoSplitter developers, mainly because the script is pretty simple compared to what I've seen for other games, but still works perfectly for LFS.

Walgrey likes this