+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 22

Thread: Rise of the Ottoman Empire (for 1066 or 1187 scenario)

  1. #1
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Rise of the Ottoman Empire (for 1066 or 1187 scenario)

    Hello all,

    When playing the 1066 (or 1187) scenario, we never find Ottomans (tag = OTTO) and never fight against them. For the actualization of Ottomans in these scenarios, I have prepared a series of events relating to the rise and expansion of the Ottoman Empire.

    If you are interested in the Ottoman Empire, please try them. Because these events have only minimum triggers and modifiers, the suggestions and modifications are greatly appreciated.

    Concepts
    -from 1299 to 1326 (in the reign of Ottoman I)
    -appears in 748 or 749
    -accumulation of the usual events
    -slow but steady expansion
    -historical region

    # id 24501 -


    download Rise of the Ottoman Empire ver6

    http://hayasoft.com/hiko/paradox/oth...rce/up3490.zip


    ottoman_events.txt = main events file
    realm_disruption_events.txt = slight modification for some events relating to the emperor trait (see below)

    Changes in version 6:
    - Addition of new events (#24537-#24542)
    - #24501 MTTH modification
    - #24504 deleted
    - #24515 Limitation on the number of bastards
    - #24516 Divided into two parts (#24516 for juvenile, #24542 for young adult)
    - #24517 MTTH modification
    - #24531 Condition change (for children)


    edit: next changes in version 7
    - #24541 addition of modifier (culture value = norman factor = 0.7?)
    - #24513 change realm_ruler to father
    - #24514 recreate (before: random courtier event, after: courtier_defect event from vassal's court to the sultan's court)

    Test play screenshot - expansion of Ottoman Empire (white) in 1367
    http://stanza-citta.com/ck/index.php...mpire#sb421a59
    (sorry this page itself is written in Japanese)


    Sincerely,
    Last edited by alania; 07-07-2010 at 13:54. Reason: Update of version 6

  2. #2
    Crazy Crusader Kings Creator jordarkelf's Avatar
    60 games registered

    60

    200k clubAchtung PanzerA Game of DwarvesHoI AnthologyArsenal of Democracy
    Hearts of Iron 2: ArmageddonCities in MotionCrusader Kings IICommander: Conquest of the AmericasDarkest Hour
    East India CompanyEast India Company CollectionElven Legacy CollectionEU3 CompleteDivine Wind
    For The GloryFor the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the Throne
    Europa Universalis III: In NomineIron CrossKing Arthur IILead and GoldLegio
    MagickaMajesty 2March of the EaglesNaval War: Arctic CirclePirates of Black Cove
    Victoria: RevolutionsEuropa Universalis: RomeRome GoldSemper FiSengoku
    Ship Simulator ExtremesSword of the Stars IISupreme Ruler 2020 GoldSupreme Ruler 2020Victoria 2
    Victoria II: A House DividedRome: Vae VictisMount & Blade: WarbandWarlock: Master of the ArcaneMount & Blade: With Fire and Sword
    War of the Roses

    Join Date
    Jul 2005
    Location
    Holy Roman Empire
    Posts
    6,711
    I've reserved range 24500 - 24599 for you in the Event ID clearing house.
    Nice work on these.

  3. #3
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20
    Dear jordarkelf,

    Thank you for your reply,
    and thank you for your kindness of reserving event ID for the Ottoman events!

    I will post the following events later.

    Sincerely,
    Last edited by alania; 25-02-2010 at 07:26. Reason: sorry I misspelled the name of the great Crusader King.

  4. #4
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Ottoman's events 24501-24516

    # 24501 Ottoman arises
    Code:
    province_event = {
    	id = 24501
    	picture = "event_muslim"
    	trigger = {
    		condition = { type = or
    			condition = { type = province value = 748 }
    			condition = { type = province value = 749 }
    			}
    		condition = { type = year value = 1299 }
    		condition = {
    			type = not
    			value = {
    				type = year
    				value = 1326
    			}
    		}
    		condition = {
    			type = not
    			value = {
    				type = exists
    				value = OTTO
    			}
    		}
    
    	}
    
    	mean_time_to_happen = {
    		months = 1
    	}
    
    	action_a = {
    		effect = { type = religion value = muslim }
    		effect = { type = culture value = turkish }
    		effect = { type = add_improvement value = hill_fort } 
    		effect = { type = add_improvement value = small_castle }
    		effect = { type = create_tag value = OTTO }
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { light_cav = 4000} }
    
    	}
    
    }
    #24502 Sultan is sunni
    Code:
    character_event = {
    	id = 24502
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim } 
    		condition = { type = title value = OTTO }
    		condition = { type = not value = { type = trait value = sunni } } 
    		}
    
    	mean_time_to_happen = {
    		days = 1
    		}
    
    	action_a = {
    		effect = { type = add_trait value = sunni }
    		effect = { type = intrigue value = 2 }
    		effect = { type = diplomacy value = 1 }
    			}
    
    }
    # 24503 Sultan of Ottoman acquires a neighbor's claim
    Code:
    character_event = {
    	id = 24503
    	picture = "muslim"
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = any_neighbour
    			condition = { type = or
    				condition = { type = duchy }
    				condition = { type = county }
    				}
    			condition = { type = is_vassal }
    			condition = { type = realm_ruler 
    				condition = { type = not value =
    					{ type = title value =OTTO } }
    				}
    			condition = { type = or 
    				condition = { type = liege 
    					condition = { type = religion value = muslim }
    					condition = { type = not value = { type = title value = OTTO } }
    					condition = { type = atwar }
    					}
    				condition = { type = liege 
    					condition = { type = not value = 
    							{ type = religion value = muslim } 
    						}
    					}
    				}
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					}
    				}
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 36
    
    		modifier = {
    			condition = { type = atwar }
    			factor = 9
    		}
    
    		}
    
    
    	action_a = {
    		effect = { type = add_title_claim value = load_target } 
    		effect = { type = prestige value = 50 }
    		effect = { type = random chance = 66
    			effect = { type = declare_war value = load_target }
    			effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    				}			
    			effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    				}			
    			}
    		}
    
    }
    # 24504 Saving the capital
    Code:
    character_event = {
    	id = 24504
    	picture = "muslim"
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = capital
    			condition = { type = is_besieged }
    			}
    		}
    
    	mean_time_to_happen = {
    		days = 1
    
    		}
    
    	action_a = {#Go fight!
    		effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    			}
    		effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    			}
    		}
    
    }
    # 24505 Call-up of Kapkuli part I
    Code:
    province_event = {
    	id = 24505
    	picture = "event_muslim"
    	trigger = {
    		condition = { type = ai }
    		condition = { type = exists value = OTTO }
    		condition = {
    			type = demesne
    			value = OTTO
    		}
    		condition = { type = capital value = yes }
    		condition = { type = owner 
    			condition = { type = kingdom }
    			condition = { type = title value = OTTO }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = not value = 
    				{ type = trait value = emperor } }  #small kingdom
    			condition = { type = atwar }
    		}
    		condition = {
    			type = not
    			value = {
    				type = realm_regiments
    				value = 12
    			}
    		}
    	}
    
    	mean_time_to_happen = {
    		months = 3
    
    		modifier = {
    			condition = { type = is_besieged }
    			factor = 0.17
    		}
    
    	}
    
    	action_a = {
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    		}
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    		}
    		effect = { type = random chance = 75 
    			effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }  
    		} }
    
    	}
    }
    # 24506 Sultan's vassal cannot keep his regiment during anabasis
    Code:
    character_event = {
    	id = 24506
    	
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = county }
    		condition = { type = is_vassal }
    		condition = { type = capital 
    			condition = { type = or
    				condition = { type = area value = 749 }  #Anatolia
    				condition = { type = area value = 745 }  #Ionia 
    				condition = { type = area value = 496 }  #Maritsa 
    				}
    			}
    		condition = { type = liege 
    			condition = { type = kingdom }
    			condition = { type = title value = OTTO }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = atwar } 
    			}
    		condition = { type = command }
    		condition = { type = location 
    			condition = { type = and 
    				condition = { type = not value = { type = area value = 749 } }  #Anatolia
    				condition = { type = not value = { type = area value = 745 } } #Ionia 
    				condition = { type = not value = { type = area value = 496 } } #Maritsa 
    				condition = { type = not value = { type = area value = 488 } } #Axios
    				condition = { type = not value = { type = area value = 472 } } #Pindhos_Oros
    				condition = { type = not value = { type = area value = 482 } } #Peloponnes
    				}
    			}
    	}
    
    	mean_time_to_happen = {
    		months = 40
    		modifier = {
    			condition = { type = trait value = LAZY }
    			factor = 0.5
    		}
    		modifier = {
    			condition = { type = trait value = REBELLIOUS }
    			factor = 0.1
    		}
    		modifier = {
    			condition = { type = trait value = STUBBORN }
    			factor = 7
    		}
    		modifier = {
    			condition = { type = trait value = LOYALIST }
    			factor = 15
    		}
    		modifier = {
    			condition = { type = not value = { type = loyalty value = 0.5 } }
    			factor = 0.3
    		}
    		modifier = {
    			condition = { type = not value = { type = loyalty value = 0.4 } }
    			factor = 0.2
    		}
    		modifier = {
    			condition = { type = not value = { type = loyalty value = 0.3 } }
    			factor = 0.1
    		}
    
    
    	}
    	
    	action_a = {#We go home!
    		ai_chance = 75 
    		effect = { type = remove_regiment }
    		effect = { type = prestige value = -50 }
    	}
    
    	action_b = {#No!
    		ai_chance = 25 
    		effect = { type = prestige value = 50 }
    		effect = { type = loyalty value = 0.25 }
    
    	}
    
    }
    # 24507 Clemency of sultan
    Code:
    province_event = {
    	id = 24507
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai } 
    		condition = { type = exists value = OTTO }
    		condition = { type = demesne value = OTTO }
    		condition = { type = owner 
    			condition = { type = kingdom }
    			condition = { type = title value = OTTO }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    		}
    		condition = { type = not value = { type = religion value = muslim } }
    		condition = { type = not value = { type = has_province_effect value = { revolt = yes } } }
    		condition = { type = not value = { type = is_besieged } }
    
    	}
    
    	mean_time_to_happen = {
    		months = 60
    
    		modifier = {
    			condition = { type = area value = 749 }
    			factor = 0.1
    		}
    		modifier = {
    			condition = { type = area value = 496 }
    			factor = 0.25
    		}
    		modifier = {
    			condition = { type = area value = 488 }
    			factor = 0.5
    		}
    		modifier = {
    			condition = { type = area value = 745 }
    			factor = 0.6
    		}
    		modifier = {
    			condition = { type = area value = 760 }
    			factor = 0.9
    		}
    
    	}
    
    	action_a = {
    		effect = { type = religion value = muslim }
    		effect = { type = ruler_piety value = 50 }
    		effect = { type = random chance = 25
    			effect = { type = add_province_effect value = revolt }
    			}
    		effect = { type = random chance = 5
    			effect = { type = culture value = turkish } 
    			}
    
    	}
    }
    # 24508 Ottoman absorbs an independent ruler
    Code:
    character_event = {
    	id = 24508
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = any_neighbour
    			condition = { type = or
    				condition = { type = duchy }
    				condition = { type = county }
    				}
    			condition = { type = is_independent }
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					}
    				}
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    
    	}
    
    	mean_time_to_happen = {
    		months = 12
    
    		modifier = { 
    			condition = { type = trait value = CRUEL }
    			factor = 0.2
    		}
    		modifier = { 
    			condition = { type = trait value = MERCIFUL }
    			factor = 2.4
    		}
    
    	}
    
    	action_a = {#Press the claim and war!
    		effect = { type = add_title_claim value = load_target }
    		effect = { type = declare_war value = load_target }
    		effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    			}
    	}
    
    }
    # 24509 Sultan has decided a vassal of enemy must be perished
    Code:
    character_event = {
    	id = 24509
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = atwar }
    		condition = { type = any_enemy
    			condition = { type = or 
    				condition = { type = kingdom }
    				condition = { type = duchy }
    				}
    			condition = { type = has_vassal }
    			condition = { type = any_vassal
    				condition = { type = county }
    				condition = { type = capital 
    					condition = { type = or
    						condition = { type = area value = 749 }  #Anatolia
    						condition = { type = area value = 745 }  #Ionia 
    						condition = { type = area value = 496 }  #Maritsa
    						condition = { type = area value = 488 }  #Axios
    						condition = { type = area value = 472 }  #Pindhos_Oros
    						condition = { type = area value = 482 }  #Peloponnes
    						condition = { type = area value = 480 }  #Cyclades
    						condition = { type = area value = 760 }  #Taurus
    						condition = { type = area value = 762 }  #Phoenicia
    						}
    					}
    				condition = { type = save_target }
    				}
    			}
    		condition = { type = has_target }
    
    	}
    
    	mean_time_to_happen = {
    		days = 15
    
    		modifier = { 
    			condition = { type = trait value = MISGUIDED_WARRIOR }
    			factor = 0.8
    		}
    		modifier = { 
    			condition = { type = trait value = TOUGH_SOLDIER }
    			factor = 0.6
    		}
    		modifier = { 
    			condition = { type = trait value = KNOWLEDGED_TACTICIAN }
    			factor = 0.4
    		}
    		modifier = { 
    			condition = { type = trait value = BRILLIANT_STRATEGIST }
    			factor = 0.2
    		}
    	}
    
    	action_a = {#Press the claim and war!
    		effect = { type = add_title_claim value = load_target }
    		effect = { type = declare_war value = load_target }
    		effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    			}
    		effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    			}
    	}
    
    }

    # 24510 Vassal's province is sieged - sultan's choice
    Code:
    character_event = {
    	id = 24510
    	
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = title value = OTTO }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = atwar }
    		condition = { type = has_vassal }
    		condition = { type = any_vassal
    			condition = { type = county }
    				condition = { type = capital 
    					condition = { type = or
    						condition = { type = area value = 749 }  #Anatolia
    						condition = { type = area value = 745 }  #Ionia 
    						condition = { type = area value = 496 }  #Maritsa 
    						condition = { type = area value = 488 }  #Axios 
    						}
    					condition = { type = is_besieged }
    					}
    			condition = { type = save_target } 
    			}
    		condition = { type = has_target }
    	}
    
    	mean_time_to_happen = {
    		months = 1
    		modifier = {
    			condition = { type = trait value = LAZY }
    			factor = 7
    		}
    		modifier = {
    			condition = { type = trait value = TRUSTING }
    			factor = 0.7
    		}
    
    	}
    	
    	action_a = {#Send him our regiment!
    		ai_chance = 80 
    		effect = { type = remove_regiment }
    		effect = { type = badboy value = -1 }
    		effect = { type = trigger for = load_target value = 24511 }
    	}
    
    	action_b = {#No!
    		ai_chance = 20 
    		effect = { type = remove_trait value = MERCIFUL }
    		effect = { type = add_trait value = CRUEL }
    
    	}
    
    }
    # 24511 Sultan has sent us a regiment!
    Code:
    character_event = {
    	id = 24511
    	picture = "muslim"
    
    	action_a = {#Thanks!
    		effect = { type = loyalty value = 0.5 }
    		effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    			}
    		}
    
    }
    # 24512 salic_consanguinity_law
    Code:
    character_event = { 
    	id = 24512
    
    	picture = "event_law"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = title value = OTTO }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = not value = { type = has_law value = { salic_consanguinity_law = yes } } }
    	}
    
    	mean_time_to_happen = {
    		months = 12
    
    
    	}
    
    	action_a = { # salic_consanguinity_law!
    		effect = { type = set_law value = salic_consanguinity_law }
    	}
    
    }
    # 25513 Sultan's heir must be turkish ** culture = turkish is a trigger for some events
    Code:
    character_event = { 
    	id = 24513
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler_child }
    		condition = { type = not value = { type = trait value = bastard } }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim }
    		condition = { type = not value = { type = culture value = turkish } }
    		condition = { type = age value = 1 }
    		condition = { type = exists value = OTTO }
    		condition = { type = realm_ruler
    			condition = { type = kingdom }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = title value = OTTO }
    			condition = { type = num_of_sons value = 2 }
    			}
    	}
    
    	mean_time_to_happen = {
    
    		months = 5
    
    
    	}
    
    	action_a = { 
    		effect = { type = add_trait value = bastard }
    	}
    
    }
    # 24514 Addition of courtier
    Code:
    character_event = { 
    	id = 24514
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = title value = OTTO }
    		condition = { type = gender value = male }
    		condition = { type = not value = { type= num_courtiers value = 10 } }
    	}
    
    	mean_time_to_happen = {
    
    		months = 12
    
    
    	}
    
    	action_a = { 
    		effect = { type = create_courtier value = steward }
    		effect = { type = random chance = 5
    			effect = { type = diplomacy value = 1 }
    			}
    	}
    
    }
    # 24515 A son of sultan from harem
    Code:
    character_event = { 
    	id = 24515
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = title value = OTTO }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = age value = 18 }
    		condition = { type = not value = { type = age value = 60 } }
    	}
    
    	mean_time_to_happen = {
    
    		months = 16
    
    		modifier = {
    			condition = { type = not value = { type = fertility value = 6 } } 
    			factor = 1.2
    		}
    		modifier = {
    			condition = { type = not value = { type = fertility value = 4 } } 
    			factor = 1.6
    		}
    		modifier = {
    			condition = { type = not value = { type = fertility value = 2 } } 
    			factor = 2.4
    		}
    		modifier = {
    			condition = { type = age value = 30 } 
    			factor = 1.2
    		}
    		modifier = {
    			condition = { type = age value = 40 } 
    			factor = 2.4
    		}
    		modifier = {
    			condition = { type = age value = 50 } 
    			factor = 4.8
    		}
    
    	}
    
    	action_a = { 
    		effect = { type = create_courtier value = bastard }
    	}
    
    }
    # 24516 If bastard, sultan's son is sultan's son
    Code:
    character_event = { 
    	id = 24516
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = trait value = bastard }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = trait value = sunni }
    		condition = { type = age value = 4 }
    		condition = { type = not value = { type = age value = 30 } }
    		condition = { type = father 
    			condition = { type = kingdom }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = title value = OTTO }
    			}
    	}
    
    	mean_time_to_happen = {
    
    		months = 24
    
    
    	}
    
    	action_a = { 
    		effect = { type = remove_trait value = bastard }
    	}
    
    }
    **24515 and 24516 may be applied for the king of muslim with some modifications.

    to be continued,
    Last edited by alania; 03-02-2010 at 02:57. Reason: Modification in version 5

  5. #5
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Ottoman's events 24517 and relating events

    (continued) concerning the establishment of the Ottoman Empire

    # 24517 Establish of Ottoman Empire - Emperor
    Code:
    character_event = { 
    	id = 24517
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = or
    			condition = { type = size_of_demesne value = 7 }
    			condition = { type = num_total_vassals value = 12 }
    			}
    		condition = { type = not value = { type = trait value = emperor } }
    
    	}
    
    	mean_time_to_happen = {
    
    		months = 5
    
    
    	}
    
    	action_a = { 
    		effect = { type = add_trait value = emperor }
    		effect = { type = prestige value = 250 }
    	}
    
    }
    #Some later events requires this emperor trait.

    Concerning above, some of the events in "Realm_disruption_events" were slightly modified (event id = 6302, 6303, 6304, 6305 and 6308) for the retention of emperor trait by sultan (6302) and to avoid the sultan's excommunication by Pope (others).

    Code:
    character_event = { # Your secular power has shrunk so badly that nobody recognises your imperial title anymore.
    	id = 6302
    
    	picture = "event_claim"
    
    	trigger = {
    		condition = { type = trait value = emperor }
    
    		condition = { type = not value = { type = title value = OTTO } }  #<<< this condition is inserted
    
    		condition = { type = not value = { type = trait value = realm_duress } }
    Code:
    	id = 6303
    
    	picture = "event_chaplain"
    
    	trigger = {
    		condition = { type = trait value = emperor }
    
    		condition = { type = religion value = catholic }  # <<< insertion is here
    
    		condition = { type = ruler }
    		condition = { type = not value = { type = trait value = excommunicated } }
    Code:
    	id = 6304
    
    	picture = "event_chancellor"
    
    	trigger = {
    		condition = { type = trait value = emperor }
    
    		condition = { type = religion value = catholic } # <<< insertion is here
    
    		condition = { type = ruler }
    Code:
    	id = 6305
    
    	picture = "event_claim"
    
    	trigger = {
    		condition = { type = ruler }
    		condition = { type = is_vassal }
    		condition = { type = duchy }
    		condition = { type = form_of_goverment value = feudal }
    
    		condition = { type = religion value = catholic } # <<< insertion si here
    
    		condition = { type = exists value = PAPA }
    		condition = { type = not value = { type = loyalty value = 0.7 } }
    		condition = { type = liege
    			condition = { type = trait value = emperor }
    			condition = { type = religion value = catholic } 
    			condition = { type = not value = { type = papacy } }
    			condition = { type = not value = { type = is_friend } }
    Code:
    	id = 6308
    
    	picture = "event_default"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = chaplain }
    		condition = { type = has_claims }
    		condition = { type = exists value = PAPA }
    		condition = { type = ruler_csc
    			condition = { type = trait value = emperor }
    
    			condition = { type = religion value = catholic } # <<< insertion is here
    
    			condition = { type = trait value = excommunicated }

    download Rise of the Ottoman Empire ver3
    http://hayasoft.com/hiko/paradox/oth...rce/up3305.zip

    to be continued,
    Last edited by alania; 05-02-2010 at 09:49. Reason: Changes are highlighted.

  6. #6
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Ottoman's events 24518-24524

    (continued)

    # 24518 Call-up of Kapkli part II - Emperor's army
    Code:
    province_event = {
    	id = 24518
    	picture = "event_muslim"
    	trigger = {
    		condition = { type = ai }
    		condition = { type = exists value = OTTO }
    		condition = {
    			type = demesne
    			value = OTTO
    		}
    		condition = { type = capital value = yes }
    		condition = { type = owner 
    			condition = { type = kingdom }
    			condition = { type = title value = OTTO }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = atwar }
    			condition = { type = trait value = emperor }
    		}
    		condition = {
    			type = not
    			value = {
    				type = realm_regiments
    				value = 56
    			}
    		}
    	}
    
    	mean_time_to_happen = {
    		months = 1
    
    		modifier = {
    			condition = { type = is_besieged }
    			factor = 0.17
    		}
    
    	}
    
    	action_a = {
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		}
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 }
    		} 
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		}
    		effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		}
    		effect = { type = random chance = 75 
    			effect = { type = add_regiment 
    				country = OTTO 
    				culture = turkish 
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		} }
    
    	}
    }
    # 24519 Now sultan can aquire a king's claim
    Code:
    character_event = {
    	id = 24519
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = trait value = emperor }
    		condition = { type = any_neighbour
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					condition = { type = area value = 561 }  #Crimea
    					condition = { type = area value = 509 }  #Dunarea
    					condition = { type = area value = 508 }  #Dunav
    					condition = { type = area value = 724 }  #Jordan
    					condition = { type = area value = 717 }  #Syrian_Desert
    					condition = { type = area value = 780 }  #Sinai
    					condition = { type = area value = 703 }  #Armenia
    					condition = { type = area value = 789 }  #Delta
    					condition = { type = area value = 803 }  #Qattara
    					condition = { type = area value = 808 }  #Cyrenaica
    					}
    				}
    			condition = { type = or 
    				condition = { type = is_independent }
    				condition = { type = and 
    					condition = { type = is_vassal }
    					condition = { type = realm_ruler 
    						condition = { type = not value = 
    								{ type = title value = OTTO } 
    							}
    						}
    					}
    				}
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    
    	}
    
    	mean_time_to_happen = {
    		months = 48
    
    		modifier = { 
    			condition = { type = trait value = CRUEL }
    			factor = 0.2
    		}
    		modifier = { 
    			condition = { type = trait value = MERCIFUL }
    			factor = 2.4
    		}
    		modifier = { 
    			condition = { type = atwar }
    			factor = 9
    		}
    
    	}
    
    	action_a = {#Press the claim and war!
    		effect = { type = add_title_claim value = load_target }
    		effect = { type = declare_war value = load_target }
    		effect = { type = add_regiment 
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		}
    		effect = { type = add_regiment 
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 }
    		} 
    	}
    
    }
    # 24520 Topkapi
    Code:
    province_event = {
    	id = 24520
    	
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai } 
    		condition = { type = exists value = OTTO }
    		condition = { type = demesne value = OTTO }
    		condition = { type = or 
    			condition = { type = province value = 496 }  # Constantinopolis
    			condition = { type = province value = 494 }  # Adrianopolis
    			condition = { type = province value = 742 }  # Bursa
    			}
    		condition = { type = owner 
    			condition = { type = kingdom }
    			condition = { type = title value = OTTO }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = trait value = emperor }
    		}
    		condition = { type = not value = { type = is_besieged } }
    		condition = { type = not value = { type = has_improvement value = { grand_palace = yes } } }
    	}
    
    	mean_time_to_happen = {
    		months = 4
    
    
    	}
    	
    	action_a = {
    		effect = { type = add_improvement value = grand_palace }
    		effect = { type = add_improvement value = hill_fort }
    		effect = { type = add_improvement value = small_castle }
    		effect = { type = add_improvement value = medium_castle }
    		effect = { type = add_improvement value = large_castle }
    		effect = { type = culture value = turkish }
    		effect = { type = religion value = muslim }
    		effect = { type = ruler_piety value = 50 }
    		effect = { type = ruler_prestige value = 250 }
    		effect = { type = remove_province_effect value = revolt }
    	}
    	
    }
    ** This may lead to the transfer of capital.

    # 24521 Murder of inappropriate successor
    Code:
    character_event = { 
    	id = 24521
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = trait value = emperor }
    		condition = { type = not value = { type = atwar } }
    		condition = { type = age value = 40 }
    		condition = { type = num_of_sons value = 4 }
    		condition = { type = any_child
    			condition = { type = gender value = male }
    			condition = { type = age value = 16 }
    			condition = { type = or 
    				condition = { type = trait value = LEPER }
    				condition = { type = trait value = MANIAC }
    				condition = { type = trait value = REBELLIOUS }
    				condition = { type = trait value = SCHIZOFRENIA }
    				}
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    	}
    
    	mean_time_to_happen = {
    		months = 200
    
    
    		modifier = {
    			condition = { type = trait value = hostile }
    			factor = 0.8
    		}
    		modifier = {
    			condition = { type = trait value = reckless }
    			factor = 0.8
    		}
    		modifier = {
    			condition = { type = trait value = energetic }
    			factor = 0.8
    		}
    		modifier = {
    			condition = { type = trait value = modest }
    			factor = 1.1
    		}
    		modifier = {
    			condition = { type = trait value = deceitful }
    			factor = 1.1
    		}
    		modifier = {
    			condition = { type = trait value = amiable }
    			factor = 1.25
    		}
    		modifier = {
    			condition = { type = trait value = lazy }
    			factor = 1.25
    		}
    
    	}
    
    	action_a = { # Send assasin
    		ai_chance = 60
    		effect = { type = random_list
    			5 = { type = no_effect }
    			20 = { type = add_trait for = load_target value = war_invalid }
    			75 = { type = death value = load_target }
    		}
    		effect = { type = random chance = 5
    			effect = { type = add_trait value = kinslayer } 
    			}
    	}
    	action_b = { # No!
    		ai_chance = 40
    		effect = { type = piety value = 50 }
    	}
    
    }
    # 24522 A sultan's son tries to expand his influence
    Code:
    character_event = {
    	id = 24522
    	picture = "muslim"
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = age value = 16 }
    		condition = { type = is_vassal }
    		condition = { type = liege 
    			condition = { type = kingdom }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = title value = OTTO }
    			condition = { type = trait value = emperor }
    			}
    		condition = { type = father 
    			condition = { type = is_alive }
    			condition = { type = title value = OTTO }
    			}
    		condition = { type = any_neighbour
    			condition = { type = or
    				condition = { type = duchy }
    				condition = { type = county }
    				}
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					}
    				}
    			condition = { type = or 
    				condition = { type = is_independent }
    				condition = { type = and 
    					condition = { type = is_vassal }
    					condition = { type = realm_ruler 
    						condition = { type = not value = 
    								{ type = title value = OTTO } 
    							}
    						}
    					}
    				}
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 36
    
    		modifier = {
    			condition = { type = liege 
    				condition = { type = atwar } } 
    			factor = 12
    		}
    
    		}
    
    
    	action_a = {
    		effect = { type = add_title_claim value = load_target } 
    		effect = { type = prestige value = 50 }
    		effect = { type = random chance = 66
    			effect = { type = declare_war value = load_target }
    			effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    				}			
    			}
    		}
    
    }
    # 24523 Kanuni
    Code:
    province_event = {
    	id = 24523
    	
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai } 
    		condition = { type = exists value = OTTO }
    		condition = { type = capital value = yes }
    		condition = { type = owner 
    			condition = { type = religion value = muslim }
    			condition = { type = or
    				condition = { type = duchy }
    				condition = { type = county } 
    				} 
    			condition = { type = is_vassal } 
    			condition = { type = liege 
    				condition = { type = kingdom }
    				condition = { type = culture value = turkish }
    				condition = { type = religion value = muslim }
    				condition = { type = title value = OTTO }
    				condition = { type = trait value = emperor }
    				}
    			}
    		condition = { type = not value = { type = is_besieged } }
    		condition = { type = not value = { type = has_province_effect value = 
    						{ revolt = yes } } } 
    		condition = { type = not value = { type = has_improvement value = 
    						{ court_of_justice = yes } } } 
    		}
    
    	mean_time_to_happen = {
    		months = 12
    
    
    	}
    	
    	action_a = {
    		effect = { type = add_improvement value = court_of_justice }
    		effect = { type = ruler_piety value = 50 }
    		effect = { type = ruler_prestige value = 25 }
    	}
    	
    }
    # 24524 Vassal's Jihad
    Code:
    character_event = {
    	id = 24524
    	picture = "muslim"
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = religion value = muslim }
    		condition = { type = is_vassal }
    		condition = { type = not value = { type = atwar } }
    		condition = { type = not value = { type = command } } 
    		condition = { type = liege 
    			condition = { type = kingdom }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = title value = OTTO } 
    			condition = { type = trait value = emperor }
    			}
    		condition = { type = any_neighbour
    			condition = { type = or
    				condition = { type = duchy }
    				condition = { type = county }
    				} 
    			condition = { type = not value = { type = religion value = muslim } }
    			condition = { type = or 
    				condition = { type = is_independent }
    				condition = { type = and 
    					condition = { type = is_vassal }
    					condition = { type = realm_ruler 
    						condition = { type = not value = 
    						{ type = title value = OTTO }
    							}
    						}
    					}
    				}
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					condition = { type = area value = 561 }  #Crimea
    					condition = { type = area value = 509 }  #Dunarea
    					condition = { type = area value = 508 }  #Dunav
    					condition = { type = area value = 724 }  #Jordan
    					condition = { type = area value = 717 }  #Syrian_Desert
    					condition = { type = area value = 780 }  #Sinai
    					condition = { type = area value = 703 }  #Armenia
    					condition = { type = area value = 789 }  #Delta
    					condition = { type = area value = 803 }  #Qattara
    					condition = { type = area value = 808 }  #Cyrenaica
    					}
    				}
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 60
    
    		modifier = {
    			condition = { type = trait value = energetic }
    			factor = 0.7
    		}
    		modifier = {
    			condition = { type = trait value = amiable }
    			factor = 1.25
    		}
    		modifier = {
    			condition = { type = trait value = lazy }
    			factor = 1.5
    		}
    	}
    
    
    	action_a = {
    		effect = { type = add_title_claim value = load_target } 
    		effect = { type = prestige value = 50 }
    		effect = { type = random chance = 75
    			effect = { type = declare_war value = load_target }
    			effect = { type = add_regiment
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 625 militia = 750 }
    				}			
    			}
    		}
    
    }
    to be continued,
    Last edited by alania; 03-02-2010 at 03:03. Reason: Changes for version 5

  7. #7
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Ottoman's events 24525-24530

    (continued)

    During the test play, sultan of OTTO sometimes became a vassal of another muslim kingdom (once QARA, twice SELJ). So the break-free events based on the jordarkelf's break-free were prepared.

    # 24525 Break-free for OTTO
    Code:
    character_event = { 
    	id = 24525
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = is_vassal }
    		condition = { type = liege 
    			condition = { type = or 
    				condition = { type = kingdom }
    				condition = { type = duchy }
    				}
    			}
    	}
    
    	mean_time_to_happen = {
    
    		days = 1
    
    
    	}
    
    	action_a = { 
    		effect = { type = trigger for = liege value = 24526 } # Vassal broke free
    		effect = { type = independence }
    		effect = { type = loyalty value = 1.0 } # Reset loyalty
    		effect = { type = prestige value = 50 } # Give prestige
    	}
    
    }
    # Reaction event for liege
    Code:
    character_event = {
    	id = 24526
    	picture = "event_intrigue"
    	action_a = {
    		effect = { type = prestige value = -50 } 
    		effect = { type = relation for = previous_char value = -150 } 
    	}
    }
    # 24527 Clemency of sultan part II - vassal or emperor
    Code:
    province_event = {
    	id = 24527
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai } 
    		condition = { type = exists value = OTTO }
    		condition = { type = owner 
    			condition = { type = ruler } 
    			condition = { type = religion value = muslim } 
    			condition = { type = is_vassal } 
    			condition = { type = realm_ruler 
    				condition = { type = kingdom }
    				condition = { type = title value = OTTO }
    				condition = { type = religion value = muslim }
    				condition = { type = culture value = turkish }
    				}
    		}
    		condition = { type = not value = { type = religion value = muslim } }
    		condition = { type = not value = { type = has_province_effect value = { revolt = yes } } }
    		condition = { type = not value = { type = is_besieged } }
    
    	}
    
    	mean_time_to_happen = {
    		months = 60
    
    		modifier = {
    			condition = { type = area value = 749 }
    			factor = 0.6
    		}
    		modifier = {
    			condition = { type = area value = 496 }
    			factor = 0.7
    		}
    		modifier = {
    			condition = { type = area value = 488 }
    			factor = 0.8
    		}
    		modifier = {
    			condition = { type = area value = 745 }
    			factor = 0.8
    		}
    		modifier = {
    			condition = { type = area value = 760 }
    			factor = 0.9
    		}
    
    	}
    
    	action_a = {
    		effect = { type = religion value = muslim }
    		effect = { type = ruler_piety value = 50 }
    		effect = { type = random chance = 33
    			effect = { type = add_province_effect value = revolt }
    			}
    		effect = { type = random chance = 5
    			effect = { type = culture value = turkish } 
    			}
    
    	}
    }
    # 24528 Sultan has decided a vassal of enemy must be perished part II - emperor
    Code:
    character_event = {
    	id = 24528
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = trait value = emperor } 
    		condition = { type = atwar }
    		condition = { type = any_enemy
    			condition = { type = or 
    				condition = { type = kingdom }
    				condition = { type = duchy }
    				}
    			condition = { type = has_vassal }
    			condition = { type = any_vassal
    				condition = { type = or 
    					condition = { type = duchy } 
    					condition = { type = county } 
    					}
    				condition = { type = capital 
    					condition = { type = or
    						condition = { type = area value = 749 }  #Anatolia
    						condition = { type = area value = 745 }  #Ionia 
    						condition = { type = area value = 496 }  #Maritsa
    						condition = { type = area value = 488 }  #Axios
    						condition = { type = area value = 472 }  #Pindhos_Oros
    						condition = { type = area value = 482 }  #Peloponnes
    						condition = { type = area value = 480 }  #Cyclades
    						condition = { type = area value = 760 }  #Taurus
    						condition = { type = area value = 762 }  #Phoenicia
    						condition = { type = area value = 561 }  #Crimea
    						condition = { type = area value = 509 }  #Dunarea
    						condition = { type = area value = 508 }  #Dunav
    						condition = { type = area value = 724 }  #Jordan
    						condition = { type = area value = 717 }  #Syrian_Desert
    						condition = { type = area value = 780 }  #Sinai
    						condition = { type = area value = 703 }  #Armenia
    						condition = { type = area value = 789 }  #Delta
    						condition = { type = area value = 803 }  #Qattara
    						condition = { type = area value = 808 }  #Cyrenaica
    						}
    					}
    				condition = { type = save_target }
    				}
    			}
    		condition = { type = has_target }
    
    	}
    
    	mean_time_to_happen = {
    		months = 2
    
    		modifier = { 
    			condition = { type = trait value = MISGUIDED_WARRIOR }
    			factor = 0.8
    		}
    		modifier = { 
    			condition = { type = trait value = TOUGH_SOLDIER }
    			factor = 0.6
    		}
    		modifier = { 
    			condition = { type = trait value = KNOWLEDGED_TACTICIAN }
    			factor = 0.4
    		}
    		modifier = { 
    			condition = { type = trait value = BRILLIANT_STRATEGIST }
    			factor = 0.2
    		}
    	}
    
    	action_a = {#Press the claim and war!
    		effect = { type = add_title_claim value = load_target }
    		effect = { type = declare_war value = load_target }
    		effect = { type = add_regiment 
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		}
    		effect = { type = add_regiment 
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 }
    		} 
    	}
    
    }
    # 24529 Sultan's gift
    Code:
    character_event = {
    	id = 24529
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim } 
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = trait value = emperor }
    		condition = { type = prestige value = 500 }
    		condition = { type = has_vassal } 
    		condition = { type = any_vassal 
    			condition = { type = religion value = muslim } 
    			condition = { type = loyalty value = 0.75 }
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 2
    
    		modifier = { 
    			condition = { type = trait value = GENEROUS }
    			factor = 0.7
    		}
    		modifier = { 
    			condition = { type = trait value = SELFISH }
    			factor = 1.4
    		}
    		modifier = { 
    			condition = { type = atwar }
    			factor = 1.1
    		}
    
    		}
    
    	action_a = {
    		effect = { type = prestige value = -150 }
    		effect = { type = badboy value = -2 }
    		effect = { type = trigger for = load_target value = 24530 }
    			}
    
    }
    # 24530 Sultan has sent us a gift!
    Code:
    character_event = {
    	id = 24530
    	picture = "muslim"
    
    	action_a = {#Thanks!
    		effect = { type = loyalty value = 0.25 }
    		effect = { type = gold value = 150 }
    		effect = { type = relation for = previous_char value = 25 } 
    		effect = { type = random chance = 10
    			effect = { type = remove_trait value = REBELLIOUS } 
    			}
    		effect = { type = random chance = 3
    			effect = { type = remove_trait value = REBELLIOUS } 
    			effect = { type = add_trait value = LOYALIST }
    			}
    		}
    
    }
    For the present, that's all I have prepared for the rise and expansion of the Ottoman Empire. Crisis of the Empire, historical battle against a certain enemy (ex. Battle of Ankara) and specific events in sultan's court are the future subjects.

    Sincerely,
    Last edited by alania; 03-02-2010 at 03:06. Reason: Changes for version 5

  8. #8
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Changes in version 4

    Download Rise of the Ottoman Empire version 4
    http://hayasoft.com/hiko/paradox/oth...rce/up3311.zip


    **Changes in version 4

    24503 Addition of modifier
    24510 Modification in vassal's condition - remove "atwar"
    24511 Removing triggers

    **

    Again, any suggestions are appreciated.
    Thank you.

  9. #9
    No suggestions, really, just a thank you! It's always bugged me that the Ottomans never formed in CK.
    New AAR coming soon!

  10. #10
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20
    Thank you, timetogetaway, I'm glad to hear that!

    I hope that you enjoy playing with this terrible empire.


    Thank you again, for your kind comment.

  11. #11
    Sergeant Templier's Avatar
    Arsenal of DemocracyHearts of Iron 2: ArmageddonDarkest HourDeus VultEU3 Complete
    Hearts of Iron IIIHOI3: Their Finest HourHeir to the ThroneSemper Fi

    Join Date
    Feb 2008
    Location
    Not now.... the sun is up..
    Posts
    90
    hi alania,

    I just installed your event mods. Should I start a new game or continue with my current one? I'm in the year 1140 right now from the 1066 scenario and using DVIP+DVIPaddon and BoPack, if this helps. I'll let you know how it works out. Thanks for the events.
    Not now... the sun is up.

  12. #12
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20
    Quote Originally Posted by Templier View Post
    hi alania,

    I just installed your event mods. Should I start a new game or continue with my current one? I'm in the year 1140 right now from the 1066 scenario and using DVIP+DVIPaddon and BoPack, if this helps. I'll let you know how it works out. Thanks for the events.
    Thanks Templier.

    Probably, the events are applicable to your current save game (I did so), after a slight modification of events.txt in db folder.

    The modification is to add

    Code:
         event = "db\events\ottoman_events.txt"
    to the end of the events.txt.


    I hope the Ottoman Empire would terribly flourish in your history.
    Last edited by alania; 07-01-2010 at 13:11.

  13. #13
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Ottoman events 24531-24536

    (continued)

    Version 5 were updated.
    Some court events in Ottoman Empire were added.

    # 24531 Janissary
    Code:
    character_event = {
    	id = 24531
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = year value = 1299 } 
    		condition = { type = exists value = OTTO } 
    		condition = { type = ai } 
    		condition = { type = not value = { type = ruler } } 
    		condition = { type = not value = { type = ruler_child } } 
    		condition = { type = gender value = male } 
    		condition = { type = not value = { type = trait value = fostering } }  
    		condition = { type = age value = 12 }
    		condition = { type = not value = { type = age value = 24 } } 
    		condition = { type = not value = { type = is_married } } 
    		condition = { type = ruler_csc 
    			condition = { type = or 
    				condition = { type = county }
    				condition = { type = duchy }
    				}
    			condition = { type = or 
    				condition = { type = religion value = catholic } 
    				condition = { type = religion value = orthodox } 
    				}
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					condition = { type = area value = 561 }  #Crimea
    					condition = { type = area value = 509 }  #Dunarea
    					condition = { type = area value = 508 }  #Dunav
    					condition = { type = area value = 724 }  #Jordan
    					condition = { type = area value = 717 }  #Syrian_Desert
    					condition = { type = area value = 780 }  #Sinai
    					condition = { type = area value = 703 }  #Armenia
    					condition = { type = area value = 789 }  #Delta
    					condition = { type = area value = 803 }  #Qattara
    					condition = { type = area value = 808 }  #Cyrenaica
    					}
    				} 
    			}
    		condition = { type = any_ruler 
    			condition = { type = title value = OTTO }
    			condition = { type = culture value = turkish }
    			condition = { type = religion value = muslim }
    			condition = { type = trait value = sunni } 
    			condition = { type = trait value = emperor }
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 60
    
    		modifier = { 
    			condition = { type = trait value = GENEROUS }
    			factor = 0.7
    		}
    		modifier = { 
    			condition = { type = trait value = SELFISH }
    			factor = 1.4
    		}
    		modifier = { 
    			condition = { type = trait value = bastard }
    			factor = 0.2 
    		}
    		}
    
    	action_a = { #Yes, I will send him to the sultan's court.
    		ai_chance = 75 
    		effect = { type = courtier_defect value = load_target }
    		effect = { type = loyalty value = 0.75 }
    		effect = { type = trigger for = ruler value = 24532 }
    			}
    	action_b = { #No, Christian must not do such a thing.
    		ai_chance = 25 
    		effect = { type = prestige value = 10 }
    		effect = { type = trigger for = ruler value = 24533 }
    			}
    }
    **Consideration and examination of the triggers may be needed.

    # 24532-24533 reaction events for 24531 and 24534 (see below)
    Code:
    character_event = {
    	id = 24532
    	picture = "event_muslim"
    
    	action_a = {  
    		effect = { type = relation for = load_target value = 45 }
    		effect = { type = prestige value = -25 }
    		}
    
    }
    Code:
    character_event = {
    	id = 24533
    	picture = "event_muslim"
    
    	action_a = { 
    		effect = { type = relation for = load_target value = -125 }
    		effect = { type = prestige value = 25 }
    		}
    
    }
    # 24534 Harem
    Code:
    character_event = {
    	id = 24534
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = year value = 1299 } 
    		condition = { type = exists value = OTTO }
    		condition = { type = ai } 
    		condition = { type = not value = { type = ruler } } 
    		condition = { type = not value = { type = ruler_child } } 
    		condition = { type = gender value = female }
    		condition = { type = not value = { type = is_married } } 
    		condition = { type = not value = { type = trait value = fostering } }  
    		condition = { type = age value = 16 }
    		condition = { type = not value = { type = age value = 21 } } 
    		condition = { type = ruler_csc 
    			condition = { type = or 
    				condition = { type = county }
    				condition = { type = duchy }
    				}
    			condition = { type = or 
    				condition = { type = religion value = catholic } 
    				condition = { type = religion value = orthodox } 
    				}
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					condition = { type = area value = 561 }  #Crimea
    					condition = { type = area value = 509 }  #Dunarea
    					condition = { type = area value = 508 }  #Dunav
    					condition = { type = area value = 724 }  #Jordan
    					condition = { type = area value = 717 }  #Syrian_Desert
    					condition = { type = area value = 780 }  #Sinai
    					condition = { type = area value = 703 }  #Armenia
    					condition = { type = area value = 789 }  #Delta
    					condition = { type = area value = 803 }  #Qattara
    					condition = { type = area value = 808 }  #Cyrenaica
    					}
    				} 
    			}
    		condition = { type = any_ruler 
    			condition = { type = title value = OTTO }
    			condition = { type = culture value = turkish }
    			condition = { type = religion value = muslim }
    			condition = { type = trait value = sunni } 
    			condition = { type = trait value = emperor }
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 60
    
    		modifier = { 
    			condition = { type = trait value = GENEROUS }
    			factor = 0.7
    		}
    		modifier = { 
    			condition = { type = trait value = SELFISH }
    			factor = 1.4
    		}
    
    		}
    
    	action_a = { #Yes, I will send her to the sultan's court.
    		ai_chance = 75 
    		effect = { type = courtier_defect value = load_target }
    		effect = { type = loyalty value = 0.75 }
    		effect = { type = trigger for = liege value = 24532 }
    			}
    	action_b = { #No, Christian must not do such a thing.
    		ai_chance = 25 
    		effect = { type = prestige value = 10 }
    		effect = { type = trigger for = liege value = 24533 }
    			}
    }
    # 24535 Conversion
    Code:
    character_event = {
    	id = 24535
    
    	picture = "event_muslim"
    
    	trigger = {
    		condition = { type = year value = 1299 } 
    		condition = { type = exists value = OTTO }
    		condition = { type = not value = { type = religion value = muslim } } 
    		condition = { type = ruler_csc
    			condition = { type = title value = OTTO }
    			condition = { type = culture value = turkish }
    			condition = { type = religion value = muslim }
    			condition = { type = trait value = sunni } 
    			condition = { type = trait value = emperor }
    			}
    		}
    
    	mean_time_to_happen = {
    		months = 1
    
    		modifier = { 
    			condition = { type = trait value = ARBITRARY }
    			factor = 0.8
    		}
    		modifier = { 
    			condition = { type = trait value = ZEALOUS }
    			factor = 1.8
    		}
    
    		}
    
    	action_a = { #Yes, I do so.
    		ai_chance = 90 
    		effect = { type = piety value = -50 }
    		effect = { type = set_to_realm_religion }
    		effect = { type = add_trait value = sunni } 
    			}
    	action_b = { #No, Christian must not do such a thing.
    		ai_chance = 10 
    		effect = { type = piety value = 50 }
    		effect = { type = random chance = 33
    			effect = { type = death } 
    			}
    			}
    }
    # 24536 King, do you believe you can defeat the sultan ?
    Code:
    character_event = {
    	id = 24536
    	picture = "event_muslim"
    	
    	trigger = { 
    		condition = { type = ai }
    		condition = { type = ruler }
    		condition = { type = kingdom }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = title value = OTTO }
    		condition = { type = trait value = emperor } 
    		condition = { type = atwar }
    		condition = { type = any_enemy
    			condition = { type = or 
    				condition = { type = kingdom }
    				condition = { type = duchy }
    				}
    			condition = { type = capital 
    				condition = { type = or
    					condition = { type = area value = 749 }  #Anatolia
    					condition = { type = area value = 745 }  #Ionia 
    					condition = { type = area value = 496 }  #Maritsa
    					condition = { type = area value = 488 }  #Axios
    					condition = { type = area value = 472 }  #Pindhos_Oros
    					condition = { type = area value = 482 }  #Peloponnes
    					condition = { type = area value = 480 }  #Cyclades
    					condition = { type = area value = 760 }  #Taurus
    					condition = { type = area value = 762 }  #Phoenicia
    					condition = { type = area value = 561 }  #Crimea
    					condition = { type = area value = 509 }  #Dunarea
    					condition = { type = area value = 508 }  #Dunav
    					condition = { type = area value = 724 }  #Jordan
    					condition = { type = area value = 717 }  #Syrian_Desert
    					condition = { type = area value = 780 }  #Sinai
    					condition = { type = area value = 703 }  #Armenia
    					condition = { type = area value = 789 }  #Delta
    					condition = { type = area value = 803 }  #Qattara
    					condition = { type = area value = 808 }  #Cyrenaica
    					}
    				} 
    			condition = { type = save_target } 
    			}
    		condition = { type = has_target }
    	}
    
    	mean_time_to_happen = {
    		months = 90
    
    		modifier = { 
    			condition = { type = intrigue value = 9 }
    			factor = 0.6
    		}
    		modifier = { 
    			condition = { type = not value = { type = intrigue value = 5 } }
    			factor = 1.6
    		}
    	}
    
    	action_a = {#Press the claim !
    		effect = { type = add_title_claim value = load_target }
    		effect = { type = add_regiment 
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 } 
    		}
    		effect = { type = add_regiment 
    				tech_prov = 749
    				culture = turkish
    				mercenaries = yes
    				strength = { archer_cav = 999 light_cav = 750 militia = 1880
    					heavy_inf = 1110 archers = 770 }
    		} 
    	}
    
    }

    Sincerely,

  14. #14
    Colonel
    Crusader Kings IIDeus VultEU3 CompleteHeir to the ThroneMajesty 2
    Victoria 2

    Join Date
    Oct 2009
    Location
    Helsinki, Finland
    Posts
    956
    Quote Originally Posted by Templier View Post
    hi alania,
    I just installed your event mods. Should I start a new game or continue with my current one? I'm in the year 1140 right now from the 1066 scenario and using DVIP+DVIPaddon and BoPack, if this helps. I'll let you know how it works out. Thanks for the events.
    I'm mostly worried about the modified realm disruption events, since I haven't actually checked yet if DVIP or its addons (which I have, like Templier) modify them or not, and then if I overwrite with this it would remove the DVIP modifications, if there are any...

    Anyway, some suggestions:

    - #24501 Make the MTTH of the appearance of OTTO longer. With MTTH=1 month, the 1299-1326 possible timespan for them appearing seems unnecessarily long. Maybe 1-5 years would give enough variety on when they appear. If you want to give them 2-3 chances of reappearing in case they're wiped out, maybe 1-3 years would be a better area to consider.

    - The amounts of troops given to them for free seem decent, a few thousand instead of the nigh-unstoppable 60-80k or so the mongols get. Enough, but not overwhelming.

    - #24504 Except this. If i'm reading it right, they get 2,5k free troops *every day* in the capital when it's under siege (999 of them archer cav). That seems like it would make sieging and destroying OTTO nigh-impossible, as sieges tend to last weeks, at least once they've upgraded from a small castle. Up the MTTH to several days, to make it fire a few times per siege, but not constantly? Maybe give more troops at a time (to compensate), and/or have them spawn in neighbouring provinces (if any) and march to the capital (more realistic than troops appearing in the sieged city out of nowhere). If that last one is possible. #24505 seems more balanced for these concerns.

    - If i'm reading the events right, OTTO is meant to get events to help it conquer 9 (or 10, if it spawns in 748) provinces, then most of it's "free troops" events cease. This seems fine, except of course if you're planning on playing in or near that area (I was planning on starting my next game somewhere in eastern Byzantium ), in which case you end up with whack-a-mole, or at least you'd have to cede said "core" area. And then when they become Emperor, the area gets larger.

    - How many sons does a sultan usually end up with thanks to #24515 (and #24516? It probably does simulate a harem pretty well, but seems like he'll still end up with excessive amounts of sons (10+ easily, even 20 or more reasonably often if my math is right). And should all of them be named legitimate possible heirs so easily? Maybe up the MTTHs and/or making the age where #24516 can fire different, eg. 8-30, with the chances dropping after age 24 or so.

    - #24517 MTTH seems low, despite the fact that required conditions do include vassals and provinces. 1-2 years maybe?

    - #24531 make it fire for children (7-15?) instead of teenagers/young adults (12-24, unmarried atm); at least wikipedia seems to be of the opinion that boys were recruited, not men.


    Haven't done any modding myself, but those were things I found odd (the event code isn't hard to read, I just hope i'm remembering the math behind MTTH correctly - it's basically a 1/MTTH chance per day, right). I'd be interested in at least hearing what your playtesting results have been, or any other counterarguments or -suggestions.

  15. #15
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20
    Thanks Snaake, for your constructive suggestions!

    In greater or lesser degrees, your opinions will be reflected to the version 6 of this mod.


    I'm mostly worried about the modified realm disruption events, since I haven't actually checked yet if DVIP or its addons (which I have, like Templier) modify them or not, and then if I overwrite with this it would remove the DVIP modifications, if there are any...
    If you afraid the above case, you can modify the realm_disruption_events.txt file directly as I did (see "Ottoman's events 24517 and relating events"). Now the changes are highlighted.



    - #24501 Make the MTTH of the appearance of OTTO longer. With MTTH=1 month, the 1299-1326 possible timespan for them appearing seems unnecessarily long. Maybe 1-5 years would give enough variety on when they appear. If you want to give them 2-3 chances of reappearing in case they're wiped out, maybe 1-3 years would be a better area to consider.
    You're right, the MTTH of #24501 was set up for the test play and has not been changed. I agree with the appearing time span you offered; 24 months may be.



    - The amounts of troops given to them for free seem decent, a few thousand instead of the nigh-unstoppable 60-80k or so the mongols get. Enough, but not overwhelming.
    Thanks.



    - #24504 Except this. If i'm reading it right, they get 2,5k free troops *every day* in the capital when it's under siege (999 of them archer cav). That seems like it would make sieging and destroying OTTO nigh-impossible, as sieges tend to last weeks, at least once they've upgraded from a small castle. Up the MTTH to several days, to make it fire a few times per siege, but not constantly? Maybe give more troops at a time (to compensate), and/or have them spawn in neighbouring provinces (if any) and march to the capital (more realistic than troops appearing in the sieged city out of nowhere). If that last one is possible. #24505 seems more balanced for these concerns.
    As you indicated, event #24505 can be adapted to the situations that assumed in #24504. Event #24504 will be deleted.



    - If i'm reading the events right, OTTO is meant to get events to help it conquer 9 (or 10, if it spawns in 748) provinces, then most of it's "free troops" events cease. This seems fine, except of course if you're planning on playing in or near that area (I was planning on starting my next game somewhere in eastern Byzantium ), in which case you end up with whack-a-mole, or at least you'd have to cede said "core" area. And then when they become Emperor, the area gets larger.
    I designed these "claim and regiment" events to help OTTO expand to the historical region. If you will play in this area, I say good luck. One solution is to defeat OTTO completely in early stage, another is to become a vassal of the sultan as Christian rulers in the region did.


    To be continued.
    Last edited by alania; 05-02-2010 at 09:50.

  16. #16
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Re: Snaake #2

    - How many sons does a sultan usually end up with thanks to #24515 (and #24516? It probably does simulate a harem pretty well, but seems like he'll still end up with excessive amounts of sons (10+ easily, even 20 or more reasonably often if my math is right). And should all of them be named legitimate possible heirs so easily? Maybe up the MTTHs and/or making the age where #24516 can fire different, eg. 8-30, with the chances dropping after age 24 or so.
    Yeah, the limitation on the number of the bastards with #24515 may be needed even though many of them would die in infant. I will add the num_sons condition to the trigger (12-15). Also, #24516 will be modified slightly for dropping the chances to lose the bastard trait.


    - #24517 MTTH seems low, despite the fact that required conditions do include vassals and provinces. 1-2 years maybe?
    OK. It takes a period for a new sultan to establish his reign. Additionally, a brother-killing event may be needed in this situation.


    - #24531 make it fire for children (7-15?) instead of teenagers/young adults (12-24, unmarried atm); at least wikipedia seems to be of the opinion that boys were recruited, not men.
    Right. From a "historical flavor" standpoint, this event should fire for children.



    Again, thank you for your kind suggestions, Snaake.

  17. #17
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Ottoman's events #24537-#24542

    #24537 A son of courtess (maybe sultan's)

    Code:
    character_event = { # Ten months ago, sultan loved you.
    	id = 24537
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai } 
    		condition = { type = year value = 1299 } 
    		condition = { type = exists value = OTTO }
    		condition = { type = not value = { type = ruler } } 
    		condition = { type = not value = { type = ruler_child } } 
    		condition = { type = ruler_csc
    			condition = { type = title value = OTTO }
    			condition = { type = culture value = turkish }
    			condition = { type = religion value = muslim }
    			condition = { type = trait value = sunni } 
    			condition = { type = trait value = emperor }
    			}
    		condition = { type = gender value = female }
    		condition = { type = age value = 17 }
    		condition = { type = not value = { type = age value = 27 } }
    		condition = { type = not value = { type = is_married } }
    		condition = { type = religion value = muslim } 
    		condition = { type = trait value = sunni } 
    		condition = { type = fertility value = 2 }
    	}
    
    	mean_time_to_happen = {
    
    		months = 240
    
    		modifier = {
    			condition = { type = trait value = lustful }
    			factor = 0.5
    		}
    		modifier = {
    			condition = { type = trait value = depression }
    			factor = 2
    		}
    		modifier = {
    			condition = { type = trait value = energetic }
    			factor = 0.85
    		}
    		modifier = {
    			condition = { type = trait value = illness }
    			factor = 3
    		}
    		modifier = {
    			condition = { type = trait value = indulgent }
    			factor = 0.75
    		}
    		modifier = {
    			condition = { type = trait value = temperate }
    			factor = 2
    		}
    		modifier = {
    			condition = { type = trait value = reckless }
    			factor = 0.75
    		}
    		modifier = {
    			condition = { type = trait value = stutter }
    			factor = 1.75
    		}
    		modifier = {
    			condition = { type = trait value = lisp }
    			factor = 1.3
    		}
    
    	}
    
    	action_a = { # Yes, he certainly loved me.
    		effect = { type = random chance = 80 
    			effect = { type = create_courtier value = bastard }
    		}
    	}
    }

    #24538 A son of courtess (maybe sultan's) part II - after being a vassal
    Code:
    character_event = { # Ten months ago, sultan came and loved you.
    	id = 24538
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai } 
    		condition = { type = year value = 1299 } 
    		condition = { type = exists value = OTTO }
    		condition = { type = ruler }
    		condition = { type = is_vassal }
    		condition = { type = liege
    			condition = { type = title value = OTTO }
    			condition = { type = culture value = turkish }
    			condition = { type = religion value = muslim }
    			condition = { type = trait value = sunni } 
    			condition = { type = trait value = emperor }
    			}
    		condition = { type = gender value = female }
    		condition = { type = age value = 19 }
    		condition = { type = not value = { type = age value = 39 } }
    		condition = { type = not value = { type = is_married } } 
    		condition = { type = not value = { type = father_trait value = emperor } } 
    		condition = { type = religion value = muslim } 
    		condition = { type = trait value = sunni } 
    		condition = { type = fertility value = 2 }
    	}
    
    	mean_time_to_happen = {
    
    		months = 160
    
    		modifier = {
    			condition = { type = trait value = lustful }
    			factor = 0.5
    		}
    		modifier = {
    			condition = { type = trait value = depression }
    			factor = 2
    		}
    		modifier = {
    			condition = { type = trait value = energetic }
    			factor = 0.85
    		}
    		modifier = {
    			condition = { type = trait value = illness }
    			factor = 3
    		}
    		modifier = {
    			condition = { type = trait value = indulgent }
    			factor = 0.75
    		}
    		modifier = {
    			condition = { type = trait value = temperate }
    			factor = 2
    		}
    		modifier = {
    			condition = { type = trait value = reckless }
    			factor = 0.75
    		}
    		modifier = {
    			condition = { type = trait value = stutter }
    			factor = 1.75
    		}
    		modifier = {
    			condition = { type = trait value = lisp }
    			factor = 1.3
    		}
    		modifier = {
    			condition = { type = age value = 30 } 
    			factor = 1.2
    		}
    		
    	}
    
    	action_a = { # Yes, he certainly loved me.
    		effect = { type = random chance = 80 
    			effect = { type = create_courtier value = bastard }
    		}
    	}
    }

    #24539 I am not a bastard, but your son!
    Code:
    character_event = { 
    	id = 24539
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = year value = 1299 } 
    		condition = { type = exists value = OTTO }
    		condition = { type = not value = { type = ruler } } 
    		condition = { type = trait value = bastard }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim }
    		condition = { type = trait value = sunni }
    		condition = { type = age value = 3 }
    		condition = { type = not value = { type = age value = 23 } }
    		condition = { type = mother  
    			condition = { type = ruler }
    			condition = { type = religion value = muslim }
    			condition = { type = is_vassal } 
    			condition = { type = liege 
    				condition = { type = gender value = male } 
    				condition = { type = title value = OTTO }
    				condition = { type = religion value = muslim } 
    				condition = { type = culture value = turkish } 
    				condition = { type = trait value = sunni }
    				condition = { type = trait value = emperor } 
    				}
    			}
    	}
    
    	mean_time_to_happen = {
    
    		months = 12
    
    
    	}
    
    	action_a = { 
    		effect = { type = remove_trait value = bastard }
    	}
    
    }
    By these three events, a courtess of OTTO has a bastard, and then he would become her heir.



    #24540 Arising of the Knights of the Rhodes
    Code:
    province_event = {
    	id = 24540
    	picture = "event_templars"
    	trigger = {
    		condition = { type = province value = 483 } 
    		condition = { type = year value = 1309 } 
    		condition = { type = owner 
    			condition = { type = ai } 
    			}
    		condition = {
    			type = not
    			value = {
    				type = year
    				value = 1327 
    			} # to the death of the Grand Master, Foulques de Villaret
    		}
    		condition = {
    			type = not
    			value = {
    				type = exists
    				value = HOSP
    			}
    		}
    		condition = { type = not value = { type = has_province_effect value = { heretic = yes } } }
    
    	}
    
    	mean_time_to_happen = {
    		months = 24 
    
    	}
    
    	action_a = {
    		effect = { type = religion value = catholic }
    		effect = { type = add_improvement value = hill_fort } 
    		effect = { type = add_improvement value = small_castle }
    		effect = { type = create_tag value = HOSP }
    		effect = { type = add_regiment 
    				country = HOSP 
    				culture = hospitaler_knights 
    				strength = 
    				{ heavy_cav = 250
    				heavy_inf = 500 } } 
    
    	}
    
    }
    #24541 Your chaplain asks you if he could join the Hospitaler's crusade.
    Code:
    character_event = {
    	id = 24541
    
    	picture = "event_templars"
    
    	trigger = {
    		condition = { type = exists value = HOSP } 
    		condition = { type = not value = { type = ruler } } 
    		condition = { type = not value = { type = ruler_child } } 
    		condition = { type = gender value = male } 
    		condition = { type = age value = 17 }
    		condition = { type = not value = { type = age value = 37 } } 
    		condition = { type = not value = { type = is_married } } 
    		condition = { type = chaplain } 
    		condition = { type = martial value = 7 } 
    		condition = { type = not value = { type = trait value = heretic } } 
    		condition = { type = not value = { type = trait value = excommunicated } } 
    		condition = { type = ruler_csc 
    			condition = { type = ai } 
    			condition = { type = religion value = catholic } 
    			condition = { type = not value = { type = trait value = heretic } } 
    			condition = { type = not value = { type = trait value = excommunicated } } 
    			condition = { type = piety value = 25 } 
    			}
    		condition = { type = any_ruler 
    			condition = { type = title value = HOSP }
    			condition = { type = not value = { type = num_courtiers value = 20 } } 
    			condition = { type = save_target }
    			}
    		condition = { type = has_target }
    		}
    
    	mean_time_to_happen = {
    		months = 360
    
    		modifier = { 
    			condition = { type = trait value = MARTIAL_CLERIC }
    			factor = 0.7
    		}
    		modifier = { 
    			condition = { type = culture value = FRANKISH }
    			factor = 0.2 
    		}
    		modifier = { 
    			condition = { type = culture value = LATIN }
    			factor = 0.2 
    		}
    		modifier = { 
    			condition = { type = culture value = ITALIAN }
    			factor = 0.4 
    		}
    		modifier = { 
    			condition = { type = culture value = CASTILLAN }
    			factor = 0.6 
    		}
    		modifier = { 
    			condition = { type = culture value = CATALAN }
    			factor = 0.6 
    		}
    		modifier = { 
    			condition = { type = culture value = ENGLISH }
    			factor = 0.8 
    		}
    		modifier = { 
    			condition = { type = culture value = GERMAN }
    			factor = 0.9 
    		}
    		modifier = { 
    			condition = { type = ruler_csc 
    				condition = { type = trait value = CRUSADER } } 
    			factor = 0.5
    		}
    		modifier = { 
    			condition = { type = ruler_csc 
    				condition = { type = trait value = SCEPTICAL } } 
    			factor = 2.5 
    		}
    		}
    
    	action_a = { #Yes, I will send him to the Hospitaler's.
    		ai_chance = 85 
    		effect = { type = courtier_defect value = load_target }
    		effect = { type = loyalty value = 0.75 }
    			}
    	action_b = { #No, I need him.
    		ai_chance = 15 
    		effect = { type = prestige value = 10 }
    		effect = { type = piety value = -25 }
    			}
    }
    These two events are not about OTTO itself, but about the Knight Hospitaller which had a close relation to the Ottoman Empire.


    #24542 If bastard, sultan's son is sultan's son (after age 16)

    Code:
    character_event = { 
    	id = 24542
    
    	picture = "event_intrigue2"
    
    	trigger = {
    		condition = { type = ai }
    		condition = { type = exists value = OTTO } 
    		condition = { type = ruler } 
    		condition = { type = trait value = bastard }
    		condition = { type = gender value = male }
    		condition = { type = religion value = muslim }
    		condition = { type = culture value = turkish }
    		condition = { type = trait value = sunni }
    		condition = { type = age value = 16 }
    		condition = { type = not value = { type = age value = 32 } }
    		condition = { type = father 
    			condition = { type = kingdom }
    			condition = { type = religion value = muslim }
    			condition = { type = culture value = turkish }
    			condition = { type = title value = OTTO }
    			}
    		condition = { type = is_vassal } 
    		condition = { type = liege 
    			condition = { type = title value = OTTO } 
    			}
    		condition = { type = or 
    			condition = { type = prestige value = 100 } 
    			condition = { type = duchy } 
    			}
    	}
    
    	mean_time_to_happen = {
    
    		months = 8
    
    
    	}
    
    	action_a = { 
    		effect = { type = remove_trait value = bastard } 
    		effect = { type = loyalty value = 0.75 } 
    	}
    
    }
    This event is a continuation of #24516
    Last edited by alania; 15-02-2010 at 15:31.

  18. #18
    Private alania's Avatar

    Join Date
    Nov 2009
    Location
    Yamaguchi, Japan
    Posts
    20

    Rise of the Ottoman Empire version 6

    Now the version 6 is available.

    http://hayasoft.com/hiko/paradox/oth...rce/up3490.zip


    Changes in version 6

    - Addition of new events (#24537-#24542, see above)
    - #24501 MTTH modification
    - #24504 deleted
    - #24515 Limitation on the number of bastards
    - #24516 Divided into two parts (#24516 for juvenile, #24542 for young adult)
    - #24517 MTTH modification
    - #24531 Condition change (for children)


    Sincerely,

  19. #19
    Will this eventually be included in DVIP?
    Wants to write accents (ä, á, å, etc.) like it's natural? Have Windows? Click here.

    “When we received Ribbentrop, of course he toasted Stalin and me—on the whole he was my best friend. (Molotov’s eyes twinkled) Stalin unexpectedly suggested, ‘Let’s drink to the new Anti-Cominternist—Stalin!’ He said this mocking and winked at me. He had made a joke to see Ribbentrop’s reaction. Ribbentrop rushed to phone Berlin and reported ecstatically to Hitler. Hitler replied, ‘My genius minister of foreign affairs!’ Hitler never understood Marxists.”
    (Vyacheslav Molotov, quoted in Molotov Remembers, p. 12.)

    “Just don’t pick Americans, or the first century of your game will consist of ‘flatten neighbours. move slider towards westernization. wait for slider timeout. move slider. pray you get a suitable leader and that the first Europeans to show up can be reasoned with.’” - grommile
    “Seriously. I just wasted most of yesterday getting the Incas to the colonial period, and England came and basically ate me in one gulp.” - Mongoose87

  20. #20
    Crazy Crusader Kings Creator jordarkelf's Avatar
    60 games registered

    60

    200k clubAchtung PanzerA Game of DwarvesHoI AnthologyArsenal of Democracy
    Hearts of Iron 2: ArmageddonCities in MotionCrusader Kings IICommander: Conquest of the AmericasDarkest Hour
    East India CompanyEast India Company CollectionElven Legacy CollectionEU3 CompleteDivine Wind
    For The GloryFor the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the Throne
    Europa Universalis III: In NomineIron CrossKing Arthur IILead and GoldLegio
    MagickaMajesty 2March of the EaglesNaval War: Arctic CirclePirates of Black Cove
    Victoria: RevolutionsEuropa Universalis: RomeRome GoldSemper FiSengoku
    Ship Simulator ExtremesSword of the Stars IISupreme Ruler 2020 GoldSupreme Ruler 2020Victoria 2
    Victoria II: A House DividedRome: Vae VictisMount & Blade: WarbandWarlock: Master of the ArcaneMount & Blade: With Fire and Sword
    War of the Roses

    Join Date
    Jul 2005
    Location
    Holy Roman Empire
    Posts
    6,711
    No. Too deterministic for me.
    Should remain compatible with it for those who want to include it though.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts