Get the era's units loaded? You took care of that in the scenario file with era_allowed=. I'm pretty sure the era compartmentalization starting in 1.16 would not prevent an era being loaded, scenarios and eras are pretty independent of another (except when specifically enforced by era_allowed, etc.). Anyways a single map & scenario addon only needs one line it to load the scenario.cfg. Of course one can even actually just put the scenario IN the main.cfg : ) That's probably considered "bad style" I suspect though, hehe. Of course for future expansion purposes (such as an western theatre scenario and map...) it is infinitely better to use subdirs.Thecode was a bodge so I could get the ACW era's units loaded in the scenario; it can probably be more optimised.Code:
_main.cfg
Statistics: Posted by Atreides — Yesterday, 7:26 pm