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
Creating a factory group in BA
Moderator: Content Developer
-
- Posts: 843
- Joined: 13 Aug 2007, 13:19
Re: Creating a factory group in BA
Not exactly what you want but much better: a widget called Auto group.
http://widgets.springrts.de/index.php#23
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#.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Creating a factory group in BA
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.
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.
Re: Creating a factory group in BA
You mean this?

AutoAddBuiltUnitsToFactoryGroup=1
"Controls whether or not units built by factories will inherit that factory's unit group."
http://springrts.com/wiki/Springsetting ... ctoryGroup

AutoAddBuiltUnitsToFactoryGroup=1
"Controls whether or not units built by factories will inherit that factory's unit group."
http://springrts.com/wiki/Springsetting ... ctoryGroup
Re: Creating a factory group in BA
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.
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.
Re: Creating a factory group in BA
Thanks guys for all the replies over the weekend. Much appreciated :)