• 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.
swedish event fix

#(1419-1439) Rebellion in Sweden
event = {
id = 291020 #triggered by DAN_159045 B
random = no
country = SWE
name = "EVENTNAME291020" #Rebellion in Sweden
desc = "EVENTHIST291020"
#-#Following the wars against the counts of Holstein the unrest in Sweden was very high due to the war taxes imposed by Erik. In 1434 this resulted in major rebellion in northern and central Sweden. Erik had no choice but to sign a treaty that severely reduced his power in Sweden or face a full-scale Swedish war. Due to his pride Erik refused to sign the treaty which gave the Swedish State Council the just cause needed to end the Swedish vassalage and fight a war of independence against Denmark.
The Swedes were not happy with the Danes' frequent wars on Schleswig, Holstein, Mecklenburg, and Pomerania, which were a disturbance to Swedish iron exports to the European continent. Furthermore, the centralization of government in Denmark raised suspicions. The Swedish Privy Council wanted to retain a fair degree of self-government. The unity of the union eroded in the 1430s, even to the point of armed rebellion, leading to the expulsion of Danish forces from Sweden.

action_a = {
name = "ACTIONNAME291020A" #Sweden will be independent
command = { type = stability value = 3 }
command = { type = breakvassal which = DAN }
command = { type = war which = DAN }
command = { type = domestic which = aristocracy value = 1 } #More influence for the Swedish nobility
command = { type = domestic which = centralization value = -1 } #More influence for the Swedish nobility
command = { type = revoltrisk which = 120 value = -3 } #Swedish nobles less likely to revolt for now
command = { type = sleepmonarch which = 0131500 } #Erik av Pommern
command = { type = wakemonarch which = 0131540 } #Swedish Privy Council
}
action_b = {
name = "ACTIONNAME291020B" #Lets fight the rebellion instead
command = { type = stability value = -3 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = domestic which = aristocracy value = -1 } #Less influence for the Swedish nobility
command = { type = domestic which = centralization value = 1 } #Less influence for the Swedish nobility
command = { type = revoltrisk which = 120 value = 3 } #Swedish nobles more likely to revolt for now
command = { type = province_revoltrisk which = 254 value = -2 } #Svealand
command = { type = province_revoltrisk which = 257 value = -1 } #Bergslagen
command = { type = province_revoltrisk which = 1469 value = -1 } #Gästrikland
}
}
 
Last edited:
swedish events 291002 and 291003 are fine

#(1497-1501) The arrival of King Hans
event = {
id = 291005 #triggered by DAN_159017 A
random = no
country = SWE
name = "EVENTNAME291005" #The arrival of King Hans
desc = "EVENTHIST291005"
#-#By 1497 it was painfully clear that Swedens regent Sten Sture den äldre (the elder) had been stalling the coronation of King Hans. Hans mobilised an army which headed for Stäket north of Stockholm. Stäket were under siege by Sten Sture den äldre (the elder), but with the arrival of King Hans's army Sten Sture den äldre (the elder) was forced to retreat to Stockholm. Here he waited for a pleasant army to arrive and assist him. The Swedish nobles had to deside if they should support Hans or Sten Sture den äldre (the elder).

action_a = {
name = "ACTIONNAME291005A" #Accept Hans as our King
command = { type = stability value = -1 }
command = { type = INF which = 1469 value = 4000 } #Gästrikland
command = { type = INF which = 1469 value = 4000 } #Gästrikland
command = { type = CAV which = 1469 value = 4000 } #Gästrikland
command = { type = revolt which = -2 }
command = { type = revolt which = 257 } #Bergslagen
command = { type = relation which = DAN value = 100 }
command = { type = provincetax which = 257 value = -3 } #Bergslagen
command = { type = domestic which = aristocracy value = 1 }
command = { type = domestic which = centralization value = -1 }
command = { type = wakemonarch which = 0131503 } #Hans
}
action_b = {
name = "ACTIONNAME291005B" #Support Sten Sture
command = { type = stability value = -7 }
command = { type = relation which = DAN value = -100 }
command = { type = domestic which = aristocracy value = -1 }
command = { type = domestic which = centralization value = 1 }
command = { type = domestic which = serfdom value = -1 }
command = { type = revolt which = 1469 } #Gästrikland
command = { type = revolt which = 1469 } #Gästrikland
command = { type = revolt which = 1469 } #Gästrikland
command = { type = revolt which = 252 } #Småland
command = { type = revolt which = 253 } #Västergötland
command = { type = revolt which = 254 } #Svealand
command = { type = trigger which = 159010 } #DAN: Sten Sture den äldre (the elder) refuses to crown Hans
command = { type = sleepevent which = 159018 } #DAN: Sten Sture den äldre (the elder) submits to Hans
}
}



