Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
flubbernugget

Decorate Monster Not Appearing in Zdoom

Recommended Posts

I modified the zombieman Decorate code from the Zdoom Wiki. I renamed all my graphics of this new monster by replacing the "P" in each sprite name with an "A" (The monster will use the same Xdeath as the zombieman). When I placed this thing in my level, I got the "!" symbol that says a thing has no sprite. Why?

actor ArmorMan 5008
{
obituary "%o couldn't pull out his pistol in time."
health 1
radius 20
height 56
mass 150
speed 6
painchance 200
seesound "grunt/sight"
attacksound "grunt/attack"
painsound "grunt/pain"
deathsound "grunt/death"
activesound "grunt/active"
dropitem "Clip" 256
dropitem "ArmorBonus" 256
MONSTER
+FLOORCLIP
+NOBLOOD
states
{
Spawn:
AOSS AB 10 A_Look
loop
See:
AOSS AABBCCDD 4 A_Chase
loop
Missile:
AOSS E 10 A_FaceTarget
AOSS F 8 A_PosAttack
AOSS E 8
goto See
Pain:
AOSS G 3
AOSS G 3 A_Pain
goto See
Death:
AOSS H 5
AOSS I 5 A_Scream
AOSS J 5 A_NoBlocking
AOSS K 5
AOSS L -1
stop
XDeath:
POSS M 5
POSS N 5 A_XScream
POSS O 5 A_NoBlocking
POSS PQRST 5
POSS U -1
stop
Raise:
POSS KJIH 5
goto See
}
}

Edit: Forgot to mention that all my graphics are in the same wad with the map and decorate code in a PNG format.

Share this post


Link to post

The <!> sign can appear in other conditions as well.

- No actor: make sure your DECORATE lump is named correctly and placed in the global namespace.
- No sprites: make sure your sprites are named correctly as well and placed in the sprite namespace.

Also, I strongly advise you to learn how to use inheritance instead of copy/pasting actors and editing them. It's generally better to derive from an existing actor and just change the things you want changed.

Share this post


Link to post
Gez said:

The <!> sign can appear in other conditions as well.



More importantly, for each <!> there's a message in the console telling what's wrong.

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
Sign in to follow this  
×