• 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.
Originally posted by Garbon
Don't you need 'country = CHI' in that vassal trigger?
It is
vassal = { country = AAA country = BBB }

country AAA (U11 FE) is the vassalizer of country BBB (China).
 
Originally posted by Garbon
No, you are missing the second of the equal signs on each.
yea i saw that after i posted :eek: Anways, anything else about the design/purpose of the event you want to share?
 
Well, with those two OR statements (I'm confused by the snip:eek: ), do you have to be a vassal of one of the minors and have a province controlled by a minor? So a minor has to vassalize and it or another minor must control one of the "important" provinces in order to knock China down?
 
Originally posted by Garbon
Okay I figured out the snip bit...:eek: but my question still stands.
China must either be a vassal of one of its contenders or all other stuff must be achieved.

The event at the bottom must have fired though no matter what.
 
Originally posted by Jinnai
China must either be a vassal of one of its contenders or all other stuff must be achieved.

Then don't all the vassal triggers in that OR towards the bottom need to be including inside the first OR? Otherwise if you do two separate OR statements doesn't that mean that you have to fufill a condition in both? So instead it would be:

Code:
[color=green]
event = {
	id = {147010
	trigger = {
		OR = {
			[color=yellow]vassal = { country = U11 country = CHI }
			vassal = { country = U12 country = CHI }
			vassal = { country = U13 country = CHI }
			vassal = { country = U14 country = CHI }
			vassal = { country = MCH country = CHI }[/color]
			AND = {
				OR = {
					AND = {
						control  = { province = 649 data = MCH }
						control  = { province = 650 data = MCH }
						control  = { province = 651 data = MCH }
						control  = { province = 652 data = MCH }
						control  = { province = 653 data = MCH }
						control  = { province = 654 data = MCH }
						control  = { province = 655 data = MCH }
						control  = { province = 1562 data = MCH }
						control  = { province = 1563 data = MCH }
						control  = { province = 1564 data = MCH }
						control  = { province = 1565 data = MCH }
						control  = { province = 1567 data = MCH }
						}
					AND = {
						control  = { province = 649 data = U11 }
[/color][color=red]
=snip=
[/color][color=green]
						control  = { province = 1567 data = U14 }
						}
					}
			NOT = { 
				countrysize = 3
				stability = 2
				}
			}
		}
		event = 14704
		}
	random = no
	country = CHI
	name = "Loss of the Divine Providence"
	desc = "As the war and open rebellion continue within China, the Emperor's legitimacy slowly wears away until only himself and a few loyal members still recognize him as the true ruler of the Middle Kingdom."
	style = 2

	action_a = {
		name = "I am still the true emperor!"
		command = { type = stability value = -1 }
		command = { type = country  which = U14 }
		command = { type = sleepevent which = 147010 }
		}
	}
[/color]
 
hahaha:D . sorry i cant help it. when i saw the size of the trigger i just want to laugh.

well, its all ok, but i think the countrysize can now be removed since it would be done in the priority order set of events. as for stability, do u think the chances of CHI retaining stab above 1 is high? the alternative way would be to impose stability minimum on the minor gaining the tag. i think the alternative way is better, since it is much less likely for the minors to have low stability. so the stab trigger here can be removed. that would remove the NOT statement and simplify the trigger, which is good:) .

about the commands, there might be other stuff that could be added in later, like vp effects (or maybe badboy, relations). what is the last sleepevent command for though?
 
Originally posted by Sun_Zi_36
about the commands, there might be other stuff that could be added in later, like vp effects (or maybe badboy, relations). what is the last sleepevent command for though?
Because of the nature of the setup in that if you want each contender to have more than 1 chance, you need to have the coimmand sleep itself when its done otherwise it will cause glitches later on.

Subsequent events (FE if you wanted in each nation to get 5 tries) would have a trigger that the previous event for losing the status as china had triggered.
 
Last edited:
Originally posted by Jinnai
Subsequent events (FE if you wanted in each nation to get 5 tries) would have a trigger that the previous event for losing the status as china had triggered.
yes i know.
Originally posted by Jinnai
Because of the nature of the setup in that if you want each contender to have more than 1 chance, you need to have the coimmand sleep itself when its done otherwise it will cause glitches later on.
but sleep what?
 
Code:
[color=green]
event = {
	id = 147016
	random = no
	country = U11
	name = "This fighting gets us nowhere!"
	desc = "N/A"
	trigger = {
		ai = yes
		not = {
			exist = CHI
			war = { country U11 country = U12 }
			war = { country U11 country = U13 }
			war = { country U11 country = U14 }
			war = { country U11 country = MCH }
			}	
		}
	date = { day = 1 month = january year = 1654 }
	offset = 300
	deathdate = { day = 29 month = decemeber year = 1819 }

		action_a = {
			name = "Ok"
			command = { type = ai which = divided_china.ai }
		}
	}
[/color]
The events are the same for all the others (u12-4) cept u13 has its date to start set later as it revolts only after november 1673

Code:
[color=green]
#
# Europa Universalis. China AI
#
 
# 100 = Total warmonger, 0 = absolute pacifist
war = 15

# To determine if we fight to the death or not.
ferocity = no

# The amount of provinces we try to colonize at the same time
expansion = 0

#Which countries to conquer if possible. (to guide nation historically)
combat = { CHI }

#How important is it to gather troops close to base
base = 1.0

#How important is it to be as close to target position when gathering troops.
front = 1.0

#Evaluation factors for conquer plans 
conquer = 
{ 
	# multiply enemy province value 
	enemy = 1.0 
	# multiplying supply factor 
	supply = 1.0 
	# factor for distance to not owner provinces 
	distance = 1.0 
	# factor for owned provines 
	owner = 3.0 
	# Multiplier for provinces not in supply. 
	notsupply = 1.0 
	# Multiplying the base constant for conquer. 
	base = 1.0 
} 

[/color]
yes there should prob be more on the list of historic nations to conquer.
Code:
[color=green]
#
# Europa Universalis. China AI
#
 
# 100 = Total warmonger, 0 = absolute pacifist
war = 5

# To determine if we fight to the death or not.
ferocity = no

# The amount of provinces we try to colonize at the same time
expansion = 1

# % of the time we prefer to establish a tradingpost if both are good.
tradingpost = 100

# Bonus for areas to establish colonies adjacent to previous ones.
neighbour = 10

# Bonus/Penalty for establish colonies adjacent to other countries.
enemies = -1

# 100 = max trader rate, lesser means slower focus on sending a trader.
traders = 100

# 100 = Total monopolist, will refuse trade as much as possible.
monopoly = 25

#Which countries to conquer if possible. (to guide nation historically)
combat = { U11 U12 U13 U14 MCH KOR TIB DAI }

#How important is it to gather troops close to base
base = 1.0

#How important is it to be as close to target position when gathering troops.
front = 1.0
[/color][color=red]
#The Strategic Decision after Zheng Ho's Journey#
event = {

	id = 3703
	random = no
	country = CHI
	name = "EVENTNAME3703"
	desc = "EVENTHIST3703"
	style = 1

	date = { day = 1 month = january year = 1435 }
	offset = 1720
	deathdate = { day = 1 month = january year = 1455 }

	action_a ={
		name = "ACTIONNAME3703A"	#Inward Perfection#
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = ARISTOCRACY value = 10 }
		command = { type = domestic which = SERFDOM value = 10 }
		command = { type = domestic which = MERCANTILISM value = 10 }
		command = { type = domestic which = LAND value = 10 }
		command = { type = domestic which = QUALITY value = -10 }
		command = { type = domestic which = OFFENSIVE value = -10 }
		command = { type = land value = 1000 }
		command = { type = infra value = 1000 }
		command = { type = stability value = 6 }
		command = { type = ai which = china_perfectionist.ai }
	}
	action_b = {
		name = "ACTIONNAME3703B"	#Balanced Position#
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = domestic which = OFFENSIVE value = 1 }
		command = { type = land value = 500 }
		command = { type = infra value = 500 }
		command = { type = naval value = 500 }
		command = { type = trade value = 500 }
		command = { type = stability value = -2 }
	}
	action_c = {
		name = "ACTIONNAME3703C"	#Outward Expansion#
		command = { type = technology which = muslim }
		command = { type = domestic which = CENTRALIZATION value = 3 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
		command = { type = domestic which = SERFDOM value = -5 }
		command = { type = domestic which = INNOVATIVE value = 5 }
		command = { type = domestic which = MERCANTILISM value = -5 }
		command = { type = domestic which = LAND value = -5 }
		command = { type = domestic which = QUALITY value = 5 }
		command = { type = domestic which = OFFENSIVE value = 3 }
		command = { type = naval value = 2000 }
		command = { type = trade value = 2000 }
		command = { type = stability value = -6 }
		command = { type = revoltrisk which = 60 value = 8 }
		command = { type = ai which = china_expansionist.ai }
	}
}
[/color]
I know its not perfect, but its better than not doing anything for now as it will be a long time until we can get rid of this event entirely and go for a more gradual approach.

