Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Antnee

DECORATE / New monster doesn't quite behave correctly

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×