It isOriginally posted by Garbon
Don't you need 'country = CHI' in that vassal trigger?
vassal = { country = AAA country = BBB }
country AAA (U11 FE) is the vassalizer of country BBB (China).
It isOriginally posted by Garbon
Don't you need 'country = CHI' in that vassal trigger?
vassal = { country = U11 country CHI }
yea i saw that after i postedOriginally posted by Garbon
No, you are missing the second of the equal signs on each.
China must either be a vassal of one of its contenders or all other stuff must be achieved.Originally posted by Garbon
Okay I figured out the snip bit...but my question still stands.
Originally posted by Jinnai
China must either be a vassal of one of its contenders or all other stuff must be achieved.
[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]
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.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?
yes i know.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.
but sleep what?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.
[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]
[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]
[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]
[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]
[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]
but once it's fired it's fired and wont fire again. dont need to sleep it.Originally posted by Jinnai
To sleep the event that fired the command sleepevent.
Really? I rhought it could...ifso then yes, its uneeded.Originally posted by Sun_Zi_36
but once it's fired it's fired and wont fire again. dont need to sleep it.
i thought it said 1674...ok....as for the 1st one...perhaps....i gotta go now though so i can't really comment.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.
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.i dont agree the strategic decision should be changed. if it is changed it is better off just deleting it now.
no, the startdate of the events says 1654. it should be 1684 if 40 years.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.
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.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.
MKJ care to respond?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.
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.
Also, there should be an alternate history where one can fight the power of the eunuchs