historicalmonarch = {
id = { type = 6 id = 0131509 }
startdate = {
day = 15
month = may
year = 1470
}
deathdate = {
day = 13 20
month = january july
year = 1483 1504
}
name = "Sten Sture den äldre"
DIP = 4
MIL = 6
ADM = 5
dormant = no
}
historicalmonarch = {
id = { type = 6 id = 0131503 }
startdate = {
day = 13
month = january
year = 1483
}
deathdate = {
day = 20
month = july
year = 1504
}
name = "Hans"
DIP = 4
MIL = 5
ADM = 3
dormant = no yes
remark = "Regent of Sweden"
}

......................................................

#(1501-1513) Hans defeated in Ditmarsken
event = {
id = 291008
trigger = {
vassal = { country = DAN country = SWE }
monarch = 0131503 #Hans
OR = {
event = 159019 #Danish event: The defeat at Ditmarsken. #1
event = 159020 #Danish event: The defeat at Ditmarsken. #2
event = 159021 #Danish event: The gift to Frederik.
}
}
random = no
country = SWE
name = "EVENTNAME291008" #Hans defeated in Ditmarsken
desc = "EVENTHIST291008"
#-#In 1501 the Danish army suffered a massive defeat at the hands of a peasant army in Ditmarsken. This gave the Swedish nobles renewed hope of a independent Sweden. Sten Sture den äldre (the elder) siezed the moment and gathered the nobles to rally them against King Hans. The nobles agreed that time had, come for a independent Sweden and wrote a letter of independence to King Hans. Following that they seiged the castle at Stockholm where the Danish Queen Christine currently resided. Christine kept the Swedish army at bay with a 1000 men for about seven month before she was forced to surrender.

date = { day = 9 month = august year = 1501 }
offset = 30
deathdate = { day = 1 month = january year = 1513 }

action_a = {
name = "ACTIONNAME291008A" #Sweden shall be independent
command = { type = breakvassal which = DAN }
command = { type = relation which = DAN value = -200 }
command = { type = domestic which = centralization value = 1 }
command = { type = domestic which = aristocracy value = 1 }
command = { type = provincetax which = 257 value = 3 } #Bergslagen
command = { type = trigger which = 159022 } #DAN: Sweden declares itself independent
command = { type = sleepmonarch which = 0131503 } #Hans
command = { type = sleepmonarch which = 0131504 } #Christian II
command = { type = wakemonarch which = 0131509 } #Sten Sture den äldre
command = { type = wakemonarch which = 0131510 } #Svante Nilsson (Sture)
]command = { type = wakemonarch which = 0131511 } #Sten Sture den yngre

}
action_b = {
name = "ACTIONNAME291008B" #Remain loyal to Hans
command = { type = stability value = 1 }
command = { type = domestic which = innovative value = -1 }
command = { type = revoltrisk which = 120 value = 1 }
command = { type = revolt which = 254 } #Svealand
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = wakemonarch which = 0131503 } #Hans
command = { type = wakemonarch which = 0131504 } #Christian II

command = { type = sleepmonarch which = 0131509 } #Sten Sture den äldre
command = { type = sleepmonarch which = 0131510 } #Svante Nilsson (Sture)
command = { type = sleepmonarch which = 0131511 } #Sten Sture den yngre

}
}
 
Last edited:
something's wrong with denemark in the latest beta(S); it is very agressive, does not peace when all provinces covered and sieged with 100%ws( and no 1 transport ship either "lost" anywhere, i made sure of that by reloading as denemark) and in my latest game, as a 1 province minor with 26bb (by 1500) dows poland(wich does not even own any of her cores, or have a big bb herself):confused:
it has some very odd behaviour, take a look at her please.
 
I'll have to take this piece by piece as this was only really started because I recently finished Jared Diamond's Collapse. I really don't know squat about Greenland/Denmark/Norway :eek:o But I'll see what I can discover for consideration.
Remember Greenland sequence can start in 1585 (DAN_25100).

