• 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.
Nwe Generals of CHI

How to write in a frame?

Wu Sanguis "deathdate" is 1644 he abondanted Ming for his wife


Remove Li Zicheng and Zhang Xianzhong

historicalleader = {
id = { type = 6 id = 032313 }
category = general
name = "Wu Sangui"
startdate = {
year = 1635
}
deathdate = {
year = 1644
}
rank = 2
movement = 4
fire = 3
shock = 4
siege = 2
dormant = yes
}

historicalleader = {
id = { type = 6 id = ?? }
category = general
name = "Xiong Tingbi"
startdate = {
year = 1621
}
deathdate = {
year = 1625
}
rank = 3
movement = 3
fire = 3
shock = 3
siege = 1
dormant = yes
}




historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Hong Chengchou"
startdate = {
year = 1629
}
deathdate = {
year = 1642
}
rank = 1
movement = 3
fire = 4
shock = 2
siege = 2
dormant = yes
}



historicalleader = {
id = { type = 6 id = ?? }
category = general
name = "Sun Chengzong"
startdate = {
year = 1635
}
deathdate = {
year = 1644
}
rank = 2
movement = 4
fire = 2
shock = 4
siege = 2
dormant = yes
}


historicalleader = {
id = { type = 6 id = ?? }
category = general
name = "Mao Wenlong"
startdate = {
year = 1621
}
deathdate = {
year = 1629
}
rank = 5
movement = 4
fire = 4
shock = 3
siege = 0
dormant = yes
}
 
generals MCH

historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Wu Sangui"
startdate = {
year = 1635
}
deathdate = {
year = 1644
}
rank = 2
movement = 4
fire = 3
shock = 4
siege = 2
dormant = yes
}


historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Hong Chengchou"
startdate = {
year = 1642
}
deathdate = {
year = 1655
}
rank = 3
movement = 3
fire = 4
shock = 2
siege = 2
dormant = yes
}


historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Hooge"
startdate = {
year = 1627
}
deathdate = {
year = 1648
}
rank = 1
movement = 4
fire = 2
shock = 4
siege = 2
dormant = yes
}
 
Da Xi is a vassal of Da Shun, which didn't fit the history but make event much more easier, as Da Xi later inherited by Southern Ming
Generals of Da Xi
historicalleader = {
id = { type = 6 id = 32314 }
category = monrach
name = "Zhang Xianzhong"
startdate = {
year=1628
}
deathdate = {
year=1644
}
rank = 0
movement = 4
fire = 2
shock = 3
siege = 2
}


historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Luo Rucai"
startdate = {
year=1631
}
deathdate = {
year=1642
}
rank = 1
movement = 4
fire = 2
shock = 3
siege = 2
}


historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Li Dingguo"
startdate = {
year=1630
}
deathdate = {
year=1646
}
rank = 2
movement = 3
fire = 3
shock = 3
siege = 2
}

historicalleader = {
id = { type = 6 id = ? }
category = general
name = "Li Dingguo"
startdate = {
year=1630
}
deathdate = {
year=1646
}
rank = 2
movement = 3
fire = 3
shock = 3
siege = 2
}


Li Dingguo joined Southern Ming as Southern Ming inherit Da Xi, can we
implement it in the game?

Generals of Da Shun



historicalleader = {
id = { type = 6 id = 032302 }
category = monarch
name = "Li Zicheng"
startdate = {
year = 1636
}
deathdate = {
year = 1644
}
rank = 0
movement = 4
fire = 2
shock = 3
siege = 0
dormant = yes
}


historicalleader = {
id = { type = 6 id = ?? }
category = monarch
name = "Gao Yingxiang"
startdate = {
year = 1627
}
deathdate = {
year = 1635
}
rank = 0
movement = 5
fire = 2
shock = 4
siege = 3
dormant = yes
}
 
My suggestion

Yoda, please allocate ids.SVP
And tell me whichi one will be added in the new AGCEEP, if there's something wrong for e.g. spell error or something like "playing EUII" please edit it.

