Closed tuvus closed 1 month ago
This is a direct copy of how it works in Civ 5. If there's actually a want to fix it, in theory it likely should be allowing a mod to specify what difficulty the AI play on by default. But it playing on chieftain is in fact, intentional
Edit: at least Firaxis realized for Brave New World that the AI was way too happy and made the AI difficulty a bit less easy for the AI
Sounds like a modoption to me, but unlike most modoptions this is actually one that should be applied to our base rulesets. Something like "AI always plays at [difficulty] difficulty" And once that's settled in, we can change default behavior to "AI plays on game difficulty" and have it overridable. That way we retain Civ V compatibility and allow for differences.
Unrelatedly, a difficulty-type conditional sounds interesting, to customize object behaviour... 🤔
Okay, it's a little weird, though, how the players can't copy or learn from the AI at the beginning since they are not equal. I know that making a good AI is very hard and will never be as good as a good player. Can we at least state this clearly in the Civilopedia somewhere?
Sure, I don't think it's that interesting to the player what logic the AI is using to play with, though. I only know this because I needed to know in order to program it, it never affected me as a player.
In general if your strategy is 'learn from the AI' then it really doesn't matter what difficulty it's on, since it doesn't really change its behavior between difficulties. But that's for another time...
I would likely do the marking right in the difficulties json... And make it a Difficulty : RulesetObject
on the way - the missing space is enough motivation, and I think sooner or later we will want difficulty-dependent triggerables? (btw, Speed being marked IsPartOfGameInfoSerialization is wrong - it's loaded from json, not saved, right?)
state this clearly
Comes as side effect - almost free.
... anyone care to test? Then add a <when Player uses difficulty [x] or harder>
Conditional?
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.
anyone care to test?
Completely forgot about this. Though, this seems like something that should be in modOptions, not Difficulty
Tbh, considering closing this myself as this only matters for BNW and mods, not any of the rulesets currently implemented
Completely forgot about this. Though, this seems like something that should be in modOptions
Yes, modability is probably the solution. I don't particularly have the time to work on this now so I am fine with it being closed.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.
This issue was closed because it has been stalled for 5 days with no activity.
Game Version
since forever to 4.9.13
Describe the bug
There are a few comments looking through the code talking about how the AI is never unhappy. They found new cities very early, which is impossible for the player to do. And when using the new AutoPlay feature to play as a Civ against the AIs, I don't have the same benefits they do. Even on Prince difficulty, the AI swamps the AutoPlay Civ even though they supposedly have only an 85% maintenance modifier difference.
After some investigation, I found that in Civilization.kt lines 303 to 309 tell quite the story.
It turns out that the AI has been playing against us with the Cheftain difficulty all along! And if it can't find the chieftain difficulty, then it finds an even easier difficulty.
Unless there is any other background that I am missing, it seems like we should change this to be more in line with the expectations given to the players. Any thoughts?
Steps to Reproduce