#"Failed loading" my custom entity

20 messages · Page 1 of 1 (latest)

noble kettle
#

Im trying to create a custom entity, but everest's log.txt says that my entity failed to load in the map. I'm very new to modding celeste and am unsure what exactly an entity needs to load into the map.

opaque storm
# noble kettle Im trying to create a custom entity, but everest's log.txt says that my entity f...

common entity loading pitfalls

  • your mod isn't enabled
  • your mod hasn't been compiled
  • you havent saved your files before compiling
  • your entity class does not have a CustomEntity attribute
  • your CustomEntity name and lönn plugin entity name do not match
  • your entity constructor does not have a compatible signature:
    • .ctor()
    • .ctor(Vector2)
    • .ctor(EntityData, Vector2)
    • .ctor(EntityData, Vector2, EntityID)
noble kettle
#

oh, maybe its the lönn naming, lemme see if thats it

minor light
#

just keep in mind that changing the entity name in the lönn plugin will also mean you have to change the existing placements in the map

noble kettle
#

hmmmmmm

minor light
#

that means your entity is loading happylandeline

noble kettle
#

yup

#

:3

minor light
noble kettle
#

thats so true

minor light
#

this quote is probably my favorite one so far

noble kettle
#

lmaoo

#

so uhhhh, idk whats doing that

#

it says smth in my mod at line 64, which is BGswitchImports.SetBGMode(true, false);

#

so im guessing i imported BGswitchImports wrong?

#

i got a different error now !!!!

#

this is true progress

opaque storm
noble kettle
#

i figured that one out, it was that i tried to find the hurtbox of a non-existant madeline (she died)

opaque storm
#

yeah you might want to check whether the entity is not null