Should Greenland really be included in following AI files:
DAN_1440_Standard.ai => I can understand because of 1585 but still, can't we wait until 1670? or 1619-1630 (*)
ENG_1570_Drake.ai => I can understand because of 1585 but do we really need England to eventually colonize..?
FRA_1533_Cartier.ai => same as for England

If the TPs are deleted then 25100 needs to amended to trigger if Denmark has discovered 1537 and 1538. This should probably also include an AI change to allow for colonization in addition to a pair of colonists. But this AI should probably be specific to this situation to avoid premature colonization efforts. I think the rest of the sequence is OK although I'm not sure why there are conversion command and missionaries in 25102. (In case colonization had been started by somebody else of a different religion?)

Since nobody made any serious efforts to discover or colonize Greenland prior to Egede I'd delete Greenland from everybody's AI until he shows up. Even the Danes themselves as they seem to have had very little curiosity about Greenland. Perfectly understandable given how piss-poor the land was there.
 
What about the Danish cores granted in the 1648 scenario and by DAN_3847 (ahistorical independence of Norway)?

I'd remove all of those cores. The only situation that should give cores to Denmark before Egede is if 52100 fires. I see no reason why Norway would fight over Greenland when there's much more important stuff going on closer to home.
 
we need to wake monarch which would be the SWEDISH PRIVY COUNCIL from 1434 to 4th April 1439
What about the stats of such Council?

In post #743, is SWE_291005 an historical event? If yes, I don't understand why Hans should be woken up and action_b should handle ahistorical situation for monarchs. In other words, monarchs.swe should have the right not dormant monarchs according to History and only alternative/ahistorical monarchs should be dormant. Of course, ° or * at the end of the names when applicable will help... and is mandatory now.

Same problem with SWE_291008 if historical. Action_a should do nothing for monarchs and everything should be handled in action_b.


I'm still confused with Swedish History but I have no time left to make relevant research in order to learn exactly what happened. And "Ahistorical" as comment on the first line of some events (if necessary) would help me... a lot!
 
Last edited:
something's wrong with denemark in the latest beta(S); it is very agressive, does not peace when all provinces covered and sieged with 100%ws( and no 1 transport ship either "lost" anywhere, i made sure of that by reloading as denemark) and in my latest game, as a 1 province minor with 26bb (by 1500) dows poland(wich does not even own any of her cores, or have a big bb herself):confused:
it has some very odd behaviour, take a look at her please.
AI Denmark is never furious. I don't know what happened but only used AI file around 1500 is DAN_1440_Standard.ai and I see no bug in this file. There is no forced war between Poland and Denmark in Danish events either.
 
What about the stats of such Council?


i was thinking of this

historicalmonarch = {
id = { type = 6 id = 0131540 }
startdate = {
day = 1
month = january
year = 1419
}
deathdate = {
day = 4
month = april
year = 1439
}
name = "Swedish Privy Council *"
DIP = 3
ADM = 2
MIL = 4
dormant = yes
remark = "Ruled Sweden when Eric was banished "
}



In post #743, is SWE_291005 an historical event? If yes, I don't understand why Hans should be woken up and action_b should handle ahistorical situation for monarchs.

option A is historical .............sweden was forced to accept Hans in 1497 even though he ruled Denmark from 1483

option B is Ahistorical...basically lets keep the situation as it is

I'm still confused with Swedish History but I have no time left to make relevant research in order to learn exactly what happened. And "Ahistorical" as comment on the first line of some events (if necessary) would help me... a lot!

??

in the 3 events i presented all option A choices are historical and option B is not
 
AI Denmark is never furious. I don't know what happened but only used AI file around 1500 is DAN_1440_Standard.ai and I see no bug in this file. There is no forced war between Poland and Denmark in Danish events either.

I get this problem in rare occasions, you need to close down EU2 and restart from some point in the saved files you have and not autosave option
 
If the TPs are deleted then 25100 needs to amended to trigger if Denmark has discovered 1537 and 1538. This should probably also include an AI change to allow for colonization in addition to a pair of colonists. But this AI should probably be specific to this situation to avoid premature colonization efforts. I think the rest of the sequence is OK although I'm not sure why there are conversion command and missionaries in 25102. (In case colonization had been started by somebody else of a different religion?)
Maybe we could split 25100. First event for the discovery and the cores only and second one as soon as colonized (not a TP).
Same for Norwegian twin event.

