Autodrive

by Pi-C

Car equipment for train avoidance, logistic network integration, circuit network connectivity, fuel refill, ammo reload, vehicle repair, radio control, enemy targeting, and gate control.

Content
2 months ago
0.17 - 1.1
2.98K
Transportation Combat Logistic network Circuit network

i Group pathing

4 years ago
(updated 4 years ago)

At the moment controlling a group of vehicles doesn't work very well since they all try to park in the same location. Can this be changed so that when more than one car is selected, the additional vehicles select spots nearby? In order to avoid collision, you might also want each car to start driving on a slight delay so that they form a caravan instead of a glob.

I'd suggest doing a semi-circular grid, so parking would then look like:

One car:
_ _ _
_ X _
_ _ _

Two cars:
_ X _
_ X _
_ _ _

Six cars:
_ X X
_ X X
_ X X

And so on.

One final improvement to the logic might be to do a repath once the final (20 tiles? 10 %?) leg of the trip is reached, just to make sure the parking spot is still available. This would help alleviate the parking issue if they arrived on a moderate delay.

New response