How to prevent bugs within or access flat/texture animation tables?

Need help running various source ports? Did your computer break? Ask here.

Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers

Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
User avatar
Phantasm
Posts: 1
Joined: Tue Dec 30, 2025 6:16 am
Preferred Pronouns: It/Its
Operating System Version (Optional): Windows 10
Graphics Processor: Not Listed

How to prevent bugs within or access flat/texture animation tables?

Post by Phantasm »

Hello all, I keep running into this problem that Gez explained a while ago:


A quote from Gez:

"I remember getting this kind of mess a long time ago when I tried shoe-horning all the resources from all the games in a pk3. In fact this was because doing so had clobbered the flat/texture animation tables (which depend on their order because vanilla animations have a start and a stop and tacitly includes everything in-between) so all the animations cycled through every single graphics. It was pretty funky."

When I try to run multiple mods that use a lot of monster sprites, it starts to turn everything into this mess of random sprites being cycled through, like the imp or a tree will turn into a random cycle of all the sprites, despite nothing in the code pointing it to that sprite. Every time GZDoom is loaded up, a different selection of sprites will cycle through for those actors, with no rhyme or reason.
The imp will cycle through torches, Romero head, decorations on one gameplay, the next they'll become weapon sprites, pickup sprites, zombieman death animations. It really doesn't make any sense to me.

It had something to do with the animation table being screwed up. There's no animation tables, textures, flats, models, ACS, ZScript, DeHacked, or anything like that in the mods that I use, just Decorate, sounds and sprites.

I just need to know if this is a known bug that does this in GZDoom if there is an overload of sprites, or if there is a way to access these "flat/texture animation tables" he speaks of and the best ways to avoid it being "clobbered", like he said.

What would be the best approach to stop anything from touching those tables, which I assume are within Doom2.wad or GZDoom.pk3. Nothing points to anything like that in the mods, it is just randomly messing with those tables out of the blue.

Unfortunately, I am unable to upload any files, as they are custom edited mods that I don't have the credit for.

Cheers! :cheers:

Return to “Technical Issues”