Sprite Cropping for Items/Ammo types larger than 32x32

Place to get help with not working mods / modding interface.
Post Reply
Guest_4544
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sat Dec 12, 2015 1:28 am
Contact:

Sprite Cropping for Items/Ammo types larger than 32x32

Post by Guest_4544 »

mm I am not sure if should put in this Forum Section or at the Bugreports, sorry if I took the wrong one, anyway.

Currently for Items I can use only a resolution of 32x32 and when I use bigger ones like 48x48 or 64x64 resolution Factorio starts cropping the
sprites. And no deleting crop-cache.dat does not fix it, I have no idea why one of you guys thought it was a good idea adding such a low-res limit.


The reason why I need larger Item Sprites than 32x32 is because I want to add caliber info to it so the player can see it immediately when the item is placed what kind of caliber this particular item is and not checking it manually first for it. For example 120x740mm,75x50mm 7.62x51mm etc...
32x32 is way too small for it
32x32 60mmRocket.png
32x32 60mmRocket.png (3.21 KiB) Viewed 6875 times
<- works fine 32x32 resolution
64x64 autocrop.png
64x64 autocrop.png (11.85 KiB) Viewed 6875 times
<- its totaly bugged out and almost invisible.

Martc
Long Handed Inserter
Long Handed Inserter
Posts: 85
Joined: Wed May 21, 2014 8:20 am
Contact:

Re: Sprite Cropping for Items/Ammo types larger than 32x32

Post by Martc »

I am not sure if its related, but you can check this topic https://forums.factorio.com/forum/viewtop ... 23&t=18142

Guest_4544
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sat Dec 12, 2015 1:28 am
Contact:

Re: Sprite Cropping for Items/Ammo types larger than 32x32

Post by Guest_4544 »

Martc wrote:I am not sure if its related, but you can check this topic https://forums.factorio.com/forum/viewtop ... 23&t=18142
This:

Code: Select all

icon_size = 64,
does nothing at all for ammo items.

Post Reply

Return to “Modding help”