Page 1 of 1

Events & Saved Games Files

Posted: Sat Mar 14, 2009 5:23 am
by Johnny Canuck
I was just wondering where in the saved game file a list of those events that have been played, and on which countries, was stored? Thanks! :)

Posted: Sat Mar 14, 2009 10:44 am
by calvinus
Yes, all events are stored. Search the [EVENTS] section inside the .SAV file. ;)

Posted: Sun Mar 15, 2009 4:12 am
by Johnny Canuck
calvinus wrote:Yes, all events are stored. Search the [EVENTS] section inside the .SAV file. ;)


Found it, thanks! :)

It does lead me to another question, though - looking at that section in one of my saved game files, it seems that all events are listed in the section, that the number of times each event has happened is listed under 'Occurences', & that the country for which the event has occurred is listed under 'TargetNations'. Is this correct?

Other than that, I have a oddity with my current game - the Bruchmuller event (SEC_026) is not listed anywhere (in the [EVENTS] second or elsewhere). I can't recall whether I played the event or not, so I'm not sure if this is a problem, but it does seem a bit odd.

Posted: Mon Mar 16, 2009 8:09 am
by calvinus
Johnny Canuck wrote:It does lead me to another question, though - looking at that section in one of my saved game files, it seems that all events are listed in the section, that the number of times each event has happened is listed under 'Occurences', & that the country for which the event has occurred is listed under 'TargetNations'. Is this correct?


Yes, exactly.

Johnny Canuck wrote:Other than that, I have a oddity with my current game - the Bruchmuller event (SEC_026) is not listed anywhere (in the [EVENTS] second or elsewhere). I can't recall whether I played the event or not, so I'm not sure if this is a problem, but it does seem a bit odd.


I think that's why Bruchmuller is an event that can be played only once (MaxOccurrences=1), so when it's played, the effects are applied and the event card is immediately removed from the game. That means you will not find any one of such single occurrence events in the "deck", if already played. ;)

Posted: Mon Mar 16, 2009 6:42 pm
by Johnny Canuck
calvinus wrote:I think that's why Bruchmuller is an event that can be played only once (MaxOccurrences=1), so when it's played, the effects are applied and the event card is immediately removed from the game. That means you will not find any one of such single occurrence events in the "deck", if already played. ;)


Thanks for the clarifications! It leaves me with one more question - when one-time events are 'removed', where are the effects of the event tracked in the saved game file? For example, if Bruchmuller is played & the event is 'removed', where in the saved game file does it say that Germany gets +1 to Siege Bombardments, etc.?

Sorry for all the questions, & thanks! :D

Posted: Tue Mar 17, 2009 8:08 am
by calvinus
For Bruchmuller, three "rules" are added in the [TURN RULES] section.

You will find something like:

BeginTurnRule
Id=[id of the rule]
Type=TR_ArtilleryModifier
StartTurn=[turn when the bruchmuller event was player]
EndTurn=100
EffectsPhase=
Nation=[id of germany]
Parameters=1
BeginTurnRule
Id=[id of the rule]
Type= TR_SiegeModifier
StartTurn=[turn when the bruchmuller event was player]
EndTurn=100
EffectsPhase=
Nation=[id of germany]
Parameters=1
BeginTurnRule
Id=[id of the rule]
Type= TR_GasModifier
StartTurn=[turn when the bruchmuller event was player]
EndTurn=100
EffectsPhase=
Nation=[id of germany]
Parameters=1
EndTurnRule




because Bruchmuller effects are:

BeginEffect
Type=EE_NewTurnRule
Parameters=TR_ArtilleryModifier,?,100,TP_Military,GER,1
EndEffect
BeginEffect
Type=EE_NewTurnRule
Parameters=TR_SiegeModifier,?,100,TP_Military,GER,1
EndEffect
BeginEffect
Type=EE_NewTurnRule
Parameters=TR_GasModifier,?,100,TP_Military,GER,1
EndEffect