trainsaver


trainsaver is a dynamic screensaver that follows trains as they drive around

Utilities
a month ago
1.1 - 2.0
5.63K
Trains

g ✅ Remote Cancel?

1 year, 5 months ago

Hi,
Is there a remote call to cancel the trainsaver? I saw in the code there is a command for end-trainsaver. I've only interacted with other mods using a remote.call command.

thanks

1 year, 5 months ago

I don’t have a remote call to end trainsaver, but I can probably add one in the next release. At the moment the only remote call is for other mods to check if trainsaver is active for a player.
But also since trainsaver is basically just a lot of cutscenes, you could use player.exit_cutscene() to exit; making an immediate cut back to the character.

1 year, 5 months ago

Excellent! I can use those abilities for now. thanks.

1 year, 3 months ago

I have an additional remote command request.
Can you add a remote command to switch trains when in viewing mode?
(I haven't checked your code to see if this exists already.)

My intent would be to have a redeem where viewers could change the train that is being viewed. (e.g. 'next train')
thanks

1 year, 3 months ago

Hey hyspeed,

Thanks for the suggestion. It's actually something I've been considering adding for quite some time now so I was glad to know there's some interest! In version 0.0.26 I have added several functions to the remote interface, including a function to start/end/toggle trainsaver, and to navigate back/forward through a history of targets.
https://github.com/jingleheimer-schmidt/factorio-trainsaver/blob/primary/util/interface.lua

New response