Hi guys, i using SRD_TimerUpgrade, it works very well, but i think i have a small problem, i using that for the battle, so i need that when the battle finish the timer stop and disappear, have a way for remove it after fight? of course when another battle start it need return
Timer Upgrade
RPG Maker MV Supportyou can do that with a common event when the battle timer is run out.
however, there is a bug in the timer upgrade, as it common event doesn't
play, the fix for that is on the the website.
as I modified mine a bit more, it has the fix, but you can bound it
with a switch, as I use it with a windowUpgrade, this timer is bound to a
variable to gain more control over it.
this way, the switch is flipped to ON and OFF to abort the effect.
this is also what you look for.
if the battle is over, the time is 0, and or reset to x to run.
you can combined it with "pause" plugin command and run it, but that
require how the battle work, consecutive battles require pause, where
new battle doing a consecutive reset the timer (which I think you don't want).
so it require an addition switch to check this to make it work.
if you can extend the details you are after, I might be able to help you achieve it.
however, there is a bug in the timer upgrade, as it common event doesn't
play, the fix for that is on the the website.
as I modified mine a bit more, it has the fix, but you can bound it
with a switch, as I use it with a windowUpgrade, this timer is bound to a
variable to gain more control over it.
this way, the switch is flipped to ON and OFF to abort the effect.
this is also what you look for.
if the battle is over, the time is 0, and or reset to x to run.
you can combined it with "pause" plugin command and run it, but that
require how the battle work, consecutive battles require pause, where
new battle doing a consecutive reset the timer (which I think you don't want).
so it require an addition switch to check this to make it work.
if you can extend the details you are after, I might be able to help you achieve it.
Basically the idea is this:
Start the hunt and the time begins (60 minutes or 30 minutes, depends on what hunt you are doing)
In all this time you have to look for the creature to hunt while the time continues to go, i already have a timer created without plugins, the classic timer with images and variables, but in combat it seems to me to be a bit out of time since the game I am creating is a CTB, so basically it should not stop during the battles but continues to run, when you complete or fail the hunt then the timer disappears and reloads in the next hunt
As a point of inspiration take Monster Hunter, it is closer to the time system
I would like to continue using the image clock because it gives that unique touch but amen,
if it's RL timer you want, SRD can work, but you have to use the plugin command
to pause it, and run it after winning.
while you can set the timer on the variable value, you can use YEP plugin to set
a template for all battles or set it manually to run manually to pause on turn 1
and on end battle/win or lose, continue the timer.
I didn't test the timer in battle how it looks though.
you or how to pause a evented timer, as it runs a parallel process, a switch can stop it.
if OFF, wait = 60 and variable value -1, if ON, nothing happens here, maybe the value
is show, but no variable set unless its off again.
how your system is set, is based how accurate it work together, else it needs
to modify that it works equal.
so try to use the plugin command to set with the switch to pause it and unpause the timer,
but I only know the game by name, never play it as it is not my genre though.
to pause it, and run it after winning.
while you can set the timer on the variable value, you can use YEP plugin to set
a template for all battles or set it manually to run manually to pause on turn 1
and on end battle/win or lose, continue the timer.
I didn't test the timer in battle how it looks though.
you or how to pause a evented timer, as it runs a parallel process, a switch can stop it.
if OFF, wait = 60 and variable value -1, if ON, nothing happens here, maybe the value
is show, but no variable set unless its off again.
how your system is set, is based how accurate it work together, else it needs
to modify that it works equal.
so try to use the plugin command to set with the switch to pause it and unpause the timer,
but I only know the game by name, never play it as it is not my genre though.
can you do a example in someway? cuz i think i don't understand the process T.T
can you show the current set up of the event and timer, so I can base it on that?
I fixed, basically i did
Start battle (in the troop panel {Game_is_On} Switch that i putted active since the start game and Span "Battle"):
- SetTimer 0 0 60 0
- SetExpireCommonEvent 61
If win:
- SetTimer 1 0 0 0
- SetExpireCommonEvent
If Lose
- GameOver
With the Plugin SRD_GameOverCore
- End Common Even 62
= COMMON EVENTS =
61 :
- Game Over
62 :
- SetTimer 1 0 0 0
- SetExpireCommonEvent
It looks work how i wanted, was this what u said to do?
similar to that, but same effect probably 🙂
make sure you added the fix on his site so the CE will be played correctly.
which was on line 286
if (result < 0) result = 0;
should be readed:
if (result < 0) result = 1;
this to make it 1 frame to process the Common event to be executed.
make sure you added the fix on his site so the CE will be played correctly.
which was on line 286
if (result < 0) result = 0;
should be readed:
if (result < 0) result = 1;
this to make it 1 frame to process the Common event to be executed.
Original thread: https://forums.rpgmakerweb.com/threads/timer-upgrade.169620/