Expansionist
Code:
[color=green]
#
# Europa Universalis. China AI
#
 
# 100 = Total warmonger, 0 = absolute pacifist
war = 10

# To determine if we fight to the death or not.
ferocity = no

# The amount of provinces we try to colonize at the same time
expansion = 2

# % of the time we prefer to establish a tradingpost if both are good.
tradingpost = 95

# Bonus for areas to establish colonies adjacent to previous ones.
neighbour = 10

# Bonus/Penalty for establish colonies adjacent to other countries.
enemies = 0

# 100 = max trader rate, lesser means slower focus on sending a trader.
traders = 100

# 100 = Total monopolist, will refuse trade as much as possible.
monopoly = 15

#Which countries to conquer if possible. (to guide nation historically)
combat = { U11 U12 U13 U14 MCH KOR TIB DAI }

#How important is it to gather troops close to base
base = 1.0

#How important is it to be as close to target position when gathering troops.
front = 1.0
[/color]
Perfectionist
Code:
[color=green]
#
# Europa Universalis. China AI
#
 
# 100 = Total warmonger, 0 = absolute pacifist
war = 0

# To determine if we fight to the death or not.
ferocity = no

# The amount of provinces we try to colonize at the same time
expansion = 0

# 100 = max trader rate, lesser means slower focus on sending a trader.
traders = 65

