Extra religons/corporations

vincentz

Programmer
Joined
Feb 4, 2009
Messages
3,614
Location
Denmark
I'm in a great modding mood today, so I finally got to the dreaded gamefont.tga.

It's starting to get where I want it, except that I'm missing space for my 12 guilds (which is basically medieval corporations) I made a while ago for RoM.

So my question is : Are there anyway to make the game read 3 lines of corps/religions instead of 2. There is an empty line (with my red markings) above the religions that apparently are not being used, but I already tried to put icons up there and the game still reads from the same line.

Any suggestions are more than welcome.

Thanks
V

attachment.php
 
Triple post. tsk tsk.

BUT..... It seems to work :):):). I made 11 new corporations and it didnt work (still the last on second line) but when I made 12 it suddenly worked automaticly snapping the newly created line.

Brilliant mate. I would have given it 5% succes rate, but tried it anyway. Now I can have BOTH my guilds AND my corporations plus a couple of extra religions. Fantastic!!!

Edit. : Now I just need a scollbar on the Corporation Adviser screen.
 
Just in case you're still interested, take a look at CvGameTextMgr::assignFontIds()

Thanks, but I ended up with 3 lines of religions/corporations. That didnt work somehow as the citybar icons went off sync by 1. Strange. And since the religions and corporations come in pairs of 2 there wasnt a solution. So I tried and I tried and I tried, but nothing would do untill I expanded the gamefont from 640 to 800 and gamefont75 from 512 to 640, thereby creating enough vertical space for two lines (original+7 new corps+15 guilds). That brought another problem however. All the resources where now off sync'd by 3, but moving them 3 to the right was the easiest part of my project (if they had to be moved 3 left I would have been f....ed)

So here is how they look now with everything working :)

attachment.php
 
Back
Top Bottom