How are icons assigned to new units on EE2X UP15?
Posted: 27 Jun 2022, 14:20
Hi, I am trying to adapt my wonder "El Pardo", which worked fine on Empire Earth 4 mod, to normal EE2X with patch 1.5. I have it for granted that most code must be placed on EE2X_db155, but I can't figure out (for now) where I must set the code for new icons. Thanks for help!
Added after 1 hour 53 minutes 26 seconds:
Update: my unit appears with a default icon, not with that which I have assigned. Everything else is ok.
Added after 19 minutes 47 seconds:
I have tried with icons 77x60 and 60x60 pixels big, in both cases testing with code icon_unit_Elpardo.tga,0,0,77,60,0 and icon_unit_Elpardo.tga,0,0,60,60,0, but without success
Added after 1 hour 13 minutes 35 seconds:
Problem solved!! I forgot to add code in dbsprite_uniticons_packed.csv...
Added after 1 hour 53 minutes 26 seconds:
Update: my unit appears with a default icon, not with that which I have assigned. Everything else is ok.
Added after 19 minutes 47 seconds:
I have tried with icons 77x60 and 60x60 pixels big, in both cases testing with code icon_unit_Elpardo.tga,0,0,77,60,0 and icon_unit_Elpardo.tga,0,0,60,60,0, but without success
Added after 1 hour 13 minutes 35 seconds:
Problem solved!! I forgot to add code in dbsprite_uniticons_packed.csv...