No Loader Found

Place to get help with not working mods / modding interface.
MegaHamster7
Inserter
Inserter
Posts: 22
Joined: Tue Oct 06, 2015 2:05 pm
Contact:

No Loader Found

Post 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?
MegaHamster7
Inserter
Inserter
Posts: 22
Joined: Tue Oct 06, 2015 2:05 pm
Contact:

Re: No Loader Found

Post 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?
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: No Loader Found

Post 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"
MegaHamster7
Inserter
Inserter
Posts: 22
Joined: Tue Oct 06, 2015 2:05 pm
Contact:

Re: No Loader Found

Post 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.
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: No Loader Found

Post 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... :(
Post Reply

Return to “Modding help”