Hello,
When I try to launch the game it tells me "Key -icon_size- not found". All the icons are 32x32 like every icon for an item. So why does it tell me that?
Also can someone please tell me where I learn to make good building entity graphics and animations ( for example like pyanodon has in his mods ).
Thanks in advance for the help
I need help for my mod to work
I need help for my mod to work
- Attachments
-
- grundoxores_1.0.10.rar
- (10.8 MiB) Downloaded 49 times
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: I need help for my mod to work
every object with an icon must have an icon_size= tag. so if you're using 32x32 size icons, you need to include the "icon_size = 32" tag, it's usually placed directly under the icon= tag.
Also, Factorio mods must be packaged in a .zip file, the game can't read them from .rar files. Plus I can't even open .rar files here, I'm not allowed.
Also, Factorio mods must be packaged in a .zip file, the game can't read them from .rar files. Plus I can't even open .rar files here, I'm not allowed.
Re: I need help for my mod to work
If you use icon, then you have:bobingabout wrote: ↑Wed Sep 26, 2018 8:12 amevery object with an icon must have an icon_size= tag. so if you're using 32x32 size icons, you need to include the "icon_size = 32" tag, it's usually placed directly under the icon= tag
Code: Select all
item.icon = "image_32x32.png"
item.icon_size = 32
Code: Select all
item.icons= {
{icon = "image_32x32.png"},
{icon = "image_64x64.png"},
}
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: I need help for my mod to work
I honestly don't know.darkfrei wrote: ↑Wed Sep 26, 2018 9:48 amWhat if I use icons with different sizes??Code: Select all
item.icons= { {icon = "image_32x32.png"}, {icon = "image_64x64.png"}, }