Creating a factory group in BA

Creating a factory group in BA

Classic game design, maintained to please you...

Moderator: Content Developer

Post Reply
david714
Posts: 6
Joined: 28 Mar 2008, 20:22

Creating a factory group in BA

Post by david714 »

Hi, does anyone know how to make all units coming out of a factory belong to a certain group?

I remember that in older versions of spring/BA (more than a year back) you would give the factory a group number and all units coming out of that factory would belong to that group #. Or maybe I had some LUA that was doing it, I don't know... In the current version, units coming out of a factory are not part of any group, even if the factory does have a group number assigned.

thanks
David
klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: Creating a factory group in BA

Post by klapmongool »

Not exactly what you want but much better: a widget called Auto group.

http://widgets.springrts.de/index.php#23
Assigns new units from factory to predefined groups by unit types. Usage: ALT + [0-9] setups auto group from currently selected units. ALT + ~ deletes any autogrouping for given unit type. (German: Alt+Ö)

Type /luaui autogroup help ingame to get this help:

/luaui autogroup cleargroups -- Clears your autogroupings. /luaui autogroup loadgroups -- Toggles whether your groups are re-loaded for all future games. /luaui autogroup verbose -- Toggle whether a notification is made when adding/removing autogroups. /luaui autogroup addall -- Toggle whether existing units are added to group# when setting autogroup#.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Creating a factory group in BA

Post by Silentwings »

BA has that autogroup widget as part of it - there is no need to download it. Just press f11 and you'll see it already there in your widget menu.

It doesn't assign groups based on factories. What it does do is assign particular unit types automatically to a group, when they are built. Press f11 and hover your mouse over "auto group" in the widget menu for instructions on how to use it.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Creating a factory group in BA

Post by knorke »

You mean this?
Image

AutoAddBuiltUnitsToFactoryGroup=1
"Controls whether or not units built by factories will inherit that factory's unit group."
http://springrts.com/wiki/Springsetting ... ctoryGroup
Ares
Balanced Annihilation Developer
Posts: 558
Joined: 19 Mar 2011, 13:43

Re: Creating a factory group in BA

Post by Ares »

There was a reason this was changed from default behavior, it was discussed some time ago in a microing thread.

I think that the main issue was grouping factory and its units together had the affect of changing rally point every time u tried to micro your control-grouped army (its better to have army and factory on separate keys).

Fortunately Knorke posted the solution to your problem, and there are lots of very good grouping widget alternatives out there.
david714
Posts: 6
Joined: 28 Mar 2008, 20:22

Re: Creating a factory group in BA

Post by david714 »

Thanks guys for all the replies over the weekend. Much appreciated :)
Post Reply

Return to “Balanced Annihilation”