MerakSpielman
Warlord
- Joined
- Oct 27, 2005
- Messages
- 217
OK, first off, my self-imposed challange is to add an additional religion to the game. NOT mod an existing religion mind you, but add a new one, so that there is a total of 8 religions in the game.
I have accomplished many significant steps of this goal, like adding additional buttons to the button atlas graphics and putting the correct coding coordinates for the new icons into the .xml files.
I have managed to expand the Religion Advisor screen so that there is room for an additional religion to appear. It does, in fact, appear.
My religion founds and spreads properly. The buttons for the buildings and missionaries show up in the build menu just fine.
But I can't get the little religion icons to appear above my city bar letting me know which cities have it.
I presume it grabs those images from the font files, which I've edited (with correct alpha channels) to have my new religion's symbols (one for regular city, one for holy city). I was HOPING that the game would simply read these icons in the order in which they appear in the religion .xml file, but having additional icons in the file just seems to screw everything up.
If I add my new icons, then ALL the religion icons above the city bar get messed up, and start displaying seemingly random icons. Once the symbol for Judaism was replaced by the icon for copper, and once the icon for Taoism was replaced by the icon for fish.
I don't know why the addition of new icons in the font files is throwing everything off, but it is.
Does anybody know how to correct this?
I have accomplished many significant steps of this goal, like adding additional buttons to the button atlas graphics and putting the correct coding coordinates for the new icons into the .xml files.
I have managed to expand the Religion Advisor screen so that there is room for an additional religion to appear. It does, in fact, appear.
My religion founds and spreads properly. The buttons for the buildings and missionaries show up in the build menu just fine.
But I can't get the little religion icons to appear above my city bar letting me know which cities have it.
I presume it grabs those images from the font files, which I've edited (with correct alpha channels) to have my new religion's symbols (one for regular city, one for holy city). I was HOPING that the game would simply read these icons in the order in which they appear in the religion .xml file, but having additional icons in the file just seems to screw everything up.
If I add my new icons, then ALL the religion icons above the city bar get messed up, and start displaying seemingly random icons. Once the symbol for Judaism was replaced by the icon for copper, and once the icon for Taoism was replaced by the icon for fish.
I don't know why the addition of new icons in the font files is throwing everything off, but it is.
Does anybody know how to correct this?