November 29th, 2024
What's New
I'm happy to announce that LST v2.0.4 is now available. This update is primarily a bug-fix release, but it also adds two small but impactful features.
LST v2.0.0 introduced multithreading to move LST's core logic off the sim thread. However, a small number of users reported a major performance degradation. Testing traced this back to a misplaced sleep, which could cause the thread scheduler to take a long time to resume the sim's main thread. Thanks to the testers who helped diagnose the issue; it is now fixed.
Random Lateral Offset
By default, objects on a route follow it exactly. Random lateral offsets let objects move perpendicular to the route, making their distribution less orderly and more natural. You can specify the random lateral offset in each object's .lst file.
Offsets can be a problem at certain points, such as doorways. To account for this, you can specify a multiplier for the lateral offset at each waypoint using the RandomOffset,multiplier property in WED.
Random Speed
By default, all objects use the same speed for each leg of a route. Speed variation on a per-object basis wouldn't make much sense on its own, since objects could collide. With per-object random lateral offsets, objects can pass each other. You can also specify a random speed multiplier.
The multiplier is applied to the leg speed. For example, a random speed multiplier of 0.5 on a leg with a speed of 10 kph results in objects traveling at speeds between 5 and 15 kph.
Closing
I've also implemented a beta channel, so future updates will go through it first. If you have any questions or run into any issues, please don't hesitate to reach out!