Page 3 of 3
Re: Waypoint Dragging Widget
Posted: 14 Aug 2009, 07:35
by manolo_
small suggestion:
could change the name of the widget for the ingame lua-list
Re: Waypoint Dragging Widget
Posted: 14 Aug 2009, 20:20
by Caydr
FYI it'll be renamed in AA to "Queue Dragging".
Re: Waypoint Dragging Widget
Posted: 18 Aug 2009, 16:48
by manolo_
if u make a row of dts, the widget fails. so could the widget be disabled for making buildingareas (with shift, ctrl and/or alt)?
Re: Waypoint Dragging Widget
Posted: 18 Aug 2009, 19:37
by aegis
Caydr wrote:FYI it'll be renamed in AA to "Queue Dragging".
that means people who manually installed it will have two versions active and fighting.
Re: Waypoint Dragging Widget
Posted: 18 Aug 2009, 19:56
by TheFatController
BA now contains a modified version of this with smaller drag circles and buildspot moving disabled (as it stops you un-queueing build orders), works well.
Re: Waypoint Dragging Widget
Posted: 18 Aug 2009, 20:04
by manolo_
TFC, mind if i upload it to springdownloader as newest version?
Re: Waypoint Dragging Widget
Posted: 18 Aug 2009, 22:52
by Caydr
nevermind
Re: Waypoint Dragging Widget
Posted: 18 Aug 2009, 23:49
by TheFatController
manolo_ wrote:TFC, mind if i upload it to springdownloader as newest version?
It's not really an improvement per se just some changes I wanted to make for the default BA behaviour
Re: Waypoint Dragging Widget
Posted: 19 Aug 2009, 01:53
by Caydr
manolo_ wrote:TFC, mind if i upload it to springdownloader as newest version?
It's not an actual improvement per se, he just removed a recently-added feature and changed a number. The changed number most likely makes it more difficult to move queues when zoomed out. In some peoples' opinion it would probably be a regression.
Re: Waypoint Dragging Widget
Posted: 19 Aug 2009, 02:37
by Caydr
I was able to fix the issue with not being able to remove buildings from the queue by adding this:
Code: Select all
if (not meta) then return false end
directly above this line:
Code: Select all
if (not shift) then return false end
So you need to have both shift and meta held down in order to do dragging, but holding down just shift mimics old behavior. Adding another similar line elsewhere can disable the circle drawing unless you're holding down meta too.
It corrects the problem, but makes a new one visible: if you attempt to remove a building from the queue that's been moved, it doesn't work. As long as is hasn't moved yet everything works normally. It's as if it's being moved to a separate queue layer or something

Re: Waypoint Dragging Widget
Posted: 19 Aug 2009, 05:25
by R-TEAM
Hi,
TheFatController wrote:BA now contains a modified version of this with smaller drag circles and buildspot moving disabled (as it stops you un-queueing build orders), works well.
NICE

Have modify the widget self to disabled buildspot dragging, but with smaller drag circles it is more nice
Regards
R-TEAM
Re: Waypoint Dragging Widget
Posted: 19 Aug 2009, 05:29
by R-TEAM
Hi,
@Caydr
I get for the BA version, dragging a buildpoint is very rare (for me) but miss the abylity to delete it from the queue is hard.
Dragg most times only waypoints and patrol/attack points ...
Regards
R-TEAM
Re: Waypoint Dragging Widget
Posted: 19 Aug 2009, 23:03
by Caydr
I found the feature very useful in Supcom. Since AA will be a while yet, I'll just leave this lua out of it for now, hopefully this last known bug will be fixed in the near future.
Re: Waypoint Dragging Widget
Posted: 20 Aug 2009, 07:13
by manolo_
i tested the ba version and dunno why but i couldnt drag the waypoints anymore, i also see no circle
Re: Waypoint Dragging Widget
Posted: 20 Aug 2009, 07:22
by det
Gota wrote:CAn someone reuplaod this please.
Type CA much?
Re: Waypoint Dragging Widget
Posted: 25 Aug 2009, 20:06
by Caydr
I think I read in BA the dragging circle has been reduced in size since, for instance, if you had a bunch of queue items right next to each other and tried to drag them, they would get consolidated into one. I haven't checked to see how small it was made, but it's possible you're just not seeing it.
... or perhaps it's another widget that's somewhat broken in 80.2.
Re: Waypoint Dragging Widget
Posted: 25 Aug 2009, 20:31
by manolo_
i dont see this circles at the ba-version and kloots widget is nice, but fails when u build stuff
Re: Waypoint Dragging Widget
Posted: 03 Sep 2009, 10:34
by TheFatController
Found an issue in this in BA so i've had to disable the circles in the most recent release.
Extreme example but if you create 100 construction aircraft and select them all then drag a line of 100 windmills the game will nearly lock up wit shift on as the widget is doing 10,000 checks for 'is mouse near waypoint' every draw frame.
I couldn't think of a way this could be optimised other than removing the circle previewing temporarily.
Re: Waypoint Dragging Widget
Posted: 03 Sep 2009, 10:53
by Gota
det wrote:Gota wrote:CAn someone reuplaod this please.
Type CA much?
no
Re: Waypoint Dragging Widget
Posted: 03 Sep 2009, 18:37
by aegis
tfc, abstract queued buildings to a "job" and assign builders to the job?
so lua handles 100 buildings being made, and handles 100 aircraft, telling them to make the buildings...
same thing can be done for waypoints - make a "path" and assign units to it.
then you're dragging an abstracted path or a building instead of directly affecting the queue of 100 units.
this also means you can queue up buildings without assigning workers to them, or leave old building queues standing while you wait for a free worker to assign.
lua-managed queues could also implement something like smart area reclaim as a single queue item rather than assigning all of the reclaim orders to each builder.

(this amount of commands could be implemented to look like the original area reclaim when appearing in the queue)
this idea is kinda like the waypoint option in c&c tiberium sun, if anyone's familiar with it.
(on a different note, I might've just thought of a fairly simple way to do an optimized tsp for reclaiming)