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

tuore

Caramelised Utopian
76 Badges
Mar 16, 2009
6.981
188
  • March of the Eagles
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Crusader Kings II
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Arsenal of Democracy
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Island Bound
  • 200k Club
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
Can someone write me a quick event that gives 3 infantry divisions to a country? I'm testing my mod and this event would be great. I wrote this event, but it doesn't work for some reason:

Code:
event = {
	id = 122022
	random = no
	country = GER
	trigger = {
		ai = yes	
	}
	date = { day = 0 month = january year = 1936 }
	offset = 15
	deathdate = { day = 30 month = december year = 1964 }

	name = "Forces"
	desc = "Troops for nations"
	style = 0
	action_a = {
		name = "Yes"
		ai_chance = 100	
		command = { type = add_division which = "Army 1" value = infantry when = 2 }
		command = { type = add_division which = "Army 2" value = infantry when = 2 }
		command = { type = add_division which = "Army 3" value = infantry when = 2 }
	}
}

Ideas?
 
Here's one I wrote for myself:

Code:
event = { 
	id = 900150
	random = no
	country = SPR
	style = 0

	trigger = {}

	name = "Democratic governments aid beleaguered Republic"
	desc = "With the covert aid of democratic governments, industrial production is put aside to support the besieged Spanish government. As the first convoys of parts sail in to Valencia the Republic's two regular infantry divisions since war broke out are able to be completed and muster for duty."

	action_a = {
			ai_chance = 100
			name = "EVT_105_NAME"
			command = { type = add_division which = "1a División de Infantería" value = infantry when = 2 where = artillery }
			command = { type = add_division which = "2a División de Infantería" value = infantry when = 2 where = anti_tank }
			command = { type = dissent value = -5 }
			command = { type = free_ic value = 2 }
			command = { type = money value = 50 }
		}
}



Change to "country = GER" or whatever and type "event 900150" into the console, I don't bother with dates.
 
An event chain to give non-player country troops (trigger the first one manually). Includes adding a corps.

Code:
event = { 
	id = 900155
	random = no
	country = SPR
	style = 0

	trigger = {}

	name = "Trigger Finnish event"
	desc = ""

	action_a = {
			ai_chance = 100
			name = "EVT_105_NAME"
			command = { type = trigger which = 900156 }
		}
}
event = { 
	id = 900156
	random = no
	country = FIN
	style = 0

	trigger = {}

	name = "Finnish Reserves"
	desc = "Two new divisions of Finnish mountaineers is formed in haste to defend the Motherland"

	action_a = {
			ai_chance = 100
			name = "EVT_105_NAME"
			command = { type = add_corps which = "XIII. Armeijakunta" value = land where = 143 }
			command = { type = add_division which = "6. Sissidivisioona" value = bergsjaeger when = 3 where = engineer }
			command = { type = add_division which = "7. Sissidivisioona" value = bergsjaeger when = 3 where = engineer }
		}
}