Press Turn Battle System

Discussion in 'VXAce Luna Engine Support' started by Archeia, May 23, 2015.

  1. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Press Turn Battle System
    Made by Yami
    Edited by Archeia and Fomar0153
    The Press Turn Battle System (PTB) employs the Turn Icon 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

    • There is the priority of the outcome to determine which result on Turn Icon takes place if the outcome of the attack which targets multiple targets is mixed, from high to low: repelled/absorbed > dodged/nullified > critical/weakness > normal/missed/resisted.
    • Effects on Turn Icon which have multiple possibilities for one type of action result are listed in the order from high to low which indicates the priority. Except for attack which deals critical damage or exploits the target's weakness, half icon is always consumed first.
    • There is no real penalty if the remaining icon is less than the actual icons consumed in case of nullified or dodged attack. This means the player can safely use multi-target attack if any one of the opponents nullifies it but the other does not when there is only one icon remains.
    • If the target is both weak/critical and resist to the attack, the weak/critical part takes place.
    • Attack which has its own hit-rate (e.g. ailment or insta-death skills) and is not dodged by the target is regarded as performing action with 'normal' outcome and does not consume extra icon. Also "resisting" (reducing specific elemental damage) is treated as normal outcome as well.
    • Mechanics Reference
     
    Last edited: Mar 1, 2017
    #1
    Chaos Avian, FM77, Zeriab and 13 others like this.
  2. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    How to Apply?

    Make sure to follow this script order or you can be sure that I will ignore all your script questions.

    Also this is standalone, I do recommend you use it with Yanfly's Battle System. It doesn't really require Luna Engine.

    [​IMG]
     
    Last edited by a moderator: May 23, 2015
    #2
    Marquise* and Bonkers like this.
  3. nio kasgami

    nio kasgami VampCat Veteran

    Messages:
    8,590
    Likes Received:
    2,338
    Location:
    Canada / Quebec
    First Language:
    French
    okai good~let's check if this work with tankentai haha if not I will make a patch who make it compatible but if you don't overwrited battle_start and battle_end it should work like a charm~

    Edit : and this work like a sharm! left me couple minute and I will show how to proprelly install your PTB with tankentai because I had some pain >_> ...
     
    Last edited by a moderator: May 23, 2015
    #3
  4. Uzuki

    Uzuki Kawaii on the streets, Senpai in the sheets Veteran

    Messages:
    1,734
    Likes Received:
    1,173
    Location:
    Georgia
    First Language:
    English
    Primarily Uses:
    RMMV
    YES! Finally a proper SMT battle system! Thank you so much, Archeia! I've been waiting for something like this since I started RM.
     
    #4
  5. nio kasgami

    nio kasgami VampCat Veteran

    Messages:
    8,590
    Likes Received:
    2,338
    Location:
    Canada / Quebec
    First Language:
    French
    Here you go guys ~ 

    How to apply with tankentai?

    if you not apply in this order the gauge will not update proprely ...I mean the script will not even work and this will turn like the normal battle system

    [​IMG]
     
    #5
  6. DoubleX

    DoubleX Just a nameless weakling Veteran

    Messages:
    1,447
    Likes Received:
    537
    First Language:
    Chinese
    Primarily Uses:
    N/A
    Off topic: Just a bit interested in why this scipt's posted under Luna Engine Boards instead of RGSS3 Scripts(RMVX Ace), given that this script's standalone(just saying) :)
     
    #6
  7. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Because I only provide support for it if it's used by Luna Engine (or Patreon) users/contributors. It's really hard to do support and I don't have much time for it ._.
     
    Last edited by a moderator: May 23, 2015
    #7
    DoubleX and nio kasgami like this.
  8. DoubleX

    DoubleX Just a nameless weakling Veteran

    Messages:
    1,447
    Likes Received:
    537
    First Language:
    Chinese
    Primarily Uses:
    N/A
    Haha, got it lol(didn't expect the answer is something like this XD)

    (Just my wild guess)Some users without using Luna Engine as well might end up asking someone else to do the job(it seems to me that it's allowed) :D
     
    #8
    Archeia likes this.
  9. CrazyCrab

    CrazyCrab Veteran Veteran

    Messages:
    952
    Likes Received:
    395
    Location:
    London, England
    First Language:
    Polish
    Hmm, this looks really cool, been looking for an engine that could do the whole ''action points in Shadowrun Returns'' engine and while this isn't exactly it, it would work for a 1-person party.

    I bought Luna engine a while ago, but was overwhelmed by the number of scripts to be honest ^^' I guess I can still learn how to use it in time for the IGMC hopefully though.
     
    #9
  10. Dr.Yami

    Dr.Yami 。◕‿◕。 Developer

    Messages:
    992
    Likes Received:
    712
    Location:
    Finland
    First Language:
    Vietnamese
    Primarily Uses:
    Other
    Almost forgot that we had this one lol
     
    #10
    Archeia likes this.
  11. nio kasgami

    nio kasgami VampCat Veteran

    Messages:
    8,590
    Likes Received:
    2,338
    Location:
    Canada / Quebec
    First Language:
    French
    do you allow to publish add-on in the luna board for this battle system o/ ? (because I had some little idea to add to the battle system  haha )
     
    #11
  12. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Post on the RGSS3 Scripts as usual. The problem is that if it's in Luna Boards it's assumed we (Yami and I) will be officially supporting it, which we won't.
     
    #12
    DoubleX likes this.
  13. KinRyuTen

    KinRyuTen Villager Member

    Messages:
    23
    Likes Received:
    1
    First Language:
    English
    Is this available for commercial use?

    EDIT: Found the buy button...  Disregard the forum idiot.
     
    Last edited by a moderator: Jun 4, 2015
    #13
  14. Lonewulf123

    Lonewulf123 Veteran Veteran

    Messages:
    236
    Likes Received:
    69
    Location:
    United States
    First Language:
    Enlish
    Hello, 

    This is a great script! I was able to implement it simply. 

    I noticed in some images there was a script for implementing common event before a enemy or player phase. Does this allow you to show images that say "player phase" or "enemy phase" before turns are taken?

    I looked around your site, but didn't notice this add-on.

    Thanks once again for the amazing script!
     
    #14
  15. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    It's not included in there. Sorry.
     
    #15
  16. KinRyuTen

    KinRyuTen Villager Member

    Messages:
    23
    Likes Received:
    1
    First Language:
    English
    Gonna sound dumb, how do I make the pass skill?

    EDIT: I should really just read before I ask.  I found it.
     
    Last edited by a moderator: Sep 3, 2015
    #16
  17. KeyToTruth12

    KeyToTruth12 Grammar Nazi Veteran

    Messages:
    124
    Likes Received:
    7
    Location:
    http://forums.pcsx2.net/User-KeyToTruth12
    First Language:
    English
    Hey Archeia, great battle system!

    But I have a question, where did you get those visuals? I mean the press turn indicators. When I try to battle test it gave me an error about some graphics. I obviously don't have them xD.

    EDIT: well besides from the graphics, it seems I can't make my pass skill to work properly. When I pass, it should cost half a turn, but it always costs 1 turn. Do you know how to fix this? I'm not really sure with my Pass skill either.
     
    Last edited by a moderator: Sep 20, 2015
    #17
  18. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    You create the graphics. Check the script for pass turns or whatever.
     
    #18
  19. KeyToTruth12

    KeyToTruth12 Grammar Nazi Veteran

    Messages:
    124
    Likes Received:
    7
    Location:
    http://forums.pcsx2.net/User-KeyToTruth12
    First Language:
    English
    Yeah I have the graphics now. But my Pass command is not working properly like I said, it costs a turn icon rather than half of it. I have all the scripts lined up like the picture, and my Pass skill is fine. Can you provide a fix? If you need screens just ask.
     
    #19
  20. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,133
    Likes Received:
    13,204
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    You're not getting my post. Check the PTB script itself and search for the arrays where the turn costs are dictated. I also don't provide support for PTB or most scripts anymore as I stopped using Ace. There are many ways to workaround the costs of PTB skills.
     
    Last edited by a moderator: Sep 23, 2015
    #20

Share This Page