• 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.
YodaMaster said:
For EVENTHIST325013, semicolons ( ; ) are not allowed.

Okay, I'll turn it back to a comma.

YodaMaster said:
For 1520 scenario, 1510 AI file is active. Shouldn't 600262 be slept if we don't want to see it firing?

Yes, it should be slept.



YodaMaster said:
Someone else reading this would say "better finish the new map". I can deal with this link if you want. Save your time. :)

We will have a problem with Base version and untouched map or will it be reserved to Deluxe map?

So I've done my research. That province link program through up exceptions on all of my PCs (different levels of updates ;) ) However, I've found that one can make connections between provinces in the adj_def.csv file, by pretending it's a straight through terra icognita. Works out fine, although I'm thinking that the provinces won't be counted as connected for manpower effects. Not sure if this is really a big issue.

Oh and people say all kinds of things. ;)
 
I have to check for the manpower but I think it is the case. Otherwise OE would have big troubles because of the move to Constantinople.

Anyway, I agree this is not a big issue.

Garbon said:
Oh and people say all kinds of things. ;)
I know but it could be great to have a new map with a new EU2 version, couldn't it? ;)
 
For the Kazakhs:

Code:
KZK = { #Kazakhs
	date = { day = 1 month = january year = 1425 }
	expirydate = { year = 1820 }
	minimum = { 1535 516 1536 579 517 }
	extra = { 518 1534 }
	capital = 1535
	group = muslim
	ai = [color=limegreen]"KZK_1425_Steppe.ai"[/color]
}

Code:
#
# Kazakh AI
#
region = { }
area = { }
expansion = 0
tradingpost = 50
neighbour = 20
enemies = 0
traders = 20
monopoly = 10 #-500
war = 10
ferocity = no
counterreform = no
combat = { UZB BUK }
base = 0.5
front = 5.0
conquer = {
	enemy = 5.0
	supply = 0.1
	distance = 3.0
	owner = 1.0
	notsupply = 0.1
	base = 0.3
}
garrison = {
	fortress = 5.0
	strategic = 12.0
	size = 1.0
	supply = 9.0
	war = 8.0
}

Related events to follow...
 
If Uzbeks don't own Bukhara, doesn't make much sense...

Code:
[color=red]#(1558) The Muscovy Trade Company[/color]
[color=yellow]#(1558) Anthony Jenkinson travels to Bukhara[/color]
event = {
	id = 65012
	trigger = { 
		exists = RUS 
		[color=yellow]owned = { province = 1532 data = -1 } #Bukhara
		NOT = { war = { country = RUS country = UZB } }[/color]
	}
	random = no
	country = UZB
	name = "EVENTNAME65012" #Anthony Jenkinson travels to Bukhara
	desc = "EVENTHIST65012"
	#-#

	date = { day = 1 month = april year = 1558 }
	offset = 23
	deathdate = { day = [color=limegreen]29[/color] month = [color=limegreen]december[/color] year = 1558 }

	action_a = {
		name = "ACTIONNAME65012A" #Establish trade with Muscovy
		command = { type = treasury value = 100 }
		command = { type = merchants value = 3 }
		command = { type = trade value = 500 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = relation which = RUS value = 50 }
	}
}
 
Last edited:
Does it make sense if Russia is at war against Uzbeks at this time then?

Couldn't deathdate of the event be delayed then, at least until the end of the year?
 
Last edited:
YodaMaster said:
Does it make sense if Russia is at war against Uzbeks at this time then?

Couldn't deathdate of the event be delayed then, at least until the end of the year?

I don't know I mean according to the description he traveled for both the Czar and the Muscovy Trading Company. I'm unsure if war would have stopped someone on a business venture. However, as the event speaks more about the Czar, I could see that making sense. At the end of the day, it isn't that important, so I wouldn't give it more than a year.

#-#Anthony Jenkinson has travelled to Bukhara on behalf of both Czar Ivan IV and Muscovy Trading Company in 1558. Ivan was very interested in establishing trade contacts with Bukhara, as Muscovy served as a stopover for the goods from India and China into Western Europe.
 
So as might have been apparent from my event reservation, I've finally got around to bringing in Bukhara! I've decided to pick 1561 as the start date for the transition as that is when Bukhara became the permanent capital for this branch of the Uzbeks. I went through and tried to pull everything that I think needs changing for the transition, but let me know if I've missed anything.

First up, new events (several are just duplications of UZB events).

Code:
#(1561-1820) The Khanate of Bukhara
event = {
	id = 352000
	trigger = {
		owned = { province = 1532 data = -1 } #Bukhara
		control = { province = 1532 data = -1 } #Bukhara
		event = 65011 #UZB: Deposition of Pir Muhammad
		NOT = {
			monarch = 0162009 #Pir Muhammad I
			monarch = 0162031 #Pir Muhammad I °
		}
	}
	random = no
	country = UZB
	name = "EVENTNAME352000" #The Khanate of Bukhara
	desc = "EVENTHIST352000"
	#-#

	date = { day = 1 month = january year = 1561 }
	offset = 10
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {
		name = "ACTIONNAME352000A" #Make it our new capital!
		command = { type = stability value = 1 }
		command = { type = country which = BUK }
		command = { type = capital which = 1532 } #Bukhara
		command = { type = vp value = 50 }
		command = { type = population which = 1532 value = 2000 } #Bukhara
	}
}
During the co-reign of Iskandar Bahadur and Abd Allah II, the capital of the Uzbeks moved away from Samarkand to Bukhara. The capital move, was another large step in transition of the Uzbeks from nomadic ways to settled urban life. In time, Bukhara would come to eclipse Samarkand as the most important city of the Bukhara Khanate.

