Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 2204

Faction & Era Development • Re: The American Civil War

$
0
0
The

Code:

_main.cfg
code was a bodge so I could get the ACW era's units loaded in the scenario; it can probably be more optimised.
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.

Statistics: Posted by Atreides — Yesterday, 7:26 pm



Viewing all articles
Browse latest Browse all 2204

Trending Articles