• 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.

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
New invasion events:
Code:
##############################
# The Timurid Empire arrives #
##############################
province_event = {
	id = 20380
	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
		}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = u019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
	}
}

province_event = {
	id = 20381
	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 1 }
		condition = { type = not value = { type = difficulty value = 2 } }
		}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = u019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
	}
}

province_event = {
	id = 20382
	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 2 }
		condition = { type = not value = { type = difficulty value = 3 } }
		}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = u019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
	}
}

province_event = {
	id = 20383
	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 3 }
		condition = { type = not value = { type = difficulty value = 4 } }
		}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = u019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
	}
}

province_event = {
	id = 20384
	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 4 }
		}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = u019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
	}
}
#############################
# The Return of the Scourge #
#############################
province_event = {
	id = 20385

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
	}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
	}
}

province_event = {
	id = 20386

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 1 }
		condition = { type = not value = { type = difficulty value = 2 } }
	}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
	}
}

province_event = {
	id = 20387

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 2 }
		condition = { type = not value = { type = difficulty value = 3 } }
	}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
	}
}

province_event = {
	id = 20388

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 3 }
		condition = { type = not value = { type = difficulty value = 4 } }
	}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
	}
}

province_event = {
	id = 20389

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = not value = { type = year value = 1406 } }
		condition = { type = not value = { type = exists value = U019 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
	}

	mean_time_to_happen = { months = 180 }

	action_a = {
		effect = { type = create_tag value = U019 }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
	}
}

##################################
# Reinforcements from Samarkhand #
##################################
province_event = {
	id = 20390

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = exists value = U019 }
		condition = { type = demesne value = U019 }
		condition = { type = not value = { type = realm_regiments value = 5 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1400 }
			factor = 12
		}
	}

	action_a = {
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
	}
}

province_event = {
	id = 20391

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = exists value = U019 }
		condition = { type = demesne value = U019 }
		condition = { type = not value = { type = realm_regiments value = 5 } }
		condition = { type = difficulty value = 1 }
		condition = { type = not value = { type = difficulty value = 2 } }
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1400 }
			factor = 12
		}
	}

	action_a = {
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
	}
}

province_event = {
	id = 20392

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = exists value = U019 }
		condition = { type = demesne value = U019 }
		condition = { type = not value = { type = realm_regiments value = 5 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1400 }
			factor = 12
		}
	}

	action_a = {
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
	}
}

province_event = {
	id = 20393

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = exists value = U019 }
		condition = { type = demesne value = U019 }
		condition = { type = not value = { type = realm_regiments value = 5 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1400 }
			factor = 12
		}
	}

	action_a = {
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
	}
}

