Heretic inventory mechanic and it's interesting thing

If it's not ZDoom, it goes here.

Heretic inventory mechanic and it's interesting thing

Postby cs89 » Fri May 21, 2021 12:14 pm

It wasn't the first time I've noticed that the amount of inventory items (e.g. the healing quartz flasks, the Tome of Power, Shadowsphere, Timebomb of the Ancients etc.) drops to one piece in Heretic when I proceed to the next map.
Those who played the fantasy-themed FPS game in the mid-90s may not have been bothered by the decrease in the inventory items, but I’m quite bothered that one piece is available from the items for the next map.
Is there a way to prevent a drop within the Inventory interface when loading the next level?
I mean there would be any commands or mods which preserves the inventory items, right?
cs89
 
Joined: 05 Jan 2011

Re: Heretic inventory mechanic and it's interesting thing

Postby Jarewill » Fri May 21, 2021 12:28 pm

I don't know of any commands other than directly giving yourself the items back.
You could however redefine all those items and give them the Inventory.InterHubAmount property.
That property means how many items are kept between levels.
By default it's 1, but if you raise it to 10, then 10 items will remain after moving through levels.

Edit: Example used with ArtiHealth from the wiki.
Code: Select allExpand view
ACTOR ArtiHealth2 : ArtiHealth replaces ArtiHealth 
{
    Inventory.InterHubAmount 25
}

I don't really play Heretic, so I don't know what's the max amount in it, so just set it to that.
All item classes can be found here.
Jarewill
 
 
 
Joined: 21 Jul 2019

Re: Heretic inventory mechanic and it's interesting thing

Postby Nash » Fri May 21, 2021 4:23 pm

Can probably be patched in with an event handler.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Heretic inventory mechanic and it's interesting thing

Postby StroggVorbis » Fri May 21, 2021 10:18 pm

User avatar
StroggVorbis
Donut eat me pls!
 
Joined: 08 Nov 2017
Location: Germany
Discord: StroggVorbis#2466
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Heretic inventory mechanic and it's interesting thing

Postby Nash » Fri May 21, 2021 10:57 pm

Here's a simple mod that lets you keep your items when exiting a level. Works only with Heretic.
You do not have the required permissions to view the files attached to this post.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Heretic inventory mechanic and it's interesting thing

Postby NeuralStunner » Sat May 22, 2021 9:08 am

Should be simple enough to go the other direction, too, and take all of them. IMO it's better for the game's overall balance.
User avatar
NeuralStunner
not actually a catgirl
 
 
 
Joined: 21 Jul 2009
Location: =o_O=
Discord: NeuralStunner#4201
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Modern GZDoom)


Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 0 guests