Page 1 of 1

autopilot_destination property discussion

Posted: Sat Aug 15, 2020 10:25 pm
by Linver
Hi again, and wishes again to all dev for the release!
A question, why don't insert autopilot_destination with a sort of autopilot_enabled property under vehicle prototype instead of enable it only in the spidervehicle prototype if inhert vehicle prototype? That would have left more open possibility to modding on vehicles.

Re: autopilot_destination property discussion

Posted: Sat Aug 15, 2020 11:44 pm
by Rseding91
Because that's not how any of the game logic works. "vehicle" is an abstract type; you can't create a "vehicle" in game. You can create a Car, a CargoWagon, a Locomotive, but all of those have distinct sets of behavior. You can't apply a generic autopilot system to any of them; it would be specific to each.

Trains already have that. Cars are designed to not be that; use trains. The spider was a brand new thing and so brand new logic was created, implemented, and tested for it.

Re: autopilot_destination property discussion

Posted: Sun Aug 16, 2020 7:02 am
by Linver
Make sense, thanks for the answer