Page 1 of 1

widget request

Posted: 17 Sep 2007, 21:31
by 1v0ry_k1ng
hey, if anyone is thinking of a widget to make, a C&C style "scatter" button would be great, like a widget that allows a key to be bound to an order for a group to move outward in a circle. it would be great for fighting crawlers etc

Posted: 17 Sep 2007, 22:23
by AF
what like JKs custom formation widget?

select your units and then draw a circle with the move command and hey presto. Its an extremely useful widget

Posted: 17 Sep 2007, 22:24
by AF
Image

Posted: 18 Sep 2007, 05:12
by Warlord Zsinj
It's not quite the same as a 'flee in random directions!' button, though.

Good old X from C&C ;)

Posted: 18 Sep 2007, 07:12
by Dragon45
I miss the x button sorely in every RTS i ever played :(

Posted: 18 Sep 2007, 10:39
by AF
Its easy though, draw a circle or random line with the right mouse button.

Posted: 18 Sep 2007, 11:05
by chillaaa
by the time you've done that the incoming BB shell for example has annihilated your troops...

Posted: 18 Sep 2007, 12:32
by 1v0ry_k1ng
well, how hard would it be to make a variation that just makes them scatter in a circle without having to draw it when pressing a key, like, X

also, im getting that widget. finally, i can mock an opponent with units arrayed in the advantagous L O L formation

Posted: 18 Sep 2007, 12:34
by BigHead
Good idea that isn't hard to implement. I am working on three widgets right now so don't have time. However if noone makes it by the time I am finished with my widgets I'll do it.

Posted: 18 Sep 2007, 14:14
by Scram80
you can get something like that with present widgets...

F11 - enable CircleFormation LuaUI

/bind x luaui circle

select units and press x

. The only problem is that the units simply form a circle ensuring all of them are placed - and won't move wider out. But its a start at least (you could tweak the circle LuaUI to alter the radius e.g.)

Posted: 18 Sep 2007, 14:47
by rattle
Hmm...

How about taking the average center of the group of units you have selected (to get the direction they are supposed to move along, center -> unit's center) and have them move by a random or fixed offset in relation to the indivdual position. If the averaged distance between the group's center and the individual positions is greater than a fixed value they only scatter in random directions.

So your units would expand first and then scatter.

Posted: 18 Sep 2007, 14:48
by AF
If your units are so clumped together that they have that problem and get pwnt by bertha shells then your doing it wrong.

Almost every single move order I give involving multiple units is now a custom formation order.its not hard to drag the mouse in a long line near your forces clump. At most its a second or two and you already have a hand on your mouse with a finger over the right mouse button as it is.

Posted: 19 Sep 2007, 16:53
by 1v0ry_k1ng
what? if you have a big force, and for example, the enemy sends a crawling bomb at it and you cant destroy it before its too late, a quick scatter command might save a good amount of units. if you have your units all bunched up so they are freindly firing eachother, a quick scatter will spread them out. pyros are coming in doing massive damage to bunched units, spread out etc etc i can think of infinite uses for spread out moad