Page 1 of 1

Help= my Tech images aren't working properly.

Posted: Sun Sep 17, 2017 11:24 am
by firestar246
So a couple days ago, I started making a mod. At first, I couldn't figure out how to get my mod to read pictures that weren't in the base game. So whenever I created another icon or tech picture, I'd just put it in the base game graphics folder. Well, I realized this could be a bad idea, because if I wanted to share the mod with friends or such, they wouldn't get the pictures. So I looked around and figured out how to make a graphics folder for my mod. I then transferred all my pictures over to that folder. Now when the tech pictures were in the graphics folder for the base game, the pictures had to be 128x128 in size. When I moved them to my graphics folder, I kept them the same size. But when I played the game to test my mod, the tech pictures were huge and only showed a tiny portion of the picture. I figured out the only way for the game to show the entire tech picture was to shrink them all the way to 32x32, the size of the icon pictures. But now the tech pictures are extremely blurry. I don't understand why they were fine at 128x128 in the base game graphics folder, but as soon as I put them in my mod's folder, it didn't work anymore. Is there a piece of coding I have to add to get it to work?

Re: Help= my Tech images aren't working properly.

Posted: Sun Sep 17, 2017 12:23 pm
by Bilka
icon_size = 128

in your icon definition for the technology

Re: Help= my Tech images aren't working properly.

Posted: Sun Sep 17, 2017 6:10 pm
by firestar246
Thanks! It works!