Sunday i come up with an idea. I will do the best AI combat handler ever done for CTP2!
Ideas:
1) Find the best city to launch an attack ever evaluating the city by inumerous variables like owner diplomatic relation, location, defense, distance, etc... Once chosen all strategy will be done there!
2) Teach the AI to orgqanize Stacks. The idea is to make the AI check the city defense according to a threat level when building a unit. If the city has the defense according to this threat level already this units is sent to field! All field units will merge in a stack until a size 12 stack is built. If the building is complete it will make another stack!
3) A brach from number two but teach the AI how to construct stacks.
4) Check how many size 10-12 unit is need to conquer the best target which was already evaluated in the first topic. And send all needed units there. The AI will only attack once all the stacks sent to the location are only one tile away from the target!
5) Make a alghorith good enough to find out if a city is in another continent. And if it is teach the AI to make Cross Water Attacks. No ideas yet but still want to check Peter Triggs work in the other thread.
5) Teach the AI to make strategies for water battles. and water navies creation.
6) Teach the AI what to build according to the needs of the cities and not by dark/unknow priorits of strategis.txt!
So Far
With this intent i started coding without testing! Just plain coding. Achieving a really good code with 400 lines for topic 1, 2 and part of 4 in which i am really proud. But when looking the agenda kind of scared me because the to do list is still enormous and the bug-freeing work will be enourmous.
Recruiting:
So i decide to ask for help!
Specially coders for two task:
1) Actual coding! Peter Triggs, Locutus, Martin, Dale, MrBaggins, IW, mapfi, ahenobarb or any other avaible coder around here to recruit to make those topics come through and workable with the others parts of the slic!
2) Bug-freers! Anyone coder i mentioned before or any other to help me find the flaws of my code and help me with the testing of the existing code!
But not only coders but I am also open for suggestions if anyone has a better idea bout my ideas.
And Testers. Some guys to hep me test the in-game stuff of the code. What is working and what isnt!
This can be the chance to make the CTP2 AI the best possible using slic with the help of all community.
So, is anyone interested?
The unfinished code I have worked already will follow after i hear some comments!
Ideas:
1) Find the best city to launch an attack ever evaluating the city by inumerous variables like owner diplomatic relation, location, defense, distance, etc... Once chosen all strategy will be done there!
2) Teach the AI to orgqanize Stacks. The idea is to make the AI check the city defense according to a threat level when building a unit. If the city has the defense according to this threat level already this units is sent to field! All field units will merge in a stack until a size 12 stack is built. If the building is complete it will make another stack!
3) A brach from number two but teach the AI how to construct stacks.
4) Check how many size 10-12 unit is need to conquer the best target which was already evaluated in the first topic. And send all needed units there. The AI will only attack once all the stacks sent to the location are only one tile away from the target!
5) Make a alghorith good enough to find out if a city is in another continent. And if it is teach the AI to make Cross Water Attacks. No ideas yet but still want to check Peter Triggs work in the other thread.
5) Teach the AI to make strategies for water battles. and water navies creation.
6) Teach the AI what to build according to the needs of the cities and not by dark/unknow priorits of strategis.txt!
So Far
With this intent i started coding without testing! Just plain coding. Achieving a really good code with 400 lines for topic 1, 2 and part of 4 in which i am really proud. But when looking the agenda kind of scared me because the to do list is still enormous and the bug-freeing work will be enourmous.
Recruiting:
So i decide to ask for help!
Specially coders for two task:
1) Actual coding! Peter Triggs, Locutus, Martin, Dale, MrBaggins, IW, mapfi, ahenobarb or any other avaible coder around here to recruit to make those topics come through and workable with the others parts of the slic!
2) Bug-freers! Anyone coder i mentioned before or any other to help me find the flaws of my code and help me with the testing of the existing code!
But not only coders but I am also open for suggestions if anyone has a better idea bout my ideas.
And Testers. Some guys to hep me test the in-game stuff of the code. What is working and what isnt!
This can be the chance to make the CTP2 AI the best possible using slic with the help of all community.
So, is anyone interested?
The unfinished code I have worked already will follow after i hear some comments!
Comment