Heavy Trucks: Autopilot


Autopilot for the trucks of Heavy Trucks (Vanilla+): they drive themselves between truck stops following a schedule, like trains.

Content
2 days ago
2.0
1.53K
Transportation Logistics Circuit network

g Stuck Pathfinding

15 days ago

Thank you for the Mod. It is exactly what i looked for and once used it feels like it really belongs into the game.

I have some occasional troubles with the path finding of the auto piloted trucks. Sometimes when in narrow space and the truck reverses a bit to find an angle into the bay it gets stuck seemingly on the corner of the bay. I also had one case where the truck would go endlessly in circles.
Both times i could resolve the issue by entering the truck and leaving again. That somehow reset the path finding and unstuck it.

I know that path finding isn't exactly an easy thing to just fix and i know there is no perfection to expect here. :)

My suggestion for a fix would be to try to (somehow?) detect for stuck trucks (not moving for some amount of time) or looping trucks and send them a "reset" in some way automatically, same way if the player entered and left the truck.

Thank you for your work, the mod is already impressive as it is.

15 days ago

Thanks a lot, glad it feels like part of the game! You're right: getting in and out makes the truck forget whatever manoeuvre it was stuck in and plan again from where it is. I'll make the trucks do that by themselves: if one hasn't made progress for a while (stuck on a corner, or going round in circles), it resets and plans a new route, the same as when you hop in and out. It'll come in the next update.

New response