• 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.

Fishman786

Maharaja
90 Badges
Aug 17, 2009
3.747
2.256
  • Europa Universalis IV: Third Rome
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Synthetic Dawn
  • For the Motherland
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Tyranny: Archon Edition
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Island Bound
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
Your code doesn't seem to prevent the Lombards from conquering in Africa
Interesting.

Did you paste it right after "factor = 1" under the "ai_will_do" section for HOLY WAR CB? Make sure you didn't lose any brackets.

Here's another one that might work. There are some extra bits commented out, delete the # signs to use them if this works.

Code:
        modifier = { #To stop the Franks, Italians and Germans from crusading North Africa to death
            factor = 0
            ROOT = { # Latins and Germanics are banned from holy wars
                OR = {
                    culture_group = latin
                    culture_group = central_germanic
                }
            }
            NOR = {
#                year = 1350 # unless the year is after 1350,
                any_de_jure_vassal_title = { # or if they're targeting a province outside North Africa,
                    tier = count
                    location = {
                        NOT = {
                            region = world_africa_north 
                        }
                    }
                }
#                ROOT = { # or if they're already in NA and they're targeting an existing neighbour,
#                    any_realm_province = {
#                        any_de_jure_vassal_title = {
#                            tier = count
#                            owner = FROM
#                            location = {
#                                region = world_africa_north
#                            }
#                        }
#                    }
#                }
#                ROOT = { # or if they've restored the Roman Empire successfully and change culture for some reason,
#                    primary_title = e_roman_empire
#                }
                ROOT = { # or if they're Normans
                    culture = norman
                }
                FROM = { # or if the target is not Muslim (no mercy to Aztecs)
                    NOT = {
                        religion_group = muslim
                    }
                }
            }
        }
 

Communard

Captain
96 Badges
Jan 31, 2009
486
256
  • Surviving Mars
  • Victoria: Revolutions
  • Rome Gold
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Rajas of India
  • Deus Vult
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Jade Dragon
  • Tyranny: Gold Edition
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
Or the Holy Roman Empire. I've seen the Kaiser take Mallorca and then start expanding into North Africa because he's now in Holy War range.

Tell me about it. Playing a Cordoba game right now (1066 start), the French got Valencia and Mallorca before I even united Andalusia and now that I've finally managed to take them the Kaiser declares holy war for Mallorca every time the truce expires! AI still doesn't get that huge armies doesn't mean you can mount a decent naval invasion :p
 
  • 1
Reactions:

Rubidium

Field Marshal
49 Badges
Jul 7, 2011
5.949
12.313
  • Crusader Kings III
  • Stellaris Sign-up
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Victoria 2: A House Divided
  • Victoria 2
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Europa Universalis IV
  • BATTLETECH: Flashpoint
  • Stellaris
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Stellaris: Synthetic Dawn
  • Tyranny - Bastards Wound
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall
  • BATTLETECH: Heavy Metal
  • Age of Wonders: Planetfall - Revelations
  • Crusader Kings II: Conclave
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Mare Nostrum
Tell me about it. Playing a Cordoba game right now (1066 start), the French got Valencia and Mallorca before I even united Andalusia and now that I've finally managed to take them the Kaiser declares holy war for Mallorca every time the truce expires! AI still doesn't get that huge armies doesn't mean you can mount a decent naval invasion :p
It's a problem the other way too; I've found starting as an Iberian Catholic, your best opening move in 1066 is to declare a war on...France for Toulouse (there's a strong claimant who's generally willing to move) and ignore the Muslims. It's the only way to make sure your Reconquista is reconquering from the Moors, not the Franks. Even then, the Italians are likely to have sewn up a good chunk of Africa before you are done with Spain.
 
  • 1
Reactions:

Fishman786

Maharaja
90 Badges
Aug 17, 2009
3.747
2.256
  • Europa Universalis IV: Third Rome
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Synthetic Dawn
  • For the Motherland
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Tyranny: Archon Edition
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Island Bound
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
Yeah, I pasted it right above the similar code for hordes if that's what you mean.
I'm making some progress, I've managed to ban players and AI from holy warring in North Africa.