Since nobody made any serious efforts to discover or colonize Greenland prior to Egede I'd delete Greenland from everybody's AI until he shows up. Even the Danes themselves as they seem to have had very little curiosity about Greenland. Perfectly understandable given how piss-poor the land was there.
Ok, Greenland removed from ENG_1570_Drake.ai and FRA_1533_Cartier.ai and addcore commands on the two provinces removed in DAN_3847.


We have to discuss effects of the "discovery" but do we really need a specific Danish AI file? Colonization will never start very early because expansion value is 0 until 1670. But cores can be granted as soon as 1585 (my proposed split above).
AI Norway is not a problem anyway => no expansion at all.
 
i was thinking of this

historicalmonarch = {
id = { type = 6 id = 0131540 }
startdate = {
day = 1
month = january
year = 1419
}
deathdate = {
day = 4
month = april
year = 1439
}
name = "Swedish Privy Council *"
DIP = 3
ADM = 2
MIL = 4
dormant = yes
remark = "Ruled Sweden when Eric was banished "
}
Fine

in the 3 events i presented all option A choices are historical and option B is not
In this case you already have my answer: action_a should do nothing for monarchs and action_b should handle ahistorical situation with historical slept monarchs and eventually ° or * woken monarchs.
 
Fine

In this case you already have my answer: action_a should do nothing for monarchs and action_b should handle ahistorical situation with historical slept monarchs and eventually ° or * woken monarchs.

post 742 and 743 amended
 
I get this problem in rare occasions, you need to close down EU2 and restart from some point in the saved files you have and not autosave option

does that really makes a diffrence?(yes i always use autosave only)
 
post 742 and 743 amended
In post #742, I understand we need a dormant Hans because of the date range. If Sweden revolts, it would be weird to have Hans as historical ruler and better have Sten Sture den äldre in this case, right?

In post #743 and SWE_291008, shouldn't we check if Hans (0131503) is the monarch for safety or is this condition irrelevant and vassal status only necessary?

If the check is irrelevant, why keeping the "sleepmonarch which = 0131509" command in action_b? Shouldn't we have another occurence of Hans or just wake 0131503 in this case? If Hans (0131503) is already on the throne, it won't be a real problem and command will be ignored.

If the check is relevant, we need another occurrence of Sten Sture den äldre to be woken in action_a and no wake/sleep command in action_b.
 
In post #742, I understand we need a dormant Hans because of the date range. If Sweden revolts, it would be weird to have Hans as historical ruler and better have Sten Sture den äldre in this case, right?

??.....post 742 has nothing to do with Sten , it happened 50 years earlier from when Sten ruled


In post #743 and SWE_291008, shouldn't we check if Hans (0131503) is the monarch for safety or is this condition irrelevant and vassal status only necessary?

I agree, we can place Hans as part of the trigger, i amended post

If the check is irrelevant, why keeping the "sleepmonarch which = 0131509" command in action_b? Shouldn't we have another occurence of Hans or just wake 0131503 in this case? If Hans (0131503) is already on the throne, it won't be a real problem and command will be ignored.

if 291005 action A is taken, then Hans becomes Monarch, so when 291008 fires and Hans wants to be retained (option B) then we need to ensure that Sten stays asleep

If the check is relevant, we need another occurrence of Sten Sture den äldre to be woken in action_a and no wake/sleep command in action_b.
i do not understand, because both Hans and Sten , whoever rules is replaced in 1504 by Svante Nilsson
 
Maybe we could split 25100. First event for the discovery and the cores only and second one as soon as colonized (not a TP).
Same for Norwegian twin event.

Ok, Greenland removed from ENG_1570_Drake.ai and FRA_1533_Cartier.ai and addcore commands on the two provinces removed in DAN_3847.


We have to discuss effects of the "discovery" but do we really need a specific Danish AI file? Colonization will never start very early because expansion value is 0 until 1670. But cores can be granted as soon as 1585 (my proposed split above).
AI Norway is not a problem anyway => no expansion at all.

If there's no chance of colonization then why have 52100 at all? IMO that event represents an ahistoric colonization effort to reclaim the old Norse settlements. If they're not going to colonize them then I see no reason to grant cores before any effort is made. My philosophy is that cores are granted whenever a sincere effort has been made to colonize a province. That's why I structured the Portuguese and Spanish core-granting events the way that I did.

That's why I think that 52100 should trigger its own AI to allow for colonization. That may well have implications for North America during the 1600s, but I'll let y'all think that one through.
 
