Page 1 of 1

No Loader Found

Posted: Wed Oct 14, 2015 12:08 pm
by MegaHamster7
I'm creating my first mod and I'm working my way towards simply getting my item into the game.

When I start Factorio I get the error:
No loader found for "incinerator".

Can't find anything on this, any idea what I did wrong?

Re: No Loader Found

Posted: Wed Oct 14, 2015 12:44 pm
by MegaHamster7
Seems to come from here in entity.lua:

Code: Select all

 data:extend({
 {
    type = "incinerator",
    name = "incinerator",
The type property is what is causing the issue.

What is this property and what effect does changing it have?

Re: No Loader Found

Posted: Wed Oct 14, 2015 12:59 pm
by Zeblote
You can't make completely custom entities. You can only make variations of existing ones, like a faster furnace/new assembler/etc.

In that type property you set what kind of default entitiy (that they implemented in c++) it is supposed to be. If the incinerator is supposed to smelt ore for example, you'd set it to "furnace"

Re: No Loader Found

Posted: Wed Oct 14, 2015 1:53 pm
by MegaHamster7
Thanks matey, that does make sense looking through existing mod files.

So it becomes a game of working out which base item best represents the effect I want to create and going from there.

Re: No Loader Found

Posted: Wed Oct 14, 2015 2:07 pm
by Zeblote
MegaHamster7 wrote:So it becomes a game of working out which base item best represents the effect I want to create and going from there.
Yeah. Sometimes people even spawn additional invisible entities to get the effect they want if there's no default entitiy that can do it. But even that doesn't cover all cases... :(