Page 1 of 1

Events file and military options: need help

Posted: Mon Jul 14, 2008 5:18 pm
by jastaV
I noticed military options page for a campaign is somehow related to the the campaigns Events file!

When testing The Eagle's Return, 1815 modded NCP campaign I edited processing events file I got from DB_NCP excel file according to reported routine I notice that the Military Option page is void!

Not so when same Campaign scenery files was edited by using a copy, opportunaly remaned of default NCP 1815 events file.

1815m Campaign, Events file from the default 1815 NCP campaign:
HistOptions15.sct
NULL = NULL

SelectFaction = $C15

SelectFaction = $C15
SelectRegion = $Bruxelles
StartEvent = evt_nam_Renforts_ENG_Jun1815_1|0|1|NULL|NULL|$Bruxelles|NULL

Conditions
FixedDate = 1815/07/01

Actions
DescEvent = evt_desc_Renforts_RUS_Jul1812_1

EndEvent
NULL = NULL

SelectFaction = $F15

SelectFaction = $F15
SelectRegion = $Nice
StartEvent = evt_nam_CMN_NapoleonElba1815|0|2|evt_txt_CMN_NapoleonElba1815|Event-img_CMN_NapoleonElba1815|$Nice|NULL

Conditions
MinDate = 1815/03/01
MaxDate = 1815/10/31
Probability = 90

Actions
DescEvent = evt_desc_CMN_NapoleonElba1815
ChgVPCount = 1

SelectFaction = $C15
ChangeFacMorale = -2

EndEvent

SelectFaction = $C15
SelectRegion = $Wien
StartEvent = evt_nam_CMN_EnemyMankind1815|0|2|evt_txt_CMN_EnemyMankind1815|Event-img_CMN_EnemyMankind1815|$Wien|NULL

Conditions
MinDate = 1815/03/13
MaxDate = 1815/10/31
Probability = 90

Actions
DescEvent = evt_desc_CMN_EnemyMankind1815

SelectFaction = $F15
ChgVPCount = 1

SelectFaction = $C15
ChangeFacMorale = -2

EndEvent

SelectFaction = $F15

SelectFaction = $F15
SelectRegion = $Paris
StartEvent = evt_nam_FRA_NapoleonParis1815|0|2|evt_txt_FRA_NapoleonParis1815|Event-img_FRA_NapoleonParis1815|$Paris|NULL

Conditions
MinDate = 1815/03/20
MaxDate = 1815/10/31
Probability = 90

Actions
DescEvent = evt_desc_FRA_NapoleonParis1815
ChgVPCount = 1
ChangeFacMorale = 3

SelectFaction = $C15
ChangeFacMorale = -2

EndEvent

SelectFaction = $C15
SelectRegion = $London
StartEvent = evt_nam_ENG_CornLaws1815|1|2|evt_txt_ENG_CornLaws1815|Event-img_ENG_CornLaws1815|$London|NULL

Conditions
MinDate = 1815/05/06
MaxDate = 1815/10/31
Probability = 50

Actions
DescEvent = evt_desc_ENG_CornLaws1815
ChangeFacMorale = 5

EndEvent

SelectFaction = $C15
SelectRegion = $Napoli
StartEvent = evt_nam_CMN_FallMurat1815|1|2|evt_txt_CMN_FallMurat1815|Event-img_CMN_FallMurat1815|$Napoli|NULL

Conditions
MinDate = 1815/05/22
MaxDate = 1815/10/31
Probability = 50

Actions
DescEvent = evt_desc_CMN_FallMurat1815

SelectFaction = $F15
ChgVPCount = -10

SelectFaction = $C15
ChangeFacMorale = 10

EndEvent

SelectFaction = $F15

SelectFaction = $F15
SelectRegion = $Paris
StartEvent = evt_nam_FRA_NewConstitution1815|1|2|evt_txt_FRA_NewConstitution1815|Event-img_FRA_NewConstitution1815|$Paris|NULL

Conditions
MinDate = 1815/06/01
MaxDate = 1815/10/31
Probability = 25

Actions
DescEvent = evt_desc_FRA_NewConstitution1815
ChgVPCount = 5
ChangeFacMorale = 10

EndEvent
NULL = NULL

SelectFaction = $C15

SelectFaction = $C15
StartEvent = evt_namstandard_Rpl_1815COA|999|1|NULL|NULL|NULL|NULL

Conditions
MinDate = 1815/06/15
TurnIndex = 15;19;23;27;31;35

Actions
DescEvent = evt_desc_Rpl_1815COA
Remplacement = DBL;$famLine;2
GenMsg
Remplacement = DBL;$famMilitia;3
GenMsg
Remplacement = DBL;$famCavalry;2
GenMsg
Remplacement = DBL;$famIrregular;2
GenMsg
Remplacement = PRU;$famLine;3
GenMsg
Remplacement = PRU;$famMilitia;5
GenMsg
Remplacement = PRU;$famCavalry;2
GenMsg
Remplacement = ENG;$famLine;2
GenMsg
Remplacement = ENG;$famMilitia;4
GenMsg
Remplacement = ENG;$famCavalry;2
GenMsg

