How to add idle animation to weapon sprite?

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
nemesis2002
Posts: 5
Joined: Thu Jul 08, 2021 12:29 am

How to add idle animation to weapon sprite?

Post by nemesis2002 »

Hello friends.
I'm trying to add an idle animation to a vanilla weapon. I've tested with the ANIMDEFS file, but it doesn't seem to work for sprites.
How would I go about adding several idle frames to a weapon sprite? Any help would be appreciated.
Kzer-Za
Posts: 521
Joined: Sat Aug 19, 2017 11:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: How to add idle animation to weapon sprite?

Post by Kzer-Za »

Perhaps, taking a look at the Serpent Staff from Hexen would be helpful. It blinks from time to time. https://zdoom.org/wiki/Classes:CWeapStaff
Post Reply

Return to “Assets (and other stuff)”