allow_passengers also prevents driver?

Place to get help with not working mods / modding interface.
PFQNiet
Filter Inserter
Filter Inserter
Posts: 290
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

allow_passengers also prevents driver?

Post by PFQNiet »

Maybe I'm missing something but my expectation of `allow_passengers = false` is that a driver is still allowed, but passengers aren't. This doesn't seem to be the case, as it also prevents a driver.

Am I understanding it wrong or should I be requesting "allow driver but no passenger" as a feature?
Pi-C
Smart Inserter
Smart Inserter
Posts: 1759
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: allow_passengers also prevents driver?

Post by Pi-C »

PFQNiet wrote: Mon Dec 14, 2020 10:39 pm Maybe I'm missing something but my expectation of `allow_passengers = false` is that a driver is still allowed, but passengers aren't. This doesn't seem to be the case, as it also prevents a driver.
My take: The setting name uses the plural form, "passengers". However, vehicles based on the "car" prototype allow only one passenger plus one driver. So allow_passengers would include the driver. Perhaps the setting should be renamed to "allow_riders" to make the meaning clearer. (Question to the native English speakers: Does that distinction really make sense?)

I've another question: Does "allow_passengers" only apply to human players -- or can we still insert characters into a vehicle that has "allow_passengers = false"? In Autodrive, we insert a dummy character into vehicles without a human driver/passenger if we have to open gates shoot at enemies, and AAI Programmable Vehicles also depends on inserting dummies. If we couldn't do that, vehicles with "allow_passengers = false" wouldn't work with our mods.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
Post Reply

Return to “Modding help”