CK3RealmsinExile / RealmsInExile

https://discord.gg/FKr4Zbr
32 stars 32 forks source link

Gondor never declares War #417

Closed RedArkady closed 8 months ago

RedArkady commented 2 years ago

He tends not to attack, even when he'd win with allies' help. Leaves expansion to his vassals. Need to boost boldness, zealotry, or whatever it takes to make him less cautious.

JukeJukestar commented 1 year ago

One way to help with this may be changing his personality traits a bit? The recent update made AI personality far more important in how they act. I was thinking the same thing for Abrakhan maybe.

Question is, how do we determine what traits make the AI agressive (and still fit)?

RedArkady commented 1 year ago

We discussed this recently. Boldness and zealotry are apparently the two key factors. He's already maxed out on boldness through his Brave trait, and we don't want to make him a zealot. I think there are ways of doing hidden modifiers, but a) I don't know how and b) I get the impression that they're unpredictable. Tobbzyn said that in Way of Kings the last_stand CB is set up to make it more likely that a particular character will use the CB, so if anyone has access to that code and could share it here we could have a think...

RedArkady commented 1 year ago

Similarly there was talk of boosting AI likelihood by boosting the figure below to, say, 200, but Tobbzyn was concerned that the AI might declare war while already at war (though I thought the AI couldn't declare war while tis troops were raised, as with player characters...)

    add = {
        every_in_list = {
            list = target_titles
            if = {
                limit = { 
                    scope:attacker = { 
                        this = character:lineisildur42
                        }
                    }
                    scope:defender = { 
                        faith_is_evil = yes
                    }
                }
                add = 200
            }
        }
    }
jj248 commented 1 year ago

I've added AI modifiers to Anduril to reduce rationality and increase zeal AI modifiers. Let me know if you want anything else implementing to try and combat this @RedArkady .

RedArkady commented 1 year ago

Still seems to be a problem. Even if you console-kill Sauron Aragorn does nothing - not even for his de jure. Does plenty of colonising though.

RedArkady commented 1 year ago

I don't think we should underestimate how big a problem is. It makes non-Gondor runs rather broken, as no-matter how strong Gondor's allies are it's irrelevant if Gondor won't pursue victory. Remedying this feels pretty central to the overall balance of the mod, thematically and gameplay-wise.

RedArkady commented 1 year ago

Appears to be affecting all Gondor rulers (not vassals).

savagesach commented 1 year ago

image this is already known, but I just wanted to mention it in the git issue. ai aragorn is definitely more aggressive, but he never retakes ithilien because now he's free to use the destroy mordor decision whenever he feels like it

savagesach commented 1 year ago

on that note, sauron keeps using holy wars for anorien instead of the actual invade gondor decision, so I think a fix for ai is definitely needed to make the decisions actually used as they should be

Jaco-Daan commented 8 months ago

So this appears to have been solved by giving Aragorn the 'Warlike' personality, closing