Code:
event = {
	id =?
	random = no
	country = CHI
	name = "EVENTNAME"
	desc = "EVENTHIST"
	#-#Tianqi, an excellent Carpenter like Peter I , didn't fit the 

job as the emperor. He interested himself morein the job like carpenter 

like some people play EUII all day long. Thus, eunuch Wei Zhongxian 

leader of the East Factory, which acts like Gastapo, and together with 

Keshi, acquired the power and became the true ruler of China, he only 

let the people be promoted who gives him presents, gathered a lot of 

treasure, and he expelled his enemy, the party of Eastern Forest."
	style = 3

	date = { day = 1 month = january year = 1622 }
	offset = 60
	deathdate = { day = 1 month = january year = 1627 }
	action_a= {#Which sucker has written this?#
	command = { type = stability value = -3}
	command = { type = revoltrisk which = 72 value =2}
	command = { type = revolt which =-1}
	command = { type = treasury value =-700}
	command = { type = serfdom value = 2}
	command = { type = inflation value = 3}
	}
}
event = {
	id =?
	random = no
	country = CHI
	name = "eventname"
	desc = "eventhist"
	#-#Emperor Chongzhen, began to save his kingdom with excuting 

the well-hated Wei Zhongxian.
	style = 3
	date = { day = 1 month = january year = 1628 }
	offset = 3
	deathdate = { day = 1 month = january year = 1629 }
	action_a= {#Excute Wei Zhongxian#
	command = {type = stability value = 1}
	command = {treasury value = 300}
	command = { inflation value = -2}
	command = { type = domestic which = centralization value = 1}
}


event = {
	id =?
	random = no
	country = CHI
	name = "eventname"
	desc = "eventhist"
	#-# From 1637, many nature disasters hit China one after another, they included faim, drought, locust, earthquake, plague and so on. The rule of Wei has washed the moral away. To survive, people began to eat other people. With the 3 taxes Chongzhen gathering, most people have no choice but to revolt.
	date = { day = 1 month = january year = 1637 }
	action_a= {#Bahhh, Can I reload the game or use F12?#
	command = { type = stability value = -3}
	command = { type = population which = 649 value = -10000 } #Hebei
	command = { type = population which = 650 value = -5000 } #Shandong
	command = { type = population which = 1564 value = -5000 } #Henan
	command = { type = population which = 1564 value = -5000 } #Henan
	command = { type = population which = 1564 value = -5000 } #Anhui
	command = { type = population which = -1 value = -2000 } 
	command = { type = population which = -1 value = -2000 } 
	command = { type = population which = -1 value = -2000 }
}




I don't know how to implement the rise of Da Xi and Da Shun.

event = {
	id =?
	random = no
	country = CHI # Only Manchu
	name = "eventname"
	desc = "eventhist"
	#-# As Zhuang Tinglong wrote <Mingshi>, which called the 
emperor of Manchu "barbarian" "robber", can Kangxi not tolerance, he said 
to ban the books and cut the writer in pieces, all relations of him 
would be sent to jail or excuted or ensklaved. From then on, such cases comed one after another.

	style = 3
	date = { day = 1 month = january year = 1651 }
	offset = 3
	deathdate = { day = 1 month = january year = 1663 }
	action_a= {#burn these books#
	command = { type = serfdom value = 2}
	command = { type = infra value = -2000}
	command = { type = revoltrisk which = 24 value = 4}
	command = { type = population which = -1 value = -800}
	command = { type = population which = -1 value = -700}
	action_b= {# let them keep their knowledge#
	command = { type = stability value = -2}
	command = { type = serfdom value = -1}
	command = { type = revoltrisk which = 240 value =1}
}

event = {
	id =?
	random = no
	country = CHI # Only Manchu
	name = "eventname"
	desc = "eventhist"
	#-# Lyu Liuliang had written some books, which didn't satisfy 
the emperor of Qing, and using the years' signature of Mings Emperor, 
made Yongzheng angry. Lyu had been dead since 50 yeras, but Yongzheng still recalled the Wenziyu and began to ban and burn almost all books again.
	style = 3
	date = { day = 2 month = january year = 1732 }
	action_a= {#No mercy!#
	command = { type = treasury value = -200}
	command = { type = }
	command = { type = domestic which = serfdom value = 2 }
	command = { type = population which = -1 value = -800}
	command = { type = population which = -1 value = -800}
	command = { type = population which = -1 value = -800}
}






event = {
	id =?
	random = no
	country = CHI # Only Manchu
	name = "eventname"
	desc = "eventhist"
	#-# Lyu Liuliang have written some books, which didn't satisfy 

the emperor of Qing, and using the years signature of Mings Emperor, 

made Yongzheng angry. Lyu was dead since 50 yeras, but Yongzheng still 

recalled the Wenziyu and began to ban and burn almost all books again.
	style = 3
	date = { day = 2 month = january year = 1732 }
	action_a= {#No mercy!#
	command = { type = treasury value = -200}
	command = { type = }
	command = { type = domestic which = serfdom value = 2 }
	command = { type = population which = -1 value = -800}
	command = { type = population which = -1 value = -800}
	command = { type = population which = -1 value = -800}
}


EDIT:

add this one in the terms of event id = 10043 # The Qing Dynasty
[COLOR=Yellow]		command = { type = trigger which = ???}# MCH set new 
hair style of CHI[/COLOR]

event = {
	id = ??
	trigger = {
		event = 10043 #CHI: The Manchu Takeover of China
	}
	random = no
	country = MCH
	name = "EVENTNAME10043" #The Qing Dynasty
	desc = "EVENTHIST10043"
	#-#Manchu published the law that all Chinese should change 

their hair style to the Manchu way. Since the people in Zhejiang didn't obey, Manchu will kill them all.

	date = { day = 25 month = april year = 1644 }
	offset = 30
	deathdate = { day = 26 month = april year = 1683 }

	action_a = {
		name = "ACTIONNAME10043A" #Yes! This is the symbol of 

the successful ensklaving.
		command = { revoltrisk which = 12 value =1 }
		command = { type = revolt which = 655 value = 700 } #Zhejiang
		command = { type = domestic which = serfdom value = 1}
}
 
Last edited:
Yoda, can you let the event with tag "only Manchu" be implemented?
By detecting the id of monarch or another way?
 
First free ids are available at the end of the events/monarchs/leaders file of last beta for 1.57.

Yes, you can check monarchs as a condition in an event. See China events file for example. We already have plenty of such events.
 
Is such codes all right?
Code:
Tianqi do the carpenter work all day long like some people play EUII all day long. 
action_a= {#Which sucker has written this?#
action_a= {#Bahhh, Can I reload the game or use F12?#

Or should we be seriously??
 
Seriously. You could use short action name "OH_NO" for the name.

Be aware name of the action is just under the action command.
Example:
Code:
	action_a = {
		name = "ACTIONNAME147064A" #Tribute Received
In this case, ACTIONNAME147064A is the entry "Tribute Received" for action a of event 147064 to be inserted in test.csv.

For short action names (see cerresponding section in text.csv):
Code:
	action_a = {
		name = "OH_NO"
In this case, no need to add a comment at the end of the line.
 
Each time when I upload my updates the server strikes, maybe god don't want this Mod
 
@kevinxu: which is the id of the province for Jiangxi?

Does Sichuan mean Sichuan Pendi (1557)?

According to the list in post #488, I'm not sure what to do for Wenshan (1555), Kowloon (657) and Hainan (660).

Could you please post the id of each province to be owned by Southern Ming?
 
Last edited:
Comments on leaders:

Why are almost all leaders dormant? Shouldn't they be not dormant (especially Da Xi and Da Shun ones)?

About Wu Sangui, version for both CHI and MCH is dormant. I don't understand. Should this leader be for Manchu or Ming and why dormant then? If he is for MCH only, there is no need of a CHI version. When Manchus will become China, they will keep active Manchus leaders. There is no problem for dates of the leaders and setup of 1648 scenario.

kevinxu said:
I don't know how to implement the rise of Da Xi and Da Shun.
We have existing events for this. See Chinese revolters section of China events file.

kevinxu said:
Li Dingguo joined Southern Ming as Southern Ming inherit Da Xi, can we implement it in the game?
Yes, it is possible. You have to create a new dormant leader for U14 with corresponding dates and create a new event at the right date for U14, checking if U12 doesn't exist and waking the dormant leader as result.

Only problem is U12 entry in revolt.txt:
Code:
U12 = { #Da Xi
	revolt = no
	date = { day = 1 month = february year = 1633 }
	expirydate = { day = 1 month = december year = 1669 }
	minimum = { 1558 }
	extra = { }
	capital = 1558
	group = china
	religion = confucianism
	culture = chihan
	#ai = "china_conquest.ai"
	ai = "CHI_1635_CivilWar.ai"
}
Da Xi could reappear at the wrong time and we will have two unwanted versions of the same leader (Da Xi ones should be not dormant by default). Should expirydate of Da Xi be reworked in revolt.txt in order to avoid such problem then?
 
YodaMaster said:
@kevinxu: which is the id of the province for Jiangxi?

Does Sichuan mean Sichuan Pendi (1557)?

According to the list in post #488, I'm not sure what to do for Wenshan (1555), Kowloon (657) and Hainan (660).

Could you please post the id of each province to be owned by Southern Ming?

Question 1
Jiangxi is a place which doesn't have a tag, I've written it in two forms, one in game tag and another in provinces of todays China.

As I've posted

There, you see "in the game" and "in the history", the two here means that the zone define in the game and in the history.

So, there's no Jiangxi, now it's at the south of Anhui.

Question 2
At the game start set, they belong to Southern Ming

Question 3
Kowloon 657
Guangzhou 658
Hunan 1566
Guangdong 659
Hainan 660
Guangxi 661
Wenshan 1555
Guizhou 1556
SIchuan Pendi 1557
Yunnan can't find
 
As I've said to change the name of the provinces, I can't find where they are.

Shanghai rename to Songjiang
Anhui rename to Yingtian
Hebei rename to Zhili
Sichuan rename to Urumuqi.
Province Sichuan is far away from Sichuan.It may be named to Hami or Yumen.
Better: Province Xinjiang, city Yumen.

These are old names in that ages.
 
Last edited:
kevinxu said:
Question 3
Kowloon 657
Guangzhou 658
Hunan 1566
Guangdong 659
Hainan 660
Guangxi 661
Wenshan 1555
Guizhou 1556
SIchuan Pendi 1557
Yunnan can't find
Fine, Yunnan is 1553

About name of the province, better not change them with current map (it is too confusing and better wait for the new map). Nevertheless, we can change names of the cities.
 
YodaMaster said:
Comments on leaders:

Why are almost all leaders dormant? Shouldn't they be not dormant (especially Da Xi and Da Shun ones)?

About Wu Sangui, version for both CHI and MCH is dormant. I don't understand. Should this leader be for Manchu or Ming and why dormant then? If he is for MCH only, there is no need of a CHI version. When Manchus will become China, they will keep active Manchus leaders. There is no problem for dates of the leaders and setup of 1648 scenario.
According to mail exchanged with kevinxu, "dormant = yes" is a mistake for all proposed leaders.

Because expirydate of a leader is random when only year is mentioned, further changes in CHI leaders:

Code:
historicalleader = {
	id = { type = 6 id = 032313 }
	category = general
	name = "Wu Sangui"
	startdate = {
		year = 1635
	}
	deathdate = {
		year = [COLOR=Yellow]1643 #for corresponding MCH leader starting in 1644[/COLOR]
	}
	rank = 2
	movement = 4
	fire = 3
	shock = 4
	siege = 2
	dormant = no
}
historicalleader = {
	id = { type = 6 id = 032314 }
	category = general
	name = "Hong Chengchou"
	startdate = {
		year = 1629
	}
	deathdate = {
		year = [COLOR=Yellow]1641 #for corresponding MCH leader starting in 1642[/COLOR]
	}
	rank = 1
	movement = 3
	fire = 4
	shock = 2
	siege = 2
	dormant = no
}
 
Reworked proposed event:
Code:
#(1622-1627) Eunuch Wei Zhongxian
event = {
	id = 147137
	random = no
	country = CHI
	name = "EVENTNAME147137" #Eunuch Wei Zhongxian
	desc = "EVENTHIST147137"
	#-#

	date = { day = 1 month = january year = 1622 }
	offset = 60
	deathdate = { day = 1 month = january year = 1627 }

	action_a = {
		name = "OH_NO"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 72 value = 2 }
		command = { type = revolt which = -1 }
		command = { type = treasury value = -700 }
		[COLOR=Red]command = { type = domestic which = serfdom value = 2 }
		command = { type = inflation value = 3 }[/COLOR]
	}
}
#-#Tianqi, an excellent Carpenter like Peter I, did not fit the job as the emperor. He interested himself more in the job of carpenter. Thus, eunuch Wei Zhongxian leader of the East Factory, together with Keshi, acquired the power and became the true ruler of China. He only let people who gave him presents be promoted, gathered a lot of treasure, and he expelled his enemy, the party of Eastern Forest.
 
playing asian countries i noticed that it became all too easy now to hypertech, since china starts with 40 inflation. if i choose high inno and centralization, i can easilly equal her land LT by 1500's WITHOUT even bothering to research it myself(while i hypertech infra for example). technically this boosts the asian countries possibilities( since china does not dow like crazy anymore without cb even). now, i AM NOT COMPLAINING, is just something i keep noticing lately ;)
 
But with such inflation techs are most costly for China and bonus should vanish quickly for countries in the same techgroup. Anyway, with high inno and centralization, you chose some kind of "westernization".
 
A new leader for Southern Ming proposed by kevinxu:
Code:
historicalleader = {
	id = { type = 6 id = 0147801 }
	category = general
	name = "Li Dingguo"
	startdate = {
		year = 1648
	}
	deathdate = {
		year = 1662
	}
	location = 1559
	rank = 2
	movement = 4
	fire = 4
	shock = 3
	siege = 3
	dormant = no
	remark = "Adopted son of Zhang Xianzhong"
}
As an adopted son of Zhang Xianzhong, Christian Li joined China(Ming) later, and devoted all his life restoring the empire. He archived a lot, but their army was then splitted by Sun Kewang. At hearing the news that the last emperor was hanged by Wu Sangui on his birthday, he got sick and dead soon.

Source (in Chinese...).