• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Same place as always: the \interface\ directory, which is where all the graphics files are identified and defined.

To fix your issue, update the correct noOfFrames value in the "\interface\generalstuff.gfx" file:

Code:
	spriteType = {
		name = "GFX_religion_icon_strip"
		texturefile = "gfx\\interface\\religion_icon_strip.tga"
		noOfFrames = [color=red]47[/color]
	}
	spriteType = {
		name = "GFX_religion_icon_strip_small"
		texturefile = "gfx\\interface\\religion_icon_strip_small.tga"
		noOfFrames = [color=red]47[/color]
	}

For example, if you added 3 more religion icons, then you need to change that number to 50.

EDIT: Oops, didn't realize this thread is posted in in the LI subforum. I have no idea how LI files are named and how many religion icons there are, but my answer above should remain applicable: generalstuff.gfx is where the religion strip is defined.
 
Pretty sure we haven't fiddled with the religious icon strip names.

Yup, religion_icon_strip_small.dds is definitely messed up. It's 2163x20, whereas religion_icon_strip.dds is 4544x32. noOfFrames is set at 142 for both, so religion_icon_strip_small.dds is clipped at the right end. DR? Do you have a good copy saved somewhere?

Edit: Never mind, I resized religion_icon_strip.dds to the proper height and overwrote religion_icon_strip_small.dds, should be good now.
 
Last edited:
I haven't touched religious icons in a while and last time I checked they were all right (this morning). Are you sure it's not your problem, OP?

Pretty sure we haven't fiddled with the religious icon strip names.

Yup, religion_icon_strip_small.dds is definitely messed up. It's 2163x20, whereas religion_icon_strip.dds is 4544x32. noOfFrames is set at 142 for both, so religion_icon_strip_small.dds is clipped at the right end. DR? Do you have a good copy saved somewhere?

Edit: Never mind, I resized religion_icon_strip.dds to the proper height and overwrote religion_icon_strip_small.dds, should be good now.

religion_icon_strip_small is not used. I modified the relevant interface files to show the 32x32 icons instead (religion_icon_strip). I opted for this because most of our icons are difficult to see in 20x20.
 
Speaking of religious icons, any possibility of changing the Hibernicist cross to an annular (Celtic) cross?
 
I haven't touched religious icons in a while and last time I checked they were all right (this morning). Are you sure it's not your problem, OP?

Its not a problem in the base game, and it isn't a problem even in other mods that do add religious icons.

...but I am playing 2.16, which the installation instructions say (I didn't see this before) is bugged. But would that really make the religious icons mess up like that?
 
...

You realize we aren't supporting v.6j1 anymore?
 
Haha no, I did not. Well, I'm sorry for that confusion then- it makes a lot of sense.

Out of curiosity, I really like your guys icons. How could I modify them to make them work on my own, personal (and will never be put online) mod?
 
Copy gfx/interface/religion_icon_strip.dds and religion_icon_strip_small.dds to your mod.

Open your copy of interface/generalstuff.gfx in a text editor (Notepad++ recommended, but any text editor will do), find the sections for those two files, and make sure the noOfFrames value matches the aspect ratio (width/height) of the files. (You'll need an image editor that can open .dds files in order to check aspect ratio. The ones I know can do it are Paint.Net natively, and Gimp and Paintshop with plugins.)
 
Copy gfx/interface/religion_icon_strip.dds and religion_icon_strip_small.dds to your mod.

Open your copy of interface/generalstuff.gfx in a text editor (Notepad++ recommended, but any text editor will do), find the sections for those two files, and make sure the noOfFrames value matches the aspect ratio (width/height) of the files. (You'll need an image editor that can open .dds files in order to check aspect ratio. The ones I know can do it are Paint.Net natively, and Gimp and Paintshop with plugins.)

I can only imagine that I'm messing up the aspect ration part of noOfFrames. I divided the total number of width pixels by 32 and 20 respectively, came up with the numbers (136 for the small icon file and 137 for the other), plugged them in, and it didn't work. What should I be doing instead?

And thank you so much for your help by the way.
 
Well, actually, both noOfFrames values should be the same. DR modded the spriteTypes to both use the same strip, and doubtless other interface files so the 32x32 icons would fit into the interface properly.

If you want to use this in a mod without the interface tweaks, you'll want to resize the regular strip to 20 pixels in height (maintaining aspect ratio) and save it, in DXT3 compression.
 
Oh, I wouldn't mind using the interface tweaks. Do you know how I can put them into my own mod?

And, if not, I have to resize the regular religion icon strip (not the small religion icon strip) to have 20 height? And how do I save something in DXT3 compression?
 
Save it as a .dds file, and that will be one of the options. And yes, resize the regular icon strip to 20 height, and save it as the small strip.

You'd have to ask DR what tweaks he did and what files they're in. It wasn't just the religion icon he tweaked, he also moved the traits and modifiers and claims and titles around on the character menu.
 
Save it as a .dds file, and that will be one of the options. And yes, resize the regular icon strip to 20 height, and save it as the small strip.

You'd have to ask DR what tweaks he did and what files they're in. It wasn't just the religion icon he tweaked, he also moved the traits and modifiers and claims and titles around on the character menu.

I got it to work. I'll still send DR a message, since I think the images look a little small, but thank you for all your help.
 
Last edited: