Strange problem with Monster Replacement

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom 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.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Strange problem with Monster Replacement

Post by Hidden Hands »

I am running my mod with GZDoom and FREEDOOM2, and I'm having a problem I can't figure out. I have made replacement monsters for the DEMON/FleshWorm and the REVENANT/DarkSoldier. But something weird is happening. When I boot up the mod, they are still what they used to be - the Dark Soldier and the Flesh Worm. Why is this happening? It makes absolutely no sense because SOME demon/flesh worm replacements work fine - in the same level as others that do not. So sometimes I am attacked by a demon/flesh worm other times my custom monster AT THE SAME TIME. What on Earth is going on?

Also, my REVENANT/Dark Soldier monster replacement has another mental side effect - it appears as the graphics for the BESERK pack now. WHAT THE?

Thanks in advance.
User avatar
Hellser
Global Moderator
Posts: 2747
Joined: Sun Jun 25, 2006 4:43 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Citadel Station

Re: Strange problem with Monster Replacement

Post by Hellser »

We can't help you unless you share the wad/pk3 that you're working on. But it sounds like you have some sprite conflicts going on here.
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Strange problem with Monster Replacement

Post by ramon.dexter »

Sprite duplicates? This sounds like sprite duplicates.
osjclatchford
Posts: 2059
Joined: Mon Feb 07, 2011 5:02 am

Re: Strange problem with Monster Replacement

Post by osjclatchford »

Had you recently been using Slade to edit said mod and made the mistake that I did and not save properly and run doom while the was/pk3 is still open in Slade in the background. Done that once and the entire mod got funted. Everything was all swapped around and when I opened the file all the text lumps were all wrong and corrupted somehow some even had the complete wrong text in a file from another pk3 altogether. Dark magic, I know, but I just thought I'd throw it out there in case it's the same deal here. Just to let you know it can happen really.

But, yeah it sounds like you have conflicting sprite names for sure...
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Strange problem with Monster Replacement

Post by ramon.dexter »

osjc...: Well, most of the time during editing, I have side-by-side opened gzdoombuilder and slade. While I test, I never turn off slade, nor close the opened pk3 and I never had any problems.
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Re: Strange problem with Monster Replacement

Post by Hidden Hands »

After checking every single sprite it turned out one of my monsters 4 letter code name was PSTR - Same as the beserk pack. Fixed it with a rename. Thanks for all the input everyone.

Return to “Scripting”