vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Hannover and Oldenburg

Sat Dec 12, 2015 6:29 pm

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.

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 6:37 pm

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

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 6:41 pm

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.

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Sat Dec 12, 2015 7:10 pm

Holland Annexation has been tested and working

lycortas2
Captain
Posts: 199
Joined: Tue Sep 18, 2012 1:57 am

Sat Dec 12, 2015 11:22 pm

Vic, the -10 for Denmark involving Oldenburg is for a specific dynastic reason that does not apply to Hannover.

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Sun Dec 13, 2015 11:43 am

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!)
Image

MarshalJean
Lieutenant
Posts: 146
Joined: Tue Apr 30, 2013 2:49 pm

Sun Dec 13, 2015 2:04 pm

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. :)

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Dec 15, 2015 11:31 am

Congratulations to Vicberg for this little script! :)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Wars of Napoleon”

Who is online

Users browsing this forum: No registered users and 6 guests