Custom death animations not working!

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
User avatar
lonleyglobe0
Posts: 13
Joined: Sat Jun 17, 2017 10:17 am
Location: The Matrix

Custom death animations not working!

Post by lonleyglobe0 »

Hey, I'm trying to make a custom death animation but its not working. Every time I launch GZDOOM it says "R_InstallSprite: Sprite GEND frame A is missing rotations"

Here's the code for the death

Code: Select all

 Pain:
    SOLD G 5
    SOLD G 3 A_Pain
    Goto See
	Death: 
        SOLD H 5 
        SOLD I 5 A_Scream 
        SOLD J 5 A_Fall 
        SOLD KLM 5 
        SOLD N -1 
        Stop 
  XDeath:
		SOLD O 5 
        SOLD P 5 A_XScream 
        SOLD Q 5 A_Fall 
        SOLD RSTUV 5 
        SOLD W -1
    Stop
   Death.Gender:
		GEND A 1
		GEND B 1 
		GEND C 1
		GEND D 1
		GEND E 1 A_NoBlocking
		GEND F -1
   stop
If anyone can help me please help!
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Custom death animations not working!

Post by wildweasel »

It looks fine from code. When you see an error like this, it often means exactly what it says: ZDoom sees a sprite, determines that it's a sprite that has multiple angles, and it's not finding all of the rotation angles in the sprite data. What are the sprites named in your file? If, for example, you have only "GENDA1", that is what's throwing the error. If you want one frame visible from all angles, call it "GENDA0" instead, otherwise you need all eight angles of the sprite.
User avatar
lonleyglobe0
Posts: 13
Joined: Sat Jun 17, 2017 10:17 am
Location: The Matrix

Re: Custom death animations not working!

Post by lonleyglobe0 »

Thx bro!
Locked

Return to “Editing (Archive)”