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

tsf4

General
56 Badges
May 31, 2012
2.322
724
30
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome
  • Age of Wonders: Planetfall
  • PDXCon 2017 Awards Winner
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
I would like to make a unique building, but want it built for certain years and NOT built for others. How do I achieve this?
 

Romulien

Lt. General
19 Badges
Jul 2, 2013
1.404
308
  • Crusader Kings II
  • Major Wiki Contributor
I think in theory there could be 2 techniques :

1) Via b_holding history file

Code:
1000.1.1 = {
   effect = {
      add_building = unique_building
   }
}
1500.1.1 = {
   effect = {
      remove_building = unique_building
   }
}

2) Via technology history:
When starting a new game, a building will be pre-built if the province has higher technology than the building trigger requirement(s) + the value of extra_building_start + a random number 0-1
The starting technology value are per duchy so it might be less precise.