I hope this is not obvious, but does anybody know how to activate full AI for minor countries? Is it possible.
The turns fly by on my computer so I would not mind the extra time.
I hope this is not obvious, but does anybody know how to activate full AI for minor countries? Is it possible.
The turns fly by on my computer so I would not mind the extra time.
Absolutely possible. Nobody has figured it out as far as I know, but many people are working on it.
Hi I think I found where the AI Level and Type are defined.
In parsed startpos.esf is
All minor factions have MAINTAINANCE as the first field while all major factions have FULL as the first field. All non-euro minors use non_euro while all European minors just use default. The majors have many diff. types from continental industrialist to maritime_repressive, to continental_progressive etc.Code:<utf8 offset=5707708 length=12>MAINTAINANCE</utf8> <utf8 offset=5707731 length=8>non_euro</utf8> <FACTION_FLAG_AND_COLOURS> <utf8 offset=5707770 length=20>data\ui\flags\mysore</utf8>
Last edited by GeorgiaPeanuts; March 24, 2009 at 08:54 PM.
What are you using to look at this? what program?
A program I wrote, I uploaded it in another thread, but it doesn't seem to work under release build, but here is the file in parsed form.
In the file will see all I do is to list a data element with its type and its offset into the esf file because I have done no effort into translating structure to actual specific names although it can be seen what many data is.
To edit something you just make note of the offset and then goto that location in the esf file in a hex editor and change it. In this method though new things cannot be added or data types that are not fixed sizes generally can't be changed unless size is maintained. An example is with strings. you can only change a string data to be another string of same length. Like one time I made Wurtemburg region rebels to be the Mecklenburg faction emergent because it had no region it emerged from. Unfortunately it didn't work fully because mecklenburg wasn't defined as a faction in the file too so they had mecklenburg flag but were classed as rebelsAlso my string offsets for utf8 are wrong but you can find your way easy because it is merely going to in the center of the string because I forgot to account for the fact that utf8 strings are twice their length in bytes.
When just releases his tool it sounds like it can make all these limitations able to be overcome.
here is the parsed version.
http://rapidshare.com/files/213187821/startpos.zip.html
Last edited by GeorgiaPeanuts; March 24, 2009 at 09:01 PM.
Hey, thanks! +rep!