Selection Marquee behaviour

Selection Marquee behaviour

Requests for features in the spring code.

Moderator: Moderators

Post Reply
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Selection Marquee behaviour

Post by Warlord Zsinj »

I'd like to see this be implemented as default in Spring. I think it should be hard coded, but if someone would like to get it done with lua, go for it.

Essentially, I think that when you drag out a selection bracket over a number of units, containing combat units, construction units and factories, it should only select the combat units.

If no combat units are present, the selection marquee works normally. You can select groups of construction units, groups of factories, etc.

Now, to allow people to still do it the old way should they wish (sometimes you might want too), I suggest that holding a button while drag-selecting should allow normal behaviour (that is, selects everything within the marquee).

I say that the new version should be the default, and the button should be the alternate simply because after playing SupCom competitively for a while, which has this function, it really is just a far superior selection method.

Generally when you are ordering large amounts of units, you only want to select your combat troops. Quite often you will accidentally select a con unit and move him away from his task, losing his construction que and possibly whatever he was building. This also happens with factories, when I find myself regularly having to reset rally points because I've given the factory an accidental new rally point while moving groups of units.

This function allows you to safely just drag a marquee over your whole base and select any combat units there without worrying about disrupting your economy. It also makes it easier to run both combat manuevres and reclaiming/repairing operations at the frontlines.

On the other hand, when you are selecting construction units and factories, you are far more commonly doing this in a one-by-one basis due to the nature of the units, and the selection system (I most commonly select con units and factories using ctrl+b anyway).

Again, sorry if you can already do this and I'm just not aware of it. I'm starting to play spring competitively a lot more now that we're beta testing IW, and I'm missing a lot of abilities that were second nature in SupCom.

EDIT: Actually, if someone was going to work on this, I think a more robust system would be to allow mod-makers to be able to set what units are selected in a marquee when a certain button is pressed. For example, S44 could make it that when you press 'A' and drag a selection box, only aircraft (or, only fighters) are selected. IW could make it only infantry are selected when you depress 'I', etc. And obviously you'd be able to do all of the above suggested stuff too. (note: still think 'only select combat units if they are present should be default though ;) )
Last edited by Warlord Zsinj on 15 Jun 2008, 06:01, edited 1 time in total.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Selection Marquee behaviour

Post by Peet »

How would you reliably define "combat units" engine-side?
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Re: Selection Marquee behaviour

Post by Warlord Zsinj »

Well, you might need to make it mod-define able (that might be preferable - see recent edit of main post), but for a blanket rule you could use 'anything with a weapon' or 'anything that doesn't build' - though I know most mods have a handful of exceptions to those rules. Mod defineable would be the most robust.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Selection Marquee behaviour

Post by LordMatt »

This might well be a better default. One usually selects con units specifically, or in con unit only groups, but wants all of the units with weapons typically. Special units like the commander might need to be treated specially, however.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Selection Marquee behaviour

Post by Gnomre »

I just made a widget for this. Right now it just operates on the assumption that a combat unit is a unit with a weaponrange > 0, though additional filters could be added. Holding alt while selecting will select everything regardless of the filter. Works with additional selections too, as long as alt is held (for example, say I have con unit + combat unit selected. To select a factory additionally, I'd have to hold alt+shift).

I'll leave it up to Zsinj whether or not to hoard it or release it now, though. He has a thing for showing off shiny new things exclusively :P

[edit] Of course, considering it only took me a few minutes to make, I'm sure someone else would be able to make a better one in the meantime :(
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Re: Selection Marquee behaviour

Post by Warlord Zsinj »

I don't mind publically releasing it; it's not a super secret massive-gameplay change feature, and I think it'll make everyone's life a little easier, whether playing BA, s44 or any other mod.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Selection Marquee behaviour

Post by KDR_11k »

Peet wrote:How would you reliably define "combat units" engine-side?
I'd go with canAttack as a default and a separate tag for specifics.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Selection Marquee behaviour

Post by Forboding Angel »

+1000

DO WANT!
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Selection Marquee behaviour

Post by rattle »

Ingame options to toggle these things on and off would be cool as well and yes, that's a good idea. Every recent RTS got this as default or made it an option.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Selection Marquee behaviour

Post by Forboding Angel »

pls maek release :-)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Selection Marquee behaviour

Post by AF »

I believe this should be possible via lua widgets, now if only someone would step up and do the job
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Selection Marquee behaviour

Post by Peet »

AF wrote:I believe this should be possible via lua widgets, now if only someone would step up and do the job
gnome wrote:I just made a widget for this.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Selection Marquee behaviour

Post by AF »

Peet wrote:pictures or it didn't happen
Post Reply

Return to “Feature Requests”