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

Export and virtualize inventory reset functions @level exit

Postby Rachael » Sat Dec 11, 2021 7:40 am

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
Rachael
^ walking stack of unfinished projects ^
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Graphics Processor: nVidia with Vulkan support

Re: Export and virtualize inventory reset functions @level e

Postby Major Cooke » Sat Dec 11, 2021 11:36 am

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
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: Export and virtualize inventory reset functions @level e

Postby kevansevans » Sat Dec 11, 2021 12:22 pm

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.
User avatar
kevansevans
Disciple of The Great God Imp
Spotlight Team
 
Joined: 05 Oct 2010
Github ID: kevansevans
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests