• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Help ! Icon texture not loading properly

Armise

Chieftain
Joined
Jan 25, 2017
Messages
25
Location
near Paris
I finished the hard-coding part of my mod some days ago (which adds a new civ to the game btw), and I thought, why not adding custom icons for the new units and the new civ. So did I, following the Kael's holy scriptures a.k.a modder's guide, using GIMP instead of PS (but I tried PS after that : no more success).
The result is, I can read the DDS pictures with my computer, no problem, but once the mod is loaded in the game, an error windows pops up saying "Unable to load texture [CivSymbolsColorLegends64.dds]".
Why is that happening ? And when I click OK, back in the game there is a red square instead of the icon.
Can you help me ?

EDIT : my civs are fascists from WW2, so anyone having proper hammer-sickle or svatiska icons in proper .dds format would be very much appreciated too, but I'm still interested in why bit doesn't work and how to make my own icons.
 
Last edited:
There are two possible problems that I can think of right now:
1) You did not use the proper export settings. Here is a pic for how I export my civ icons:
8FH1YNW.png

(RGBA8 encoding is of main importance here)

(Mipmaps are only necessary for Strategic view icons. As for compression, I usually only use that when exporting a civ map, leaderscreen, or DOM screen)

2) you did not set VFS=true for the .dds files in modbuddy
SQnI7ud.png
 
Back
Top Bottom