• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(97132)

Sergeant
4 Badges
Apr 16, 2008
78
0
  • Deus Vult
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
hey...can anyone plz help me code an event to add a regiment of mixed troops, so that i can fire it at will without any restrictions?
damn mongols are killing me lol
by the way...playing DV with the november beta patch
thanks!!!
 
Copy and paste this event in an existing event-file. You can set to size of the regiments to anything you want

I haven't tested the event

Code:
# Fight Mongols with Mongols

character_event = {
	id = 55555555
	
	picture = "event_mercenaries"

	trigger = { 
		condition = { type = ruler }
		condition = { type = age value = 200 } # So that it will not fire in game, unwanted
		
	}

	mean_time_to_happen = {
		months = 6

		}

	action_a = {#Let us hire them!
		ai_chance = 80
		effect = { type = add_regiment
				tech_prov = 623 #Kwazarhim province
				culture = mongol
				mercenaries = yes
				strength = {
					heavy_cav = 1000
					archer_cav = 1000
					light_cav = 1000
					heavy_inf = 1000
					pikemen = 1000
					militia = 1000	
					archers = 1000
				}
		}
	}
	action_b = {#No we don't need them!
		ai_chance = 20
	}
}
 
tested...it works, though it sometimes says something about "trigger not met" and a regiment that i cant control just appears in some province in my realm and dissapears after a day or so...i wondre why?!
thanks again...finally i can fight the mongols lol
 
By the way, the tech province decides what techs they have -- so in the example above if province 623 has pikemen, the regiment has access to it. The regiment will form with the highest known tech from any category -- obviously the higher, the better.
 
tested...it works, though it sometimes says something about "trigger not met" and a regiment that i cant control just appears in some province in my realm and dissapears after a day or so...i wondre why?!
thanks again...finally i can fight the mongols lol

You need to fire the event, when your ruler is selected. It is a characterevent so it fires for the character that is selected at the time you manually fire the event