Monster disappearing?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Monster disappearing?

Post by XASSASSINX »

So. I made a custom monster, But when i spawn it, It imeddiatly dissapear! The sprites are all working, Because i can see all of his angles, So it must be the code!

Code: Select all

ACTOR Juggernautlizard 2187
{
 Radius 24
 Height 8
 Mass 500
 Health 500
 Speed 6
 PainChance 0
 seesound "juggernaut/sight"
 +DONTGIB
 States
	{
	Spawn:
	JUGG AAAAAAAAAAAA 10 A_Look
	JUGG A 0 A_PlaySound("juggernaut/idle",CHAN_VOICE)
	loop
  }
}
Any ideas?
Edit: After seeing the question again, I'm seeing that this a really noobish question! I'm using custom sprites, And i didn't put other states! That's why he dissapear! (I think, I will try again)
User avatar
kodi
 
 
Posts: 1361
Joined: Mon May 06, 2013 8:02 am

Re: Monster disappearing?

Post by kodi »

You're calling A_look without having defined a See state. You'll probably also want to give it the Monster property while at it.
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: Monster disappearing?

Post by XASSASSINX »

Hey. Another question, The monster that i crated don't have some reason)any collision (And i can't hurt him too, Also, He has 37 of health, For. As i'm saying this, i already made the missile, see, spawn, and the death state (Even that i didn't te st it)
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: Monster disappearing?

Post by Mikk- »

You need the MONSTER flag combo.

Code: Select all

ACTOR MONSTER
    {
    Health 100 
    Radius 32
    Height 56
    Mass 500
    Speed 10
    MONSTER    // this is what you're missing. 
    States
        {
        [...]
        }
    } 
XASSASSINX
Posts: 380
Joined: Tue Dec 20, 2016 4:53 pm
Location: MURICAA BROTHER! Just kidding, Brazil.

Re: Monster disappearing?

Post by XASSASSINX »

Ohhhh... Yeah, I forgot that.
Locked

Return to “Editing (Archive)”