Barnster
3 Oct 2007, 12:00
Hi, it's Me again. ;)
Iīve read trough every modding-tuturial I could find, but I still miss the information of how to get the "Crusader Flag". I'd like to use it for papacy.
The following posting of elvain was quite helpful, but it doesn't show the way to get the crusader flag:
so here I finally post some data for changing flags/coats
Colors:
1 - green
2 - "gold"
3 - black
4 - red
5 - purple
6 - dark blue (like French or Scotch)
7 - brown (Hungary)
8 - green
9 - yellow
10 - blue
11 - light blue (Almohads)
12 - khaki (Berbers)
13 - red
14 - yellow (Germany)
15 - white
Ornaments:
1 - ?? - (Zeta, Fez)
2 - don't know how to describe - (Lothian, Cumans)
3 - horizontal central stripe - (Munster, Almohads)
4 - don't know how to describe - (Pechnegs, Granada)
5 - big cross - (Latins, York, Teutonic Order)
6 - horizontaly divided shield - (Papacy)
7 - verticaly divided shield - (Kiev)
8 - St.Andrew's cross - (Scotland)
9 - don't know how to describe - (Khazars, Golden Horde)
10 - 3 (heraldical) leopards=lions one under each other - (England, Bulgaria, Cyprus)
11 - 3 lillies - (France)
12 - eagle - (Germany, Novgorod)
13 - small cross - (Switzerland, Jerusalem)
14 - vertical stripes - (Aragon)
15 - don't know how to describe - (Hungary, Burgundy)
16 - "chess playfield" - (Croatia, Brittany)
17 - orthodoxal cross - (Byzantia, Serbia)
18 - lion - (Bohemia, Norway)
19 - horse in jump - (Naples, Lithuania)
20 - castle - (Castille, Leinster)
21 - halfmoon - (Zirids, muslim Sicily)
22 -
23 - halfmoon with a star - (Cordoba, Ottomans)
24 - golden crown on horizontaly divided shield - (Armenia, Wessex)
25 - golden lion on verticaly divided shield - (Suzdal)
26 - central circle - (Moldavia)
27 - lion on horizontaly divided shield - (Kazan, Wales, Venice)
28 - halfmoon on divided shield* - (Abbasids, Mameluks)
29 - halfmoon on divided shield* - (Fatimids)
30 - golden crossed sabres on horizontaly divided shield - (Zenata, Karaman)
* one of those is with a star, one is without a star
Any Ideas??
Well, the diretory contains flag_x.img, where x goes from 1 to 31 (this would mean that there is actually one flag missing in the list) and 'crusader.img'. Perhaps that works, try filling in `flag=crusader'.. or if that doesn't work, try '31' or '-1'.
Edit: Actually, no flag was missing, but the numbers in the files are used in the game subtracted by one. So this file (http://img413.imageshack.us/my.php?image=flagsknightsofhonor2mt0.png) can be used as well, only the numbers have to be reduced by one for use in the text files.
Barnster
4 Oct 2007, 08:42
Sounds really cool. I'll try it, after I returned from work.
Thanks and keep you updated. :)
Barnster
4 Oct 2007, 22:32
This a little mor complicated, than I thought. Without the tools from bss there isn't much I can do - except waiting. :(
ailasen
11 Dec 2007, 23:55
i managed to make the crusader shield playable. although the only thing that works is the shield (big and small), flags canīt be changed for the ones of the crusaders. all you have to do is go ahead and mod koh with pakman's help. load images.pak and extract the "Flag" and "Shields" folders' files to your koh folder (chose copy to original directory). your koh directory should appear like this "C:\Program Files\Black Sea Studios\Knights Of Honor\images\" and inside the "images" folder both "Shields" and "Flags". here's the trick. as you canīt have crusaders flag because it causes the game to crash (maybe someone can fix it) you'll have to chose one flag from the existing ones. As Doux explained earlier there are 31 shields and flags with text codes going from 0 to 30 (see Barnster's post). I chose a "similar" flag as of the crusaders the one with text code 5 or 13. Remember you can chose any flag of your choise. once you decided which flag to use with the crusader shield it's time for you to beging modding.
IMPORTANT: i recomend to backup every file mentioned below so if you mess up in some point you don't have to redo all the work again. If things mess up real good just delete every file you extracted from the .pak files. DO NOT REPLACE MOD FILES IN YOUR FOLDER FOR THE ONE IN THE .PAK FILES AS YOU MAY NOT BE ABLE TO RECOVER THE ORIGINAL GAME DATA.
Note: from here on i would talk about flags as their numbers, not code (flag 6 would be flag with text code 5, 6 = code 5 = big cross. see ornaments list above)
- Flags Folder:
1) go to ...\images\Flags\Buildings\Wall\Dark. There there are two kinds of files with the 31 kingdoms flags of the game "flag X.img" and "verticalshapeX.rle" where X is the flag's number (NOT text code. flag's number = text code + 1). just copy and paste the two files corresponding to the flag that you want to use and rename them with the number 32 (form "copy of flag x.img" to "flag 32.img" and "copy of verticalshapeX.rle" to "verticalshape32.rle", (ignore the " ") where X is the number of the flag of your choice)
2) go to ...\images\Flags\Buildings\Wall\Light. Repeat instructions from step 1.
3) go to ...\images\Flags\Castle\World. copy and paste "flag_X.img" and "flagstampX.rle" and rename them as "flag_32.img" and "flagstamp32.rle"
4) go to ...\images\Flags\Close. here you would be tempted to copy the "crusade" files but as i mentioned before it would couse the game to crush. just copy and paste "flag_x.img" and "closesquadshapeX.rle" (or "shapeX.rle" if X > 13) and rename as "flag_32.img" and "shape32.rle" (if X < 13 (closesquadshapeX.rle file) go ahead and rename it "shape32.rle").
5) go to ...\images\Flags\Interface. copy and paste "flag_X.img" and "flagstampX (1x30 U100).rle" and rename to "flag_32.img" and "flagstamp32 (1x30 U100).rle"
6) go to ...\images\Flags\politmap. copy and paste "flag_X.img" and "shapeX.rle" and rename to "flag_32.img" and "shape32.rle"
7) go to ...\images\Flags\World. copy and paste "flag_X.img" and "closesquadshapeX.rle" and rename them "flag_32.img" and "closesquadshape32.rle" . DO NOT TOUCH "flagsquadshapex.rle" files since I donīt know what they do or what they may cause to the gameplay.
- Shields Folder
1) in \images\Shields folder open the "Heraldics.ini" configuration file (open it using some text editor as notepad). change herladic count from 31 to 32 and at the end of the file add "32 = o,c,m,p " (ignore the " "). it should loook like this:
;VALID RELIGION KEYVALUES: o = orthodox, c = catholic, m = muslim, p = pagan
[heraldics]
count = 32
[ornament_index]
1 = o,c,m,p
2 = o,c,m,p
3 = o,c,m,p
4 = o,c,m,p
5 = o,c,m,p
6 = o,c,m,p
7 = o,c,m,p
8 = o,c,m,p
9 = o,c,m,p
10 = o,c,m,p
11 = o,c,m,p
12 = o,c,m,p
13 = o,c,m,p
14 = o,c,m,p
15 = o,c,m,p
16 = o,c,m,p
17 = o,c,m,p
18 = o,c,m,p
19 = o,c,m,p
20 = o,c,m,p
21 = o,c,m,p
22 = o,c,m,p
23 = o,c,m,p
24 = o,c,m,p
25 = o,c,m,p
26 = o,c,m,p
27 = o,c,m,p
28 = o,c,m,p
29 = o,c,m,p
30 = o,c,m,p
31 = o,c,m,p
32 = o,c,m,p
2) go to ...\images\Shields\Size 0. now, for the crusader shield: copy and paste the files "crusader.img" and "crusader.rle" and rename the to "flag_32.img" and "shape32.img"
3) go to ...\images\Shields\Size 1. copy and paste the files "crusader.img" and "crusader.rle" and rename the to "flag_32.img" and "shape32.img"
Kindoms.ini mod
a) once you have finished you'll have to modify the "kingdoms_800.ini", "kingdoms_1000.ini" or "kingdoms_1200.ini" conf files form the "...\Knights Of Honor\maps\europe\map" folder. If you don't have that folder extract it with pakman (load europe.pak and copy to original directory the "map/europe/map" files. If done correctly you shold have on your kof folder the "map" folder -> europe -> map -> "kingdoms_800.ini","kingdoms_1000.ini", "kingdoms_1200.ini") 800, 1000 and 1200 stands for early, high, late periods.
b) once you have this files just modufy a kingdom of your choice. for example i wanted to change saloniki shield for the one of the crusaders so y went down to saloniki, changed the ornament number from its original text code (5) to the newly created ornament (31). Note that you have to put in the text code of the crusader shield you've created (text code = shield/flag humber -1). Aditionaly you can edit the shields colour. color1 is the shields background colour and the kingdom's army colour, and color2 is the cross' colour. For example if you wanted to have the crusader shield with green background and white cross you should have something like this:
color1 = 1
color2 = 15
ornament = 31
for colours text code and more see the first post.
Now, just close and save everything and launch koh.
go to the kingdom select screen and see if:
1) the crusader shield appears in the kingdom of choice. if it is just blank (transparent no shield) then you either
a) mess up putting the correct ornament number(check section kindoms.ini mod point b)
b) forgot to mod heraldics.ini file (see step 1 Shields folder section)
c) messed up with steps 2 and 3 of Shields folder section
2)swap to world view and the pin of your kingdom should appear with the flag (not shield) of your choice. if blank or another flag appears check section Flags folder point 6)
3) chosse the kingdom and start a new game. now you should look if any of these bugs appears.
a) if the game just crush on start up check section Flags folder point 3). you copied the crusader files, the ones i told you not to touch.
b) order your marshall to camp. if it crashes the check section Flags folder point 4). again the same as a).
c)see if the flag in your castle and marshall is the one of your choice. If not you either copied the wrong flag from ...\images\Flags\Buildings\Wall\Dark, ...\images\Flags\Buildings\Wall\Light, etc. just repeat section Flags folder points 1), 2) 3) and 5).
IF any other bug appears not included in the ones mentioned above then you've messed up everything and didn't follow my instructions. More detailed instructions than this i can't write. If you are familiar with modding (this is basic modding) then you should have realize that you can play with the mods and create combinations of flags within a kingdom, like changing flags used during day and night and so on. just do whatever you want. I hope this "tutorial" comes in handy for anyone with flags modding and shields. That’s all.
AIL...