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

Sniggles

Major
75 Badges
Feb 27, 2012
503
4
  • Crusader Kings II: Charlemagne
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • March of the Eagles
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • Darkest Hour
  • Europa Universalis IV: El Dorado
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Gold Edition
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Stellaris: Leviathans Story Pack
  • Stellaris: Nemesis
  • 500k Club
  • War of the Roses
  • Europa Universalis IV
  • Victoria 2
  • Europa Universalis III Complete
I asked this question in the quick questions thread in the main modding forum but my query was left unresolved, so I've brought it here. I realize this is a very specific question, and my apologies for that, but it seems like nobody anywhere else can help.

I'm attempting to modify the HIP (all modules sans ARKO interface and VIET, with mini-SWMH) Crusade CB to permit any Christian religion (including heresies) which can call Crusades to be able to target Messalians, and for Messalians to be able to target any other Christian religion with a Crusade. I know next-to-nothing about modding, however, and have been unable to make it work.

What I've tried so far was written for me by someone else, but although it works (at least partially) for the holy war CB, it doesn't appear to do so for the Crusades. The new code is everything below the "is_parent_religion = ROOT" below:

Code:
FROM = {
            OR = {
                NOT = { religion_group = ROOT }
                is_heresy_of = ROOT
                is_parent_religion = ROOT
                AND = {
                    religion = messalian
                    FROM = {
                        OR = {
                            religion = catholic
                            religion = cathar
                            religion = fraticelli
                            religion = waldensian
                            religion = lollard
                            religion = miaphysite
                            religion = monophysite
                            religion = orthodox
                            religion = bogomilist
                            religion = paulician
                            religion = monothelite
                            religion = iconoclast
                            religion = nestorian
                            religion = adoptionist
                            religion = arian
                            religion = maronite
                            religion = apostolic
                            religion = tondrakian
                        }
                    }
                }
                AND = {
                    OR = {
                        religion = catholic
                        religion = cathar
                        religion = fraticelli
                        religion = waldensian
                        religion = lollard
                        religion = miaphysite
                        religion = monophysite
                        religion = orthodox
                        religion = bogomilist
                        religion = paulician
                        religion = monothelite
                        religion = iconoclast
                        religion = nestorian
                        religion = adoptionist
                        religion = arian
                        religion = maronite
                        religion = apostolic
                        religion = tondrakian
                        }
                    }

...which I have added both under the "can_use" and "is_valid" sections of the CB, to no avail; after testing by triggering the Crusades and character-switching to a feudalized Papacy to determine whether I could use the CB against a Messalian enemy controlling the Kingdom of Jerusalem, the CB was not available to me.

A user in the general questions thread suggested that there's likely some sort of conflict in the CB which is preventing it from functioning as I'd like, and I find that likely myself, but as I said before I'm very amateur at modding, and if such a conflict does exist I certainly can't find it. It goes without saying that I'd very much appreciate any and all help that anybody could offer me.

Attached are my cb_types file and the EMF CB triggers, which a user in the general questions thread intimated might be useful for solving this issue. Once again, I'd appreciate any help at all.
 

Attachments

  • 00_cb_types.txt
    494,1 KB · Views: 0
  • emf_cb_triggers.txt
    7 KB · Views: 1