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
10 days ago
0.17 - 2.0
3.39K
Transportation Combat Logistic network Circuit network

i Drive-to-pin

a month ago
(updated a month ago)

Simple idea: clicking with the remote selected on a pin (below the minimap) drives to that location. (Actually coding it? Maybe not-so-simple. :grin: )

As <ALT-MOUSE1> on any point in the map instantly creates a pin, this addition would make driving to common locations downright trivial.

Does that sound feasible?

13 days ago

I just checked: Unfortunately, this doesn't work because clicking on a pin doesn't raise an event Autodrive could respond to. Nice idea, but I don't see how I could implement it …

On a hunch, I asked ChatGPT about it. I have NO idea if it is hallucinating or not, but this is what it had to say:

https://chatgpt.com/share/68db2a2d-35b4-8007-8ae1-d56713effe68

8 days ago

I haven't really played the game in years, so I may be missing something. However, I marked a car with the remote control, removed all fuel from fuel inventory + trunk, and added a fuel sensor. This would result in an alert. Clicking on the alert icon opens an "Alert overview" window, where you can use the button on the very left to pin individual alerts below the minimap.

While modding, I always use Creative Mod. If you open its window, click on "Modding" and then "Events", you can select which events it should listen to. I've selected all events, with option "Print events" enabled. Clicking on the pin put me in map view and raised on_player_controller_changed – which is useless for what you want. I could add a handler for on_player_clicked_gps_tag, but I suppose that wouldn't be practical because it would respond to clicks on all GPS tags: If you've got a selected vehicle and accidentally clicked on a GPS tag somewhere in the chat window, the vehicle would try to path there (if it was on the same surface).

New response