# 100 = Total monopolist, will refuse trade as much as possible.
monopoly = 80

#Which countries to conquer if possible. (to guide nation historically)
combat = { U11 U12 U13 U14 MCH KOR TIB DAI }

#How important is it to gather troops close to base
base = 1.0

#How important is it to be as close to target position when gathering troops.
front = 1.0
[/color]
 
Originally posted by Jinnai
To sleep the event that fired the command sleepevent.
but once it's fired it's fired and wont fire again. dont need to sleep it.

the divided china thing should happen even if China exists, as it could be a situation where China controls a few provinces one of which mandatory (what u raised). also 1654 is a bit too early, i thought we said 40 years or something.

i dont agree the strategic decision should be changed. if it is changed it is better off just deleting it now.
 
Originally posted by Sun_Zi_36
but once it's fired it's fired and wont fire again. dont need to sleep it.
Really? I rhought it could...ifso then yes, its uneeded.
the divided china thing should happen even if China exists, as it could be a situation where China controls a few provinces one of which mandatory (what u raised). also 1654 is a bit too early, i thought we said 40 years or something.
i thought it said 1674...ok....as for the 1st one...perhaps....i gotta go now though so i can't really comment.
i dont agree the strategic decision should be changed. if it is changed it is better off just deleting it now.
No all i did was change the AI...that's it. So this would have no effect for humans and make the china AI less likely to set upp TP after the event...just a minor change i saw everyone seeming to agree with.
 
Last edited:
Originally posted by Jinnai
i thought it said 1674...ok....as for the 1st one...perhaps....i gotta go now though so i can't really comment.
no, the startdate of the events says 1654. it should be 1684 if 40 years.

Originally posted by Jinnai
No all i did was change the AI...that's it. So this would have no effect for humans and make the china AI less likely to set upp TP after the event...just a minor change i saw everyone seeming to agree with.
EUnderhill did suggest that. well, as long as it is born in mind that the change is only temporary, i guess i can live with ai switching. i think u should incorporate the commenting sentence u have just above the two AI scripts u posted, or something to the same effect, just to make sure that they are temporary.

as for the other 2 AI, the minors should have all other minors on their attack list in addition to China and be extremely warlike, foerocity = yes for Southern Ming. after 40 years, it can be warmonger can be lowered to something like 40. China shouldnt have Tibet and Korea and Dai Vet in their attack list by the way. i'll also need to look at the factors for conquer plans. Actually, i sent all the relevant information to MKJ some time ago to help him in his PAI mod but i have not seen him finished working on it. if he has already done the work it would be convenient to have a look and use whatever's in there.
 
Yea the change is temporary (although that word is quite elastic as it may be awhile before the event can be removed. That was near the bottom of my list of things to do).
Actually, i sent all the relevant information to MKJ some time ago to help him in his PAI mod but i have not seen him finished working on it. if he has already done the work it would be convenient to have a look and use whatever's in there.
MKJ care to respond?
 
Here are two thoughts I've had, playing China:

  • The collapse of China events IMO should be reworked so that if the Manchu have not existed since 1430, the rebels institute a new gov't themselves. Also, there should be an alternate history where one can fight the power of the eunuchs at the expense of increased flak from the ministers and the destabilization of the country - but reducing the subsequent revolutions during the reign of the inept Chinese emperors. I know this is AGC-y counterhistory, but it really seems like Chinese history offers a number of places in this era when really obvious missteps were taken: being able to right them would make China much more rewarding to play.
  • In a similar vein, if the treasure fleet wasn't scrapped & the player chooses the "Remain open" option in the 'Closing of the Ming' event - it's ridiculous that there should be no more explorers for China for the next four centuries. Especially if the Siberian gold mines & SE Asian trading outposts were found, there would have been further exploration and development. Considering that China is already overpowered somewhat, though, it shouldn't get as many as a European major - but 1-2 per century is at least realistic.

What do y'all think?

jay

The EEP/AGC merger discussion for China
 
Originally posted by Llywelyn
The collapse of China events IMO should be reworked so that if the Manchu have not existed since 1430, the rebels institute a new gov't themselves.

I'm not sure I get what you mean, but there already is an event that grants the Manchu independence if they don't exist in the beginning of the 17th century.

Also, there should be an alternate history where one can fight the power of the eunuchs

I thought that was exactly what happened in "real" history. :confused: