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

unmerged(38177)

Colonel
Jan 18, 2005
1.104
0
Re-firing of "Persistant" events (such as the USA Lend-Lease events) upon reload of a savegame seem to make some problems. Has anyone come up with a workaround?

I'm working on a calendar routine, which would enable someone to test if it is a particular month (similar to what a 'Month = " event command would do... shame it's not built in) so I could re-write the trigger sequence. Any interest?
 

ulmont

Field Marshal
103 Badges
May 9, 2001
2.788
1
Visit site
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis III Complete
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Nemesis
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • 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
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
jungkhans said:
Re-firing of "Persistant" events (such as the USA Lend-Lease events) upon reload of a savegame seem to make some problems. Has anyone come up with a workaround?
Rewriting the triggers so that they are evenly spaced for any given day (something like a 1 / 270 chance) is the current favorite.
 

Spocky

I hacked 127.0.0.1
66 Badges
Dec 3, 2002
1.332
0
hlawatsch.org
  • Stellaris: Galaxy Edition
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Victoria 2
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
The hardest but possibly best way is writing a seperately event for every firing.
What I mean : If you want 1 lend lease every year , then write an event for 1940 , 1941 , 1944 , ... . With copy and paste it is not that much in work.

Spocky
 

unmerged(38177)

Colonel
Jan 18, 2005
1.104
0
This is what I am trying to AVOID . .

Spocky said:
The hardest but possibly best way is writing a seperately event for every firing. What I mean : If you want 1 lend lease every year , then write an event for 1940 , 1941 , 1944 , ... . With copy and paste it is not that much in work.

I am trying to REDUCE, not increase, the size of the event code blocks. Larger size (and more events) decreases game speed. The "calendar routine" will make the following code blocks possible:

OR { AND { Year = 1939 Flag = MonthMarch }
AND { Year = 1939 Flag = MonthDecember }
AND { year = 1940 Flag = MonthJune }
Etc . . .

Sometimes I just wish there was more externalization of internal data. Luckily, this routine should work in "Doomsday", where I expect the "Presistant" problem to be "Persistant" in the enhancment. :(