Results 1 to 1 of 1

Thread: Nation forming events.

  1. #1

    Default Nation forming events.

    I get annoyed how when nations form through the games "history" when you scroll through the years that "tribal" nations like the timurids become despotic monarchies with a different tech tree when they form mughal, the same occurs with Persia as well.

    I changed the persia event to change the government to a theocracy like it does when you cycle through the years

    Code:
    country_event = {
    
    	id = 1008
    
    	trigger = {
    		NOT = { exists = PER }
    		NOT = { has_country_flag = persian_nation_declined }
    		culture_group = persian
    		owns = 413		# Luristan
    		owns = 414		# Hamadan
    		owns = 416		# Azerbaijan	
    		owns = 426		# Mazandaran
    		owns = 428		# Ajam
    		owns = 429		# Fars
    		war = no
    	}
    	
    	mean_time_to_happen = {
    	
    		months = 216
    
    		modifier = {
    			factor = 0.95
    			owns = 412	# Khuzestan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 417	# Gilan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 427	# Gurgan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 432	# Khurasan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 433	# Dash-i-Lut
    		}
    		modifier = {
    			factor = 0.95
    			owns = 436	# Kerman
    		}
    		modifier = {
    			factor = 0.9
    			NOT = {	centralization_decentralization = -1 }
    		}
    		modifier = {
    			factor = 0.9
    			NOT = {	centralization_decentralization = -2 }
    		}
    		modifier = {
    			factor = 0.9
    			NOT = {	centralization_decentralization = -3 }
    		}
    		modifier = {
    			factor = 1.1
    			centralization_decentralization = 2
    		}
    		modifier = {
    			factor = 1.1
    			centralization_decentralization = 3
    		}
    		modifier = {
    			factor = 1.1
    			centralization_decentralization = 4
    		}
    		modifier = {
    			factor = 0.9
    			ADM = 7
    		}
    		modifier = {
    			factor = 0.8
    			MIL = 8
    		}
    		modifier = {
    			factor = 0.8
    			statesman = 6
    		}
    	}
    	
    	title = "EVTNAME1008"
    	desc = "EVTDESC1008"
    	
    	option = {
    		name = "EVTOPTA1008"
    		ai_chance = { factor = 75 }
    		random_owned = {
    			base_tax = 1
    			change_manpower = 1
    		}
    		centralization_decentralization = -2
    		prestige = 0.05
                    government = theocracy
    		change_tag = PER
    		
    	}
    
    	option = {
    		name = "EVTOPTB1008"
    		ai_chance = { factor = 25 }
    		set_country_flag = persian_nation_declined
    		centralization_decentralization = 2
    		random_owned = {
    			base_tax = -1
    		}
    	}
    }
    government = theocracy is what I added in the top choice.

    I did the same to mughal as well, but had the tech tree change to indian.
    Code:
    country_event = {
    
    	id = 1009
    
    	trigger = {
    		NOT = { exists = MUG }
    		NOT = { has_country_flag = mughal_nation_declined }
    		OR = {
    			culture_group = eastern_aryan
    			culture_group = hindusthani
    			culture_group = western_aryan
    			culture_group = dravidian
    			primary_culture = mongol
    		}
    		owns = 519		# Jaipur
    		owns = 521		# Panipat
    		owns = 522		# Delhi
    		owns = 523		# Lucknow
    		owns = 524		# Agra
    		war = no
    	}
    	
    	mean_time_to_happen = {
    	
    		months = 216
    
    		modifier = {
    			factor = 0.95
    			owns = 448	# Gazni
    		}
    		modifier = {
    			factor = 0.95
    			owns = 450	# Balkh
    		}	
    		modifier = {
    			factor = 0.95
    			owns = 451	# Kabulistan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 452	# Badkhshan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 503	# Kutch
    		}
    		modifier = {
    			factor = 0.95
    			owns = 504	# Sind
    		}
    		modifier = {
    			factor = 0.95
    			owns = 505	# Bakkar
    		}
    		modifier = {
    			factor = 0.95
    			owns = 507	# Lahore
    		}
    		modifier = {
    			factor = 0.95
    			owns = 510	# Chandigarh
    		}
    		modifier = {
    			factor = 0.95
    			owns = 511	# Sutlej
    		}
    		modifier = {
    			factor = 0.95
    			owns = 550	# Mandla
    		}
    		modifier = {
    			factor = 0.95
    			owns = 555	# Oudh
    		}
    		modifier = {
    			factor = 0.95
    			owns = 556	# Allahabad
    		}
    		modifier = {
    			factor = 0.95
    			owns = 575	# Baluchistan
    		}
    		modifier = {
    			factor = 0.95
    			owns = 576	# Indus
    		}
    		modifier = {
    			factor = 0.95
    			owns = 577	# Quetta
    		}
    		modifier = {
    			factor = 0.9
    			NOT = {	centralization_decentralization = -1 }
    		}
    		modifier = {
    			factor = 0.9
    			NOT = {	centralization_decentralization = -2 }
    		}
    		modifier = {
    			factor = 0.9
    			NOT = {	centralization_decentralization = -3 }
    		}
    		modifier = {
    			factor = 1.1
    			centralization_decentralization = 2
    		}
    		modifier = {
    			factor = 1.1
    			centralization_decentralization = 3
    		}
    		modifier = {
    			factor = 1.1
    			centralization_decentralization = 4
    		}
    		modifier = {
    			factor = 0.9
    			MIL = 7
    		}
    		modifier = {
    			factor = 0.8
    			MIL = 8
    		}
    	}
    	
    	title = "EVTNAME1009"
    	desc = "EVTDESC1009"
    	
    	option = {
    		name = "EVTOPTA1009"
    		ai_chance = { factor = 75 }
    		MUG = {
    			add_core = 448		# Gazni
    			add_core = 450		# Balkh
    			add_core = 451		# Kabulistan
    			add_core = 452		# Badakhshan
    			add_core = 504		# Sind
    			add_core = 505		# Bakkar
    			add_core = 506		# Multan
    			add_core = 507		# Lahore
    			add_core = 510		# Chandigarh
    			add_core = 511		# Sutlej
    			add_core = 512		# Thar
    			add_core = 513		# Jaisalmer
    			add_core = 514		# Jodphur
    			add_core = 519		# Jaipur
    			add_core = 520		# Bikaner
    			add_core = 521		# Panipat
    			add_core = 522		# Delhi
    			add_core = 524		# Agra
    			add_core = 550		# Mandla
    			add_core = 555		# Oudh
    			add_core = 556		# Allahabad
    			add_core = 575		# Balushistan
    			add_core = 576		# Indus
    			add_core = 577		# Quetta
    			add_core = 578		# Kohistan
    			add_core = 740		# Ladakh
    		}	
    		random_owned = {
    			base_tax = 1
    			change_manpower = 1
    		}
    		centralization_decentralization = -2
    		prestige = 0.05
    		government = despotic_monarchy
                    technology_group = indian
                    change_tag = MUG
                    
    	}
    
    	option = {
    		name = "EVTOPTB1009"
    		ai_chance = { factor = 25 }
    		set_country_flag = mughal_nation_declined
    		centralization_decentralization = 2
    		random_owned = {
    			base_tax = -1
    		}
    	}
    }
    The timurids formed mughal, and in the game their government becomes a despotic monarchy and their tech tree becomes indian. So I make these changes take part in the event.

    I'm considering doing the same thing for the german and netherlands event so they don't become a theocracy but I have yet to see those form anyways so I havn't bothered.
    Last edited by Kanaric; April 23, 2007 at 05:06 PM.
    Swear filters are for sites run by immature children.

Posting Permissions

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