Page 1 of 1

Hannover and Oldenburg

Posted: Sat Dec 12, 2015 6:29 pm
by vicberg
Both of these are not Annexations. Within the scripts, they change ownership of the regions, control and adjust loyalty. But in both cases, these factions still exist and why you are getting Hannover DOW issue in August 1805.

Annexing is annexing.

AbsorbFaction should be used for both.

FYI, the august 1805 INI script may need to change to reflect Hannover annexation. It currently does a simple adjustment of loyalty.

Posted: Sat Dec 12, 2015 6:37 pm
by vicberg
Oldenburg Script should look like this (untested), though I'm not sure why you have the 1809 limitation. I'm sure that's WAD.

StartEvent = evt_nam_FRA_OldenburgAnnexed|0|2|evt_txt_FRA_OldenburgAnnexed|Event-Img_FRA_OldenburgAnnexed|$Muenster|NULL

Conditions
MinDate = 1809/01/01
MaxDate = 1815/01/12
Probability = 100

Actions
DescEvent = evt_desc_WES_KingdomCreation

SelectFaction = FRA
AbsorbFaction = OLD;100;100;100;100;100;75;75
ChangeLoyaltyFac = $Area_Oldenburg;25

SelectFaction = GBR
SelectRegion = $Helgoland_Island

SelectRegion = $Helgoland_Island
ChangeRgnOwner = OLD;FRA
SetControl = 100
SelectFaction = GBR
AddFacModifiers = $FM_ExpandedKGL
ChgUnitPoolInfos = $uni_GBR_KGL_Infantry1_Bde_1805;3
ChgUnitPoolInfos = $uni_GBR_KGL_Infantry2_Bde_1805;1
ChgUnitPoolInfos = $uni_GBR_KGL_Art_Bde_1805;1

SelectFaction = FRA
ChgFacRelationships = BRU;-20;MEK;-10;DEN;-10;PRU;-20

EndEvent

Posted: Sat Dec 12, 2015 6:41 pm
by vicberg
Hannover Script (untested)

startEvent = evt_nam_FRA_HannoverAnnexed|0|2|evt_txt_FRA_HannoverAnnexed|Event-Img_FRA_HannoverAnnexed|$Hannover|NULL

Conditions
MinDate = 1805/01/01
MaxDate = 1815/01/12
Probability = 100

Actions
DescEvent = evt_desc_WES_KingdomCreation

SelectFaction = GBR
ChangeFacMorale = -5
ChgVPCount = -50

SelectFaction = FRA
AbsorbFaction = HAN;100;100;100;100;100;75;75
ChangeLoyaltyFac = $Area_Hannover;25
ChgFacRelationships = BRU;-10;OLD;-10;MEK;-10;PRU;-20

EndEvent

The above should include DEN;-10 to be consistent with Oldenburg and since Hannover is closer to Denmark than Oldenburg.

Posted: Sat Dec 12, 2015 7:10 pm
by vicberg
Holland Annexation has been tested and working

Posted: Sat Dec 12, 2015 11:22 pm
by lycortas2
Vic, the -10 for Denmark involving Oldenburg is for a specific dynastic reason that does not apply to Hannover.

Posted: Sun Dec 13, 2015 11:43 am
by PhilThib
lycortas2 wrote:Vic, the -10 for Denmark involving Oldenburg is for a specific dynastic reason that does not apply to Hannover.


Good point and sound historical knowledge :thumbsup: In fact, we should even go so far as giving a +10 on DEN for Annexation of hannover (the Danes were quite pleased that the French removed that 'Anglo' possession on their south!)

Posted: Sun Dec 13, 2015 2:04 pm
by MarshalJean
vicberg wrote:Hannover Script (untested)

startEvent = evt_nam_FRA_HannoverAnnexed|0|2|evt_txt_FRA_HannoverAnnexed|Event-Img_FRA_HannoverAnnexed|$Hannover|NULL

Conditions
MinDate = 1805/01/01
MaxDate = 1815/01/12
Probability = 100

Actions
DescEvent = evt_desc_WES_KingdomCreation

SelectFaction = GBR
ChangeFacMorale = -5
ChgVPCount = -50

SelectFaction = FRA
AbsorbFaction = HAN;100;100;100;100;100;75;75
ChangeLoyaltyFac = $Area_Hannover;25
ChgFacRelationships = BRU;-10;OLD;-10;MEK;-10;PRU;-20

EndEvent

The above should include DEN;-10 to be consistent with Oldenburg and since Hannover is closer to Denmark than Oldenburg.


I've tested it. It works for me! Hannover is now absorbed by France and not declaring war on anyone, anymore. :)

Posted: Tue Dec 15, 2015 11:31 am
by Pocus
Congratulations to Vicberg for this little script! :)