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

kelumden

Second Lieutenant
11 Badges
Jan 4, 2004
104
0
  • Arsenal of Democracy
  • Darkest Hour
  • Europa Universalis III Complete
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Rome Gold
  • Sword of the Stars
  • Victoria 2
  • 500k Club
  • Pride of Nations
In the definition of an AI, it is possible to refer to continent, regions and areas in order to define the expansion areas of the country, instead of using long lists of provinces. This ensures some readabiliy of the file.

My question is why is such facility not given in the definition of countries. There are, when defining a country, four ranges of provinces that need to be defined (knownprovinces, ownedprovinces, controlledprovinces and nationalprovinces). Of the four, the most cumbersome to encode is the first (knownprovinces) as it can lead to a rather long string of provinces IDs. In those instructions, it should be possible to specify directly a continent, a region or an area by name. Such facility would enhance the readability of the definition.

There may be other places where such possibility could be a blessing. I think about new trigger conditions based on area or region where the capital of a country is located.
 

Castellon

★Paradox Forum Manager★
Administrator
Paradox Staff
110 Badges
Mar 12, 2002
43.217
1.812
  • Europa Universalis IV
  • 200k Club
  • 500k Club
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
  • Humble Paradox Bundle
  • Paradox Order
Convienent for you yes but it would unnecessarily add a computation look up step for the processor, muliply that by the number of nations and it is easy to see why it is not done that way.

However for modding, you can uses a txt file with headings by region, then just copy and paste them into the data files as need.