A way to disable player controls for a train (or any vehicle for that matter)

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

A way to disable player controls for a train (or any vehicle for that matter)

Post by Godmave »

Like the flag operable, but causing player inputs to get ignored.

Use-case: For the train tunnels I split trains into subtrains. To prevent a player from hijacking one such subtrain I need to disallow control of all but the control subtrain (the one with the first driver or the front automatic one).

The ability to force a player into the passenger seat would do this too, but atm only car support that option.

CJ5Boss
Fast Inserter
Fast Inserter
Posts: 130
Joined: Thu Apr 05, 2018 11:55 pm
Contact:

Re: A way to disable player controls for a train (or any vehicle for that matter)

Post by CJ5Boss »

That would be a good control. I guess now you just have to trust your teammates. Maybe you could ask for a mod to be developed, or learn a bit of Lua and make one yourself!

User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

Re: A way to disable player controls for a train (or any vehicle for that matter)

Post by Godmave »

For my mod I just reset the control for all but one player to a neutral state, each tick.

Post Reply

Return to “Modding interface requests”