province_event = {
	id = 20394

	trigger = {
		condition = { type = area value = 635 }
		condition = { type = year value = 1385 }
		condition = { type = exists value = U019 }
		condition = { type = demesne value = U019 }
		condition = { type = not value = { type = realm_regiments value = 5 } }
		condition = { type = difficulty value = 0 }
		condition = { type = not value = { type = difficulty value = 1 } }
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1406 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1416 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1426 }
			factor = 12
		}
	}

	action_a = {
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = U019 culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
	}
}
Modified mongol invasion events
Code:
##################################
# Reinforcements from Samarkhand #
##################################
province_event = {
	id = 1121

	trigger = {
		condition = { type = area value = 628 }
		condition = { type = year value = 1267 }
		condition = { type = exists value = ILKH }
		condition = {
			type = not
			condition = { type = exist value = U019 }
			}
		condition = {
			type = demesne
			value = ILKH
		}
		condition = {
			type = not
			value = {
				type = realm_regiments
				value = 5
			}
		}
		condition = { type = difficulty value = 0 }
		condition = {
			type = not
			value = { type = difficulty value = 1 }
		}
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1280 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1300 }

			factor = 10
		}
		modifier = {
			condition = { type = year value = 1340 }
			factor = 10
		}
	}

	action_a = {
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 5000 light_cav = 5000 } }
	}
}
##################################
# Reinforcements from Samarkhand #
##################################
province_event = {
	id = 5516

	trigger = {
		condition = { type = area value = 628 }
		condition = { type = year value = 1267 }
		condition = { type = exists value = ILKH }
		condition = {
			type = not
			condition = { type = exist value = U019 }
			}
		condition = {
			type = demesne
			value = ILKH
		}
		condition = {
			type = not
			value = {
				type = realm_regiments
				value = 5
			}
		}
		condition = { type = difficulty value = 1 }
		condition = {
			type = not
			value = { type = difficulty value = 2 }
		}
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1280 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1300 }
			factor = 10
		}
		modifier = {
			condition = { type = year value = 1340 }
			factor = 10
		}
	}

	action_a = {
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 6000 light_cav = 6000 } }
	}
}
##################################
# Reinforcements from Samarkhand #
##################################
province_event = {
	name = "EVT_1121_NAME"

	trigger = {
		condition = { type = area value = 628 }
		condition = { type = year value = 1267 }
		condition = { type = exists value = ILKH }
		condition = {
			type = not
			condition = { type = exist value = U019 }
			}
		condition = {
			type = demesne
			value = ILKH
		}
		condition = {
			type = not
			value = {
				type = realm_regiments
				value = 5
			}
		}
		condition = { type = difficulty value = 2 }
		condition = {
			type = not
			value = { type = difficulty value = 3 }
		}
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1280 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1300 }
			factor = 10
		}
		modifier = {
			condition = { type = year value = 1340 }
			factor = 10
		}
	}

	action_a = {
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 7500 light_cav = 7500 } }
	}
}
##################################
# Reinforcements from Samarkhand #
##################################
province_event = {
	id = 5518

	trigger = {
		condition = { type = area value = 628 }
		condition = { type = year value = 1267 }
		condition = { type = exists value = ILKH }
		condition = {
			type = not
			condition = { type = exist value = U019 }
			}
		condition = {
			type = demesne
			value = ILKH
		}
		condition = {
			type = not
			value = {
				type = realm_regiments
				value = 5
			}
		}
		condition = { type = difficulty value = 3 }
		condition = {
			type = not
			value = { type = difficulty value = 4 }
		}
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1280 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1300 }
			factor = 10
		}
		modifier = {
			condition = { type = year value = 1340 }
			factor = 10
		}
	}

	action_a = {
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 9000 light_cav = 9000 } }
	}
}
##################################
# Reinforcements from Samarkhand #
##################################
province_event = {
	id = 5519

	trigger = {
		condition = { type = area value = 628 }
		condition = { type = year value = 1267 }
		condition = { type = exists value = ILKH }
		condition = {
			type = not
			condition = { type = exist value = U019 }
			}
		condition = {
			type = demesne
			value = ILKH
		}
		condition = {
			type = not
			value = {
				type = realm_regiments
				value = 5
			}
		}
		condition = { type = difficulty value = 4 }
	}

	mean_time_to_happen = {
		months = 1

		modifier = {
			condition = { type = year value = 1280 }
			factor = 12
		}
		modifier = {
			condition = { type = year value = 1300 }
			factor = 10
		}
		modifier = {
			condition = { type = year value = 1340 }
			factor = 10
		}
	}

	action_a = {
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
		effect = { type = add_regiment country = ILKH culture = mongol strength = { archer_cav = 10000 light_cav = 10000 } }
	}
}

############################################
# The barbarians settle in Conquered lands #
############################################

character_event = {
	id = 5590
	
	picture = "event_mercenaries"
	
	trigger = { 
		condition = { 
			type = or 
			condition = { type = title value = GOLD }
			condition = { type = title value = ILKH }
			condition = { type = title value = U019 }
		}
	}

	mean_time_to_happen = {
		months = 120
	}
	
	action_a = {#Some barbarians have chosen to settle
		effect = { type = remove_regiment }
		effect = { 
				type = random 
				chance = 33
				effect = { type = remove_regiment }
				}
	}

}
############################################
# Trouble is brewing in the homeland #
############################################

