Unlock commanders by year, month, enemy etc.
Posted: Thu Oct 22, 2015 7:17 pm
Just figured this out while tinkering with the code and thought it might be helpful for other modders:
How to unlock a specific commander by year in "commanders.lua":
add "year = xxxx" under "conditions" to unlock a commander at the start of a specific year. I'm sure there are ways to get more specific unlocking-dates, so feel free to improve on this and please post your results.
Example:
How to unlock a specific commander by year in "commanders.lua":
add "year = xxxx" under "conditions" to unlock a commander at the start of a specific year. I'm sure there are ways to get more specific unlocking-dates, so feel free to improve on this and please post your results.
Example:
Code: Select all
conditions =
{ year = 1915,
}