PDA

View Full Version : Problems with Political Map


uly
09-10-2005, 21:20
Hello,

I've made a mod that uses (almost) all of the kingdoms that comes with the game, there are 105 of them. Basically almost all of the mod is concerned with the kingdoms;800.txt file. I simply put all of those kingdoms into the file and gave them appropriate id, provinces and capitals.

The mod works fine except for one glaring problem: when I open the political view, two world maps show up, one overlayed on top of the other. The one on top is skewed to the top-left, thus the top-left corner of that map is off-screen. I noticed that the highlighting in the top map follows the cursor movement on the bottom left. The bottom map doesn't update at all when I select different view options, and even when I conquered new territories it still shows the old kingdom colors at the beginning of the game. The information display on the top map is also erroneous, especially in the religion view. It's a bit hard to explain, but I don't have an screenshot with me to post right now.

After a bit of testing, I'd found the problem to lie in the kingdoms;800.txt file. I still can't figure out what caused the problem, though. Does anyone have an idea on how to fix it?

Elvain
11-10-2005, 07:28
1) each province can be used only once
2) it is not 100% necessery but it's good to find out how many bordering provinces are between 2 bordering kingdoms and put it in the relations between them (the last part of kingdoms;800.ini)

in thread "what can you edit and where" I described what is necessery to edit or add kingdoms, chech if you have done everything right

good luck in your modding :go:

uly
11-10-2005, 16:58
1) each province can be used only once
2) it is not 100% necessery but it's good to find out how many bordering provinces are between 2 bordering kingdoms and put it in the relations between them (the last part of kingdoms;800.ini)

Yes, I did have both of those set up properly. Actually, I don't think the border thing makes any difference anyway, but I still took two hours to make sure all 105 nations had the proper border relationships.

I did manage to find a fix, though. As it turns out, there might be a hard-coded limit on the number of nations in a game, and that limit seems to be 100. So I removed 3 nations and everything worked fine. Incidentally, at 101 nations, the game will crash as soon as you click on the political view button, and at 102 nations and above you get the map error I was having.