How to make a reference AI and a modified AI fight each other.
Reply To alain_bkr
Is is possible to start several nations with 3.0.1 , and other ones with a patched version ?
The simpler, and older, way to achieve something like this is by using the "Experimental" AI level (only available in builds with debug enabled). It's exactly the same as "Hard" level except for any changes you guard with "if (...->ai_common.skill_level == AI_LEVEL_EXPERIMENTAL)"
More involved one would be to set up entire AI modules for differentiating between players.
Preamble :
I would like to improve AI
I think this will need changes in several places, including the server (for example reorder diplomacy ...)
My idea is to branch the code and affect several nations to reference AI, and other nations to a modified one , and let them fight to see if there are improvements or not.
.
So here is my question : how to do these tests ?
Is is possible to start several nations with 3.0.1 , and other ones with a patched version ?
(btw this could be a solution for WW1 : one instance for each nation, and a meta-server controlling all orders ?)