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
28 days ago
0.17 - 1.1
2.44K
Transportation

i wishlist: better navigation with "hovercraft" mod and "hovercraft drifting" turned on

3 years ago

G'day. The hovercraft mod has a "drifting" feature which I quite like. It plays ... oddly with autodrive. Basically, when the vehicle corners, it drifts, and autodrive seems to cause it to spin in place fairly frequently to hit a point. It'd be nice if that was smoother.

Now, this could be the core game or something, so I'm sorry if I'm asking the wrong place for this. Thank you.

3 years ago

Hi! I think this behavior comes from a little cheat in the code:

-- cheat! everything instant tank-steers when in autodrive
car.orientation = calc_angle(car.position, waypoint)/360

I may take a look at drifting later on (work demands a lot of time at the moment), but I can't promise that I'll get it to work.

New response