GroupMove 1.0

GroupMove 1.0

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

GroupMove 1.0

Post by TheFatController »

Image

This makes groups of units play a bit nicer with springs pathfinder update by moving them around the point you told them to go in a similar formation.

Overrides the default move command for groups of units, no special keys required.

Note: Currently buggy with Custom Formations < 3.1, please get latest custom formations widget here.

Download: unit_group_move.lua
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: GroupMove 1.0

Post by JohannesH »

Does it differ from the engine ctrl-click movement besides being default?
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: GroupMove 1.0

Post by Jazcash »

Worked better than the current pathfinder most of the time, but still had units turning around going the opposite direction they were supposed too for a while then turning around and going the way they were ordered every other command...
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: GroupMove 1.0

Post by JohannesH »

OMG... I just tested new Spring, the pathfinder O_O

Why would the heatmapping be included in official release when it's so obviously not making anything better, which can be so easily noticed by maneuvering any group of units around...
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: GroupMove 1.0

Post by TheFatController »

JohannesH wrote:Does it differ from the engine ctrl-click movement besides being default?
Yeah, it scales to behave more like a normal move order:
Image
Left is Ctrl, Right is GroupMove
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: GroupMove 1.0

Post by Forboding Angel »

Heatmapping can be disabled modside easily.

heatmapping=false; in the movedef
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: GroupMove 1.0

Post by hoijui »

next release (should come soon, most likely this week still) will have heatmapping disabled by default.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: GroupMove 1.0

Post by Google_Frog »

Disabling heatmap with movedefs doesn't entirely fix the pathfinding. The old version pathfinding is still better.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: GroupMove 1.0

Post by Kloot »

81.2 also used heatmapping, but the heatmap code worked differently than it does now (there were a number of implementation changes, which simply promoted it from under- to over-effective).
JohannesH wrote:Why would the heatmapping be included in official release when it's so obviously not making anything better
You know those RC's that were posted and not tested by anyone? They're there to catch things like this.
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: GroupMove 1.0

Post by KaiserJ »

whats heatmapping
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: GroupMove 1.0

Post by TheFatController »

Just to add that this widget isn't intended to be my own fix for the pathfinding, it's something I wanted to make for a while and the behaviour I witnessed with the new pathfinder prompted me to finally give it a go.

Has anyone tried it yet, any feedback?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: GroupMove 1.0

Post by Forboding Angel »

Group moves don't ALWAYs happen. Sometimes I have to double rightclick to get a formation type of thing. That said, this widget is awesome.
User avatar
Hobo Joe
Posts: 1001
Joined: 02 Jan 2008, 21:55

Re: GroupMove 1.0

Post by Hobo Joe »

The idea is good but it conflicted with my ingrained habits so it ended up being more frustrating than useful for me.

Not to put down your work though, it is a good widget, just not something that really adds anything significant for me.
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: GroupMove 1.0

Post by TheFatController »

Forboding Angel wrote:Group moves don't ALWAYs happen. Sometimes I have to double rightclick to get a formation type of thing. That said, this widget is awesome.
Sometimes if you drag even a tiny amount custom formations will steal the order and turn it into a normal move
User avatar
Niobium
Posts: 456
Joined: 07 Dec 2008, 02:35

Re: GroupMove 1.0

Post by Niobium »

TheFatController wrote:
Forboding Angel wrote:Group moves don't ALWAYs happen. Sometimes I have to double rightclick to get a formation type of thing. That said, this widget is awesome.
Sometimes if you drag even a tiny amount custom formations will steal the order and turn it into a normal move
Custom Formations 2 v3.2 now released.

Changelog:
- Very short lines (<20 units) are now treated as a single-click order
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Re: GroupMove 1.0

Post by TheFatController »

Niobium wrote:
TheFatController wrote:
Forboding Angel wrote:Group moves don't ALWAYs happen. Sometimes I have to double rightclick to get a formation type of thing. That said, this widget is awesome.
Sometimes if you drag even a tiny amount custom formations will steal the order and turn it into a normal move
Custom Formations 2 v3.2 now released.

Changelog:
- Very short lines (<20 units) are now treated as a single-click order
Noice
User avatar
JohannesH
Posts: 1793
Joined: 07 Apr 2009, 12:43

Re: GroupMove 1.0

Post by JohannesH »

Kloot wrote:81.2 also used heatmapping, but the heatmap code worked differently than it does now (there were a number of implementation changes, which simply promoted it from under- to over-effective).
JohannesH wrote:Why would the heatmapping be included in official release when it's so obviously not making anything better
You know those RC's that were posted and not tested by anyone? They're there to catch things like this.
Wouldn't it make the most sense, that the person making the changes to the code would be trying it out too and tweaking to values that work? Instead of just throwing it to the public without testing, who aren't smart enough to comment much on it besides repeatedly telling that it sucks.
I understand that devs work on limited time, but this happening again and again wastes everyones time :(
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: GroupMove 1.0

Post by Neddie »

They do test these things, but the time investment is prohibitive and developers come from an intrinsically disadvantaged standpoint when it comes to evaluating their work. Too close to the problem.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: GroupMove 1.0

Post by Forboding Angel »

Niobium wrote:
TheFatController wrote:
Forboding Angel wrote:Group moves don't ALWAYs happen. Sometimes I have to double rightclick to get a formation type of thing. That said, this widget is awesome.
Sometimes if you drag even a tiny amount custom formations will steal the order and turn it into a normal move
Custom Formations 2 v3.2 now released.

Changelog:
- Very short lines (<20 units) are now treated as a single-click order
Care to share where we get this little masterpiece?
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: GroupMove 1.0

Post by very_bad_soldier »

Forboding Angel wrote: Care to share where we get this little masterpiece?
You ruined my day.
Post Reply

Return to “Lua Scripts”