Code:
#Independence of Khiva

#(1510-1820) Formation of Khiva Khanate
event = {
	id = 352001
	trigger = {
		owned = { province = 1592 data = -1 } #Samarkand
		control = { province = 1592 data = -1 } #Samarkand
		OR = {
			owned = { province = 1594 data = -1 }
			owned = { province = 1599 data = -1 }
			owned = { province = 1598 data = -1 }
		}
		OR = {
			owned = { province = 1533 data = -1 }
			owned = { province = 522 data = -1 }
		}
		OR = {
			core = { province = 518 data = -1 } #Ust Urt
			core = { province = 521 data = -1 } #Karabogaz
			core = { province = 522 data = -1 } #Khwarizm
			core = { province = 523 data = -1 } #Kara Kum
			core = { province = 524 data = -1 } #Turkmenistan
		}
		NOT = { exists = U00 }
	}
	random = no
	country = BUK
	name = "EVENTNAME325000" #Formation of Khiva Khanate
	desc = "EVENTHIST325000"
	#-#

	date = { day = 1 month = january year = 1510 }
	offset = 30
	deathdate = { year = 1820 }

	action_a = {
		name = "DRATS"
		command = { type = independence which = U00 }
		command = { type = removecore which = 521 } #Karabogaz
		command = { type = removecore which = 518 } #Ust Urt
		command = { type = removecore which = 522 } #Khwarizm
		command = { type = removecore which = 524 } #Turkmenistan
		command = { type = removecore which = 523 } #Kara Kum
		command = { type = stability value = -1 }
		command = { type = trigger which = 303000 } #U00: The Khiva Khanate
	}
}
While Shaibani Khan was busy conquering the Timurid states of Central Asia and Khorasan, the nomadic Uzbeks in the west became restless. In 1511, the two sultans, Ilbars and Balbars conquered the Khwarazm region and founded the Khiva Khanate. Unsurprisingly, this Khanate would become a thorn in the side of the late Bukhara Khanate and was frequently at odds with it.

Code:
#(1510-1820) Khiva and The Western Provinces
event = {
	id = 352002 #triggered by U00_303000
	random = no
	country = BUK
	name = "EVENTNAME325001" #Khiva and The Western Provinces
	desc = "EVENTHIST325001"
	#-#

	action_a = {
		name = "ACTIONNAME325001A" #How bad is our luck?
		command = { type = secedeprovince which = U00 value = 522 } #Khwarizm
		command = { type = secedeprovince which = U00 value = 523 } #Kara Kum
		command = { type = secedeprovince which = U00 value = 521 } #Karabogaz
		command = { type = secedeprovince which = U00 value = 520 } #Bouzatchi
		command = { type = secedeprovince which = U00 value = 524 } #Turkmenistan
		command = { type = secedeprovince which = U00 value = 519 } #Emba
		command = { type = secedeprovince which = SIB value = 514 } #Irgiz
		command = { type = secedeprovince which = SIB value = 513 } #Orsk
		command = { type = secedeprovince which = AST value = 515 } #Alga
	}
}
After the intial capture of Ugrench, all the other western provinces would leave the control of the Shaibanid state.

Code:
#(1511-1820) Independence of Khiva
event = {
	id = 352003
	trigger = { 
		exists = U00 
		OR = {
			core = { province = 522 data = -1 } #Khwarizm
			core = { province = 1533 data = -1 } #Khiva
		}
	}
	random = no
	country = BUK
	name = "EVENTNAME65023" #Independence of Khiva
	desc = "EVENTHIST65023"
	#-#
	date = { day = 1 month = january year = 1511 }
	offset = 200
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME65023A" #Recede the claim to these lands
		command = { type = relation which = U00 value = 50 }
		command = { type = removecore which = 1533 } #Khiva
		command = { type = removecore which = 522 } #Khwarizm
	}
	action_b = {
		name = "ACTIONNAME65023B" #Be defiant!
		command = { type = relation which = U00 value = -100 }
		command = { type = stability value = -1 }
		command = { type = trigger which = 65024 } #U00: Prepare to defend
	}
}
#End of Independence of Khiva
People of Khiva were always openly hostile to rulers of Bukhara. This hostility goes back to the times of Abu'l Khayr, when part of the tribes refused to follow him, and remained settled in the areas around Khiva and Urganj. Subsequently the area was reconquered by Muhammad Shaibani, and later on Ubaid'Allah, which didn't bring much popularity to the Bukharan rulers. The latter, however, never staked any claims to these lands, and used their military supremacy to keep Khiva vassalized, and protect the trade with Muscovy.

Changes to Khiva events related to BUK Independence of Khiva sequence.

Code:
#(1510-1820) The Khiva Khanate
#by Garbon
event = {
	id = 303000 #triggered by UZB_325000 [color=yellow]or BUK_352001[/color]  
	random = no
	country = U00
	name = "EVENTNAME303000" #The Khiva Khanate
	desc = "EVENTHIST303000"
	#-#

	action_a = {
		name = "ACTIONNAME303000A" #We are free!
		command = { type = remove_countryculture which = canary }
		command = { type = add_countryculture which = uzbehk }
		command = { type = add_countryculture which = canary }
		command = { type = CAV which = -2 value = 10000 }
		command = { type = breakvassal which = UZB }
		command = { type = trigger which = 325001 } #UZB: Khiva and The Western Provinces
		[color=yellow]command = { type = breakvassal which = BUK }
		command = { type = trigger which = 352002 } #BUK: Khiva and The Western Provinces
		command = { type = relation which = BUK value = -300 }[/color]
		command = { type = relation which = UZB value = -300 }
		command = { type = relation which = PER value = 200 }
		command = { type = treasury value = 50 }
	}
}

