• 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.
Code:
#(1650-1662) Koxinga in Ming service
#by sturmvogel
event = {
	id = 147059
	trigger = {
		exists = MCH
		NOT = { exists = U14 }
		[COLOR=YellowGreen]monarch = 032023 #Zhu You Lang (Yong Li) ∞[/COLOR]
	}
	random = no
	country = CHI
	name = "EVENTNAME147059" #Koxinga in Ming service
	desc = "EVENTHIST147059"
	#-#

	date = { day = 1 month = january year = 1650 }
	offset = 0
	deathdate = { day = 23 month = august year = 1662 }

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 032315 } #Koxinga
	}
}
#(1652-1656) Bribe Koxinga
#by sturmvogel
event = {
	id = 147060
	trigger = {
		NOT = { exists = U14 }
		[COLOR=YellowGreen]monarch = 032015 #Shunzhi[/COLOR]
	}
	random = no
	country = CHI
	name = "EVENTNAME147060" #Bribe Koxinga
	desc = "EVENTHIST147060"
	#-#

	date = { day = 1 month = january year = 1652 }
	offset = 500
	deathdate = { day = 1 month = january year = 1655 }

	action_a = {
		name = "YES"
		command = { type = treasury value = -50 }
		command = { type = wakeleader which = 032315 } #Koxinga
		command = { type = sleepevent which = 147061 } #CHI: The Coastal Evacuation
	}
	action_b = {
		name = "NO"
		command = { }
	}
}
EVENTNAME147059;Koxinga in Ming service;;;;;;;;;;
EVENTHIST147059;Koxinga has joined our service.;;;;;;;;;;

EVENTNAME147060;Bribe Koxinga;;;;;;;;;;
EVENTHIST147060;Zheng Chenggong, known as Koxinga in the West from his title of Guoxingye (Lord of the Imperial Surname), which was pronounced "Kok seng ia" in southern Fujianese, was the remnant Ming dynasty's best commander. Is it worth trying to bribe him into our service, Lord?;;;;;;;;;;

Koxinga in U14 service shouldn't be dormant. He should be dormant in CHI service.
 
Last edited:
Code:
#(1661-1662) The Coastal Evacuation
event = {
	id = 147061
	trigger = {
		exists = U14
		[COLOR=YellowGreen]monarch = 032015 #Shunzhi[/COLOR]
	}
	random = no
	country = CHI
	name = "EVENTNAME10022" #The Coastal Evacuation
	desc = "EVENTHIST10022"
	#-#

	date = { day = 1 month = january year = 1661 }
	offset = 300
	deathdate = { day = 1 month = january year = 1662 }

	action_a = {
		name = "ACTIONNAME10022A" #Evacuate the coasts!
		command = { type = population which = 650 value = -20000 } #Shandong
		command = { type = population which = 652 value = -20000 } #Jiangsu
		command = { type = population which = 653 value = -20000 } #Shanghai
		command = { type = population which = 655 value = -20000 } #Zhejiang
		command = { type = population which = 656 value = -20000 } #Fujian
		command = { type = population which = 657 value = -20000 } #Kowloon
		command = { type = population which = 659 value = -20000 } #Guangdong
		command = { type = population which = 660 value = -20000 } #Hainan
		command = { type = population which = 1555 value = 20000 } #Wenshan
		command = { type = population which = 1562 value = 20000 } #Shanxi
		command = { type = population which = 1564 value = 20000 } #Henan
		command = { type = population which = 1565 value = 20000 } #Hubei
		command = { type = population which = 1566 value = 20000 } #Hunan
		command = { type = population which = 1567 value = 20000 } #Nanchang
		command = { type = population which = 651 value = 20000 } #Jinan
		command = { type = population which = 654 value = 20000 } #Anhui
		command = { type = treasury value = -500 }
	}
	action_b = {
		name = "ACTIONNAME10022B" #Let the pirates pillage!
		command = { type = stability value = -3 }
		command = { type = population which = 650 value = -5000 } #Shandong
		command = { type = population which = 652 value = -5000 } #Jiangsu
		command = { type = population which = 653 value = -5000 } #Shanghai
		command = { type = population which = 655 value = -5000 } #Zhejiang
		command = { type = population which = 656 value = -5000 } #Fujian
		command = { type = population which = 657 value = -5000 } #Kowloon
		command = { type = population which = 659 value = -5000 } #Guangdong
		command = { type = population which = 660 value = -5000 } #Hainan
		command = { type = provincetax which = 650 value = -3 } #Shandong
		command = { type = provincetax which = 652 value = -3 } #Jiangsu
		command = { type = provincetax which = 653 value = -3 } #Shanghai
		command = { type = provincetax which = 655 value = -3 } #Zhejiang
		command = { type = provincetax which = 656 value = -3 } #Fujian
		command = { type = provincetax which = 657 value = -3 } #Kowloon
		command = { type = provincetax which = 659 value = -3 } #Guangdong
		command = { type = provincetax which = 660 value = -3 } #Hainan
	}
}
 