character_event = {
	id = 5591
	
	picture = "event_battle"
	
	trigger = { 
		condition = { 
			type = or 
			condition = { type = title value = GOLD }
			condition = { type = title value = ILKH }
			condition = { type = title value = U019 }
		}
	}

	mean_time_to_happen = {
		months = 120
	}
	
	action_a = {#We must send part of the army home!
		effect = { type = remove_regiment }
		effect = { 
				type = random 
				chance = 33
				effect = { type = remove_regiment }
				}
	}

}
############################################
# Serious Trouble is brewing in the homeland #
############################################

character_event = {
	id = 5592
	
	picture = "event_battle"
	
	trigger = { 
		condition = { 
			type = or 
			condition = { type = title value = GOLD }
			condition = { type = title value = ILKH }
			condition = { type = title value = U019 }
		}
	}

	mean_time_to_happen = {
		months = 240
	}
	
	action_a = {#We must send much of the army home!
		effect = { type = remove_regiment }
		effect = { type = remove_regiment }
		effect = { 
				type = random 
				chance = 33
				effect = { type = remove_regiment }
				effect = { type = remove_regiment }
				}
	}

}
############################################
# Dynastic Succession in the Horde	#
############################################

character_event = {
	id = 5593
	
	picture = "event_death"
	
	trigger = { 
		condition = { 
			type = or 
			condition = { type = title value = GOLD }
			condition = { type = title value = ILKH }
			condition = { type = title value = U019 }
		}
	}

	mean_time_to_happen = {
		months = 240
	}
	
	action_a = {#There will be a struggle for the throne!
		effect = { type = remove_regiment }
		effect = { type = remove_regiment }
		effect = { type = remove_regiment }
		effect = { type = death }
	}

}
 
Last edited:
Code:
EVT_20380_NAME;The Timurid Empire Arrives;;;;;;;;;;X
ACTIONNAME20380A;Surrender or die!;;;;;;;;;;X
EVT_20381_NAME;The Timurid Empire Arrives;;;;;;;;;;X
ACTIONNAME20381A;Surrender or die!;;;;;;;;;;X
EVT_20382_NAME;The Timurid Empire Arrives;;;;;;;;;;X
ACTIONNAME20382A;Surrender or die!;;;;;;;;;;X
EVT_20383_NAME;The Timurid Empire Arrives;;;;;;;;;;X
ACTIONNAME20383A;Surrender or die!;;;;;;;;;;X
EVT_20384_NAME;The Timurid Empire Arrives;;;;;;;;;;X
ACTIONNAME20384A;Surrender or die!;;;;;;;;;;X
EVT_20385_NAME;The Return of the Scourge;;;;;;;;;;X
ACTIONNAME20385A;We are back!;;;;;;;;;;X
EVT_20386_NAME;The Return of the Scourge;;;;;;;;;;X
ACTIONNAME20386A;We are back!;;;;;;;;;;X
EVT_20387_NAME;The Return of the Scourge;;;;;;;;;;X
ACTIONNAME20387A;We are back!;;;;;;;;;;X
EVT_20387_NAME;The Return of the Scourge;;;;;;;;;;X
ACTIONNAME20387A;We are back!;;;;;;;;;;X
EVT_20388_NAME;The Return of the Scourge;;;;;;;;;;X
ACTIONNAME20388A;We are back!;;;;;;;;;;X
EVT_20389_NAME;The Return of the Scourge;;;;;;;;;;X
ACTIONNAME20389A;We are back!;;;;;;;;;;X
EVT_20390_NAME;Reinforcements from Samarkhand;;;;;;;;;;X
ACTIONNAME20390A;Good!;;;;;;;;;;X
EVT_20391_NAME;Reinforcements from Samarkhand;;;;;;;;;;X
ACTIONNAME20391A;Good!;;;;;;;;;;X
EVT_20392_NAME;Reinforcements from Samarkhand;;;;;;;;;;X
ACTIONNAME20392A;Good!;;;;;;;;;;X
EVT_20393_NAME;Reinforcements from Samarkhand;;;;;;;;;;X
ACTIONNAME20393A;Good!;;;;;;;;;;X
EVT_20394_NAME;Reinforcements from Samarkhand;;;;;;;;;;X
ACTIONNAME20394A;Good!;;;;;;;;;;X
EVT_20395_NAME;Reinforcements from Samarkhand;;;;;;;;;;X
ACTIONNAME20395A;Good!;;;;;;;;;;X
word_names.txt
Code:
U019;Timurid Empire;;;;;;;;;;X
country.txt
Code:
U019;darkbrown;mongol;gold_regular;red_dark;X
 
