Code:
Coat of Arms (CoA) files During my long travels in the modding world, I heard that these are easy to replace but very difficult to add. Let us try to make both ways easy. In the data\ui folder are two xml files (remember: right click, Open with notepad) which determine the source of graphics for the strategic map and for other shared graphics. Let us start with ‘shared’. I took the liberty to finish this file and the ‘strat’ file as well. It makes explaining a bit easier. Once you open ‘shared.sd.xml’, you will notice two parts: the small one underneath ‘texture_pages count’ and the huge one underneath ‘sprites count’. The first one points to the graphic files that contain all the little graphic signs. You will notice this entry: ‘sharedpage_NEW_02.tga’. This is the file that contains our brand new (cloned) CoA in the small version and can be found in the data\ui\southern_european\interface directory. When you add a new entry here, you have to remember to increase the count number (count="4"). The entry consists of the filename and the height and width of the graphic file.
In the big part you specify the name of the graphic element (remember descr_sm_factions?), in this case ‘SMALL_FACTION_LOGO_OTTOMANS’ as well as its position on the graphic. This can be a bit tricky, therefore the template. The index on the left of the line has to be in chronological order, starting with zero at the top. If you have to delete an entry in the middle, you will have to renumber every entry after it. The number of the ‘count=’ entry will be one bigger as the last line as the count starts with zero. The same principle applies for the number of the ‘page=’ entry for the individual element. In our case, it is 3 as it is the fourth page, starting with zero as the first page. Underneath the entry for ‘ottomans’ I left template entries for ‘yellow’ and ‘blue’ for later use.
The same principle applies to ‘strategy.sd.xml’ so I will not bore you with a repetition, just the ‘count’ numbers change.
First, thank for all the job you've done.
Second - in my folder "data/ui/" I have only strategy.sd and shared.sd without xml extension. So I tried to remove the .sd files and replace them with .xml files beliving that game will create from it .sd files (like it happens with .string.bin files). Unfortunately I was wrong, so the question is - how to use these .xml files in order to apply them to game?
I don't know if that help's, but I guess any information will help - I edit your stratpage_NEW_02.tga adding Lithuanian COA on these yellow one. In strat.sd.xml file I changed only YELLOW into LITHUANIA, I guess that should work, but it isn't.
OK, problem solved - I find out that I have to keep te .sd file