#(1511-1820) Prepare to defend
#by Garbon
event = {
	id = 65024 #triggered by UZB_65023 B [color=yellow]or BUK_352003 B[/color]
	random = no
	country = U00
	name = "EVENTNAME65024" #Prepare to defend
	desc = "EVENTHIST65023"
	#-#

	action_a = {
		name = "ACTIONNAME65024A" #Raise the Army
		command = { type = inf which = -1 value = 5000 }
		command = { type = cav which = -3 value = 8000 }
		command = { type = domestic which = centralization value = 1 }
	}
}

Only non-Uzbek event that needs to be changed to reference BUK
Code:
#(1717-1820) Peter's Ambition
event = {
	id = 40048
	trigger = {
		owned = { province = 510 data = -1 }
		owned = { province = 511 data = -1 }
		owned = { province = 512 data = -1 }
		owned = { province = 513 data = -1 }
		owned = { province = 514 data = -1 }
		owned = { province = 515 data = -1 }
		owned = { province = 1573 data = -1 }
	}
	random = no
	country = RUS
	name = "EVENTNAME40048" #Ambition on Kazakh lands
	desc = "EVENTHIST40048"
	#-#

	date = { day = 1 month = january year = 1717 }
	offset = 500
	deathdate = { year = 1820 }

	action_a = {
		name = "ACTIONNAME40048A" #Let's venture!
		command = { type = addcore which = 516 } #Aralsk
		command = { type = addcore which = 517 } #Turgai
		command = { type = addcore which = 518 } #Ust Urt
		command = { type = addcore which = 519 } #Emba
		command = { type = addcore which = 520 } #Bouzatchi
		command = { type = addcore which = 521 } #Karabogaz
		command = { type = addcore which = 522 } #Khwarizm
		command = { type = addcore which = 1532 } #Bukhara
		command = { type = addcore which = 1533 } #Khiva
		command = { type = addcore which = 1534 } #Kyzylkum
		command = { type = addcore which = 1535 } #Karsak
		command = { type = addcore which = 1536 } #Nura
		command = { type = addcore which = 1594 } #Uzbek
		command = { type = addcore which = 1592 } #Samarkand
		command = { type = stability value = -1 }
		command = { type = relation which = UZB value = -150 }
		[color=yellow]command = { type = relation which = BUK value = -150 }[/color]
		command = { type = relation which = KZK value = -150 }
		command = { type = relation which = PER value = -100 }
	}
	action_b = {
		name = "ACTIONNAME40048B" #Let's leave them alone
		command = { type = sleepevent which = 40049 } #RUS: Islamic Resurgence
		command = { type = relation which = UZB value = 50 }
		[color=yellow]command = { type = relation which = BUK value = 50 }[/color]
		command = { type = relation which = KZK value = 50 }
	}
}
 
Last edited:
Next up, all of the events in the next code box needed to be removed from the Uzbek file and put in the Bukhara file (and have the country = UZB bit changed).

Code:
#(1576-1586) Uzbek-Khivan tensions
event = {
	id = 65022
	trigger = {
		exists = U00
	}
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65022" #Uzbek-Khivan tensions
	desc = "EVENTHIST65022"
	#-#

	date = { day = 1 month = january year = 1576 }
	offset = 90
	deathdate = { day = 1 month = january year = 1586 }

	action_a = {
		name = "ACTIONNAME65022A" #Use force to resolve the issues
		command = { type = relation which = U00 value = -150 }
		command = { type = casusbelli which = U00 value = 36 }
	}
	action_b = {
		name = "ACTIONNAME65022B" #Let the matter slip
		command = { type = relation which = U00 value = 50 }
		command = { type = stability value = -1 }
	}
}

#(1580) Kazakh Honeymoon
event = {
	id = 65013
	trigger = {
		exists = KZK
		owned = { province = 1534 data = -1 } #Kyzylkum
		owned = { province = 1592 data = -1 } #Samarkand
		control = { province = 1592 data = -1 } #Samarkand
	}
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65013" #Kazakh Honeymoon
	desc = "EVENTHIST65013"
	#-#

	date = { day = 1 month = january year = 1580 }
	offset = 30
	deathdate = { day = 1 month = january year = 1581 }

	action_a = {
		name = "ACTIONNAME65013A" #Ally with Kazakhs
		command = { type = capital which = 1592 } #Samarkand
		command = { type = relation which = KZK value = 150 }
		command = { type = secedeprovince which = KZK value = 1534 } #Kyzylkum
		command = { type = stability value = 1 }
		command = { type = alliance which = KZK }
	}
	action_b = {
		name = "ACTIONNAME65013B" #No reason to waste precious lands
		command = { type = relation which = KZK value = -250 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 24 value = 3 }
		command = { type = sleepevent which = 65014 } #UZB: Prince Tawakkul and Abd'Allah
	}
}

#(1580-1590) Abd'Allah's Military policies
event = {
	id = 65017
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65017" #Army Reform
	desc = "EVENTHIST65017"
	#-#

	date = { day = 1 month = january year = 1580 }
	offset = 500
	deathdate = { day = 1 month = january year = 1590 }

	action_a = {
		name = "ACTIONNAME65017A" #Improve the Army
		command = { type = land value = 750 }
		command = { type = INF which = -1 value = 5000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = domestic which = quality value = 1 }
		command = { type = domestic which = offensive value = 1 }
	}
}

