The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: Nessiah on May 24, 2015, 06:08:41 PM

Title: Press Turn Battle System
Post by: Nessiah on May 24, 2015, 06:08:41 PM
Press Turn Battle System (http://divisionheaven.wordpress.com/scripts/press-turn-battle-system/)

<a href="http://www.youtube.com/watch?v=SiXtKPd-K7Q" target="_blank">http://www.youtube.com/watch?v=SiXtKPd-K7Q</a>

Made by Yami
Edited by Archeia and Fomar0153

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FHiDVldD.png&hash=b6f9e156689a739e60fa1338016309d9369d96c1) (http://www.patreon.com/archeia)

The Press Turn Battle System (PTB) employs the Turn Icon to appear in the upper right in either red (corresponding to your enemies) or blue/green (corresponding to you and your allies). For the most part, there will be the same amount of Turn Icons as there are units on each side. Generally, every action consumes one Turn Icon. When all Turn Icons are used up, the phase switches to the other side and continues until the battle has ended. The Turn Icon issued at the beginning of each phase is always a "whole" icon, but depending on the result of the action, the whole icon may turn into a "half" (blinking) icon, effectively increasing the number of actions one side can take within that phase. However, a failed result will always consume more Turn Icons.

In Digital Devil Saga series, the combo skills require two or three icons, depending on how many participants required to perform the skill. If the remaining icons do not suffice (regardless of whole and half), the combo skill is not executable.

When the effective Turn Icons exceed the size of the team due to passing, scoring critical hit, etc., the action order will rewind back to the teammate who acted first and continue until all Turn Icons deplete. In Shin Megami Tensei III: Nocturne and Shin Megami Tensei IV, the action order is dictated by the agility stats of all combatants of one side. In Digital Devil Saga series, player can manually arrange the order, regardless of the agility.
 
Some battle units may possess more than one press icon such as most bosses. In Shin Megami Tensei III: Nocturne, most bosses and semi-bosses have two Turn Icons initially. Demi-fiend himself will be bestowed with 1 more Turn Icon by Izanagi and Izanami after finishing the Burial Chamber challenge in the Labyrinth of Amala. In Digital Devil Saga series, some late-game bosses possess even more Turn Icons. For example, Garuda and Jatayu have 3 Turn Icons; Brahman and Satan have 5; Ananta has 7; and Orochi has 8 who tops the ranking.
 
Many active skills which creates extra Turn Icons of that turn are mostly exclusive to enemies. In random encounter, the enemies who possess such skills usually cast it when it is fought alone.
 
Action Mechanics
* It is possible to set this up in the script.
 
> If an Attack has been repelled or absorbed. Or if the party failed to retreat
* Consumes all remaining icons and swaps to the enemy phase instantly.
 
> If an Attack being nullified or dodged

* Consumes two half icons;
* If both half and whole icons remain but the remaining half icon does not suffice, one half icon and one whole icon are consumed;
* Consumes two whole icons if no half icon remains.

> If an Attack which deals critical damage or exploits the target's weakness
* Changes one whole icon to half;
* Consumes one half icon if no whole icon remains.
 
> Performing any action with "normal" outcome (hit/missed/resisted)
* Consumes one half icon;
* Consumes one whole icon if no half icon remains.
 
> Passing turn to the next ally
* Consumes one half icon;
* Changes one whole icon to half if no half icon remains.
 
> Using the skill "Beast Eye" or "Rage"
* Consumes one half icon to add two half icons;
* Consumes one whole icon to add two half icons if no half icon remains.
 
> Using the skill "Guardian's Eye"
* Consumes one half icon to add three half icons;
* Consumes one whole icon to add three half icons if no half icon remains.
 
> Using the skills "Dragon Eye", "Psycho Rage" or item "Impel Stone"
* Consumes one half icon to add four half icons;
* Consumes one whole icon to add four half icons if no half icon remains.

Notes
Mechanics Reference (http://megamitensei.wikia.com/wiki/Turn_Press)

Script Order
Make sure to follow this script order.
Also this is standalone, I do recommend you use it with Yanfly's Battle System. It doesn't really require Luna Engine.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fe36oglJ.png&hash=13ae129a68f06624547080fcd98f062a9271c127)
Title: Re: Press Turn Battle System
Post by: modern algebra on June 27, 2015, 02:37:49 AM
Wow Nessiah, this script looks like a huge improvement on the default battle system. I'm sorry I haven't been around to drool before now!