If there's no chance of colonization then why have 52100 at all? IMO that event represents an ahistoric colonization effort to reclaim the old Norse settlements. If they're not going to colonize them then I see no reason to grant cores before any effort is made. My philosophy is that cores are granted whenever a sincere effort has been made to colonize a province. That's why I structured the Portuguese and Spanish core-granting events the way that I did.
Right but, in this particular case, cores could just give a CB to Denmark or Norway against any other country trying to colonize Greenland.

That's why I think that 52100 should trigger its own AI to allow for colonization. That may well have implications for North America during the 1600s, but I'll let y'all think that one through.
That's why I proposed to split the event. IMHO, we don't need to push Denmark in an early ahistorical colonization. Cores can be granted as soon as possible after 1585 but effects of the colonization could wait for AI Denmark to be able to do it (ie. not before 1670 with current AI files).
 
??.....post 742 has nothing to do with Sten , it happened 50 years earlier from when Sten ruled
Sorry, comment was for SWE_291005.

I agree, we can place Hans as part of the trigger, i amended post
Fine

if 291005 action A is taken, then Hans becomes Monarch, so when 291008 fires and Hans wants to be retained (option B) then we need to ensure that Sten stays asleep
But this is already ensured by the Hans (0131503) condition and because 0131503 can't be woken if Sten is not slept in 291005. The sleep Sten command is really useless in 291008 action_b.

And for 291008 to be complete, we need another dormant Sten monarch to be woken in action_a (including your last modifications):
Code:
#(1501-15[COLOR="Red"]13[/COLOR][COLOR="Yellow"]04[/COLOR]) Hans defeated in Ditmarsken
event = {
	id = 291008
	trigger = {
		vassal = { country = DAN country = SWE }
		monarch = 0131503 #Hans
		OR = {
			event = 159019 #DAN: The defeat at Ditmarsken -I-
			event = 159020 #DAN: The defeat at Ditmarsken -II-
			event = 159021 #DAN: The gift to Frederik
		}
	}
	random = no
	country = SWE
	name = "EVENTNAME291008" #Hans defeated in Ditmarsken
	desc = "EVENTHIST291008"
	#-#

	date = { day = 9 month = august year = 1501 }
	offset = 30
	[COLOR="Red"]deathdate = { day = 1 month = january year = 1513 }[/COLOR]
	[COLOR="Yellow"]deathdate = { day = 19 month = july year = 1504 }[/COLOR]

	action_a = {
		name = "ACTIONNAME291008A" #Sweden shall be independent
		command = { type = breakvassal which = DAN }
		[COLOR="Yellow"]command = { type = wakemonarch which = 0131541 } #Sten Sture den äldre[/COLOR]
		command = { type = relation which = DAN value = -200 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = provincetax which = 257 value = 3 } #Bergslagen
		command = { type = trigger which = 159022 } #DAN: Sweden declares itself independent
	}
	action_b = {
		name = "ACTIONNAME291008B" #Remain loyal to Hans
		command = { type = stability value = 1 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = revoltrisk which = 120 value = 1 }
		command = { type = revolt which = 254 } #Svealand
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		[COLOR="Red"]command = { type = sleepmonarch which = 0131509 } #Sten Sture den äldre[/COLOR]
	}
}
#-#In 1501 the Danish army suffered a massive defeat at the hands of a peasant army in Ditmarsken. This gave the Swedish nobles renewed hope of a independent Sweden. Sten Sture den äldre (the elder) siezed the moment and gathered the nobles to rally them against King Hans. The nobles agreed that time had, come for a independent Sweden and wrote a letter of independence to King Hans. Following that they seiged the castle at Stockholm where the Danish Queen Christine currently resided. Christine kept the Swedish army at bay with a 1000 men for about seven month before she was forced to surrender.

New dormant monarch:
Code:
historicalmonarch = {
	id = { type = 6 id = 0131541 }
	startdate = {
		day = 9
		month = august
		year = 1501
	}
	deathdate = {
		day = 20
		month = july
		year = 1504
	}
	name = "Sten Sture den äldre"
	DIP = 4
	MIL = 6
	ADM = 5
	dormant = yes
}


i do not understand, because both Hans and Sten , whoever rules is replaced in 1504 by Svante Nilsson
But can Hans stay on the Swedish throne if Sweden becomes independent? See my proposal above.
 
Last edited: