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

Havard

Dark Power
49 Badges
Jun 28, 2001
15.686
170
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
King Yngvar said:
How do you create a new CoT? And can you decide what year it shall be created in?
You can create a CoT from the start of the scenario by definining it in the scenario definition. You can also create a CoT in a specific province at a specific year by using an event:
Code:
event = {
	id = 99900
	random = no
	province = xxx #The country owning this province gets the event
	name = "A new trade center"
	desc = "A new trade center forms in xxx."
	style = 2

	date = { day = 1 month = january year = 1559 } #The date of the event
	offset = 0
	deathdate = { day = 1 month = january year = 1648 }

	action_a ={		#Establish it#
		name = "Great"
		command = { type = cot which = xxx } #Where xxx is the province number
	}
}