PDA

View Full Version : How do I get KoH to load my files?


Scaveleon
9 Nov 2008, 15:21
I want to be able to unite my own kingdom, so I used PakMan to extract some files into my own little folder. I copied unite_england.ini and made my own out of it. I have made my own file, but my question is - how do I get Knights of Honor to load it? Do I have to replace existing files in order to do so?

Considering y'all is modding, shouldn't it be easy to answer?

elvain
10 Nov 2008, 10:22
yes, you have to replace the old file.

Before you do that, it's always better to backup the file (or at least keep the .pak)

Scaveleon
10 Nov 2008, 15:24
When I select the files I've exported, I right click and replace content>of selected files>by corrosponding files in a specified directory...I select my folder with the files in, it replaces, I save. It still doesn't show up on the list of .ini's.

elvain
10 Nov 2008, 15:53
oh, no

you just extract the files in PakMan into original directory and then edit them there.
But PakMan works only one-way.

After editing the files, just leave them where they are (in the original directory, though!) and the game will read them.
This doesn't work only with the Texts.pak

Scaveleon
10 Nov 2008, 16:51
Yay, it worked! Might have to work a bit on it, since my stuff didn't trigger properly, but it does read the files. Thanks for it.

elvain
10 Nov 2008, 17:16
btw, for the England quest, you can check Holy Rome map-changes. Quite many such quests are edited and/or added

Ljudislav
23 Nov 2008, 16:45
So I don't have to upload them back from original directory to PakMan ? the game will read them from original directory and ignore the europe.pak file?

Doux
23 Nov 2008, 22:09
So I don't have to upload them back from original directory to PakMan ? the game will read them from original directory and ignore the europe.pak file?That's right!

Ljudislav
23 Nov 2008, 23:15
well, I've done everything to make Raska in 800 a separate kingdom and when I start the game Raska is still in Bulgaria...

I've edited:
kingdomnamepos0.in2
unite_serbia.ini
kingdoms_800.ini
kingdoms.ini
eu_kingdomdescr.txt

created:
raska;800.txt

don't know the problem :( maybe someone can do all the files for raska and send them to me?

thanks in advance!

PS. Ive let the Europe files only, in the original directory. Texts and defs I've edited trough PakMan.

Laudan
24 Nov 2008, 00:02
You must change the both TrainUnits files.

elvain
24 Nov 2008, 00:39
the crucial file is kingdoms_800.ini

Are you sure you have removed provinces given to Raska from Bulgaria?

It is the only problem that ignores the change and doesn't crash the game.
Other is that you have to edit number of kingdoms in the kingdoms_800.ini or put all relations into the bottom part of the file - but both of these would cause crashes and won't let you load the game.

Ljudislav
24 Nov 2008, 21:46
You must change the both TrainUnits files.

but there is Raska already... prepared as a separate province ;)

elvain
24 Nov 2008, 22:29
train units has no effect on appereance of the kingdom on the mapp - it only gives units to the kingdom.

The problem is somewhere else

Doux
25 Nov 2008, 13:41
well, I've done everything to make Raska in 800 a separate kingdom and when I start the game Raska is still in Bulgaria...Well, you'll have to double-check your work. Did you remove the province from Bulgaria and create the new kingdom Raska which consists of that province? Did you add relations for your new kingdom? And throughout the different files, did you use the same (new) number for the new kingdom?

Kingdomnamepos, trainunits, the text files etc.: these are only visual. If your modification does not work, it has to be one of the other files.

Ljudislav
25 Nov 2008, 16:31
I did take province 25 from Bulgaria and add it to Raska and as capital! but now that you mentioned it I haven't edited the relations, how does it work?

BTW in kingdoms raska is 106th and in kingdoms_800.ini Raska is 65th? is this good?

Edit: One more question, how can I change the flag of Serbia when united in 800?

Ljudislav
25 Nov 2008, 17:35
OK, I've edited relations too and its the same... I've put "border = 1" to bosnia, zeta, hungary and "border = 2" to bulgaria.

I entered the game and still the Raska is in Bulgarian, still I started the game as Bosnia, and when I entered the political view and "religion" this appears:

http://img511.imageshack.us/img511/2213/image1gb8.th.jpg (http://img511.imageshack.us/my.php?image=image1gb8.jpg)http://img511.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)

elvain
26 Nov 2008, 11:41
OK, I've edited relations too and its the same... I've put "border = 1" to bosnia, zeta, hungary and "border = 2" to bulgaria.

I entered the game and still the Raska is in Bulgarian, still I started the game as Bosnia, and when I entered the political view and "religion" this appears:

