Re: Note from MM - AI MODDERS MUST READ THIS
Wow - jpinard, you have been busy over the weekend! Anyway, here is a list of AI concerns from my earlier post organized by subject area:
QUESTIONS/POSSIBLE BUGS
(1) [AI Strategy] There are currently two "Strategies" files - one in the \Data subdirectory and one in the \AI subdirectory. There are a number of additional strategies in the \Data file. Perhaps it would be easier to use one? Also, the AI will only use the default, even if you place a "[RaceName]_AI_Strategies.txt" in their particular \Pictures\Race subdirectory.
(2) [AI Design/Strategy] The Strategy "Kamikaze Attack" is not used by the design files, they make a call for the strategy "Ram" which is a movement strategy. However, even when I change the design to use "Kamikaze Attack" or other user-defined strategies, the AI always picks "Optimal Firing Range" - are these files broken?
(3) [AI Retrofit] If designs are the same and the "Retrofit Minister" is ordered to upgrade, the ship is caught in a loop until there actually is a "real" design change. I do not think the AI is using this ship while it is under the control of the "Retrofit Minister"
AI RELATED PROBLEMS WITH SOME SUGGESTED FIXES
(1) [AI Intel Projects] The AI needs a file similar to their research file, but for intelligence projects. This file would look to the same AI states and cycle through available AI projects BUT limit the number of simultaneous projects similar to the research file (i.e. 25, 33, 50, 100, etc.). This would result in (A) certain races using neutral, aggressive or defensive intel projects in line with their demeanor and (B) prevent the current problem of AI races having 12 projects at a time running!!!
(2) [AI Planet Types] The current file appears to rely upon a "relative" comparison. I have been trying to tweak this file for the past month with no luck. I realize you left it relative b/c the "Settings" file allows players to tweak the max/min resources for planets (but are people really tweaking this parameter?). However, the AI choices for planets are not as efficient as they could be (and frankly most of us cannot figure out how they make some of their choices). I would suggest fields for "static" comparisons so that if a planet is "Mineral 85%" (regardless of other resources) the AI player will logically make it a mineral planet (currently can only pick if 101 or greater). I think the majority of fans would gladly sacrifice the ability to tweak this particular Settings parameter in return for a much more efficient AI.
(3) [AI Construction Queues] Even if the AI has ample resources available, it does not fill up its construction queues for either planet facilities or vehicle construction - this results in considerable inefficiency. I often use the "Players" options to verify my modified AI files are functioning and for all empires this is true - most of the time they are completely empty. Perhaps when the AI construct files, it only executes a set number of entries at a time for its empire?
(4) [AI Diplomacy] Add a short distinct .wav file that plays when the button is pressed on the log file for a message from a particular race. I think this would be fairly easy to implement, but will go a long way to developing distinct personalities among races. You can put a placebo empty .wav file there for now until you have time to expand the music (the modders will fill in the music in no time for you!).
(5) [AI Diplomacy] Should be a penalty for asking for a treaty every turn. I know the xenophobic races have this built in, but even the Eee should be pissed-off if you ask for a treaty every turn for 20 turns!
(6) [AI Diplomacy] Players can promise to trade xx resources with a race, but actually not have that amount available to transfer when the turn executes. The race currently makes a decision based on the amount promised, not amount the will actually receive.
(7) [AI Diplomacy] Players should be penalized for ignoring any message (even if it is a general message, players should have to send a general message back). This would make diplomacy better.
(8) [AI Diplomacy] If I accept to break a treaty or declare war, have it automatically happen.
(9) [AI Diplomacy] If I promise to support in war, the AI should at least take a look and see if I have had a battle with the target race in xx # turns.
(10) [AI .emp Files Missing] The Last patch did not cure the problem of several .emp files missing for 8-10 of the races - I can provide list if needed.
(11) [AI Fleets] Non-direct combatant mine-sweepers, transports, colonizers, boarding ships, troop transports, etc. do not appear to be joining fleets for protection. Could there be a toggle or flag field in the design file to indicate whether a design type should seek a fleet? - however, I suppose this might confuse the ministers. . .
(12) [AI Fleets/Design] Since the design types for the AI are rather strict, we need one additional - call it "Support Ship" this class would always be assigned to a fleet (perhaps limit # in the fleet) and would contain supplies, solar collectors, repair facilities, quantum reactor, etc. - More in line with what human players do.
(13) [AI Design] The AI appears to make a new design for Attack Ships, Satellites, Defense Ships and Weapon Platforms just about every turn (for some races - I have not isolated why yet). This in turn leads them to run out of design names very quickly (as well as taking up processing time). Also, when design names run out, they stop making designs is this the intended result or perhaps they could call them I, II, II, etc. with each successive loop back to the beginning of the file.
(14) [AI Design] There is no "defense ship" design in the AI even though there are calls for it in the construction ques. I made a design nonetheless (AA and repair), so its not a big deal to me personally.
(15) [AI Design] If the AI places larger mounts in a design and still has enough space for normal mounts, it will not "flip" back to normal mounts to fill the extra space.
(16) [AI Design] Design files are still using the old ability name for "Combat to Hit" modifications. A search and replace needs to be done on all the files to replace them with the new ability names.
(17) [AI Design/Construction] AI should re-evaluate xx number of years whether to (i) retrofit ship to newest design type, (ii) auto-upgrade facilities and (iii) re-evaluate planet type and production after significant amount of time passed to make sure still efficient.
(18) [AI Pathfinding] When the AI encounters a blacked path (e.g. non-combat ship entering warp pint with enemy sats) it will use all remaining points going back-and-forth between two points next to it.
(19) [AI Game] The AI does not appear to be cloaking its ships/sats when it has the ability. I suggest that the AI always leaves their ships cloaked until such time as they trigger the "low supplies" flag- at that point they can be turned over to the Supplies Minister for resupply.
(20) [AI Strategies] Should be a "Target Priority" for Weapons Platforms - this would solve the problems of (A) ships killing planets prior to landing troops and (B) ships killing weapon platforms and population (i.e. planet priority) while being bLasted by a defense base.
__________________
No bastard ever won a war by dying for his country. He won it by making the other poor dumb bastard die for his country.
-General George S. Patton
|