[BNW] I'm Stuck (Need Some Direction)

Rizouge

Chieftain
Joined
Oct 15, 2024
Messages
5
What I'm trying to do is add an extra religious icon to Civ 5, but I'm stuck at which tools I should be using now and which ones I should ignore because they're outdated. I've tried using this site:
but even though I installed Java, the file that downloads won't launch. There's another tool I think could work on github:
I'm just not sure what I'm doing when it comes to images in this game though. I don't want to add religious beliefs or pantheons, etc. only the image I have.
Help will be appreciated!
Oh, one last thing: I have the latest version of GIMP installed, so would I need any extensions for this project, or is that an outdated method? Thanks.
 
I'm just not sure what I'm doing when it comes to images in this game though. I don't want to add religious beliefs or pantheons, etc. only the image I have.
see kael's modding guide, it has pretty much everything you need to know regarding images

Oh, one last thing: I have the latest version of GIMP installed, so would I need any extensions for this project, or is that an outdated method? Thanks.
GIMP is fine, lots of modders use it
 
see kael's modding guide, it has pretty much everything you need to know regarding images


GIMP is fine, lots of modders use it
That's surprising that kael covers that part of modding too, I haven't looked at his guide in years. Thank you for your help!

Edit: For some reason it defaulted to the first religious icon. Will someone take a look at my XML and ART files I'm attaching? My religious icon can't be seen easily because it's as white as the circular background, don't know if it needs to be a shade darker or not. I suppose I'll also attach what I saw in-game and the icon I'm image I'm trying to use too.
 

Attachments

  • Zamasuism Religion (v 1).zip
    320.6 KB · Views: 4
  • zamasu_s_barrier_of_light_by_jhonasc.png
    zamasu_s_barrier_of_light_by_jhonasc.png
    235 KB · Views: 7
  • 8930_20241022042551_1.png
    8930_20241022042551_1.png
    1.2 MB · Views: 7
Last edited:
That's surprising that kael covers that part of modding too, I haven't looked at his guide in years. Thank you for your help!

Edit: For some reason it defaulted to the first religious icon. Will someone take a look at my XML and ART files I'm attaching? My religious icon can't be seen easily because it's as white as the circular background, don't know if it needs to be a shade darker or not. I suppose I'll also attach what I saw in-game and the icon I'm image I'm trying to use too.
I don't know if you solved the issue but anyway there is a database conflict: the icon atlas you specified (RELIGION_ATLAS_WHITE) corresponds to the one of the religion in game that's why you get the Buddhism icon.
You need to change with the atlas you created (CIV_COLOR_ATLAS_LEGENDS):

XML:
<Religions>
    <Row>
        <Type>RELIGION_ZAMASUISM</Type>
        <Description>TXT_KEY_RELIGION_ZAMASUISM</Description>
        <Civilopedia>TXT_KEY_RELIGION_ZAMASUISM_PEDIA</Civilopedia>
        <IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
        <PortraitIndex>0</PortraitIndex>
        <IconString>[ICON_RELIGION_ZAMASUISM]</IconString>
    </Row>
</Religions>
 
I don't know if you solved the issue but anyway there is a database conflict: the icon atlas you specified (RELIGION_ATLAS_WHITE) corresponds to the one of the religion in game that's why you get the Buddhism icon.
You need to change with the atlas you created (CIV_COLOR_ATLAS_LEGENDS):

XML:
<Religions>
    <Row>
        <Type>RELIGION_ZAMASUISM</Type>
        <Description>TXT_KEY_RELIGION_ZAMASUISM</Description>
        <Civilopedia>TXT_KEY_RELIGION_ZAMASUISM_PEDIA</Civilopedia>
        <IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
        <PortraitIndex>0</PortraitIndex>
        <IconString>[ICON_RELIGION_ZAMASUISM]</IconString>
    </Row>
</Religions>
Thanks! That helped progress the mod further. Now it's saying "failed to load Zamasuism64.dds" and shows a very odd looking glitched-out image where the symbol should be. I'll edit my post in about 10 minutes and show you what that looks like.
Edit: What's not normal starts at the 40 second mark.
 
Last edited:
Ok. There are 3 problems with your mod:

1) the icon doesn't load because you need to import the dds files into the virtual file system. If you are using Modbuddy you click on the dds file on the left and on the right you set VFS= true. Or edit the corresponding row in your .modinfo file "import ="1".
2) you need the icon at more sizes than you specified. For a religion icon the sizes are in pixel: 16, 24, 32, 48, 64, 80, 128, 214, 256.
3) the icon as you made it won't be much visible because it will show mostly the white circle. I suggest to use the pic I attached and edit the atlas accordingly (IconsPerRow and IconsPerColumn from 8 to 1).
 

Attachments

  • Zamasuism256.png
    Zamasuism256.png
    5.5 KB · Views: 3
Ok. There are 3 problems with your mod:

1) the icon doesn't load because you need to import the dds files into the virtual file system. If you are using Modbuddy you click on the dds file on the left and on the right you set VFS= true. Or edit the corresponding row in your .modinfo file "import ="1".
2) you need the icon at more sizes than you specified. For a religion icon the sizes are in pixel: 16, 24, 32, 48, 64, 80, 128, 214, 256.
3) the icon as you made it won't be much visible because it will show mostly the white circle. I suggest to use the pic I attached and edit the atlas accordingly (IconsPerRow and IconsPerColumn from 8 to 1).
You helped me out a ton, thank you for the massive help! It's up on the workshop now. Must've failed about 10 times before I got it right, but I'm appreciative of folks just like you who take the time to help out newbies like me.
 
Top Bottom