#(1582-1590) Abd'Allah's Economic policies
event = {
	id = 65016
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65016" #Economical Policies of Abd'Allah
	desc = "EVENTHIST65016"
	#-#

	date = { day = 1 month = january year = 1582 }
	offset = 1000
	deathdate = { day = 1 month = january year = 1590 }

	action_a = {
		name = "ACTIONNAME65016A" #Improve the Economy
		command = { type = trade value = 750 }
		command = { type = stability value = 1 }
		command = { type = infra value = 1000 }
		command = { type = merchants value = 2 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = domestic which = centralization value = 3 }
		command = { type = domestic which = innovative value = 1 }
	}
}

#(1582-1586) Abd'Allah's International policies
event = {
	id = 65018
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65018" #International Policies of Abd'Allah
	desc = "EVENTHIST65018"
	#-#

	date = { day = 1 month = january year = 1582 }
	offset = 90
	deathdate = { day = 1 month = january year = 1586 }

	action_a = {
		name = "GREAT"
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = TUR value = 50 }
		command = { type = relation which = NOG value = 50 }
		command = { type = relation which = CHG value = 20 }
		command = { type = relation which = MOG value = 50 }
	}
}

#(1584) Prince Tawakkul and Abd'Allah
event = {
	id = 65014
	trigger = {
		event = 65013 #UZB: Kazakh Honeymoon
	}
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65014" #Prince Tawakkul and Abd'Allah
	desc = "EVENTHIST65014"
	#-#

	date = { day = 1 month = january year = 1584 }
	offset = 30
	deathdate = { day = 1 month = january year = 1585 }

	action_a = {
		name = "ACTIONNAME65014A" #Disfavor him
		command = { type = relation which = KZK value = -350 }
		command = { type = stability value = -1 }
		command = { type = domestic which = aristocracy value = -1 }
	}
	action_b = {
		name = "ACTIONNAME65014B" #Forgive him
		command = { type = relation which = KZK value = 50 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = stability value = -1 }
	}
}

#(1595-1598) Abd'Allah's International policies
event = {
	id = 65019
	trigger = {
		exists = SIB
		exists = RUS
	}
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65019" #Siberian Puzzle
	desc = "EVENTHIST65019"
	#-#

	date = { day = 1 month = january year = 1595 }
	offset = 90
	deathdate = { day = 1 month = january year = 1598 }

	action_a = {
		name = "ACTIONNAME65019A" #Support Kuchum
		command = { type = relation which = RUS value = -100 }
		command = { type = relation which = TUR value = 20 }
		command = { type = relation which = NOG value = 20 }
		command = { type = relation which = KZK value = 20 }
		command = { type = relation which = SIB value = 100 }
	}
	action_b = {
		name = "ACTIONNAME65019B" #Ignore the Issue
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = TUR value = -20 }
		command = { type = relation which = NOG value = -20 }
		command = { type = relation which = KZK value = -20 }
		command = { type = relation which = SIB value = -100 }
	}
}

#(1599) Death of Abd'al Mum'in
event = {
	id = 65025
	random = no
	country = [color=limegreen]BUK[/color]
	name = "EVENTNAME65025" #Succession of Abd'al Mum'in
	desc = "EVENTHIST65025"
	#-#

	date = { day = 22 month = july year = 1599 }

	action_a = {
		name = "ACTIONNAME65025A" #Slow transition to new dynasty
		command = { type = domestic which = centralization value = -3 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = domestic which = quality value = -1 }
		command = { type = domestic which = offensive value = -2 }
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = stability value = -3 }
	}
	action_b = {
		name = "ACTIONNAME65025B" #Rapid transition to new dynasty
		command = { type = domestic which = offensive value = -2 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = stability value = -5 }
		command = { type = wakemonarch which = 0162033 } #Baqi Muhammad °
		command = { type = sleepmonarch which = 0162014 } #Yar Muhammad
		command = { type = sleepmonarch which = 0162015 } #Jani Muhammad
		command = { type = sleepmonarch which = 0162016 } #Baqi Muhammad
		command = { type = domestic which = aristocracy value = -1 }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = domestic which = quality value = -1 }
		command = { type = sleepevent which = 65026 } #BUK: Ascension of Baqi Muhammad
	}
}
 
Bukhara monarchs & leaders

All monarchs starting with 0162011 in monarchs.uzb should be removed from that file and put into a new file monarchs.buk...so move the following list (with one change).

