• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Ehm.. Is it just me or is the Nuke wargoal based on randomness instead considering whether the empire would like to own the territory instead?
Look what my ally just suggested:
06ihBFR.jpg


So he'd prefer nuking his neighbour to conquering the planets, there's no negative history between them either, just a regular rivalry, and he is a hegemonic imperialist! Supposedly he wants to expand his powerbase, not lay waste to everything.

Overall I don't think that wargoal makes sense unless it's used by a Fanatic Purifier or by a Fanatic Militarist empire which wants to destroy another empire's ability to be a threat without having any desire to possess the worlds. So very situational.
 
hmm the exact AI weight is
Code:
    ai_weight = {
        base = 10
     

        modifier = {
            factor = 0.2
            NOT = {
                this = { has_ai_personality_behaviour = dominator }
                opinion = {
                    who = FROM
                    value < -150
                }
            }
        }
     
        modifier = { # if the AI hates you...
            factor = 1.5
            opinion = {
                    who = FROM
                    value < -250
         
            }
        }
        modifier = { # if the AI REALLY  hates you...
            factor = 2
            opinion = {
                    who = FROM
                    value < -600
         
            }
        }     
        modifier = { # if the AI REALLY REALLY hates you...
            factor = 2
            opinion = {
                    who = FROM
                    value < -1000
         
            }
        }

        modifier = {
            factor = 0
            OR = { 
                is_country_type = fallen_empire
                has_policy_flag = orbital_bombardement_light
                has_policy_flag = orbital_bombardement_limited
            }
        }
     
     


    }

I intended its use to be somewhat of a last ditch effort for the AI.

However it is possible that these planets are too far away for the AI to weight "cede planet" higher, for comparison, here is the Stellaris 1.1 cede planet weight:
Code:
    ai_weight = {
        base = 100
      
        modifier = {
            factor = 0.1
            NOT = {
                has_ai_personality_behaviour = conqueror
            }
        }

        scaled_modifier = {
            scope = parameter:planet
            div = 2
            calc = planet_distance_empire
        }
      
        scaled_modifier = {
            scope = parameter:planet
            add = 2
            calc = planets_in_country
        }

        modifier = {
            factor = 0
            is_country_type = fallen_empire
        }

        modifier = {
            factor = 0
            NOT = {
                parameter:planet = {
                    owner = {
                        is_neighbor_of = root
                    }
                }
            }
        }
    }

Hegemonic Imperialists are conquerors but not dominators so I don't really see why he rates nuking so high
 
I think it's a mistake to tie it to dominator, dominators might do it but they'd be unlikely to. That part should be replaced with purger. The "Honourable Warriors" are dominators.

I guess he must have rated cede planets too low. When it checks for whether it's neighbour does it mean the planet itself or just that the empire as such? Because he wasn't neighbouring the planets, he was neighbouring frontier outposts.

I loaded up as him and the diplomacy screen states that the shortest distance between him and Dirban (one of those he wanted nuked) is 93.5

Does that mean the weight is 100 divided by 93.5 giving 1.06?
Because then it'll be a lot lower than the weight for nuking, which should be 10 times 1.5 (he has -271 relations) divided by 5 (because he isn't conquerer), which gives 3.

So if I understood the formula right his interest in conquering his closest neighbouring planet is 1.06 and his interest in nuking his closest neighbour is 3.



Maybe the nuking formula should have decreasing weight the closer he is to the target as that means it's potentially useable territory, while distant areas would be useless anyway and thus there's some logic in at least denying them to the enemy.
To avoid too high numbers for distant targets, perhaps just a reduction if the distance is less than perhaps something like 250.

Perhaps also a reduction if the target empire is a neighbour at all.
 
Last edited:
This is really cool. I really like that some of the wargoals are tied to ethics. It adds a lot more to diplomacy.

When you use an ethic-based wargoal, would it be possible to give boost in relations to nearby empires with that ethic, and a penalty to those with the opposite? So if I'm an individualist, and I declare a war to outlaw slavery or rescue slaves, other individualist nations would like me more, and collectivists would like me less.
 
I updated the AI weights and fixed some bugs.

When you use an ethic-based wargoal, would it be possible to give boost in relations to nearby empires with that ethic, and a penalty to those with the opposite? So if I'm an individualist, and I declare a war to outlaw slavery or rescue slaves, other individualist nations would like me more, and collectivists would like me less.

It already works like that, although the bonus is not too high (+- 15 depending on ethics). (Unless you found a bug in one of the wargoals where the bonus is not applied ;) )