Thanks, Pepo.
Hyphotetically speaking, how difficult would it be to integrate your work with other mods regarding Ai? For example with LOR, besides the revolution module, would it require a conisderable effort to adapt ?
A lot of the AI changes are all over the AI classes. This is, in particular, true about most of the AI changes inherited from K-Mod. Merging those into another DLL mod is not feasible I think. The "LoR SDK ModMod" consequently only adopts some select bits of K-Mod code. The code for AI decisions on war and peace is mostly contained in separate classes, but still isn't really portable because it relies on the K-Mod/AdvCiv pathfinder. Moreover, I've refactored the codebase a lot, and that makes all the code somewhat difficult to port to other mods.
Merging another DLL into AdvCiv seems like the saner approach. (Agree with keldath – didn't see his post as I was writing mine.) This has been attempted with Rhye's and Fall of the Greek World:
[...] Anyways, that'll be after I'm finished with the AdvCiv merge, which will take a while - probably not nearly as long as 2.0, but I expect a month or two depending on my motivation and free time. There's still plenty of DLL code I haven't merged yet, and I've only started with the XML part this weekend.
(That was in February; no updates since then.)
As for LoR specifically, according to my crib sheet, that's mostly:
• Better BUG AI (BULL + BBAI)
• DCM (stack vs. stack combat, ranged/ archer bombardment plus some combat rule changes relevant for the late game)
• Revolution
• Orion's Inquisition, Super Spies, Influence Driven War, Wolfshanze's mod, Varietas Delectat, legendary military units
• added content ("unofficial expansion")
Perhaps one could whittle that down to a subset of essential components. It could also help to merge with keldath's DotO (instead of AdvCiv), which already includes a ranged combat system. As for the UI, it would seem wisest to ditch BULL and stick to the AdvCiv UI for the time being, i.e. BUG plus customized parts of BULL plus novel UI tweaks. Merging Varietas Delectat isn't a trivial task, but should be doable (see
this post).
I don't suppose that the actual AI behavior would have to be adapted much; the merge would mostly be a (big) technical task.