Forever - Smart sprite clipping dehacked bodies -> monsters
Posted: Sat Sep 05, 2009 22:51
This is something that I have been meaning to mention for... well, for years I guess. However, I suspect that it may just be something that has to be fixed with user preferences.
As an example my NJ Zdoom 2001 uses dehacked to change the dead zombieman into a "super imp". As far as I can remember, everything is set correctly - the new monster works, bleeds, counts towards kills etc. However, when adjust sprite clipping is set to smart, GZdoom is obviously not recognising the new enemy as a living enemy and does not raise it up.
Setting adjust sprite clipping to always fixes it.
If you want to see it, load the WAD and summon deadzombieman. If you have adjust sprite clipping set to smart, a grey imp will appear with his feet somewhere below the floor.
My guess is that GZdoom looks for a flag that is not settable in dehacked when deciding whether to adjust a sprite or not?
As an example my NJ Zdoom 2001 uses dehacked to change the dead zombieman into a "super imp". As far as I can remember, everything is set correctly - the new monster works, bleeds, counts towards kills etc. However, when adjust sprite clipping is set to smart, GZdoom is obviously not recognising the new enemy as a living enemy and does not raise it up.
Setting adjust sprite clipping to always fixes it.
If you want to see it, load the WAD and summon deadzombieman. If you have adjust sprite clipping set to smart, a grey imp will appear with his feet somewhere below the floor.
My guess is that GZdoom looks for a flag that is not settable in dehacked when deciding whether to adjust a sprite or not?