upgrade stamina

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
twelvenipon
Posts: 26
Joined: Sat Apr 29, 2017 7:12 am

upgrade stamina

Post by twelvenipon »

i just want to know how to remove strife feature upgrade stamina, i mean i need reset stamina upgrade after death, sorry i first time use it and failed to do :D
User avatar
Player701
 
 
Posts: 1707
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: upgrade stamina

Post by Player701 »

As far as I'm aware, the stamina resets itself upon respawning in any type of multiplayer game, be it cooperative or deathmatch. That is true at least for GZDoom 4.5.0, because I've just run a test myself. If for some reason it doesn't reset for you, this means you're either using an older version of GZDoom or perhaps Zandronum (in this case it may be either a bug or a feature, you may want to report it to their bug tracker). Or, unlikely as it may be, you could be using some sort of mod that keeps track of the stamina upgrades and gives them back to players upon their respawning.
User avatar
twelvenipon
Posts: 26
Joined: Sat Apr 29, 2017 7:12 am

Re: upgrade stamina

Post by twelvenipon »

thanks for answear, i am using both but this time older version of GZDOOM 3.5.0 cuz is much faster for me and not sure if this is problem or something else, i do quick test with 3.5.0 and i try clear stamina with giveinventory ( new stamina upgrade ) staminaupgrade Inventory.Amount 0, Inventory.MaxAmount 0, and it seems the stamina is reset now
User avatar
Player701
 
 
Posts: 1707
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: upgrade stamina

Post by Player701 »

twelvenipon wrote: i am using both but this time older version of GZDOOM 3.5.0 cuz is much faster for me
Try LZDoom instead, it should be just as fast and with all the new features and bugfixes from the latest official GZDoom release.
User avatar
twelvenipon
Posts: 26
Joined: Sat Apr 29, 2017 7:12 am

Re: upgrade stamina

Post by twelvenipon »

Thank you for your advice, i dont know that, i will try
Post Reply

Return to “Scripting”