Suggestion for the 'right click & drag' feature

Suggestion for the 'right click & drag' feature

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Suggestion for the 'right click & drag' feature

Post by TradeMark »

Im talking about the ordering units into specific shape.

The arrow height should be graded, (just like the mass building feature is graded, you cant even try to build 100 buildings in small area, only few).

And also it would be good to show the lines where the units will go.

Its really easy to make, just some math for the thing which says how large the arrow is.

This is sample image how it would look like:
Image
Those white lines are the places where the units will be arranged.

Edit: explained more about 'grading'
Last edited by TradeMark on 29 May 2006, 17:40, edited 3 times in total.
espylaub
Posts: 205
Joined: 01 May 2006, 11:35

Post by espylaub »

I love the feature itself, with the exception of the fact that the units will all change positions if you give 2 of these orders in succession. Instead of just marching in a straight line they walk all over the place and bunch up. Maybe a feature to think about.
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

espylaub wrote:I love the feature itself, with the exception of the fact that the units will all change positions if you give 2 of these orders in succession. Instead of just marching in a straight line they walk all over the place and bunch up. Maybe a feature to think about.
yes, but however if they are properly lined up, and then given another line-move order in front of them they will more often than not go in a straight line forward.

Really good idea btw. You seem to be much more active than the actual devs color :-) (at least with small things)
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Post by Nemo »

Comp1337 wrote: You seem to be much more active than the actual devs color :-) (at least with small things)
Heh. The changelog thinks otherwise:
http://svn.berlios.de/viewcvs/taspring- ... ngelog.txt
User avatar
Comp1337
Posts: 2434
Joined: 12 Oct 2005, 17:32

Post by Comp1337 »

ok, i retract my statement.
User avatar
Aun
Posts: 788
Joined: 31 Aug 2005, 13:00

Post by Aun »

It'd be great if you could change the spacing of units like you can with a line of buildings, as some big units (Gollies, for example) just get stuck and move out of line.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

It'd be nice if they also pointed in the direction of the arrow when they got there and didn't push each other out the way.
User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

If you set the simple formation AI onto a whole b unch of units and then right click and drag them you get ghosts of the units. Setting it up like that would be optimal...
User avatar
Zoombie
Posts: 6149
Joined: 15 Mar 2005, 07:08

Post by Zoombie »

If there was a way to make units not push eachother out of the way, I would love it.

Lines make or break an EE battle, at least as the GD. That and, well, you know. Tactics.
User avatar
Min3mat
Posts: 3455
Joined: 17 Nov 2004, 20:19

Post by Min3mat »

well i think that units shouldn't mess up when given 2 line orders (Obviously it still helps ENOMROUSLY) but its quite unpretty, and not 100% effective :)
User avatar
EXit_W0und
Posts: 164
Joined: 22 Dec 2005, 01:33

curved line formation

Post by EXit_W0und »

I like this idea, I have another addition for once you're happy with this:
you could maybe have a curved line formation for if you want a group of units to surround a point in a claw formation, or perhaps like a spear head. It could be a realtively simple way of adding new formations, just by adjusting how sharp the curve is, and in which direction. Any thoughts?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

The main problems with all of this are two:

1. The pathfinding to get units into nice, neat rows doesn't work well at all.

2. Once in a line, it'd be really, really nice if you could take that same group and force them to stay at the same speed while moving, so that you could move lines around the battlefield. Or better yet, have a Group formed into a line automatically default to such behavior the next time they're moved, so that users aren't having to constantly fuss with them- once formed into a line or a box, they'd stay that way so long as the Group exists. That'd be very helpful for certain kinds of mod...
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

Argh wrote:2. Once in a line, it'd be really, really nice if you could take that same group and force them to stay at the same speed while moving, so that you could move lines around the battlefield. (...) That'd be very helpful for certain kinds of mod...
Like any mods that have units that move at different speeds?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Pretty much, yeah. But especially for mods designed around formation combat. Short of having pre-built GroupAIs and better pathing algorithms, this is a pretty big deal.
Post Reply

Return to “Engine”