I need help for my mod to work

Place to get help with not working mods / modding interface.
Post Reply
Grundox
Inserter
Inserter
Posts: 43
Joined: Wed Nov 23, 2016 8:18 pm
Contact:

I need help for my mod to work

Post by Grundox »

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
Attachments
grundoxores_1.0.10.rar
(10.8 MiB) Downloaded 41 times

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: I need help for my mod to work

Post by darkfrei »

Please add mods .zip only.

Try your mod with
https://mods.factorio.com/mods/darkfrei/_IconSize

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: I need help for my mod to work

Post by bobingabout »

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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: I need help for my mod to work

Post by darkfrei »

bobingabout wrote:
Wed Sep 26, 2018 8:12 am
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
If you use icon, then you have:

Code: Select all

item.icon = "image_32x32.png"
item.icon_size = 32
What if I use icons with different sizes??

Code: Select all

item.icons= {
    {icon = "image_32x32.png"},
    {icon = "image_64x64.png"},
  }

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: I need help for my mod to work

Post by bobingabout »

darkfrei wrote:
Wed Sep 26, 2018 9:48 am
What if I use icons with different sizes??

Code: Select all

item.icons= {
    {icon = "image_32x32.png"},
    {icon = "image_64x64.png"},
  }
I honestly don't know.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Modding help”