Space Exploration LTN integration

by harag

Allows LTN to make deliveries through SE's space elevator

Content
2 months ago
1.1 - 2.0
26.7K
Trains

g [Invalid] LTN with this mod goes to 6ms update time with lagg.

2 years ago

Dont know why. Added it midgame and causes LTN to go lagging. On top noblespace tweaks also start taking 6ms. Removed this mod and all is working fine.

2 years ago
(updated 2 years ago)

"Lagging" as in "uses an inordinate amount of script time all the time"? How many trains and LTN stops in total?

What this mod does is collect LTN delivery data when LTN publishes them via events and then sets up the extra schedule entries to drive through the elevator. That activity should hardly be noticeable.

Actually driving through an elevator will indeed cause a short spike in LTN because that triggers a delivery update for every carriage that passes through the elevator. There's no way around that, LTN needs to know that a delivery has been switched to a new train on a new surface and update its internal structures.

I have no idea how any of this affects an at first glance totally unrelated mod. Could it be that what you are seeing with the tweak mod is its ore-update after a configuration change (I took a quick look through its control.lua)? Does that settle back down after a while?

2 years ago

Depending on the network it's possible for the amount of potential providers to increase a lot.
What you can try is:
1) Limit the amount of potential providers with NetworkID
2) Reduce LTN Setting "Updates per tick"

New response