Well that's as much as i can figure out...since the Timurid Empire never appears at the start of any scnerio, there is no need to put it in the starting files...but i dunno how to make sure it'll be muslim/mongol all the time it forms. It would also be nice if i could have a dynasty form specifically for them and only them, but i don't think that's possible. I know i can limit dynasty to appearing in area 635, but that's it. Not even the date it appears.
 
u019.bmp
 
Solmyr said:
db/country.csv has the default cultures for all tags which are used when they are created.
Unfortunately no way to specify the dynasty.
Hmm okay. I guess i'll haveto go ahead and just resign myself to making a dynasty for 635 of "of Samarakand" or "of Herat"...not sure which, probably the former. That is assuming 635 will take the dynasty name "of Samarakand".

Mikon Orod:
Thanks...i had done a similar flag template, but with larger dots...not sure which looks better so i'll let others decide:
Timurid.jpg
 
a little, not so important thing: the exact spelling of the capital of the Timurid Empire is not Samarkhand nor Samarakand, but Samarkand ;)
 
lucaluca said:
a little, not so important thing: the exact spelling of the capital of the Timurid Empire is not Samarkhand nor Samarakand, but Samarkand ;)
Picky...picky...well is "Al-Samarakand" or "Al-Herat" to add as a dynasty name for 635? Yes or no?

I also think i'll push back the start date to 1381-2...its not much i know but there isn't much room and 20 years is shorter than the other mongol invasion times.
 
Last edited:
Solmyr said:
db/country.csv has the default cultures for all tags which are used when they are created.
Ok...yea i have it set as mongol (more because of game mechanics than reality...in reality it should probably be turkish, though there is just cause to use mongol as well outside game mechanics), but is there a way to set to always be muslim religion as well?
 
Jinnai said:
Ok...yea i have it set as mongol (more because of game mechanics than reality...in reality it should probably be turkish, though there is just cause to use mongol as well outside game mechanics), but is there a way to set to always be muslim religion as well?

I'm not sure. Religion might perhaps be tied to tags? I.e. the order tags always appear Catholic no matter where. Have you tested it, what religion does it come out?
 
Solmyr said:
I'm not sure. Religion might perhaps be tied to tags? I.e. the order tags always appear Catholic no matter where. Have you tested it, what religion does it come out?
It is tied to armynationalitysprite in country.csv. Alteast it seems to be for mongols. I tried changing everything else i could think of and i kept getting muslim rulers with a pagan CoA until i changed GOLD's armynationalitysprite to english, then i got count CoA and he was catholic (the religion i had for testing set 616 to). All initial courtiers also as long as armynationalitysprite was mongol were always muslim despite having a catholic scottish province for testing...but once that was changed...WHAM!
 
Last edited:
The are some errors in the code (not the events written here, but the ones in the downloadable package). IE:

You have this...
Code:
		condition = {
			type = not
			condition = { type = exist value = BUKH }
			}

...instead of...
Code:
		condition = {
			type = not
			value = {
			type = exists value = BUKH }
			}

And sometimes the demesne trigger is spelled wrong: demese or demene or something like this.
 
Last edited: