Since the AI doesn't scrap ships it risks penalizing itself with obsolete fleets when not at war. This may be a contributing factor to the less aggressive AI being easier.
If, when not at war and not at max tech for ship components, the AI built carriers if able to do so it would help mitigate this since fighter upgrades aren't limited to a single weapon line and fighters are never rendered irrelevant by shields.
Building carriers would also be useful to AIs behind on tech for the same reasons.
AI should build carriers under some circumstances.
Moderator: Oberlus
Forum rules
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Re: AI should build carriers under some circumstances.
The AI does build some carriers, I see them in every game I play. Not usually at first, but once it starts running into enemies with shields, then it will usually start cranking out some carriers (generally not pure carriers, i.e., also using some direct fire weapons, and it seems familiar that we might have made that a requirement for them, that their carrier designs always have at least one direct fire weapon).
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Re: AI should build carriers under some circumstances.
Either it's not something the stable branch has caught up to or I missed it then.Dilvish wrote:The AI does build some carriers, I see them in every game I play. Not usually at first, but once it starts running into enemies with shields, then it will usually start cranking out some carriers (generally not pure carriers, i.e., also using some direct fire weapons, and it seems familiar that we might have made that a requirement for them, that their carrier designs always have at least one direct fire weapon).
Re: AI should build carriers under some circumstances.
Oh, I recall pretty clearly that was an important thing to have working for 0.4.7, as part of the whole fighters rollout. Are you fielding shielded ships? I think the AI doesn't start using Fighters/Carriers until it starts facing a fair number of shielded ships.Atarlost wrote:Either it's not something the stable branch has caught up to or I missed it then.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Re: AI should build carriers under some circumstances.
I was definitely fielding shields, but possibly the other AIs weren't.Dilvish wrote:Oh, I recall pretty clearly that was an important thing to have working for 0.4.7, as part of the whole fighters rollout. Are you fielding shielded ships? I think the AI doesn't start using Fighters/Carriers until it starts facing a fair number of shielded ships.Atarlost wrote:Either it's not something the stable branch has caught up to or I missed it then.
In any case waiting to see shields before building carriers means failing to take advantage of the way obsolete carriers degrade into glass cannons instead of glass feathers like obsolete gunships. Preferring carriers on lower aggression levels until the AI gets into endgame weapons or is losing ships would mitigate the problem with building ships that will just waste upkeep later on.