Last edited:
317017 grants a core on Taiwan for U14. How do I encourage them to actually attack sometime close to when Koxinga actually did? Normally I'd just grant a CB, but that seems a bit redundant.
AI change?
 
For 147059, better test possible Ming monarchs in addition to proposed conditions.

For 147060, better test possible Qing monarchs instead of the OR condition.

For 147061, this is not really needed but better add a test for the current Qing monarch for comprehension.
 
sturmvogel said:
317017 grants a core on Taiwan for U14. How do I encourage them to actually attack sometime close to when Koxinga actually did? Normally I'd just grant a CB, but that seems a bit redundant.
AI change?
AI file should be CHI_1635_CivilWar.ai for U14 with war = 50. But because of the combat list in this file and strength of Netherlands (or any other European colonizer... and this is a problem for a new AI file), I'm not sure Southern Ming will even try to DoW and conquer the island.
 
sturmvogel said:
And I suppose I could do a parallel version for Taiwan for all non-Dutch European owners. What do you think?
Why not but Taiwan colonized before Luzon is rare. I even never saw it...

sturmvogel said:
Edit: I really don't want to write paired ownership/controlled triggers for 317016, but I think that its pretty unlikely that the Southern Ming won't control at least one of these provinces. 317017 renumbered to 317003
Replaced Spanish event, with province_spec event and modified text
Fine.
 
Let me emphasize that China shouldn't have a core on Taiwan in 1419, 1520 or 1648. It will be granted as part of the defeat of the Ming. Once I get to that part of the whole sequence.
 
I was thinking that maybe the Spanish could grab it since they're the closest. Or the Portuguese since they're liable to discover it first. Either is more likely than the French or English.
 
sturmvogel said:
Let me emphasize that China shouldn't have a core on Taiwan in 1419, 1520 or 1648. It will be granted as part of the defeat of the Ming. Once I get to that part of the whole sequence.
Just waiting for this... :)

sturmvogel said:
I was thinking that maybe the Spanish could grab it since they're the closest. Or the Portuguese since they're liable to discover it first. Either is more likely than the French or English.
If a player is involved, maybe but not if AI.
 
Code:
historicalleader = {
	id = { type = 6 id = 032326 }
	category = admiral
	name = "Shi Lang"
	startdate = {
		year = 1663
	}
	deathdate = {
		year = 1684
	}
	rank = 3
	movement = 3
	fire = 3
	shock = 3
	siege = 0
	dormant = yes
	remark = "ratings pending further information"
}
historicalleader = {
	id = { type = 6 id = 032327 }
	category = monarch
	name = "Kangxi"
	startdate = {
		year = 1690
	}
	deathdate = {
		year = 1700
	}
	rank = 0
	movement = 3
	fire = 3
	shock = 3
	siege = 0
	dormant = yes
	remark = "ratings pending further information"
}
I wonder if we should have Manchu equivalents in case they don't conquer China?
 
Last edited:
Code:
#(1689) Kiangxi is ready to take to the field of battle
event = {
	id = 147062
	[COLOR=YellowGreen]trigger = { 
		monarch = 032016 #Kiangxi (CHI)
		NOT = {
			leader = 084303 #Kiangxi (MCH)
		}
	}[/COLOR]
	random = no
	country = CHI
	name = "EVENTNAME147062" #Kiangxi is ready to take to the field of battle
	desc = "EVENTHIST147062"
	#-#

	date = { day = 1 month = january year = 1689 }
	[COLOR=YellowGreen]offset = 1
	deathdate = { day = 29 month = december year = 1699 }[/COLOR]

	action_a = {
		name = "OK"
		command = { type = wakeleader which = 032327 }
	}
}
EVENTNAME147062;Kiangxi is ready to take to the field of battle;;;;;;;;;;
EVENTHIST147062;The Emperor had wanted to lead his troops against the Three Feudatories, but had been restrained by the advice of his advisors. Against the Dzungar Mongols he would lead his forces to victory in the Battle of Zuunmod in 1696.;;;;;;;;;;

