Space Exploration LTN integration

by harag

Allows LTN to make deliveries through SE's space elevator

Content
2 years ago
1.1
25.9K
Trains

i [missing prerequisite] Disable LTN integration while elevator is inoperable

2 years ago

I ran into an issue where my holmium production came to a stop, eventually shutting down the elevator due to a shortage of cables. LTN continued to dispatch many trains and clogging up the network leading up to the elevator. Propose turning off the integration automatically when the elevator is shut down due to maintenance to prevent a mass queue of dispatched trains sitting around with cargo loads until the elevator is ready.

2 years ago

As far as I can tell "built and operable" is state that's only known internally in SE. It's not a piece of information that can be observed from the outside. There's also no event a mod like this one could listen for.

A simple in-game solution would be to set up an alert speaker that warns you if your cable stockpile is below, say, 1000, so you'd have ample time to fix the situation before it turns into a real problem.

2 years ago

Considering my example one of the many possible ways for the space elevator to stop working, I'll ask if the Space Exploration modder can some how make this possible for LTN integration to work better.

2 years ago

To solve this problem, I used the power availability. Since power isn't supplied until the cable is built, I put an accumulator on the receive-power side (orbit for me) and output a signal (radius=1 since it looks most like an elevator) if the accumulator has a 100 charge.

Then I have my LTN stations enable/disable based on this. (I actually change the station ID# because conditionally disabling a station that has a train on the way can be problematic.)

2 years ago
(updated 2 years ago)

In my opinion waiting until the elevator actually runs dry is way too late because it causes maximum disruption. Power transfer will stop and it will take time before the elevator becomes operational again, even if enough cables are available. So an early warning system is advisable and that can be done by simply counting cables in a chest.

Also, not having to run wires to each station is one of the nice things LTN provides. Doing so just to disable the stations is kind of counter-productive.

New response