Disabling "Missing sprite" sprites w/Automap cheat

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Disabling "Missing sprite" sprites w/Automap cheat

Postby DarkQuill » Thu Oct 28, 2021 11:37 pm

When actors are missing a sprite or a sprite is assigned incorrectly, the actor doesn't show at all for that frame, but with the Automap cheat turned on they (usually) show as a completely different sprite (if set to animated or rotated). It's a pretty neat testing tool otherwise.

Because what frame shows can be mod-dependent, and some mods are stacked with new actors, is there a way to either determine what sprite shows up, or disable missing sprites from showing something else appearing with the Automap cheat enabled? I'm guessing it's more of an engine thing rather than something I can apply a cheap quickfix to.

Example below;

https://i.imgur.com/CW0xd6P.png
User avatar
DarkQuill
 
Joined: 04 Dec 2008
Location: Australia, MAYTE

Re: Disabling "Missing sprite" sprites w/Automap cheat

Postby Rebecca Hoggleforth » Sun Oct 31, 2021 5:44 pm

Might be a bug. To quickly test this make a wad/pk3/zip with this in a decorate lump:

ACTOR sprite_missing_ZombieMan : ZombieMan replaces ZombieMan
{
States
{
Spawn:
POSS A 10 A_Look
WHOT B 10 A_Look
Loop
}
}

Load Doom2 Map01, set AM_CHEAT 2 and AM_SHOWTHINGSPRITES 3. See from the automap how the missing sprite is handled. For me it's replaced with PLYC sprites from game_support.pk3\filter\doom.id\sprites\plyc. If I use "POSS X 10 A_Look" as the missing sprite the automap will show SPOS sprites instead.
Rebecca Hoggleforth
 

Re: Disabling "Missing sprite" sprites w/Automap cheat

Postby DarkQuill » Fri Nov 05, 2021 4:01 pm

Yeah still showing as crouched player on the automap.

The mod I was using was trying to draw a bunch of misc actors as special flats rather than sprites, but the mod also included a menu option to toggle this back to sprites, which fixed 99% of the automap errors. Chalk it up to jank coding on the mod :P
User avatar
DarkQuill
 
Joined: 04 Dec 2008
Location: Australia, MAYTE


Return to General

Who is online

Users browsing this forum: Deon, piss mcshit and 4 guests