How units are built now:
Code: Select all
[CANBUILD]
{
[barracks]
{
canbuild1=scout;
canbuild2=rifleman;
canbuild3=atinfantry;
canbuild4=smgsupport;
canbuild5=sniper;
canbuild6=seal;
.....
How units could be built:
Code: Select all
[CANBUILD]
{
[barracks]
{
canbuild1=scout1,scout2;
canbuild2=rifleman1,rifleman2,rifleman3;
canbuild3=atinfantry1,atinfantry2;
canbuild4=smgsupport;
canbuild5=sniper;
canbuild6=seal1,seal2,seal3,seal4;
.....
If you haven't gotten the idea already, what I'm saying is this: How feasible would it be to add support for queueing units randomly, mix-bag style? Modders could use a feature like this to make it possible to build hordes of units (let's take something generic, like infantry) without them all being clones of each other. If someone wanted to make a unit look scarred or battle-worn already, but without all the units of that tye coming out the exact same way, they can make 5-6 different variants on that unit that all differ slightly cosmetically. Or they can make a series of units with the same theme (let's take generic infantry again), but with different weapons and such, making it so that armies come out naturally in varied types and numbers of units.
About exactly how it is implemented, I don't care about the syntax used (the above example is just a suggestion), and maybe Spring will use the buildpic and unit statistics (metal, energy, buildtime) of the first unit in the entry (again, just a suggestion).