Does an MV version of this script exist?
Dash Stamina
RGSS3 Scripts (RMVX Ace)Is there a way to download this without going to a sketchy website which tells you that you have a virus just to make you download McAfee when windows clearly says you don't
there isn't even a way to download this
there isn't even a way to download this
Dash Stamina
This is really awesome for my Zombie game but how do you disable it for certain maps and then enable on maps you want?
forums.rpgmakerweb.com
how to hide number shown on the stamina bar?
edit: solved already
can you make a script call to reduce x amount of stamina?
edit: solved already
can you make a script call to reduce x amount of stamina?
Ruby:
# ╔═══════════════════════════════════════════════╦════════════════════╗
# ║ Title: Yami Engine Symphony - Dash Stamina ║ Version: 1.00 ║
# ║ Author: Roninator2 ║ ║
# ╠═══════════════════════════════════════════════╬════════════════════╣
# ║ Function: ║ Date Created ║
# ║ ╠════════════════════╣
# ║ Aloow Reducing Stamina ║ 22 Apr 2024 ║
# ╚═══════════════════════════════════════════════╩════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Requires: Yami Engine Symphony - Dash Stamina ║
# ║ ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Brief Description: ║
# ║ Use Script call to lower stamina ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Instructions: ║
# ║ YES.reduce_stamina(X) ║
# ║ Lose X stamina for player. ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Updates: ║
# ║ 1.00 - 22 Apr 2024 - Script finished ║
# ║ ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Credits and Thanks: ║
# ║ Roninator2 ║
# ║ ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Terms of use: ║
# ║ Follow the original Authors terms of use where applicable ║
# ║ - When not made by me (Roninator2) ║
# ║ Free for all uses in RPG Maker except nudity ║
# ║ Anyone using this script in their project before these terms ║
# ║ were changed are allowed to use this script even if it conflicts ║
# ║ with these new terms. New terms effective 03 Apr 2024 ║
# ║ No part of this code can be used with AI programs or tools ║
# ║ Credit must be given ║
# ╚════════════════════════════════════════════════════════════════════╝
#==============================================================================
# ■ Module Yami Engine Symphony
#==============================================================================
module YES
#--------------------------------------------------------------------------
# self.recover_stamina
#--------------------------------------------------------------------------
def self.reduce_stamina(amount)
$game_player.reduce_stamina(amount)
end
end # YES
#==============================================================================
# ■ Game_Player
#==============================================================================
class Game_Player < Game_Character
#--------------------------------------------------------------------------
# new method: recover_stamina
#--------------------------------------------------------------------------
def reduce_stamina(amount = 0)
@stamina -= amount
@stamina = 0 if @stamina < 0
end
end
thank you, but when i put the call in parallel it reduces the stamina when dashing but then immediately stamina recovers to full, so stamina is always full immediately even the auto recovery setting in the original script had been set up to recover slow (8000)
Show the event you have it set up on, because you're likely not doing this correctly.
this is the setting on the original script
whenever the game time is exactly to call the reduce stamina script, the stamina reduces but immediately goes full
So you reduce stamina by 2 every 15 minutes and restore 10000 after 8000 frames.
When you say immediately, you mean it recovers while you are standing still?
Which is what you have it set to do and the design of the script.
If you are moving and use the script call to lower the stamina, it should not go back up.
But if it is doing it right away...? odd bug. I can set up a test project to test this.
Will let you know.
So i found the issue. Small mistake on my part. I called the recover method not the reduce method
Script above updated
When you say immediately, you mean it recovers while you are standing still?
Which is what you have it set to do and the design of the script.
If you are moving and use the script call to lower the stamina, it should not go back up.
But if it is doing it right away...? odd bug. I can set up a test project to test this.
Will let you know.
So i found the issue. Small mistake on my part. I called the recover method not the reduce method
Script above updated
thank you it works now
Has anyone been able to work around this? I'm also having the same issue. The very first thing I do in my game is turn on the switch to disable the bar. Here's a gif. Right after the splash screen, the first map (not using the default menu) displays the bar for a microsecond. I tried adding a black picture but that didn't help. I'm guessing I need a script that will set a switch before the game even runs?
Original thread: https://forums.rpgmakerweb.com/threads/dash-stamina.6299/