Deleted event for Shi Lang.
 
Last edited:
Both leaders are for Qing dynasty, and should "normally" not be dormant. We don't have an event for each leader that appear in the game...

But, because of the special status of China in this era and possible tag changes, I admit it is more simple to handle them this way but events should cover the entire duration (or at least first year(s)?) of possible appearance (offset = 1 and dearhdate in avents according to dates of the leaders).
 
Army names for the Manchu and Qing

MCH;Yellow Banner
MCH;Bordered-Yellow Banner
MCH;White Banner
MCH;Red Banner
MCH;Bordered-White Banner
MCH;Bordered-Red Banner
MCH;Blue Banner
MCH;Bordered-Blue Banner
CHI;Yellow Banner
CHI;Bordered-Yellow Banner
CHI;White Banner
CHI;Red Banner
CHI;Bordered-White Banner
CHI;Bordered-Red Banner
CHI;Blue Banner
CHI;Bordered-Blue Banner
CHI;Green Standard Army
CHI;Territorial Eight Banner Army
CHI;Forbidden Eight Banner Army
 
One of Dorgon's full brothers. For the Manchus.
Code:
historicalleader = {
	id = { type = 6 id = 084304 }
	category = general
	name = "Abatai"
	startdate = {
		year = 1611
	}
	deathdate = {
		year = 1646
	}
	rank = 1
	movement = 3
	fire = 3
	shock = 3
	siege = 1
	dormant = no
}
 
Last edited:
YodaMaster said:
Both leaders are for Qing dynasty, and should "normally" not be dormant. We don't have an event for each leader that appear in the game...

But, because of the special status of China in this era and possible tag changes, I admit it is more simple to handle them this way but events should cover the entire duration (or at least first year(s)?) of possible appearance (offset = 1 and dearhdate in avents according to dates of the leaders).

Maybe then the thing to do is to handle the awakenings like Alt-Iberia does and put them in the flag conversion event. What do you think?

Kangxi is in the Manchu file, but with some seriously excellent ratings and for his entire reign. I'm not sure that he campaigned so much to justify 50 years and his ratings seem awfully high. But I don't actually have much info on him.
 
He was arrested and executed for treason in 1630.
Code:
historicalleader = {
	id = { type = 6 id = 03232[COLOR=SandyBrown]5[/COLOR] }
	category = general
	name = "Yuan Chonghuan"
	startdate = {
		year = [COLOR=YellowGreen]1623[/COLOR]
	}
	deathdate = {
		[COLOR=YellowGreen]day = 13
		month = january
		year = 1630[/COLOR]
	}
	rank = 1
	movement = 5
	fire = 5
	shock = 5
	siege = 2
	dormant = no
}
 
Last edited:
Ok for the manchus flag events but better avoid two occurences of Kangxi...

In this case, better keep the event for this one and avoid firing if MCH leader is in game (even with MCH => CHI tag change, id will be in China section if already in game). And shouldn't he be made dormant in MCH leaders and only woken if Manchus never became Qing China (i.e. he will not appear if Manchus revolt after 1672)?
 
sturmvogel said:
He was arrested and executed for treason in 1630.
Code:
historicalleader = {
	id = { type = 6 id = 032324 }
	category = general
	name = "Yuan Chonghuan"
	startdate = {
		year = [COLOR=YellowGreen]1623[/COLOR] #1629
	}
	deathdate = {
		[COLOR=YellowGreen]day = 13
		month = january
		year = 1630[/COLOR] #1640
	}
	rank = 1
	movement = 5
	fire = 5
	shock = 5
	siege = 2
	dormant = yes
}
See CHI_147052. We could have a not dormant version with the dates you provide, the trial (the event) and a dormant version after this if action_b or action_c with the event.
 
YodaMaster said:
See CHI_147052. We could have a not dormant version with the dates you provide, the trial (the event) and a dormant version after this if action_b or action_c with the event.
Yeah, I like him as non-dormant from 1623-1630 then possibly awakened with choices B or C.