Page 1 of 1
[0.12.27] Modded technology icon being upscaled and clipped
Posted: Sun Mar 20, 2016 10:24 am
by GotLag
The Rail Tanker technology icon is a 128x128 24-bit PNG, but in-game it's being scaled up and cut off:
If I specify one of the base technology icons that displays correctly.
Re: [0.12.27] Modded technology icon being upscaled and clipped
Posted: Sun Mar 20, 2016 10:43 am
by Supercheese
Re: [0.12.27] Modded technology icon being upscaled and clipped
Posted: Sun Mar 20, 2016 10:46 am
by GotLag
So how come the base tech definitions don't specify a size?
Re: [0.12.27] Modded technology icon being upscaled and clipped
Posted: Sun Mar 20, 2016 11:14 am
by orzelek
If value is not present it has a default. Base game defaults to 128x128 but mods use 64x64. It makes olds mods work with upscaling and drawback is that you need to add it by hand if you want 128x128 icons in mod.