EndEvent

SelectFaction = $F15

SelectFaction = $F15
StartEvent = evt_namstandard_Rpl_1815FRE|999|1|NULL|NULL|NULL|NULL

Conditions
MinDate = 1815/06/15
TurnIndex = 15;19;23;27;31;35

Actions
DescEvent = evt_desc_Rpl_1815FRE
Remplacement = FRA;$famLine;1
GenMsg
Remplacement = FRA;$famMilitia;3
GenMsg

EndEvent




[B]1815m Campaign Events file from DB_NCP excel file processing

HistOptions15.sct
NULL = NULL

SelectFaction = $C15
SelectRegion = $Bruxelles

SelectFaction = $C15
SelectRegion = $Bruxelles
StartEvent = evt_nam_Renforts_ENG_Jun1815_1|0|1|NULL|NULL|$Bruxelles|NULL

Conditions
FixedDate = 1815/07/01

Actions
DescEvent = evt_desc_Renforts_RUS_Jul1812_1

EndEvent
NULL = NULL

SelectFaction = $F15
SelectRegion = $Nice

SelectFaction = $F15
SelectRegion = $Nice
StartEvent = evt_nam_CMN_NapoleonElba1815|0|2|evt_txt_CMN_NapoleonElba1815|Event-img_CMN_NapoleonElba1815|$Nice|NULL

Conditions
MinDate = 1815/03/01
MaxDate = 1815/10/31
Probability = 90

Actions
DescEvent = evt_desc_CMN_NapoleonElba1815
ChgVPCount = 1

SelectFaction = $C15
ChangeFacMorale = -2

EndEvent

SelectFaction = $C15
SelectRegion = $Wien
StartEvent = evt_nam_CMN_EnemyMankind1815|0|2|evt_txt_CMN_EnemyMankind1815|Event-img_CMN_EnemyMankind1815|$Wien|NULL

Conditions
MinDate = 1815/03/13
MaxDate = 1815/10/31
Probability = 90

Actions
DescEvent = evt_desc_CMN_EnemyMankind1815

SelectFaction = $F15
ChgVPCount = 1

SelectFaction = $C15
ChangeFacMorale = -2

EndEvent

SelectFaction = $F15
SelectRegion = $Paris

SelectFaction = $F15
SelectRegion = $Paris
StartEvent = evt_nam_FRA_NapoleonParis1815|0|2|evt_txt_FRA_NapoleonParis1815|Event-img_FRA_NapoleonParis1815|$Paris|NULL

Conditions
MinDate = 1815/03/20
MaxDate = 1815/10/31
Probability = 90

Actions
DescEvent = evt_desc_FRA_NapoleonParis1815
ChgVPCount = 1
ChangeFacMorale = 3

SelectFaction = $C15
ChangeFacMorale = -2

EndEvent

SelectFaction = $C15
SelectRegion = $London
StartEvent = evt_nam_ENG_CornLaws1815|1|2|evt_txt_ENG_CornLaws1815|Event-img_ENG_CornLaws1815|$London|NULL

Conditions
MinDate = 1815/05/06
MaxDate = 1815/10/31
Probability = 50

Actions
DescEvent = evt_desc_ENG_CornLaws1815
ChangeFacMorale = 5

EndEvent

SelectFaction = $C15
SelectRegion = $Napoli
StartEvent = evt_nam_CMN_FallMurat1815|1|2|evt_txt_CMN_FallMurat1815|Event-img_CMN_FallMurat1815|$Napoli|NULL

Conditions
MinDate = 1815/05/22
MaxDate = 1815/10/31
Probability = 50

Actions
DescEvent = evt_desc_CMN_FallMurat1815

SelectFaction = $F15
ChgVPCount = -10

SelectFaction = $C15
ChangeFacMorale = 10

EndEvent

SelectFaction = $F15
SelectRegion = $Paris

SelectFaction = $F15
SelectRegion = $Paris
StartEvent = evt_nam_FRA_NewConstitution1815|1|2|evt_txt_FRA_NewConstitution1815|Event-img_FRA_NewConstitution1815|$Paris|NULL

Conditions
MinDate = 1815/06/01
MaxDate = 1815/10/31
Probability = 25

Actions
DescEvent = evt_desc_FRA_NewConstitution1815
ChgVPCount = 5
ChangeFacMorale = 10

EndEvent
NULL = NULL

SelectFaction = $C15

SelectFaction = $C15
StartEvent = evt_namstandard_Rpl_1815COA|999|1|NULL|NULL|NULL|NULL

Conditions
MinDate = 1815/06/15
TurnIndex = 15;19;23;27;31;35

