Custom Mod Religions not showing up on Advanced Scoreboard - Civilization Fanatics' Forums
Civilization Fanatics' Center  

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL)


Notices

Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL) (Public) Forum for Civ4 BTS Unaltered Gameplay Project.

Reply
 
Thread Tools
Old Dec 03, 2008, 06:15 AM   #1
smeagolheart
Monarch
 
smeagolheart's Avatar
 
Join Date: Sep 2007
Location: Phoenix, AZ
Posts: 924
Custom Mod Religions not showing up on Advanced Scoreboard

Hey I've been searching about the forums and haven't been able to find out how to overcome my problem.

I play the Extra Mod by Chiyu and am trying to include BUG.

Everything seems to be working fine with the merge except for one niggling thing: the icons on the advanced scoreboard for the new religions present in Extra.

Extra has a few more religions than the normal game, these show up fine with just vanilla Extra in the Civilopedia and the scoreboard. With the merge I got going they (custom icons for new religions) show up fine on the civilopedia but just not on the advanced scoreboard, instead the new religions are showing up as various corporation icons.

Any ideas on how to correct this minor thing?
smeagolheart is offline   Reply With Quote
Old Dec 03, 2008, 01:06 PM   #2
NikNaks
Deity
 
NikNaks's Avatar
 
Join Date: Jul 2006
Location: England
Posts: 2,972
I think you'll need to merge the TGA files, as it seems you've overwritten the Extra one with the BUG one.
__________________
My work: Units - Leaderheads - Expanded Natives and Scandinavia Expansion (WIP) for BAT
The BtS Unaltered Gameplay (BUG) Project Forum - BUG 4.4, BAT 3.0.1 and BULL 1.2 Now Out!
NikNaks is offline   Reply With Quote
Old Dec 03, 2008, 06:56 PM   #3
EmperorFool
Deity
 
EmperorFool's Avatar
 
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,625
Quote:
Originally Posted by smeagolheart View Post
With the merge I got going they (custom icons for new religions) show up fine on the civilopedia but just not on the advanced scoreboard
Quote:
Originally Posted by NikNaks View Post
I think you'll need to merge the TGA files, as it seems you've overwritten the Extra one with the BUG one.
That they show up fine in Civilopedia tells me that he either merged the font file correctly or replaced BUG's with the one from Extra Mod. If the latter, you'll find things from BUG to be missing, but that doesn't seem to be the problem here.

Quote:
Originally Posted by smeagolheart View Post
Instead the new religions are showing up as various corporation icons.
In the normal (and BUG's) font file, the corporation icons come immediately after the religion icons with no space in between. I assume Extra Mod places its new religion icons after the corporation ones. Am I correct?

BUG takes the religion character directly from the normal scoreboard, so the first thing to try is to disable the Advanced Scoreboard in the BUG Options Screen. This will show you the normal scoreboard. Do you see the correct religion icons there?

Here's the code from CvMainInterface that gets the icon:

Code:
if (gc.getPlayer(ePlayer).getStateReligion() != -1):
	if (gc.getPlayer(ePlayer).hasHolyCity(gc.getPlayer(ePlayer).getStateReligion())):
		szTempBuffer = u"%c" %(gc.getReligionInfo(gc.getPlayer(ePlayer).getStateReligion()).getHolyCityChar())
	else:
		szTempBuffer = u"%c" %(gc.getReligionInfo(gc.getPlayer(ePlayer).getStateReligion()).getChar())
	szBuffer = szBuffer + szTempBuffer
	if (bAlignIcons):
		scores.setReligion(szTempBuffer)
As you can see, it uses getChar() and getHolyCityChar() from the CvReligionInfo to get the icon -- just as Civilopedia should. And it passes the same icon (szTempBuffer) to the Advanced Scoreboard.

Oh, are the new icons in the GameFont_75.tga file or the other one or both? It might help to post both font files you're using if indeed you're using two files.
__________________
Monkeys killing monkeys killing monkeys over pieces of the ground.
Silly monkeys, give them thumbs they make a club and beat their brother down.


BUG Mod - BTS Unaltered Gameplay
[ Forum | Download | FAQ | Known Issues | Troubleshooting | Modding Tutorial ]

BAT 3.0.1 QuickFix™ released Oct 24th
EmperorFool is offline   Reply With Quote
Old Dec 04, 2008, 09:40 AM   #4
smeagolheart
Monarch
 
smeagolheart's Avatar
 
Join Date: Sep 2007
Location: Phoenix, AZ
Posts: 924
I had overwritten the GameFont_75.tga file from Extra with the one from Bug. I did a gimp cut and paste of the differences in Bug onto Extra's and it seems to do the job.
smeagolheart is offline   Reply With Quote
Old Jan 22, 2015, 01:30 AM   #5
Lubomir
Chieftain
 
Join Date: Jan 2015
Posts: 3
Quote:
Originally Posted by smeagolheart View Post
I had overwritten the GameFont_75.tga file from Extra with the one from Bug. I did a gimp cut and paste of the differences in Bug onto Extra's and it seems to do the job.
I am having the same problem but not with merging mods. I only bough Steam version and installed it on windows 7. The religions do not seem to show up since then on revolution mode. I tried BUG standalone and religions are working.

Can I maybe merge some files from BUG into revolution to make it working again? Which file consists the lines for religios icons to be used?
Lubomir is offline   Reply With Quote
Reply

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL) > Custom Mod Religions not showing up on Advanced Scoreboard

Thread Tools




All times are GMT -6. The time now is 06:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR