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

BurningEGO

Field Marshal
139 Badges
Feb 10, 2006
7.349
344
steamcommunity.com
  • Majesty 2
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • For The Glory
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Teleglitch: Die More Edition
  • Hearts of Iron 4: Arms Against Tyranny
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • A Game of Dwarves
  • Darkest Hour
  • Deus Vult
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
Hello. I am in dire needs of aid. :cool:

I wanted to add an option to the scenario i am currently doing. The option will allow the user to choose the normal religion.csv file, or the one i did. I know how to create an option, but the problem is that despite my best tries, the 2nd religion.csv (called religion_original.csv) never works and the first religion.csv file is always the only one that works, be the option OFF or ON.

Here is the code:

Code:
option = {
	name = "Modified Religion Bonus"
	tag = ReligionBonus
	status = no
	}

¤IF ReligionBonus
include = "db\religion.csv"
¤ELSE
include = "db\religion_original.csv"
¤ENDIF

The question is - am i doing everything right? If not, what is wrong? Why isnt it working properly? Is it even possible to do what i want?

Thanks for any possible answer.
EGO
 
As far as i know there is no possibilities select religion.csv as an option.
 
That was what i feared... damn. :(

Thanks again
 
Wouldn't the easy, if inelegant, way be to replace the old religion.csv file with your new one? (After saving the original, of course).

That works with all the files I've hacked.
 
heh... Well, if i did that, then i would have no need for the option button, would i? :)

I wanted to make it this way, because the player would be able to choose between a modified religion file, or the normal one.