Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003923Zandronum[All Projects] Suggestionpublic2021-11-10 11:152021-11-10 11:15
ReporterStardust Motion 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version3.1-beta 
Target VersionFixed in Version 
Summary0003923: [Coop only] A flag to remove Inventory, ignoring changemaps/death
Descriptiontl;dr : something like a +INVENTORY.LOSEONDEATH flag, which clears the inventory actor with this flag when the player respawns, EVEN if the corresponding sv_coop_lose<type> SV is false, and a +INVENTORY.LOSEONCHANGEMAP which does the same when changing maps.
> This is a QoL request. There's a workaround even if it's not implemented.

Hi, this is a --COOPERATIVE-- specific suggestion.
Coop game modes by default keeps the inventory between maps.
They also keep it on respawn if sv_coop_loseinventory (or "subsets" server variables : sv_coop_loseweapons, sv_coop_losepowerups, etc) is false.

But Inventory actors are often used as flags ("temporary" inventory).
For example, you could GiveInventory("thrownBoomerang") when the player throws a boomerang, and this thrownBoomerang is kept in your inventory until the boomerang returns, clearing it. This thrownBoomerang actor prevents firing the weapon until the boomerang returns.
But what if the map changes when the boomerang is thrown? You're stuck with the thrownBoomerang flag, soft-locking your boomerang weapon

Adding two flags +INVENTORY.LOSEONDEATH and +INVENTORY.LOSEONCHANGEMAP (placeholder names) to ignore Coop's SVs would be great, but note it's just a QoL dev.
The current workaround is to "purge", using TakeInventory (on ENTER or RESPAWN scripts) each Inventory actor which needed to be removed (in the RESPAWN case, it's also possible to have an external actor (in my example, the thrown boomerang) purge the flags when the player is detected as dead)
Ty for reading me

Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2021-11-10 11:15 Stardust Motion New Issue






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker