Export and virtualize inventory reset functions @level exit

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Rachael
Admin
Posts: 13254
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Export and virtualize inventory reset functions @level exit

Post by Rachael »

I think gameplay mods would really benefit from having more control over this set of function calls: https://github.com/coelckers/gzdoom/blo ... 2074-L2085

Would it be going too far for me to make that into a virtual function call?
User avatar
Major Cooke
Posts: 8109
Joined: Sun Jan 28, 2007 3:55 pm

Re: Export and virtualize inventory reset functions @level e

Post by Major Cooke »

If it means having a way to restore them post death exit, I'm all for it. I'd love to have it for my mods, because there's a lot of build-up and having to go through a death exit just sucks. Which is why I had developed a hack to restore the items after death, but if it's possible to help ensure they're kept, I'm all for it.
User avatar
kevansevans
Spotlight Team
Posts: 409
Joined: Tue Oct 05, 2010 12:04 am
Graphics Processor: nVidia with Vulkan support

Re: Export and virtualize inventory reset functions @level e

Post by kevansevans »

Would greatly appreciate this one. Most elegant solution I have right now is checking every frame if the inventory has been reset, which I can't account for every possible combination someone may have done it.

Return to “Feature Suggestions [GZDoom]”