Thanks, looking at aliens.lua, theres :
local LAND_UNIT_SPAWN_TABLE : table = {
Which contains several tables with the usual alien land units that seem to spawn from nests. Siege worms are not in those tables, which would explain why i dont see them spawning from nests.
Then theres :
local COLOSSAL_LAND_UNIT_RATIOS : table = {
[0.0] = 32,
[0.35] = 26,
[0.65] = 20,
};
This is confusing. 0.0, 0.35 and 0.65 are related to affinities, but im not sure what the 32, 26 and 20 numbers are.
-- Rules:
-- Colossal units are maintained as a sliding ratio of
-- num units to total normal units active.
local numNormalUnits : number = ALIENS.GetNumNormalUnits(DomainTypes.DOMAIN_LAND);
local numColossalUnits : number = ALIENS.GetNumColossalUnits(DomainTypes.DOMAIN_LAND);
local currentRatio : number = ZeroSafeRatio(numNormalUnits, numColossalUnits);
if (currentRatio > idealRatio) then
return UNIT_SIEGE_WORM.ID;
end
If im reading this correctly, then siege worms only spawn if there are sufficient alien normal units around? I dont know how that formulae works ( ZeroSafeRatio(numNormalUnits, numColossalUnits)) just makes no sense to me.