I made some improvements to my atlastaxi widget, it now does more so it's now called "Lua keys".
For the key "C":
- If nothing is selected, then select Commander.
- If commander is selected (or any unit that can capture), then change to capture mode. Pressing c again goes back to default mode.
For the key "L":
- If no units are selected, do nothing, otherwise:
- order best transport to pick up selectd units.
- if additionally shift is pressed, instead of ordering transports, select the transport that will pick up selected units (center camera on first in array).
For the key "ESC":
- Disable exit nag and deselect current selection ("get out of menu" intention)
Version 1.2 has mostly improvements in transporter selection logic. It can now pick up many units, a whole selection. If there are many units to pick up, it will only notify when last 5 are picked up, but commander pickup is always notified.
The units to be picked up are sorted according to distance from first unit in selection, but it is still the units that order taxis and not the taxis that choose who to pick up. Therefore, it's first to order, first to serve.
New atlastaxi widget
Moderator: Moderators
New atlastaxi widget
- Attachments
-
- luakeys12.zip
- Version 1.2
- (20.23 KiB) Downloaded 17 times
Re: New atlastaxi widget
Tested with profiler and when loading about 500 units there is no impact on fps according to Profiler (which I think is weird, it still does make some tables and sorts them).