Actions
DescEvent = evt_desc_Rpl_1815COA
Remplacement = DBL;$famLine;2
GenMsg
Remplacement = DBL;$famMilitia;3
GenMsg
Remplacement = DBL;$famCavalry;2
GenMsg
Remplacement = DBL;$famIrregular;2
GenMsg
Remplacement = PRU;$famLine;3
GenMsg
Remplacement = PRU;$famMilitia;5
GenMsg
Remplacement = PRU;$famCavalry;2
GenMsg
Remplacement = ENG;$famLine;2
GenMsg
Remplacement = ENG;$famMilitia;4
GenMsg
Remplacement = ENG;$famCavalry;2
GenMsg

EndEvent

SelectFaction = $F15

SelectFaction = $F15
StartEvent = evt_namstandard_Rpl_1815FRE|999|1|NULL|NULL|NULL|NULL

Conditions
MinDate = 1815/06/15
TurnIndex = 15;19;23;27;31;35

Actions
DescEvent = evt_desc_Rpl_1815FRE
Remplacement = FRA;$famLine;1
GenMsg
Remplacement = FRA;$famMilitia;3
GenMsg

EndEvent[/B]

But the differences between the two files present in some command lines or void lines spacing placed between scripted lines I have dobts over the lines in
DB_NCP excel file or already existing events file to chance the military options available for a campaign


Hope to get some clarifications!

Posted: Tue Jul 15, 2008 8:24 am
by Pocus
spacing and exporting artefacts like NULL = NULL have no importance.

Posted: Tue Jul 15, 2008 8:56 am
by jastaV
Pocus wrote:spacing and exporting artefacts like NULL = NULL have no importance.


1. it's to be remarked that anyway events file I got from DB_NCP excel file according to reported routine does not works as regard Military Option page thatit's void during the full campaign.

2. There are other elements to consider but NULL = NULL command line

Here's opening command line sequence from Events file for default 1815 NCP campaign:
HistOptions15.sct
NULL = NULL

SelectFaction = $C15

SelectFaction = $C15
SelectRegion = $Bruxelles
StartEvent = evt_nam_Renforts_ENG_Jun1815_1|0|1|NULL|NULL|$Brux elles|NULL




Here's opening command line sequence from Events file I got processing DB_NCP excel file, for that same campaign
:
HistOptions15.sct
NULL = NULL

SelectFaction = $C15
SelectRegion = $Bruxelles

SelectFaction = $C15
SelectRegion = $Bruxelles
StartEvent = evt_nam_Renforts_ENG_Jun1815_1|0|1|NULL|NULL|$Brux elles|NULL


Note the SelectRegion = $Bruxelles string in the second example at line 4 not present into the first example!!!!!

Posted: Tue Jul 15, 2008 9:00 am
by jastaV
The main question here is:
What is the command string in events file ruling Military Options for a campaign?

Posted: Tue Jul 15, 2008 9:04 am
by PhilThib
Check Line 4, column D of each scenario Excel file, second thumbnail (that of events).. Options are like scripted events, and the file is "included" in the event file via this line (in all practice, to avoid too clumsy text files, the option file itself is made separately) :indien:

Posted: Tue Jul 15, 2008 9:34 am
by jastaV
PhilThib wrote:Check Line 4, column D of each scenario Excel file, second thumbnail (that of events).. Options are like scripted events, and the file is "included" in the event file via this line (in all practice, to avoid too clumsy text files, the option file itself is made separately) :indien:


Happy to see you back on line!
I'll go after your suggestions.

But my unexperience, I catched mistakes with both NCP-DB LGE_Setup_scenar_1815t events1815 & Cities 1815 excel foils.
I hope Ageod could revise and upload a new updated and correct version of
NCP-DB files.......soon or later!

Posted: Tue Jul 15, 2008 10:31 am
by PhilThib
Most likely later, due to lack of time right now... my suggestion in order to have a quick fix from myself would be to make a file (excel or text) with all the list of required changes (type, file, format) so I can treat everything at once on a sleepless night :siffle:

Posted: Tue Jul 15, 2008 11:36 am
by jastaV
PhilThib wrote:Most likely later, due to lack of time right now... my suggestion in order to have a quick fix from myself would be to make a file (excel or text) with all the list of required changes (type, file, format) so I can treat everything at once on a sleepless night :siffle:


In other world I could send you excel file relative to "The Eagle's Return" with a report of troubles I experienced, for you to check?

.....and what as regard Excel file for 1813 Struggle of Nations: I'm looking to modding that campaign to have it starting in April-May.
At present I'm till busy collecting OOB datas.
BTW, I got some ideas for Armistice management, based on what I know over Events.file commands line!

JastaV

Posted: Wed Jul 16, 2008 10:37 am
by jastaV
PhilThib wrote:Check Line 4, column D of each scenario Excel file, second thumbnail (that of events).. Options are like scripted events, and the file is "included" in the event file via this line (in all practice, to avoid too clumsy text files, the option file itself is made separately) :indien:


This line already figures out into Events file I got processing LGE_Setup_scenar_1815t to the final 1815 Campaign event file;
unfortunately military options do not work inside the modded campaign:

http://www.ageod-forum.com/showpost.php?p=93075&postcount=1

Guess there some corruption into LGE_Setup_scenar_1815t events sheet!

JastaV