I seriously know several mods can utilize a unit limit. I have put a lot of thought into what would be the most usefull way to implement this. Also, before anyone freaks this does not mean that suddenly spring will have this for AA.
Initialy I thought a FBI tag would be a good idea but upon further reflection that requires a huge amount of work on the moders part. So a unitlimit.tdf would be better.
It would work like this(I am using my mod as an example:
Code: Select all
[1]
{
rx78;
alex;
guncannon;
}
[4]
{
Xamel;
gallop;
corebooster;
sniperII;
Medea;
}
[group=60]
{
rx79rl,rx79zook,rx79plus;
Powered,poweredrl;
}
Individual limits:
Anything under '1' will be limited to 1, anything under 4 will be limited to 4.
Group limits:
Group=60 means that the units rx79rl, rx79zook and rx79plus as a group are limited to 60, this means for example if I have 30 rx79zook and 30 rx79rl then I have reach my limit of 60. However, I can still build powered gms as I do not have 60 of them.
This will allow moders to quickly set unit limits on our units where needed.
In game:
How would it handle a repeat order?
It skips the unit and builds the next(if then next can be built).
What if I want to que several up?
You can but if you reach the limit it simply will stop or move to the next unit if appropriate.
When does a unit count towards a limit?
When it starts to build it will check count, this will prevent people from using several factories to produce one unit to escape the unit limit.
Is the limit global?
No, it would be on a per player basis.
So, yeah there it is. This would be a great help to us modders, allowing for a sort of hero or singular unit that will stand out on the battlefield. Please consider adding this.