Factory grouping inheritance

Factory grouping inheritance

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Factory grouping inheritance

Post by Lupus »

It's described in the faq:
http://spring.clan-sy.com/wiki/Using_Selections
"If a factory is set to a group, all units built by this factory will also be automatically assigned to this group."

How to turn it off? I don't want my newly built units to be assigned to the same group.
User avatar
ianmac
Posts: 253
Joined: 02 Jul 2007, 01:40

Re: Factory grouping inheritance

Post by ianmac »

Can't you ctrl 0 to cancel the group?
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Re: Factory grouping inheritance

Post by Lupus »

Ctrl+0 does not cancel the group, but assigns the group into the key '0'.

So how to resolve my problem?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Factory grouping inheritance

Post by trepan »

Get someone to write you a simple widget.
If I recall correctly, there are already widgets
written to group units by type after they've
been built.

Edit:
A related widget:
http://www.caspring.org/browser/trunk/m ... _group.lua
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Re: Factory grouping inheritance

Post by Lupus »

Ok, thanks, I'll search for what the widgets can do.

However, I'd suggest that there should be an option in standard spring settings to enable/disable factory's group inheritance.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: Factory grouping inheritance

Post by ZellSF »

Just don't assign factories to groups in the first place.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Factory grouping inheritance

Post by REVENGE »

Spring's fgi is retarded. When you go to group select, the inherited units AND the factory are selected, so you end up controlling the factory as well. We need a mode like in OTA where units inherit the factory's group, but the factories are not selected when there are units in the group.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Factory grouping inheritance

Post by zwzsg »

Being able to move the factory waypoint as well as the already built units has its advantages however.
User avatar
kiki
Posts: 859
Joined: 05 Nov 2007, 03:06

Re: Factory grouping inheritance

Post by kiki »

wz2100 style ftw.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Factory grouping inheritance

Post by KDR_11k »

ZellSF wrote:Just don't assign factories to groups in the first place.
How else would you use Central Build AI on them?
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Re: Factory grouping inheritance

Post by Lupus »

I do want to assign my factories to groups, to control constructing units and waypoints without moving my screen on the factory.
In my opinion, it's essential function of keybindings.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Factory grouping inheritance

Post by KDR_11k »

It's useful to use the buildbars widget for that, no need for a group since you'll rarely have to give orders quickly to factories.
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Re: Factory grouping inheritance

Post by Lupus »

Because I really want to give orders to factory quickly, I want to do this solely by keyboard.

Give me a tip here:
how to set selecting a vehicle factory (either all vehicle factories or just one of them) using the selectkeys.txt? When I use SelectionEditor.exe the options "Name contains" or "Category" seem to not work. Anyway, I don't know how to use the field "Catogory".
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Factory grouping inheritance

Post by Pxtl »

Can the selectionkeys editor provide "deselect" or "select subset" functionality?

Because to me, that seems the best approach. You have a factory and it's units in a single group. You fetch the group, and then hit your hotkey for "just the factories" or "just the units".
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Re: Factory grouping inheritance

Post by Lupus »

Oh, Pxtl, this is a good idea. For factories I'll still be looking for a solution to do it with just 1 keystroke, however, selecting units in a way you described can be useful.

Still, I don't know how to use the feature of selecting building by name or by type using the "selectionkeys editor".
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Factory grouping inheritance

Post by ginekolog »

I have solution here. Ctrl+f selects all veh facts... adapt to your needs:

Control_A AllMap++_ClearSelection_SelectAll+
Control_B AllMap+_Builder_Idle+_ClearSelection_SelectOne+
Control_C AllMap+_Commander+_ClearSelection_SelectOne+
Control_E AllMap+_InPrevSel+_ClearSelection_SelectAll+
Control_F AllMap+_Building_NameContain_Vehicle+_ClearSelection_SelectAll+
Control_G AllMap+_Building_NameContain_Kbot+_ClearSelection_SelectAll+
Control_W Visible+_InPrevSel+_ClearSelection_SelectAll+
Control_X Visible+_Weapons+_SelectNum_5+
Control_Z AllMap+_InPrevSel+_ClearSelection_SelectAll+
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Re: Factory grouping inheritance

Post by Lupus »

Thanks, it works.

However, does anybody know how to turn off the default factory grouping inheritance? Is it hardcoded in the spring framework, or in the mod's code, or is in lua scripts?
Post Reply

Return to “General Discussion”