Help With Modding Issue

Perinet123

Chieftain
Joined
May 29, 2016
Messages
4
Hey guys.

I've been working on a new scenario for C3C for a few days now, but unfortunately I've run into an issue whilst doing so. I've started adding units, and although the first few I added worked fine, the next bunch don't have any images in the Civilopedia for whatever reason. I'm not sure why this is the case, because I've added these in the same way that I did for the first few units that do have images. I've checked the pediaicons.txt, the file path for the pcx's, the pcx's themselves, nothing seems to be amiss, until I load the scenario and look at their Civilopedia entries. I mean, this isn't the end of the world as the mod is still playable, but I'd still like to have the images appear in game, and any help with regards to this problem will be much appreciated.

Thanks in advance :) .

I've got some images to help show my issue, the first two are examples of the problem, the third shows one the first units that I added which works fine.

sNHzRF7.jpg

GDQRYU8.jpg

BXiWCxE.jpg
 
Can you upload the .pcx files in question? It is possible that they are not created in 256 color, and therefore will show up something like that.
 
Can you upload the .pcx files in question? It is possible that they are not created in 256 color, and therefore will show up something like that.
Sure. They are mainly Sandris' and Imperator's units, and I've just used the pcx's from them. I haven't messed with them or anything.
The first two are from the English Medieval Crossbowman in the first picture and the second two from the Colonist in the third, which do work.
 

Attachments

I love that Sandris used his render palettes for his civilopedia entries.

Perinet, you may want to upload your pediaicons.txt and scenario .biq as well just to get extra eyes on it.
 
Well, I can confirm that the EnglishCrossbow-Large.pcx is in 256 colors, and it is functional when I insert it into my mod.

Can you upload/check the pediaicons.txt file? The other thing I can think of off the top of my head is that if you left it blank, or have extra spaces between it somewhere, such as:

Code:
#ICON_PRTO_English_Crossbow
art\civilopedia\icons\units\
art\civilopedia\icons\units\
Code:
#ICON_PRTO_English_Crossbow


art\civilopedia\icons\units\EnglishCrossbow-Large.pcx
art\civilopedia\icons\units\EnglishCrossbow-Small.pcx
 
Well there's your problem. You don't have an #ICON_PRTO entry for the English Crossbow, Horse Archer, Horseman, Knight_One, etc.

The only ones you have is the Almoravid_Settler, worker, Aztec Settler, Worker, Late Medieval Settler, Worker.

EDIT: Oh, I just noticed, welcome to the forums. :) If you have any questions, feel free to ask. We're a friendly bunch, even if it's quieter than usual here.
 
Well there's your problem. You don't have an #ICON_PRTO entry for the English Crossbow, Horse Archer, Horseman, Knight_One, etc.

The only ones you have is the Almoravid_Settler, worker, Aztec Settler, Worker, Late Medieval Settler, Worker.
Umm... that's really odd. I'm fairly sure I filled all of those in, yet now I open it and they're all gone?

Ah well, guess I'll have to put them all in again...

Thanks for the help anyway, sorry for wasting your time.

EDIT: Oh, I know what I've done. I had the PediaIcons file open twice (so I could edit the icons and animnames without having to scroll) and saved the one where I was editing the animnames over the icons one. I'm very silly sometimes :D .
 
Umm... that's really odd. I'm fairly sure I filled all of those in, yet now I open it and they're all gone?

Ah well, guess I'll have to put them all in again...

Thanks for the help anyway, sorry for wasting your time.
No problem, glad to be of help.
 
Greetings, Perinet123, welcome to the forums. We are a helpful bunch here, and it is amazing what a second set of eyes can spy when it comes to scenario problems.
 
Back
Top Bottom