Code:
historicalmonarch = {
	id = { type = 6 id = 0162011 }
	startdate = {
		[color=red]day = 23
		month = june
		year = 1583[/color]
		[color=yellow]year = 1561[/color]
	}
	deathdate = {
		day = 8
		month = february
		year = 1598
	}
	name = "Abd Allah II"
	DIP = 7
	ADM = 6
	MIL = 8
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162012 }
	startdate = {
		day = 8
		month = february
		year = 1598
	}
	deathdate = {
		day = 29
		month = june
		year = 1598
	}
	name = "Abd al-Mu'min"
	DIP = 2
	ADM = 2
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162013 }
	startdate = {
		day = 29
		month = june
		year = 1598
	}
	deathdate = {
		day = 23
		month = july
		year = 1599
	}
	name = "Pir Muhammad II"
	DIP = 2
	ADM = 2
	MIL = 2
	dormant = no
	remark = "Opium Addict"
}
#-----------------------------------------------------------------------------------------------
historicalmonarch = {
	id = { type = 6 id = 0162033 }
	startdate = {
		day = 23
		month = july
		year = 1599
	}
	deathdate = {
		day = 19
		month = may
		year = 1605
	}
	name = "Baqi Muhammad °"
	DIP = 5
	ADM = 5
	MIL = 5
	dormant = yes
}
#-----------------------------------------------------------------------------------------------
historicalmonarch = {
	id = { type = 6 id = 0162014 }
	startdate = {
		day = 23
		month = july
		year = 1599
	}
	deathdate = {
		day = 1
		month = september
		year = 1600
	}
	name = "Yar Muhammad"
	DIP = 5
	ADM = 5
	MIL = 3
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162015 }
	startdate = {
		day = 1
		month = september
		year = 1600
	}
	deathdate = {
		day = 17
		month = november
		year = 1603
	}
	name = "Jani Muhammad"
	DIP = 4
	ADM = 4
	MIL = 4
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162016 }
	startdate = {
		day = 17
		month = november
		year = 1603
	}
	deathdate = {
		day = 19
		month = may
		year = 1605
	}
	name = "Baqi Muhammad"
	DIP = 5
	ADM = 5
	MIL = 5
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162017 }
	startdate = {
		day = 19
		month = may
		year = 1605
	}
	deathdate = {
		day = 15
		month = september
		year = 1611
	}
	name = "Wali Muhammad"
	DIP = 4
	ADM = 3
	MIL = 4
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162018 }
	startdate = {
		day = 15
		month = september
		year = 1611
	}
	deathdate = {
		day = 10
		month = november
		year = 1641
	}
	name = "Imam Quli Bahadur"
	DIP = 6
	ADM = 3
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162019 }
	startdate = {
		day = 10
		month = november
		year = 1641
	}
	deathdate = {
		day = 27
		month = april
		year = 1645
	}
	name = "Sayyid Nadir Muhammad"
	DIP = 5
	ADM = 3
	MIL = 5
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162020 }
	startdate = {
		day = 27
		month = april
		year = 1645
	}
	deathdate = {
		day = 27
		month = october
		year = 1681
	}
	name = "Sayyid Abd al-Aziz"
	DIP = 5
	ADM = 5
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162021 }
	startdate = {
		day = 27
		month = october
		year = 1681
	}
	deathdate = {
		day = 4
		month = september
		year = 1702
	}
	name = "Sayyid Subhan Quli Bahadur"
	DIP = 5
	ADM = 6
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162022 }
	startdate = {
		day = 4
		month = september
		year = 1702
	}
	deathdate = {
		day = 16
		month = march
		year = 1705
	}
	name = "Sayyid Ubayd'Allah II"
	DIP = 3
	ADM = 2
	MIL = 3
	dormant = no
	remark = "young, cruel, envious and stupid."
}
historicalmonarch = {
	id = { type = 6 id = 0162023 }
	startdate = {
		day = 16
		month = march
		year = 1705
	}
	deathdate = {
		year = 1747
	}
	name = "Abu'l Fa'iz"
	DIP = 3
	ADM = 3
	MIL = 3
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162024 }
	startdate = {
		year = 1747
	}
	deathdate = {
		year = 1751
	}
	name = "Abd al-Mu'min II"
	DIP = 2
	ADM = 2
	MIL = 2
	dormant = no
	remark = "2 years old or so at succession. The power was effectively in the hands of Rahim Bi. Should get an excellent minister (+3+4+5)."
}
historicalmonarch = {
	id = { type = 6 id = 0162025 }
	startdate = {
		year = 1751
	}
	deathdate = {
		year = 1753
	}
	name = "Ubayd'Allah II"
	DIP = 2
	ADM = 2
	MIL = 2
	dormant = no
	remark = "2nd son, after the first one wasmurdered. Rahim Bi is still a minister - add the same stats (+3+4+5)"
}
historicalmonarch = {
	id = { type = 6 id = 0162026 }
	startdate = {
		year = 1753
	}
	deathdate = {
		year = 1758
	}
	name = "Muhammad Rahim Khan"
	DIP = 6
	ADM = 5
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = 0162027 }
	startdate = {
		year = 1758
	}
	deathdate = {
		year = 1785
	}
	name = "Abu'l-Ghazi"
	DIP = 3
	ADM = 3
	MIL = 3
	dormant = no
	remark = "A peasant, had no power at all. All power belonged to Danial Ataliq. Again, excellent minister (+4+3=3). After the death of Ataliq, Abu was sent back to his village."
}
historicalmonarch = {
	id = { type = 6 id = 0162028 }
	startdate = {
		year = 1785
	}
	deathdate = {
		day = 13
		month = december
		year = 1799
	}
	name = "Mir Ma'sum Shah Murad"
	DIP = 6
	ADM = 8
	MIL = 6
	dormant = no
	remark = "Note - one of the greatest rulers. Bukhara thrived under him."
}
historicalmonarch = {
	id = { type = 6 id = 0162029 }
	startdate = {
		day = 13
		month = december
		year = 1799
	}
	deathdate = {
		month = january
		year = 1826
	}
	name = "Haidar Tura"
	DIP = 4
	ADM = 4
	MIL = 5
	dormant = no
	remark = "Narrowminded"
}

