+ Reply to Thread
Results 1 to 7 of 7

Thread: modding: force convert christian to muslim or vice versa

  1. #1
    Second Lieutenant sussidi's Avatar
    EU3 Owner

    Join Date
    Aug 2009
    Location
    milan, italy
    Posts
    153

    modding: force convert christian to muslim or vice versa

    hello guys, i'm trying to enable the possibility of force-converting not only within the same religious group, but, let's say from catholic to sunni.
    so i edited the purging of heresy CB, ereasing the line
    Code:
    cb_heretic = {
    	mutual = yes
    
    	nomad = no
    	badboy_factor = 0.5
    	prestige_factor = 2
    	peace_cost_factor = 0.75
    
    	prerequisites = {
    		OR = {
    			idea = deus_vult # Actually "Unam Sanctam"
    			is_emperor = yes #HRE emperor
    			defender_of_faith = yes #DOF
    		}	#FB-themendios
    		#religion_group = THIS
    		OR = {
    			NOT = { religion = THIS }
    			has_country_modifier = heretic_country
    			THIS = { has_country_modifier = heretic_country }
    		}
    	}
    
    	allowed_provinces = {
    		OR = {
    			religion = THIS
    			culture_group = THIS
    			is_core = THIS
    		}
    	}
    
    	po_change_religion = yes
    	po_demand_provinces = yes
    
    	country_desc = ALL_HERETICS
    	prov_desc = ALL_PROVS
    	war_name = HERETIC_WAR_NAME
    }
    then i edited religion.txt as follows:
    Code:
    christian = {
    
    	catholic = {
    		color = { 0.8 0.8 0 } #yellow
    		allowed_conversion = { #Used only for force-conversion
    			reformed
    			protestant
    			hussite
    			gnostic
    			sunni
    			shiite
    	  		}
    		province = {
    			stability_cost = 20
    		}
    		country = { #AI value 1,458
    			diplomats = 1 #The Vatican brokers treaties; cardinals and bishops can act as neutral diplomats
    			interest = 0.02 #Usury is forbidden and moneylenders problematic
    			global_tax_modifier = -0.05 #Tithes and annates, up to a third of all land owned by the church
    			land_morale = 0.05 #Crusading zeal
    			missionaries = 0.20 #A strong missionary tradition
    			missionary_cost = -0.20 #The church funds missionary work
    			missionary_placement_chance = 0.02	#FB was: 0.09
    			production_efficiency = 0.025 #Monasticism meant free colonization, villages and industries
    			production_tech_cost_modifier = -0.05 #Monasticism was often at the forefront of innovation and adoption of new ideas
    			trade_tech_cost_modifier = 0.05 #A lack of capital for investment made trade more difficult
    		}
    		papacy = yes	#Can influence cardinals and become Curia Controller
    		date = 870.2.28 #Patriarch of Constantinople is deposed in the Council of Constantinople
    		heretic = { FUNDAMENTALIST SECTARIAN POPULIST REACTIONARY MILLENARIAN APOCALYPTIC ULTRAORTHODOX HUMANISTIC SYNCRETIC MESSIANIC }
    	}
    saved and went to play with mameluks and selected deus vult as first idea.
    while i get the cb against anyone who is not my religion, going to war against a christian country i don't get the option of force-converting to sunni.
    what am i missing?

  2. #2
    Prime Minister lukew's Avatar
    EU3 OwnerEU3 CompleteHearts of Iron IIIHeir to the ThroneDivine Wind
    EU3: ChroniclesCrusader Kings IIMount & Blade: With Fire and SwordPride of NationsSengoku
    Victoria II: A House DividedMarch of the Eagles

    Join Date
    May 2011
    Location
    HM Government
    Posts
    4,456
    Quote Originally Posted by sussidi View Post
    hello guys, i'm trying to enable the possibility of force-converting not only within the same religious group, but, let's say from catholic to sunni.
    so i edited the purging of heresy CB, ereasing the line
    Code:
    cb_heretic = {
    	mutual = yes
    
    	nomad = no
    	badboy_factor = 0.5
    	prestige_factor = 2
    	peace_cost_factor = 0.75
    
    	prerequisites = {
    		OR = {
    			idea = deus_vult # Actually "Unam Sanctam"
    			is_emperor = yes #HRE emperor
    			defender_of_faith = yes #DOF
    		}	#FB-themendios
    		#religion_group = THIS
    		OR = {
    			NOT = { religion = THIS }
    			has_country_modifier = heretic_country
    			THIS = { has_country_modifier = heretic_country }
    		}
    	}
    
    	allowed_provinces = {
    		OR = {
    			religion = THIS
    			culture_group = THIS
    			is_core = THIS
    		}
    	}
    
    	po_change_religion = yes
    	po_demand_provinces = yes
    
    	country_desc = ALL_HERETICS
    	prov_desc = ALL_PROVS
    	war_name = HERETIC_WAR_NAME
    }
    then i edited religion.txt as follows:
    Code:
    christian = {
    
    	catholic = {
    		color = { 0.8 0.8 0 } #yellow
    		allowed_conversion = { #Used only for force-conversion
    			reformed
    			protestant
    			hussite
    			gnostic
    			sunni
    			shiite
    	  		}
    		province = {
    			stability_cost = 20
    		}
    		country = { #AI value 1,458
    			diplomats = 1 #The Vatican brokers treaties; cardinals and bishops can act as neutral diplomats
    			interest = 0.02 #Usury is forbidden and moneylenders problematic
    			global_tax_modifier = -0.05 #Tithes and annates, up to a third of all land owned by the church
    			land_morale = 0.05 #Crusading zeal
    			missionaries = 0.20 #A strong missionary tradition
    			missionary_cost = -0.20 #The church funds missionary work
    			missionary_placement_chance = 0.02	#FB was: 0.09
    			production_efficiency = 0.025 #Monasticism meant free colonization, villages and industries
    			production_tech_cost_modifier = -0.05 #Monasticism was often at the forefront of innovation and adoption of new ideas
    			trade_tech_cost_modifier = 0.05 #A lack of capital for investment made trade more difficult
    		}
    		papacy = yes	#Can influence cardinals and become Curia Controller
    		date = 870.2.28 #Patriarch of Constantinople is deposed in the Council of Constantinople
    		heretic = { FUNDAMENTALIST SECTARIAN POPULIST REACTIONARY MILLENARIAN APOCALYPTIC ULTRAORTHODOX HUMANISTIC SYNCRETIC MESSIANIC }
    	}
    saved and went to play with mameluks and selected deus vult as first idea.
    while i get the cb against anyone who is not my religion, going to war against a christian country i don't get the option of force-converting to sunni.
    what am i missing?
    It's hard coded. All you changed is who you got the CB on as well as a redundant piece of code in common/religions.
    In this world nothing can be said to be certain, except death and taxes -Benjamin Franklin

    England to Great Britain in 'Newbie Collosseum I', 'Newbie Collosseum II', 'Death Taxes and Glory I', 'Death Taxes and Glory II' and 'Death Taxes and Glory IV', Castille to Spain in 'The Hotseat', Brittany in 'Victis Honor II', Milan to Italy in 'Dulce et Decorum Est I' and 'Fight for Supremacy', Venice in 'Nitman's', France in 'Novus Aevum', 'Dulce et Decorum Est II', 'Total War II', 'Total War III', 'Death Taxes and Glory III', 'Independence Day', 'Saturday Night's Alright for Fighting' and 'Rock n Roll', Sweden to Scandinavia in 'Game 7', Hindustan in 'Vacca Pugnax', Austria in 'Total War I' and 'Victis Honor', Muscovy to Russia in 'Glory Days', Ottoman Empire in 'Fight For Supremacy II', Brandenburg to Prussia in 'Diligimus Furorem Mammalia', Portugal in 'Slothurday Night's Alright for Slothing' and The Knights in 'Death, Taxes and Glory VI'

  3. #3
    Field Marshal DDRJake's Avatar
    Penumbra -  Black PlagueHearts of Iron 2: ArmageddonVictoria: RevolutionsEU3 CompleteRome: Vae Victis
    Hearts of Iron IIIMajesty 2Supreme Ruler 2020 GoldFor The GloryArsenal of Democracy
    Heir to the ThroneEast India Company CollectionRise of PrussiaLead and GoldMount & Blade: Warband
    Semper FiVictoria 2Commander: Conquest of the AmericasLionheartDivine Wind
    Ship Simulator ExtremesMagickaCities in MotionSword of the StarsCrusader Kings II

    Join Date
    Feb 2011
    Location
    Scotland,United Kingdom
    Posts
    2,669
    The only way to do what you want is to make all religions belong to the same religious group, which would cause so so SO many other problems as to not be worth it.

    You could script and event with triggers relating to you winning a war against someone not inside your religious group which forces them to convert though.

  4. #4
    Dagneau, the Ultimate Diplomat gigau's Avatar
    Diplomacy PlayerEU3 OwnerEU3 Collectors Edition OwnerHoI AnthologyGalactic Assaulter
    Napoleonic MarshalDeus Vult!Europa Universalis: RomeEuropa Universalis: Rome (Collectors Edition)Finder of the Lost Empire
    Penumbra -  Black PlagueHearts of Iron 2: ArmageddonVictoria: RevolutionsEuropa Universalis III: In NomineEU3 Complete
    Rome: Vae VictisSupreme Ruler 2020Rome GoldEast India CompanyHearts of Iron III
    Majesty 2Supreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    East India Company CollectionRise of PrussiaAchtung PanzerLead and GoldMount & Blade: Warband
    200k ClubLegioSemper FiElven Legacy CollectionVictoria 2
    Commander: Conquest of the AmericasLionheartDivine WindShip Simulator ExtremesIron Cross
    MagickaCities in MotionEU3: ChroniclesSword of the StarsDarkest Hour
    Majesty II CollectionCrusader Kings IIPirates of Black CoveMount & Blade: With Fire and SwordPride of Nations
    For the MotherlandSupreme Ruler: Cold WarSengokuHearts of Iron: The Card GameSword of the Stars II
    Hearts of Iron III CollectionVictoria II: A House DividedKing Arthur IICrusader Kings II Holy KnightGettysburg: Armored Warfare
    Naval War: Arctic CircleWarlock: Master of the ArcaneStarvoidHOI3: Their Finest HourWar of the Roses
    A Game of DwarvesDungeonlandThe Showdown EffectMarch of the EaglesImpire
    Cities in Motion 2Victoria 2: Heart of DarknessLeviathan: Warships

    Join Date
    May 2005
    Location
    Hunting wolves and/or villagers... depends...
    Posts
    18,039
    Blog Entries
    9
    As they said, it's hardcoded.
    Auretus Ornithorhynchus anatinus, in hoc signo vinces. In honorem Paradox!Awarded the SAS Award for Forum Dedication<:3 )~~~ Mice over Rabbits
    • Crusader Kings II --- Planning a map mod, the name of which remains to be determined
    • Europa Universalis III : Divine Wind --- The EUIII Master Mod List (last update 7-March-2013)
    MEIOU:Tokgawa's Destiny, a mod giving you a new map, a new experience,... - Quezako ?
    If you have zero infamy, then you're wasting everybody's forgiveness. - Zzzzz... •
    MEIOU Subforum in english --- Enfillade MEIOU en Français --- MEIOU auf Deutsch
    My AAR : Aragón and its Place in European History
    • Mount & Blade Warband : Draper in the Noble Order of the Platypus - Impatient archer, reckless infantry and ridiculous cavalier
    • Werewolf, come join the hunt here --- Wins : as seer 1/1, as villager 2/10, as wolf 1/5 - Hosted 2 WWLite,

  5. #5

  6. #6
    Second Lieutenant sussidi's Avatar
    EU3 Owner

    Join Date
    Aug 2009
    Location
    milan, italy
    Posts
    153
    Quote Originally Posted by gigau View Post
    As they said, it's hardcoded.
    i see... thanks

  7. #7
    Dagneau, the Ultimate Diplomat gigau's Avatar
    Diplomacy PlayerEU3 OwnerEU3 Collectors Edition OwnerHoI AnthologyGalactic Assaulter
    Napoleonic MarshalDeus Vult!Europa Universalis: RomeEuropa Universalis: Rome (Collectors Edition)Finder of the Lost Empire
    Penumbra -  Black PlagueHearts of Iron 2: ArmageddonVictoria: RevolutionsEuropa Universalis III: In NomineEU3 Complete
    Rome: Vae VictisSupreme Ruler 2020Rome GoldEast India CompanyHearts of Iron III
    Majesty 2Supreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    East India Company CollectionRise of PrussiaAchtung PanzerLead and GoldMount & Blade: Warband
    200k ClubLegioSemper FiElven Legacy CollectionVictoria 2
    Commander: Conquest of the AmericasLionheartDivine WindShip Simulator ExtremesIron Cross
    MagickaCities in MotionEU3: ChroniclesSword of the StarsDarkest Hour
    Majesty II CollectionCrusader Kings IIPirates of Black CoveMount & Blade: With Fire and SwordPride of Nations
    For the MotherlandSupreme Ruler: Cold WarSengokuHearts of Iron: The Card GameSword of the Stars II
    Hearts of Iron III CollectionVictoria II: A House DividedKing Arthur IICrusader Kings II Holy KnightGettysburg: Armored Warfare
    Naval War: Arctic CircleWarlock: Master of the ArcaneStarvoidHOI3: Their Finest HourWar of the Roses
    A Game of DwarvesDungeonlandThe Showdown EffectMarch of the EaglesImpire
    Cities in Motion 2Victoria 2: Heart of DarknessLeviathan: Warships

    Join Date
    May 2005
    Location
    Hunting wolves and/or villagers... depends...
    Posts
    18,039
    Blog Entries
    9
    Quote Originally Posted by sussidi View Post
    i see... thanks
    Yeah... Sometimes modding hits hard-coded walls...
    Auretus Ornithorhynchus anatinus, in hoc signo vinces. In honorem Paradox!Awarded the SAS Award for Forum Dedication<:3 )~~~ Mice over Rabbits
    • Crusader Kings II --- Planning a map mod, the name of which remains to be determined
    • Europa Universalis III : Divine Wind --- The EUIII Master Mod List (last update 7-March-2013)
    MEIOU:Tokgawa's Destiny, a mod giving you a new map, a new experience,... - Quezako ?
    If you have zero infamy, then you're wasting everybody's forgiveness. - Zzzzz... •
    MEIOU Subforum in english --- Enfillade MEIOU en Français --- MEIOU auf Deutsch
    My AAR : Aragón and its Place in European History
    • Mount & Blade Warband : Draper in the Noble Order of the Platypus - Impatient archer, reckless infantry and ridiculous cavalier
    • Werewolf, come join the hunt here --- Wins : as seer 1/1, as villager 2/10, as wolf 1/5 - Hosted 2 WWLite,

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts