AAI Programmable Vehicles


Makes vehicles act like RTS units. Control them using a remote control handset, or program them with circuit conditions and zones. Can be used for base enemy base assault, patrols, friendly base navigation, vehicle-based mining, and more advanced applications. Works with vanilla and modded vehicles. Visit the mod portal page for a full feature list or the forums for tutorials.

Content
11 months ago
0.14 - 1.1
167K
Transportation Logistics Circuit network

g Feature: Follow <ID> + X, Y offset

7 years ago

It would be nice if one could send both follow ID and X,Y signals or angle/distance to an unit controller and then have the unit follow ID with the given X,Y offset or angle/distance relative to the vehicle. In the later case also relative to the angle of the vehicle.

So Setting "Follow ID 4, Angle 90, Distance 10" would have the unit always stick 10m to the right of ID 4. This would allow setting up a formation with a leader. Directing the leader would then move the formation while keeping it.

7 years ago

You can specify angle and distance in when ordering units to follow another. However, the angels are Absolute (NOT Relative), so it gets very wonky when the formation makes any significant changes from the original heading.

6 years ago

Send the unit id of the leader into a unit scanner, filter the X/Y from its output with a -10 to the X coordinate and send those results into the controller.

See my post on the forum thread for an example including blueprint. The hauler follows the miner at X-5 and Y-5 until it has a specified load to return.

6 years ago

You can use the sub XY signals for that.