Jump to content
  • 0

DECORATE / New monster doesn't quite behave correctly


Antnee

Question

So I'm just tooling around with DECORATE / GZDoom for the first time, trying to replicate the Nightmare imp from D64.  I have it almost down, but there's one thing that doesn't quite work correctly.

 

When in missle range, the imp correctly spawns my new, faster, purpler nightmareball. 

 

When I am in melee range, the imp starts its melee attack.  But if I move out of melee range before the attack finishes, it spawns a regular old impball.

 

What am I missing?

 

Quote

actor NightmareImp : DoomImp 15001
//$Angled
//$ArgNRenderColor
//$Category "Monsters"
//$Sprite
//$Title "Nightmare Imp"
{
SpawnID 155
Health 50
Speed 16
PainChance 200
RenderStyle Subtract
obituary "%o was slaughtered by a Nightmare Imp."
States
    {
    Missile:
        TROO EF 8 A_FaceTarget
        TROO G 6 A_CustomComboAttack("NightmareBall", 32, 2 * random(1, 8), "imp/melee")
        Goto See
    }
}


actor NightmareBall : DoomImpBall 15002
{
SpawnID 156
Speed 30
FastSpeed 50
RenderStyle Subtract
}

 

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Uh.. I answered my own question in record time.  Sorry.  I just had to add the melee state as well, since it inherited the old Imp stuff as it should have.

 

Melee:
    TROO EF 8 A_FaceTarget
        TROO G 6 A_CustomComboAttack("NightmareBall", 32, 2 * random(1, 8), "imp/melee")
        Goto See

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...