#Improved area unit reclaim

1 messages · Page 1 of 1 (latest)

ivory sapphire
#

Download (last update: 17.07.2023)

https://gist.github.com/L-e-x-o-n/fca8795fac2ae34b9fa75756bc1417d2

What it does

Improves the area reclaim order (reclaim + drag) when reclaiming units.
Some of these things are already possible without the widget with the use of Alt + Reclaim command, but this widget makes it easier and adds a few more improvements.

  • Giving a reclaim order in an area will reclaim enemy units without the need for additional hotkeys
    • If no enemy units present, reclaims allied units
  • If the order starts on a specific unit type then it will reclaim only units of that type
  • Works on construction turrets as well, they will only reclaim units in range of their buildpower

How to use

Select reclaim command and drag over an area to reclaim enemy units inside, can be used to reclaim your own units if no enemy units are present.
Start the order on a specific unit type then only that type will be reclaimed.

Gist

Easier and smarter area unit reclaim orders, priority system by team and unitdef - cmd_improved_area_reclaim.lua

#

Made it quick, more testing needed to confirm things work as expected.
Shared some example videos if anyone has suggestions/improvements.

oblique fog
#

Isn't the download link missing?

ivory sapphire
candid blade
#

This looks so nice!

ivory sapphire
pliant talon
#

Feedback : if i drag area, it will reclaim my building not stone or tree. And if i already queue reclaim stone it cannot queue for tree.

ivory sapphire
#

Yea, I also left in Spring.Echo for debugging... consequences of lack of tests...

#

Thanks for reporting will fix

ivory sapphire
#

Should be fixed now.
Priority is now:

    1. Features (metal/energy reclaim)
    1. Enemy units
    1. Own units
pliant talon
#

Thanks, i will try later