BETTER MILITARY AI 2
LOAD ORDER PUT AT THE BOTTOM
My Discord https://discord.gg/r8xu7qc367
Hi all if you like the mod give a fav or reward really helps me out thank you for playing my mod
DIFFERENCES from v1 tweaks and i have add new code so instead of the ai breaking sieges 60% of the time to 90% larger armys will hunt smaller more but if the enemy army is very small the ai will not attack as much and not break siege
this looks like a small change but in normal ir wars were won and lost because a country has a larger force but stays in a siege and the enemy forces takes out there country very small army will be a less targeted by the ai
The AI now targets army’s of 10 and above they now break sieges and chase them and also no longer ignoring each other and when a battle breaks out other army’s will reinforce and army’s smaller get targeted less compared to bigger ones the second the AI now targets fort less then large army’s but is now the second most targeted now area capitals are targeted this means the AI will go for capitals with forts more now the AI does not follow this to the letter but encourage
modifier = {
trigger = {
scope:province = {
fort_level >= 1
}
}
add = {
value = 1000
}
}
modifier = {
trigger = {
scope:province = {
has_enemy_army = root.unit_owner
any_unit_in_province = {
unit_size >= 10
unit_owner = {
any_countries_at_war_with = {
this = root.unit_owner
}
}
}
}
}
add = {
value = -150000
}
}
modifier = {
trigger = {
scope:province = {
is_state_capital = yes
has_province_rank = city
}
}
add = {
value = -100
}
}
modifier = {
trigger = {
scope:province = {
has_province_rank = settlement
is_state_capital = yes
}
}
add = {
value = -100
}
}
modifier = {
trigger = {
scope:province = {
has_province_rank = city_metropolis
is_state_capital = yes
}
}
add = {
value = -100
}
}
modifier = {
trigger = {
scope:province = {
has_enemy_army = root.unit_owner
any_unit_in_province = {
unit_size <= 9
unit_owner = {
any_countries_at_war_with = {
this = root.unit_owner
}
}
}
}
}
add = {
value = -10000
}
}
modifier = {
trigger = {
scope:province = {
in_siege = yes
}
add = {
value = 20000000
}
}
}