Renai Transportation and LTN interaction

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
AnotherRookie
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Nov 05, 2020 8:53 am
Contact:

Renai Transportation and LTN interaction

Post by AnotherRookie »

I've been playing around with Renai Transportation train jumps. A train jumping invalidates its schedule and another train is dispatched, causing a death spiral of duplicate schedules. Is it possible to fix this behavior with a simple tweak, or would it require some extensive coding?

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Renai Transportation and LTN interaction

Post by Optera »

Seems like Renai Transportatio rebuilds trains without raising proper events.
I'm already supporting train id migration if on_train_created is used properly.

AnotherRookie
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Nov 05, 2020 8:53 am
Contact:

Re: Renai Transportation and LTN interaction

Post by AnotherRookie »

Looking at the id migration, it only works if the two trains are related correct? In Renai Transportation the train is actually being destroyed then a new train created after the jumping animation finishes, which can take a few seconds. Is seems like the train scheduler would have to know to wait before it reassigns the schedule. Also, the updated delivery would have to relate the destroyed train to its replacement train. Seems difficult to implement.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Renai Transportation and LTN interaction

Post by Optera »

Adding support for mods doing anything beyond decoupling, rotating/replacing and recoupling won't happen.

Post Reply

Return to “Logistic Train Network”