Economy in spring is a bit tricky. You can see how much metal and energy units cost but since spring isn't ordinary strategy this isn't enough. It's more important to know how it affects you income and expense per second. As result you have to build units by intuition. This widget aims to bring light into this area by providing you with (hopefully) all the information you might need.
Features:
Tooltip #1

- shows time and metal&energy per second needed to build chosen unit/building
- also shows how much energy&metal you'll have left after the unit/building is built
- if you don't have enough energy/metal to finish the unit/building, it shows time until stall
- it considers unit's guarding selected constructor/factory e.g.: if your factory is guarded by nano tower it build's faster but also spends more m&e
Tooltip #2

- shows how would time and metal&energy change if you order selected builder(s) to help construct pointed unit
- also shows energy&metal after the unit is finished or time until stall
Tooltip #3

- if no unit is selected and you move the cursor over a constructed unit it shows:
- time until completition
- metal&energy expense
- % of your total expenses spent on this unit
Tooltip #4

- build speed of selected builders/factory
- commanders build speed is always 100
What it can't do
- it doesn't support (and i am not sure it ever will) build queues
TODO
- resizing: the widget is sized for my 1280x800 laptop
i am aware of the fact that it might be too small at higher resolution or too big at smaller resolution
- though it's well optimized, the code is a bit messy and needs some clean-up
Change log:
version 1.02
- lot of bug fixing
- metal makers support - considers the impact of disabling MMs on the amount of energy (and metal) left.
If you don't use any metal controling widget/AI change metalMakersControled to false
- Time left information is now very precise. However the time shown assumes there's enough e&m to finnish the unit/building. Otherwise ??? is displayed next to the time.
- shows amount of m&e left even if inc>exp
- better spectators mode
- optimization and code clean-up
version 1.01
- fixed a typo that made the widget crash in certain situation (i am surprised noone complained)
- you can now adjust horizontal position of the widget - useful only for ppl who don't use default 3 column menu
version 1.00
- initial release
Download
http://spring.unknown-files.net/file/36 ... osts_1.02/