http://springfiles.com/2670
This is my first attempt at a customizing a widget & only learnt lua this week, so don't flame me to much :p
This is a modification of customformation2 (v3.0) by Niobium Which is based on 'Custom Formations' by jK and gunblob.
It puts units into upto 3 rows ordered by hp/cost. construction units always at the back. adds weighting to units w/ high trajectory & <90% health to move to back. enjoy
todo:
better ordering (units which cant shot over each other all need to be in the front row (and those that can in second<)). ensure aa units are at the back.
align units to centre if not in the front row.
all feedback welcome