Limit time for selecting battle actions

Basic Idea:

-A battle starts. A timer for x (default 10) seconds appears somewhere on the screen.

-If the timer runs out before all characters in the player party have been given commands, then the game automatically proceeds to executing battle actions and any character with no selected action is forced to use a specific skill for the turn. (What I have in mind is a skill called Wait that does nothing.) Whether all actions were selected or not, the timer disappears when battle actions start executing.

-Next turn, the timer reappears and resets to x seconds. Repeat until battle ends.

Parameters:

Time - the amount of time provided for selecting battle actions

Time Out Skill - the skill id that's used if a character isn't given a command in time

Position - x and y coordinates for the timer on the screen

Window? - whether or not the timer gets it's own window or it simply appears without one

Show Minutes? - whether or not the timer has a minutes digit (would be pointless if you never give more than 59 seconds for selection)

Notetags:

Timer +/-: for characters, equipment, states, etc. Increases or decreases the time allowed by the specified number of seconds when present/equipped. (For example, an Easy Mode accessory that allows more time or a Panic state that allows less.)

Time Out Skill: for characters, equipment, states, etc. Overrides the default Time Out skill with the specified id when present/equipped.
10 seconds to give every character a command? really.... might be good idea to implement a low skill pool otherwise that will make the game unplayable due to boss fights
I don't think that boss fights will be a problem.... Boss fights should be the ones where you test your proficience with the battle system of the game. If you can't control your battle commands fast enougth, you really don't know your game's battle system well.

I would like to use this plugin too.
I like the idea, under pressure, decisionmaking is much more interesting, challanging, and, if the timer isn't set ridiculously low, fun.
I don't think that boss fights will be a problem.... Boss fights should be the ones where you test your proficience with the battle system of the game. If you can't control your battle commands fast enougth, you really don't know your game's battle system well.

I would like to use this plugin too.
 you dont understand, thats a total of 10 secs to give every party member a command, and if you have a large pool of skills, then that could take 4-5 looking for the skill which leaves 5 secs for every other party member (based on average player hand eye cordination, and hand dexterity)

it doesnt matter how well you know a system, 10 secs isnt near enough time to give commands to more then 2 members unless you just spam attack, which would force you to have your main healer in front of party so as to insure you always have time for healing commands, 

another problem is each turn would require your complete undivided attention and even a single distraction (like family) will cuase problems

there is a fine line between challanging/testing the player and being an rear end in a top hat (pardon the laguage) and this would cross it specially if more then three members are in the party

if it was edited to where each actor has 10 secs to decide thier action its fine, but to give the player only 10 seconds to decide for every party member or they dont act......just no
I'm trying to figure this out on my own, but I'm not so great with JS. Could be helpful for anyone who wants to do it, though.

Basically, you need to change the function of timers in battle from aborting battle to turnStart. This is easy to do. Just swap the abort function for the turnStart function at the end of Game_Timer in rpg_objects.js. Not really sure how to implement the timer, since MV's default timers aren't really versatile. I think you'd have to rewrite some of Game_Timer, to allow for editing the timer position, removing the minutes, etc.

This causes some problems, though. If the timer runs out at the party command window, you need to select fight or escape before the turn will actually start, probably because the window hasn't closed yet. If the timer runs out at the actor command window, you still need to select a command, and selecting one causes a crash because you're trying to select a command for an actor that can't accept one due to some flagging things that I don't fully understand yet. To fix this, the command windows need to be forcibly closed when the timer runs out.

Once the turn does start, actors that had no command issued will actually just skip their turns with no problems, so that's cool. There's other issues, though. The timer can conflict with the escape command. Even if escape succeeds, the turn will start anyway if the timer runs out during the "x tries to escape" message. Whatever scripting controls escaping needs to be rewritten to work regardless of the timer, but also in such a way that the player can't use the "unable to escape" message to effectively pause the timer.

The other thing I don't know how to do yet is adding the timer with a script. All this testing was done with an event timer started out of battle. The timer needs to be added at the beginning of battles and at the start of all command inputting. I imagine it's just calling a function of the timer in the right place, but I don't specifically know where.

To sum it up, whatever class controls escaping, the timer class, the battle_manager class, and probably some others need to be edited for this to work.

Original thread: https://forums.rpgmakerweb.com/threads/limit-time-for-selecting-battle-actions.54938/