Heretic inventory mechanic and it's interesting thing

If it's not ZDoom, it goes here.
Post Reply
cs89
Posts: 91
Joined: Wed Jan 05, 2011 3:42 am

Heretic inventory mechanic and it's interesting thing

Post by cs89 »

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?
Jarewill
 
 
Posts: 1853
Joined: Sun Jul 21, 2019 8:54 am

Re: Heretic inventory mechanic and it's interesting thing

Post by Jarewill »

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 all

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.
User avatar
Nash
 
 
Posts: 17500
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Heretic inventory mechanic and it's interesting thing

Post by Nash »

Can probably be patched in with an event handler.
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: Heretic inventory mechanic and it's interesting thing

Post by StroggVorbis »

User avatar
Nash
 
 
Posts: 17500
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Heretic inventory mechanic and it's interesting thing

Post by Nash »

Here's a simple mod that lets you keep your items when exiting a level. Works only with Heretic.
Attachments
KeepHereticArtifacts.pk3
(568 Bytes) Downloaded 53 times
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Heretic inventory mechanic and it's interesting thing

Post by NeuralStunner »

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.
Post Reply

Return to “Off-Topic”