As replacement for the moved monarchs, add the following list of fictional monarchs to the UZB file.
Code:
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		day = 22
		month = june
		year = 1583
	}
	deathdate = {
		year = 1593
	}
	name = "Pir Muhammad II *"
	DIP = 3
	ADM = 4
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1593
	}
	deathdate = {
		year = 1602
	}
	name = "Baraq Ahmad *"
	DIP = 5
	ADM = 3
	MIL = 3
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1602
	}
	deathdate = {
		year = 1623
	}
	name = "Ubayd'Allah II *"
	DIP = 4
	ADM = 4
	MIL = 4
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1623
	}
	deathdate = {
		year = 1629
	}
	name = "Abu Said II *"
	DIP = 3
	ADM = 4
	MIL = 2
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1629
	}
	deathdate = {
		year = 1645
	}
	name = "Kuchkunchi II *"
	DIP = 4
	ADM = 6
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1645
	}
	deathdate = {
		year = 1658
	}
	name = "Ahmad *"
	DIP = 3
	ADM = 5
	MIL = 4
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1658
	}
	deathdate = {
		year = 1681
	}
	name = "Muhammad *"
	DIP = 4
	ADM = 5
	MIL = 7
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1681
	}
	deathdate = {
		year = 1700
	}
	name = "Abd al-Latif II *"
	DIP = 3
	ADM = 3
	MIL = 4
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1700
	}
	deathdate = {
		year = 1722
	}
	name = "Muhammad II *"
	DIP = 5
	ADM = 6
	MIL = 3
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1722
	}
	deathdate = {
		year = 1752
	}
	name = "Baraq Ahmad III *"
	DIP = 5
	ADM = 5
	MIL = 5
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1752
	}
	deathdate = {
		year = 1774
	}
	name = "Abd Allah III *"
	DIP = 2
	ADM = 3
	MIL = 3
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1774
	}
	deathdate = {
		year = 1779
	}
	name = "Pir Iskandar *"
	DIP = 2
	ADM = 2
	MIL = 3
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1779
	}
	deathdate = {
		year = 1792
	}
	name = "Abd al-Aziz *"
	DIP = 4
	ADM = 5
	MIL = 4
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1792
	}
	deathdate = {
		year = 1801
	}
	name = "Mu'min *"
	DIP = 3
	ADM = 5
	MIL = 6
	dormant = no
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = {
		year = 1801
	}
	deathdate = {
		year = 1821
	}
	name = "Nawruz Ahmad *"
	DIP = 5
	ADM = 4
	MIL = 4
	dormant = no
}

With regards to leaders, move all of the following list from leaders.uzb to new leaders.buk
Code:
historicalleader = {
	id = { type = 6 id = 0162305 }
	category = general
	name = "Abd al-Mum'in"
	startdate = {
		year = 1580
	}
	deathdate = {
		day = 29
		month = june
		year = 1598
	}
	rank = 1
	movement = 4
	fire = 2
	shock = 3
	siege = 0
	dormant = no
}
historicalleader = {
	id = { type = 6 id = 0162304 }
	category = general
	name = "Din Muhammad"
	startdate = {
		year = 1583
	}
	deathdate = {
		day = 9
		month = august
		year = 1598
	}
	rank = 2
	movement = 4
	fire = 2
	shock = 3
	siege = 0
	dormant = no
}
historicalleader = {
	id = { type = 6 id = 0162306 }
	category = general
	name = "Baqi Muhammad"
	startdate = {
		year = 1590
	}
	deathdate = {
		day = 19
		month = may
		year = 1605
	}
	rank = 1
	movement = 3
	fire = 2
	shock = 3
	siege = 0
	dormant = no
}

#-----------------------------------------------------------------------------------------------
#XVII century

historicalleader = {
	id = { type = 6 id = 0162307 }
	category = general
	name = "Nadir Muhammad"
	startdate = {
		year = 1605
	}
	deathdate = {
		day = 27
		month = april
		year = 1645
	}
	rank = 1
	movement = 3
	fire = 2
	shock = 3
	siege = 0
	dormant = no
}
historicalleader = {
	id = { type = 6 id = 0162308 }
	category = general
	name = "Yalangtush Bi"
	startdate = {
		year = 1611
	}
	deathdate = {
		year = 1648
	}
	rank = 2
	movement = 4
	fire = 3
	shock = 3
	siege = 0
	dormant = no
}
historicalleader = {
	id = { type = 6 id = 0162309 }
	category = monarch
	name = "Imam Quli Bahadur"
	startdate = {
		year = 1611
	}
	deathdate = {
		year = 1640
	}
	rank = 0
	movement = 5
	fire = 2
	shock = 3
	siege = 1
	dormant = no
	remark = "Khan"
}
historicalleader = {
	id = { type = 6 id = 0162310 }
	category = monarch
	name = "Sayyid Abd al-Aziz "
	startdate = {
		year = 1628
	}
	deathdate = {
		day = 7
		month = september
		year = 1681
	}
	rank = 0
	movement = 3
	fire = 2
	shock = 4
	siege = 1
	dormant = no
	remark = "Khan"
}
historicalleader = {
	id = { type = 6 id = 0162311 }
	category = monarch
	name = "Sayyid Subhan" #Sayyid Subhan Quli Bahadur
	startdate = {
		year = 1645
	}
	deathdate = {
		year = 1698
	}
	rank = 0
	movement = 3
	fire = 3
	shock = 3
	siege = 0
	dormant = no
	remark = "Khan"
}
historicalleader = {
	id = { type = 6 id = 0162312 }
	category = general
	name = "Khushika Bi"
	startdate = {
		year = 1681
	}
	deathdate = {
		year = 1700
	}
	rank = 2
	movement = 4
	fire = 2
	shock = 3
	siege = 0
	dormant = no
}
historicalleader = {
	id = { type = 6 id = 0162313 }
	category = general
	name = "Gha'ib Nazar Bi"
	startdate = {
		year = 1686
	}
	deathdate = {
		year = 1698
	}
	rank = 3
	movement = 3
	fire = 3
	shock = 3
	siege = 1
	dormant = no
}

