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.

How to add idle animation to weapon sprite?

Postby nemesis2002 » Sat Feb 05, 2022 1:02 am

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.
nemesis2002
 
Joined: 08 Jul 2021
Operating System: Windows 10/8.1/8/201x 64-bit

Re: How to add idle animation to weapon sprite?

Postby Kzer-Za » Sat Feb 05, 2022 2:04 am

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
Kzer-Za
 
Joined: 20 Aug 2017
Operating System: Other Linux 64-bit
Graphics Processor: nVidia (Modern GZDoom)


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 0 guests