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

_tr

Second Lieutenant
22 Badges
Oct 6, 2004
150
15
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
I have small problem with my mod (which I create from late november 2009 :)) ... I TOTALLY don't know why my cultures don't want to work.

But lets approach to a problem systematically.

1. My cultures.txt file, from mod's DB dir, looks that:

polish = {
city = MIN
buildings = MIN
color = Green
}

german = {
city = MIN
buildings = MIN
color = LightBlue
}

czech = {
city = MIN
buildings = MIN
color = Yellow
}

and so on - slovak, russian, lithuanian, belarusian and ukrainian cultures... All that cultures are assigned to proper provinces in provinces.txt file too.
All looks well... but it don't work...


2. When I'm starting the mod, there is a announcement about error:
"Assertion failed: Error in DB: no valid culture"


3. When I ignore this and start scenario, there are plenty of errors:
"Assertion failed: ERROR: (Unknown culture) 'type = polish' Line 16 file = scenarios\379\379_ALK.inc " (and so on with all my inc files from scenario dir)

My typical inc file looks that (all looks well for me):

# Aleksandrów Kujawski #

country = {
tag = ALK
ai = "default_ai.txt"
colonialattempts = 0
colonialnation = no
major = no
colonists = 0
cancelledloans = 0
extendedloans = 0
treasury = 100
inflation = 0
merchants = 0.083333
religion = { type = catholic }
culture = { type = polish }
diplomacy = { }
knownprovinces = { 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 191 192 193 194 195 196 197 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 700 701 702 703 704 705 706 707 708 709 710 711 712 713 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 }
ownedprovinces = { 919 }
controlledprovinces = { 919 }
nationalprovinces = { 919 }
city = { fortress = { level = 1 }
population = 8000
location = 919
capital = yes
}
landunit = { }
technology = {
stability = { level = 2 value = 0 }
infra = { level = 1 value = 50 }
trade = { level = 1 value = 50 }
land = { level = 1 value = 0 }
naval = { level = 1 value = 0 }
}


4. When I check moddebug.txt from Logs dir, there is record:
mod_file.cpp:43 Opened moddir file "mods\tr\db\cultures.txt" with mode "r".
Culture.cpp:161 Expected tag as value: city = "MIN"
Culture.cpp:161 Expected tag as value: buildings = "MIN"
Culture.cpp:239 Missing information for culture definition - Got this: polish = {
city = "MIN"
buildings = "MIN"
color = "Green"
}
Culture.cpp:161 Expected tag as value: city = "MIN"
Culture.cpp:161 Expected tag as value: buildings = "MIN"
Culture.cpp:239 Missing information for culture definition - Got this: german = {
city = "MIN"
buildings = "MIN"
color = "LightBlue"
}
Culture.cpp:161 Expected tag as value: city = "MIN"
Culture.cpp:161 Expected tag as value: buildings = "MIN"
Culture.cpp:239 Missing information for culture definition - Got this: czech = {
city = "MIN"
buildings = "MIN"
color = "Yellow"
}
Culture.cpp:161 Expected tag as value: city = "MIN"
Culture.cpp:161 Expected tag as value: buildings = "MIN"
Culture.cpp:239 Missing information for culture definition - Got this: slovak = {
city = "MIN"
buildings = "MIN"
color = "Blue"
}
and so on...
there is also other data about errors in files connected with cultures in moddebug.txt:

mod_file.cpp:43 Opened moddir file "mods\tr\db\map\colorscales\colorscales_cultures.txt" with mode "r".
frontsettings.cpp:1495 Header not taken in account: Purple = {
color = {
255
170
170
0
}
color = {
170
40
160
20
}
color = {
140
20
130
35
}
color = {
80
20
10
64
}
}
frontsettings.cpp:1495 Header not taken in account: Green = {
color = {
255
250
230
0
}
color = {
220
240
180
20
}
color = {
80
150
90
50
}
color = {
40
110
70
64
}
}
frontsettings.cpp:1495 Header not taken in account: LightBlue = {
color = {
180
210
255
0
}
color = {
80
150
225
12
}
color = {
60
100
190
40
}
color = {
10
20
40
64
}
}
and so on... but I copied colorscales_cultures.txt from vanilla... I didn't change anything in this file...


I have no idea what do I wrong and why my cultures don't want to work... And because cultures don't want to work my countries don't have nation cultures, my province don't show buildings and don't have cultures too...

Maybe someone can help me and tell me what I do wrong...

Files from my mod (cultures.txt, cultures.csv, colorscales_cultures.txt, moddebug.txt) you can find there -> http://www.filefront.com/15370153/cultures problem.rar
If more files will be neded to check I will upload they too...



If we are in cultures theme i have an ask - can I name culture (culture's tag) like I want? Or culture's tags are predefined (like in Eu2)?

And second question - this time about time in game - where I must change a scenario start date, to start game before 1419? (I changed it in scenario .eeg file [startyear and startdate] and scenario .inc file [global data - startdate] but this dosn't work). Can I start in year 0?


Many thanks for help
 
It seems the country MIN is not defined in countries.txt
 
If we are in cultures theme i have an ask - can I name culture (culture's tag) like I want? Or culture's tags are predefined (like in Eu2)?
Like you want (without space), there is no limitation.

And second question - this time about time in game - where I must change a scenario start date, to start game before 1419? (I changed it in scenario .eeg file [startyear and startdate] and scenario .inc file [global data - startdate] but this dosn't work). Can I start in year 0?
Possible to start in year 0 but it seems more logical to start in year 1.

Check Age of Timur mod for use of a different timeframe. Required infos:
- in the header section of the scenario:
absolutestartyear
startyear
endyear
startdate

- in the globaldata section of the scenario:
startdate
enddate
 
YodaMaster - thanks :) I added absolutestartyear and it works now :)


I have another question. This time is it a aesthetic matter.
Can I define the place where shows the graphics of cores, cots and coats of arms (on dyplomatic and cultures map modes)? Because it seems to me that they are in the geometrical centre of province.. but when you have provinces in several pieces...
...you have something like this :) :

62563457.jpg


Other graphics of states seems like they are connected with defined coordiantes - graphics of HRE and goods are connected with the place of manufactures. Graphics of state's religions are connected with cities.
 
You helped me a lot, mabybe you will help me this time too...

I have problem with diplomacy panel in my mod - when I pick it there is CTD...
Until I defined diplomacy relationships in all country inc files I had CTD after month or two of play (I could pick diplomacy several times, until crash). When I added diplomation relationships - from the very first day of the game.

What it can be? Are there any other files than country inc from scenario folder responsible for diplomacy?
Maybe I have too many countries (379)? Is there is a countries limit, that game can maintain?

If somebody can and want to help I can send him my mod's files... (I don't see anything special in moddebug.txt)
 
Additional tip to my problem with diplomacy:
I copied all files of my mod and create second mod. Then I delted about 300 inc country files. After that I started edited mod and diplomacy somewhat worked... (Somewhat - because all countries gave all other countries guarantees and warnings. And after I military anexed one country I had truce with each other country...)

What can be wrong (except too many countries)?
 
What it can be? Are there any other files than country inc from scenario folder responsible for diplomacy?
No
Maybe I have too many countries (379)? Is there is a countries limit, that game can maintain?
The limit is 1000.

For your debug, add countries with corresponding CoT(s) one by one and check each time. Be careful with reseved tags. Tedious work but something must be wrong.