Help Request: Added an 8th religion, can't figure out graphics...

sbrylski06

Warlord
Joined
Jan 13, 2006
Messages
115
I'm no programming expert, so luckily XML modding is quite easy. I've managed to add an 8th religion, complete with its own missionary unit and buildings. Last step is then to get the graphics - which I can't figure out.

Using the unit graphic and 3D building graphics from another religion doesn't really bother me, close enough. But I'd like to have the little icon next to the city to be unique, and the logos representing the new buildings in the pedia and such. If I were replacing a religion, it would be pretty simple, I could just change the image. But if I'm adding images, how do I designate what they correspond too?

Does what I'm asking make sense?

I've looked around the forums a little for a guide that would help me out, but nothing was specific enough. If someone could walk me through it (go to this XML file - edit this, the images are located in this file - create your image here...ect.), I would be very happy. Thanks.
 
You need to edit the gamefont files for that, as those small icons come from there. (Assets\res\Fonts). Can't help you with more details tho - i think there was a tutorial on this somewhere.
 
You need to edit the gamefont files for that, as those small icons come from there. (Assets\res\Fonts). Can't help you with more details tho - i think there was a tutorial on this somewhere.

Yeah, but my question is how to designate the new icon as the icon for the new religion?
 
You have to place the icon in the font file right after the icon where the other religions are. In other words, in BTS, you're going to have to move the corporation fonts.

Easiest approach is to move the first corporation font to the end of the fonts file and put your new religion character there. Then edit the corporations XML file and move the corp that was in first position to last.
 
You have to place the icon in the font file right after the icon where the other religions are. In other words, in BTS, you're going to have to move the corporation fonts.

Easiest approach is to move the first corporation font to the end of the fonts file and put your new religion character there. Then edit the corporations XML file and move the corp that was in first position to last.

Perfect. Understood completely. Thanks, I'll try it later today.
 
Okay, its working, but I ran into a problem. When a city has the new religion, the little icon comes up like it should. However, in the Holy City, both the icon with the star for the new religion pops up and the icon for Sid's Sushi, for some reason. Any ideas why?

All I did was bump the first corporation logo (Cereal Mills) to the end of the line and put in the new religion logos in its place (in both GameFont and GameFont_75) and then went into CIV4CorporationInfo.xml and cut and pasted the first corporation last.

Thoughts?

EDIT: Actually, all the corporations come up the wrong logo too. Its because the game is reading the Holy City of my new religion and the next icon on the list (Sid Sushi) as one icon. Not sure why. I have that Cyan dot... Its gotta be a problem with my GameFont files, right?
 
Alright, figured that problem out - redid my alpha screens did the trick.

However, new problem. Now none of the corporation icons come up unless the city is the founder of that corporation. I didn't touch that area of the GameFont files. Even if I did, why would just every other image work? Thoughts?
 
Okay, found this thread of the same problem: http://forums.civfanatics.com/showthread.php?t=257578

Interestingly, Deanej's' suggestion at the bottom of the thread "worked": "Give yourself the corporate executive for that corporation and try it manually."

If anyone knows why WB wouldn't do it, I'm all ears, but no big deal now, as long as it works in game.

But, still looking for the image file for the religion icon that shows up in the city screen and in the tech tree and such? All I can seem to find are the religions building logos (CityBar_Atlas_32.dds) and then the little icons that I'm currently working on.

(Sorry for the multiple posts)
 
Back
Top Bottom