Multiple types considered as one class to selection and BuildLimit

Bug #894989 reported by Bug Importer
54
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Ares
Incomplete
Wishlist
Unassigned

Bug Description

Well, someone posted a request about having a VeteranClass= and EliteClass= setting, so "Select all of this type" will work for units that have undergone transformation after promotion to Elite. And someone has requested to include a function to transform a building into another building after it has fired its superweapon. IMO, the VeteranClass=/EliteClass= setting, if implemented, should be expanded, so a building that has been transformed from another building by firing its Superweapon does count towards the BuildLimit= of the original building. I'm thinking about something like:

[EXAMPLE_OBJECT]
BuildLimit=1
;VeteranClass=;obsolete
;EliteClass=;obsolete
SameClass=EXAMPLE_OBJECT_VETERAN,EXAMPLE_OBJECT_ELITE,EXAMPLE_OBJECT_AFTER_SW ; list of objects that count toward BuildLimit and Selection of parent building.

Revision history for this message
Bug Importer (bug-importer) wrote :

Ok, a little edit:

Better use two seperate tags:
SelectionGroup=;all listed here will be selected when this is selected and "Select All of Type" is triggered.
BuildLimitGroup=;all listed here will count towards build limit of this object

Revision history for this message
Marshall (m-edward) wrote :

I concur with guest's suggestion. However, rather than a separate list of groups as has been suggested elsewhere, I would suggest something like this:

[ADOG]
SelectionGroup=YADOG
BuildLimitGroup=DOG,YADOG,YDOG

[DOG]
SelectionGroup=YDOG
BuildLimitGroup=ADOG,YADOG,YDOG

...and so on.
The idea is that the game would only have to lookup IDs from the unit that we are interacting with, rather than going off to hunt some other data.

Revision history for this message
MRMIdAS (mrmidas) wrote :

It could also be used to make you pick between, say, 3 hero units, once one is built, the others are greyed out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.