Page 1 of 1

Metal reclaim widget

Posted: 10 Jul 2009, 10:50
by Wombat
hello. i was wondering if someone considered making widget which allows you to reclaim metal only (on maps like altair). I see many players talking about this who would like to have widget like this. I belong to this group :D So question is - if someone, who knows how to create widget, could make one. I think it would be extremely usefull, especially on maps like altair or when you want to reclaim metal laying in group of trees. I know its kinda lame to ask someone to make something for me but im mega newb in widgets :]
thx and cya

Re: Metal reclaim widget

Posted: 10 Jul 2009, 11:15
by Google_Frog
Already done by aegis. I haven't used it in a while but I remember it working.

Re: Metal reclaim widget

Posted: 10 Jul 2009, 11:16
by manolo_
Google_Frog wrote:Already done by aegis. I haven't used it in a while but I remember it working.
its working

Re: Metal reclaim widget

Posted: 10 Jul 2009, 11:25
by Wombat
WOOT
didnt know that, many thanx, this gonna be extremely usefull widget.
thx thx thx ^^

Re: Metal reclaim widget

Posted: 11 Jul 2009, 11:24
by manolo_
use the spring downloader, there are a lot of useful widgets

Re: Metal reclaim widget

Posted: 11 Jul 2009, 11:47
by Jazcash
No, Aegis's widget is fuxored. Sometimes it will take the longest routes possible to reclaim.

Somebody made that widget where if you reclaim one building and drag the reclaim area over all other buildings, it will reclaim all the buildings of that type.

Would would be cool is if you could set modes on reclaimers to which they need to reclaim, Energy or Metal.

Re: Metal reclaim widget

Posted: 11 Jul 2009, 14:25
by Google_Frog
Somebody made that widget where if you reclaim one building and drag the reclaim area over all other buildings, it will reclaim all the buildings of that type.
I made that one, it even does mobiles and enemy units. http://spring.jobjol.nl/show_file.php?id=2048

Re: Metal reclaim widget

Posted: 11 Jul 2009, 14:29
by Niobium
JAZCASH wrote:No, Aegis's widget is fuxored. Sometimes it will take the longest routes possible to reclaim.
It depends, do you want to go closest to closest (Fast algorithm, easy to code, but can result in 'bad' last few) or shortest overall (Hard algorithm, traveling salesperson, etc), a lot of the time it depends on personal preference / how fast do you need the resource / is there a chance of hostiles.

The widget google made/linked to does allow area reclaim of a unit type, but doesn't do anything in way of optimization (Except for minimum commands) by the way.

Re: Metal reclaim widget

Posted: 11 Jul 2009, 14:56
by Jazcash
Google_Frog wrote:
Somebody made that widget where if you reclaim one building and drag the reclaim area over all other buildings, it will reclaim all the buildings of that type.
I made that one, it even does mobiles and enemy units. http://spring.jobjol.nl/show_file.php?id=2048
I just recently started using it, but have had to disable it cause of some bugs.

I wanted to reclaim some rocko wrecks so I dragged a reclaim circle around them, and instead they started to reclaim my alive rockos as well as the wrecks.

Re: Metal reclaim widget

Posted: 11 Jul 2009, 18:13
by aegis
iirc my widget was only optimized for stationary reclaimers... never got around to implementing a proper tsp... also should've been optimized with a single command feeding into more commands instead of just adding all of the reclaim commands to the queue...

Re: Metal reclaim widget

Posted: 12 Jul 2009, 01:34
by Google_Frog
JAZCASH wrote:
Google_Frog wrote:
Somebody made that widget where if you reclaim one building and drag the reclaim area over all other buildings, it will reclaim all the buildings of that type.
I made that one, it even does mobiles and enemy units. http://spring.jobjol.nl/show_file.php?id=2048
I just recently started using it, but have had to disable it cause of some bugs.

I wanted to reclaim some rocko wrecks so I dragged a reclaim circle around them, and instead they started to reclaim my alive rockos as well as the wrecks.
I made the widget to reclaim alive units so if you needed some extra M you could easily reclaim a group. It is suppose to reclaim all the alive units of that type. Wrecks already have an area command and why do you want to reclaim a type of wreck?

Re: Metal reclaim widget

Posted: 12 Jul 2009, 01:40
by Jazcash
Google_Frog wrote:I made the widget to reclaim alive units so if you needed some extra M you could easily reclaim a group. It is suppose to reclaim all the alive units of that type. Wrecks already have an area command and why do you want to reclaim a type of wreck?
I didn't want to reclaim a type of wreck, I just drew a circle in where a load of wrecks were to reclaim and instead of reclaiming the dead metal like it would with default, your widget made it reclaim my alive units...

Re: Metal reclaim widget

Posted: 12 Jul 2009, 02:57
by Google_Frog
JAZCASH wrote:
Google_Frog wrote:I made the widget to reclaim alive units so if you needed some extra M you could easily reclaim a group. It is suppose to reclaim all the alive units of that type. Wrecks already have an area command and why do you want to reclaim a type of wreck?
I didn't want to reclaim a type of wreck, I just drew a circle in where a load of wrecks were to reclaim and instead of reclaiming the dead metal like it would with default, your widget made it reclaim my alive units...
If the middle of the reclaim circle is over a unit when the mouse is released all units of that type will be reclaimed instead of wrecks. You've just got to make sure that you don't reclaim over live units when you want to reclaim wrecks.

If you are reclaiming over wrecks or emty space and it reclaims live units then that is a bug.