A couple of questions

1) I am failing to find the XML location of the buildings. Which file contains it?

2) Is it possible to make buildings affect the player's production-per-population I set earlier in the game?

3) Is it possible to create new attack/resist types, or we have to make do with the 3 physical and 4 spell types we were given?

6,019 views 6 replies
Reply #1 Top

1. "FallenEnchantressInstallDir"\data\English\Core Improvements\

2. I'm not sure what you mean exactly, but you can boost overall production with a percentage, so I'm pretty sure it's possible via that way.

3. Pretty sure these are hardcoded.

Reply #2 Top

For nr 2, it is very much possible to do this sort of thing. Check out the thread on production rules: https://forums.elementalgame.com/419061

For nr 3, there are no problems creating new damage types, defense types or resist types. But keep in mind that defense types won't show up anywhere in the UI as far as I can tell.

Reply #3 Top

allright. thanks for the fast help!

Reply #4 Top

Huh... I remember messing with UnitStatType before, a lot of it seemed like it was hardcoded somewhere else, do the Attack/Defense/Resist ones fully work?

Reply #5 Top

Yep-

Reply #6 Top

Looking at the xml, It's unclear- how do I connect city level-up to the city's special improvement? I see that CityHub1 turns to CityHub2, but in no place it writes for it to pull the 3 special buildings, and to transform to one of the specializing city types.

Also, is it possible to "pull" the city's level for production? Or, to auto-upgrade a building with city-levelup?