Error: Unable to find sprite lump?

Sun Aug 22, 2021 7:59 pm

I tried adding a custom sprite, but I get this error: Unable to find sprite lump HOOKA used by actor "hook". Here's all the steps I did:
- created "S_START* and "S_END" markers in the wad
- imported a .bmp file between them
- converted it to Doom format
- named it "HOOKA10"
- created an actor in DECORATE with this code:
Code:
 actor hook 14169
 {
  height 64
  +NOGRAVITY
  states
  {
  spawn:
     HOOK A -1
    stop
   }
 }


Did I miss a step?

Re: Error: Unable to find sprite lump?

Sun Aug 22, 2021 8:07 pm

sprite filename needs to be HOOKA0, not HOOKA10

Re: Error: Unable to find sprite lump?

Sun Aug 22, 2021 8:15 pm

That was it, thanks!

Re: Error: Unable to find sprite lump?

Sun Aug 22, 2021 11:32 pm

For your understanding, the definition

'HOOK A -1'

means:
Sprite Hook Frame A infinite