Page 1 of 1

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

Posted: Tue Nov 20, 2018 6:17 pm
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.

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

Posted: Thu Jan 10, 2019 2:53 pm
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!

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

Posted: Thu Jan 10, 2019 3:00 pm
by Godmave
For my mod I just reset the control for all but one player to a neutral state, each tick.