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

Falcon81

Corporal
40 Badges
Sep 4, 2009
30
1
  • Stellaris: Megacorp
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron 4: Arms Against Tyranny
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron: The Card Game
  • 500k Club
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Semper Fi
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Arsenal of Democracy
Description of issue
Modification of Country Leader Traits file does not work

Game Version
1.6.0 and 1.6.1 beta

Enabled DLC
All of the above

Do you have mods enabled?
Yes

Description
Any changes on the 00_traits file in the country_leader folder does brak the game. The game will start and work, but country leaders stop to give any bonuses. This does occur whether the file is modifed correctly via mod or in the originial folder. It even seems that a change and change back to the origianl parameters (only date / time of file changed) seems to genarte this bug

Steps to Reproduce
any changes on the 00_traits file in the county leaders folder

Upload Attachment
 
Upvote 0
What text editor did you use?
 
Windows Editor.
Never was a Problem in the past.
And is also working fine for other files I modified.
I also did not notice any irregularities (missing tabs etc.) when checking with other editors
 
Windows Editor.
Never was a Problem in the past.
And is also working fine for other files I modified.
I also did not notice any irregularities (missing tabs etc.) when checking with other editors
You should never, never use Windows Notepad for modding. It can break encoding, line ending, and non-Windows-1252 characters without any warning.
Use Notepad++ or about any other editors that don't break those things.

In your case, it's most likely the BOM. Most files in common\ are encoded in UTF-8 without BOM, and adding one, which Notepad by default do, breaks them.