#-----------------------------------------------------------------------------------------------
#XVIII century

historicalleader = {
	id = { type = 6 id = 0162316 }
	category = general
	name = "Muhammad Rahim Bi"
	startdate = {
		year = 1745
	}
	deathdate = {
		year = 1758
	}
	rank = 1
	movement = 4
	fire = 2
	shock = 4
	siege = 0
	dormant = no
	remark = "Khan"
}
historicalleader = {
	id = { type = 6 id = 0162315 }
	category = general
	name = "Danial Ataliq"
	startdate = {
		year = 1756
	}
	deathdate = {
		year = 1784
	}
	rank = 1
	movement = 4
	fire = 2
	shock = 3
	siege = 1
	dormant = no
	remark = "Khan"
}
historicalleader = {
	id = { type = 6 id = 0162314 }
	category = monarch
	name = "Maasum Shah Murad"
	startdate = {
		year = 1785
	}
	deathdate = {
		day = 13
		month = december
		year = 1799
	}
	rank = 0
	movement = 4
	fire = 3
	shock = 4
	siege = 0
	dormant = no
	remark = "Khan"
}

#-----------------------------------------------------------------------------------------------
#XIX century

historicalleader = {
	id = { type = 6 id = 0162317 }
	category = general
	name = "Haidar Tura"
	startdate = {
		year = 1800
	}
	deathdate = {
		year = 1826
	}
	rank = 1
	movement = 3
	fire = 2
	shock = 3
	siege = 0
	dormant = no
	remark = "Khan"
}

And then add these two new leaders to the front of the leaders.buk file.
Code:
historicalleader = {
	id = { type = 6 id =  }
	category = general
	name = "Abdullah II"
	startdate = {
		year = 1561
	}
	deathdate = {
		day = 8
		month = february
		year = 1598
	}
	rank = 0
	movement = 4
	fire = 4
	shock = 4
	siege = 1
	dormant = no
	remark = "Khan"
}
historicalleader = {
	id = { type = 6 id =  }
	category = general
	name = "Khusrau Sultan"
	startdate = {
		year = 1561
	}
	deathdate = {
		month = february
		year = 1568
	}
	rank = 1
	movement = 2
	fire = 2
	shock = 3
	siege = 0
	dormant = no
}
 
Last edited:
And now the last bits. I checked the country.csv and we already have an appropriate setup for Bukhara (although at some point soon I'll need to realign what will be appropriate dp settings for all of the Uzbek states).

Here's the new revolter entry:

Code:
BUK = { #Bukhara
	date = { day = 1 month = december year = 1561 }
	expirydate = { year = 1820 }
	minimum = { 1532 }
	extra = { 1592 1533 }
	capital = 1532
	group = muslim
	ai = "BUK_1561.ai"
}

And then AI file and AI change event
Code:
#
# Bukhara AI
#
region = { }
area = { }
expansion = 0
tradingpost = 50
neighbour = 20
enemies = 0
traders = 20
monopoly = 10 #-500
war = -50
ferocity = no
counterreform = no
combat = { UZB KZK U00 }
base = 0.5
front = 5.0
conquer = {
	enemy = 5.0
	supply = 0.1
	distance = 3.0
	owner = 1.0
	notsupply = 0.1
	base = 0.3
}
garrison = {
	fortress = 5.0
	strategic = 12.0
	size = 1.0
	supply = 9.0
	war = 8.0
}

Code:
event = {
	id = 
	random = no
	country = BUK
	name = "AI_EVENT"
	desc = "BUK 1561 AI"

	date = { day = 1 month = january year = 1561 }
	offset = 30
	deathdate = { day = 29 month = november year = 1820 }

	action_a = {
		name = "BUK 1561 AI"
		command = { type = ai which = "BUK_1561.ai" }
	}
}

Also UZB in 1648 scenario should be replaced with BUK.

In terms of flags/shields, I think something based on this is our best bet although it is somewhat anachronistic (wiki and its ilk say 1780ish but a site I usually trust - flags of the world - puts a date somewhere in the 19th century).
http://eh.lenin.ru/flags/3as/turkistan/buh-f.gif

I'm thinking green rectangular flag with crescent, hand, and script. We can lose the orange border. With regards to EGUFSM, I'd pick the round muslim shape as opposed to the pennant. On the shields if it looks better, lose the script and just used the crescent and hand.
 
If Khusrau Sultan is to be removed from leaders.uzb, we have to remove him from following event too:
Code:
#(1552) The succession of Abd al-Latif
event = {
	id = 65010
	trigger = {
		monarch = 0162007 #Abd al-Latif
	}
	random = no
	country = UZB
	name = "EVENTNAME65010" #Succession of Abd al-Latif
	desc = "EVENTHIST65010"
	#-#

	date = { day = 1 month = january year = 1552 }
	offset = 300
	deathdate = { day = 29 month = december year = 1552 }

	action_a = {
		name = "ACTIONNAME65010A" #Support Nawruz Ahmad
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 72 value = 7 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = wakemonarch which = 0162030 } #Nawruz Ahmad
		command = { type = sleepmonarch which = 0162008 } #Nawruz Ahmad
		command = { type = wakeleader which = 0162302 } #Nawruz Ahmad Khan (UZB)
		command = { type = wakeleader which = 0162319 } #Burhan Sultan (UZB)
		command = { type = domestic which = offensive value = -2 }
	}
	action_b = {
		name = "ACTIONNAME65010B" #Support Pir Muhammad
		command = { type = stability value = -4 }
		command = { type = domestic which = centralization value = -1 }
		command = { type = revoltrisk which = 84 value = 9 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = wakemonarch which = 0162031 } #Pir Muhammad I °
		command = { type = sleepmonarch which = 0162008 } #Nawruz Ahmad
		command = { type = sleepmonarch which = 0162009 } #Pir Muhammad I
		command = { type = wakeleader which = 0162303 } #Abdullah II (UZB)
		[COLOR=Red]command = { type = wakeleader which = 0162320 } #Khusrau Sultan (UZB)[/COLOR]
	}
}
#-#Following the death of Abd al-Latif, a short political brawl followed, which, however, had far reaching long term consequences. Pir Muhammad quickly jumped on opportunity and captured Bukhara, however, lacking any military support, he had to flee upon hearing the news that Nawruz Ahmad is on his way. The next 7 years saw a constant figthing between Pir Muhammad nephew Abd'Allah and Nawruz Ahmad. The civil war effectively ended in 1556 when Nawruz Ahmad died of drunkeness, allowing Pir Muhammad to ascend to the throne.


