Hi Karadoc,
On behalf of Pie's Ancient Europe (PAE), I would like to request your authorisation to use K-Mod's DLL with PAE.
As you may be aware, PAE is a mod focused on the Antiquity/Classical eras, with tons of new units, buildings, civics, religions, game concepts, etc. All done via changes in art graphics, Python and the XML. But nothing in the SDK, mainly for one reason so far: many fans play it on Macs.
Recently, Pie expressed the wish to add a DLL component to improve the AI and he was thinking of incorporating Better BTS AI. I suggested to him that K-Mod was, in fact, an improved BBAI and could serve as an engine to boost the game for PC users. It seems to me that this was your goal from the beginning, to offer an improved version of the standard BtS to users. What do you think about the idea?
Now, it is true that it might not be the easiest solution since you edited the code so heavily. I recently merged K-Mod to my own personal mod and it was not an easy task as you have reviewed the code in a major way. I think it takes to do this exercise to realise to which extent you have worked on this, in the 200 files that are compiled in the DLL, with some 500,000 lines of code

. I guess many users do not realise that.
The major challenge that I see is that the DLL should be the only difference for PC or Mac users. Much to my surprise, you only need to add to the DLL the six additional XML files that you provide directly under the XML folder for the game to load properly without error messages (in the case of PAE, I also had to merge the GlobalDefinesAlt.xml file). Not that it means that everything works as intended though.
For the time being, I see the following problems, for example:
- you added a 3rd Prereq for Promotions. Doesn't seem to be a problem, I guess if you don't change the Schema file, the code for the 3rd Prereq is not used. Correct?
- you changed an XML Tag for Buildings (the healthy/Unhealthy one). Here I'm quite surprised that there are no loading errors, but probably the game does not function properly in this respect. Considering that we are talking about Antiquity/Classical eras, I guess it doesn't matter so much.
- Culture/Religion systems changed. We will see if it causes a major problem. For me, it's part of the improvements to the game mechanisms.
- BUG options. Pie doesn't want them in PAE as they would conflict with his own stuff. Personally, I don't play with them at all in my mod, have not tried to merge the Python (too complicated for me anyway). It doesn't seem an issue to me, it's even simple to cancel the BUG options in the Escape Menu.
Now, probably you will tell me that it's much more complicated than that! That's why your comments and advices would be very much appreciated. I'm not expecting you to work on this but would like to know if you would be ready to assist in any changes that we would need to make in the SDK to achieve the goal of combining PAE with the power of K-Mod. That is, if you authorise us to go ahead of course.
Tell us what you think. Thank you very much in advance.