Is there source for Imperia AI? - Forum
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum moderator: Daddio, Cichor 
Forum » Cossacks I » Modding » Is there source for Imperia AI?
Is there source for Imperia AI?
SelirDate: Thursday, 30/July/2015, 7:58 PM | Message # 1
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
Hi all,

I recently got back to Cossacks:BTW and found Imperia mod. It is magnificent, AI is waaay harder than on normal games. However, there where two things that bothered me:
1. AI is capped at 3k population.
2. AI builds no more than 6 18c barracks.

First limitation could be bypassed by using standard modding tools - to increase limit of population from dwellings and number of dwellings. I increased those numbers (and because AI can build more houses), it's capped at ~5k, which is sufficient for me.

Second limitation comes from AI DLL itself and, as you suppose, it's not easy to modify it (it's not impossible, it's just very difficult). And here is my question: is there Imperia AI DLL source code available anywhere? I've used google, but with no success. sad

I'd like to "tweak" Imperia a little. Or to make it even more hardcore. biggrin If no source is available, then I'll have to try with DLL binary editing... :/

Added (30/July/2015, 7:58 PM)
Just to answer myself. :P Yup, DLL modding is possible, it's possible to increase building limits, for example: AI can build 5 Town Centers (3 by default) or 8 Strelets Barracks (5 by default). Those numbers can be increased as much as you want, but testing might be time consuming and must be done per Nation basis - there is no universal AI and each change is applied to separate DLL file.
If I'm not mistaken, changes might be introduced with quite high certainty of what is being changed and can be tested in bulks, so it's not necessary to test eg. Town Centers and Strelets Barracks separately. smile
Nevertheless, sources would be much faster solution. :P

EbelAngelDate: Monday, 03/August/2015, 11:32 AM | Message # 2
Site Administrator
Group: Administrators
Messages: 980
Awards: 7
Reputation: 12
Status: Offline
I've never seen the sources of the AI for imperia available, and the modder who made it seems to have fallen of the grid a long time ago.

Forum » Cossacks I » Modding » Is there source for Imperia AI?
Page 1 of 11