352000 is still an UZB event. Correct id should be 325022. I will renumber all new BUK events in 352000 range accordingly.

Just for consistency, I suggest to change startdate of 352001 and 352003 (ids according to proposal) to:
Code:
	date = { day = 1 month = january year = 1561 }
Shouldn't 352001 and 325000 sleep each other? And/Or shouldn't we check if the involved provinces are really cores of BUK in order to avoid event firing for BUK? 303000 can't fire twice.

Shouldn't 352003 and 65023 sleep each other (both actions)? And/Or shouldn't we check if the two involved provinces are really cores of BUK in order to avoid event firing for BUK? 65024 can't fire twice.

Typo:
EVENTHIST325001;After the initial capture of Ugrench, all the other western provinces would leave the control of the Shaibanid state.;;;;;;;;;;
 
Last edited:
Gfx set for Bukhara:

shieldbukdl1.png

smallshieldbukwm6.png


shieldbukgo7.png

smallshieldbukcg5.png


flagbukja4.png
 
YodaMaster said:
If Khusrau Sultan is to be removed from leaders.uzb, we have to remove him from following event too:

Oops that was a mistake Khusrau Sultan isn't supposed to be removed. UZB will have its version and BUK will have its own.


YodaMaster said:
352000 is still an UZB event. Correct id should be 325022. I will renumber all new BUK events in 352000 range accordingly.

Okay, sorry about that.

YodaMaster said:
Just for consistency, I suggest to change startdate of 352001 and 352003 (ids according to proposal) to:
Code:
	date = { day = 1 month = january year = 1561 }
Makes sense.


YodaMaster said:
Shouldn't 352001 and 325000 sleep each other? And/Or shouldn't we check if the involved provinces are really cores of BUK in order to avoid event firing for BUK? 303000 can't fire twice.

Shouldn't 352003 and 65023 sleep each other (both actions)? And/Or shouldn't we check if the two involved provinces are really cores of BUK in order to avoid event firing for BUK? 65024 can't fire twice.
You're right. I misread what these events do. I'll fix.
 
I saw the added core conditions for Bukhara but this doesn't prevent Uzbeks from revolting, conquering the provinces and seeing events firing.
It can happen if Uzbeks did not fulfill conditions before they became Bukhara and even if events fired for Bukhara.

Shouldn't events happen only once, whatever Uzbeks or Bukhara? If yes, better add sleepevent commands for duplicated event in both BUK and UZB events and all actions.
 
YodaMaster said:
I saw the added core conditions for Bukhara but this doesn't prevent Uzbeks from revolting, conquering the provinces and seeing events firing.
It can happen if Uzbeks did not fulfill conditions before they became Bukhara and even if events fired for Bukhara.

Shouldn't events happen only once, whatever Uzbeks or Bukhara? If yes, better add sleepevent commands for duplicated event in both BUK and UZB events and all actions.

The Uzbek events should also have core triggers as well. I think the events could happen concurrently if Uzbeks revolt from Bukhara before Khiva exists. The big thing is the removecores in the first event. The cede command event is less important.
 
Ok, I understand 65024 firing only once and I agree corresponding UZB and BUK events could both happen (it could be the case if UZB chose B before becoming BUK).

OTOH, 303000 can't fire twice but this is a setup event for Khiva. Anyway, with current events and setups, we can't have UZB and BUK having cores for the two events that can trigger 303000 to be able to fire, but this is only implicit. As a safety for future possible modification of BUK/UZB cores (if any), shouldn't we then have a duplicated 303000 for BUK event? In this case, there will be no problem. Otherwise, Khiva would have no defense the second time.
 
Garbon said:
Should Khiva always get a defense? I mean, we can make a duplicate back up, I'm not opposed, I'm just not sure that it is necessary.
This is why I ask. If it doesn't make sense, there is no need to have a duplicate. Khiva will be strong only the first time. But seeing how UZB and BUK can't avoid the event if conditions are fullfilled, Khiva will stay a vassal the second time. Will it be intended for an "independence" event?