http://img511.imageshack.us/img511/2213/image1gb8.th.jpg (http://img511.imageshack.us/my.php?image=image1gb8.jpg)http://img511.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)

Why did you post religious map and not political? Religious tells us nothing about the problem.
could you show us a political map?

Anyway. Did you check that you increased the number of kingdoms in the top of Kingdoms_800.ini?

Also, better put one more Raska into the kingdoms.ini (106 = Raska).

Also check, that Raska has no borders on other countries and that all numbers are right (I personaly sometimes forget to rename ALL copied relations and add the one with the last kingdom - 105 in this case) - I mean these:
[105,106]

state = 3
relation = 0
trade = 0
borders = 0

The last step is to put the kingdom in via map editor (as this is the early period, it would not be so very hard), but if you have never used the editor before, I would better not recomend it

As for the flag in unite_serbia quest, check this thread (http://forums.blackseastudios.com/showthread.php?t=277), it gives you the right way. ;)

I hope it helps :go:

PS: please, don't take this badly - it is only informative for all who search for something:
sometimes it's good to use "Search" option on this forum. I know it might take ages to find what you want (too many threads asking about the topic and no help there) and therefore it's usually easier to ask, but to be honest - when I'm answering the questions here, I usually search for the answer (no, I really don't know it all:))
On the other hand, that's why we are here - We, more experienced modders, have most probably encountered these problems and if don|t know the answer, we at least know, where to find it, so it takes us only few seconds, while you could have searched for it few minutes. It's just about some primitive questions - not this case ;)

NikeBG
26 Nov 2008, 11:48
Btw, can you edit your signature? It can and will be viewed as a strongly nationalistic and very offensive provocation to many/all Bulgarians here. And we don't want provocations here, don't we?

Otherwise, good luck with your mod!

elvain
26 Nov 2008, 11:56
Btw, can you edit your signature? It can and will be viewed as a strongly nationalistic and very offensive provocation to many/all Bulgarians here. And we don't want provocations here, don't we?

Otherwise, good luck with your mod!

I can only agree and join this polite demand :go:

Ljudislav, If nothing else, such nationalisticaly looking statements may cause personal blocks against you and may - in the end - convince those, who feel harmed, not to help you. Me included (though I'm not Bulgarian - I'm only against everything what even feels like nationalism)

-----------------
PS: I finally finnished very stressing job at work, so I can breath here (first time since monday morning) and I can read and post (and help) here. I just couldn't help myself to say it :D

Ljudislav
26 Nov 2008, 17:37
Why did you post religious map and not political? Religious tells us nothing about the problem.
could you show us a political map?

Political map only shows raska as Bulgaria, but Religious map shows weird stripes I only wanted to show them, cause maybe then someone would know the problem...

Anyway. Did you check that you increased the number of kingdoms in the top of Kingdoms_800.ini?

didn't see that :D

it was:
count = 65
last = 64
devlevel = 25

should I put?
count = 66
last = 65
devlevel = 25

Also, better put one more Raska into the kingdoms.ini (106 = Raska).

got it!

Also check, that Raska has no borders on other countries and that all numbers are right (I personaly sometimes forget to rename ALL copied relations and add the one with the last kingdom - 105 in this case)

I copied Sweden, forgot to remove borders with Norway and Denmark (I did forget that before I posted the last posts and then I remembered :))

As for the flag in unite_serbia quest, check this thread (http://forums.blackseastudios.com/showthread.php?t=277), it gives you the right way. ;)

I hope it helps :go:

Thanks a bunch guys!!! I to hope it will solve the problem :)

PS: please, don't take this badly - it is only informative for all who search for something:
sometimes it's good to use "Search" option on this forum. I know it might take ages to find what you want (too many threads asking about the topic and no help there) and therefore it's usually easier to ask, but to be honest - when I'm answering the questions here, I usually search for the answer (no, I really don't know it all:))
On the other hand, that's why we are here - We, more experienced modders, have most probably encountered these problems and if don|t know the answer, we at least know, where to find it, so it takes us only few seconds, while you could have searched for it few minutes. It's just about some primitive questions - not this case ;)

Yeah, especially the minutes "I" don't have :( know the feeling and the one when you know you helped someone :) (of course you don't, who does?)

PS. as for the sig, I'm very sorry for giving a wrong expression! it was only a game statement as it should in game site... but as I live in the Balkans too, I understand you ;)

Ljudislav
26 Nov 2008, 19:04
It worked!!! finally!!!

I love you guys :D look:
http://img155.imageshack.us/img155/3118/raskacx7.th.png (http://img155.imageshack.us/my.php?image=raskacx7.png)

Now on to the "united Serbia flag problem"

PS. can I choose a specific avatar for my Raskan king, queen and prince's?