设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 75|回复: 0

[转载发布] Instant Turn Battle

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Instant Turn Battle
            By DreamX

             
    Introduction/Features


            Battlers perform actions instantly in an order decided by their agility. A turn ends after each battler acts. The order will be adjusted in-turn if a battler's agility is increased or decreased. This means that an example action order could be Enemy-Actor-Enemy-Enemy-Actor-Actor-Enemy.


            My goal for this plugin is to make a battle system that is easy to understand and balance, and fast to play. One of my disappointments with the default battle system is how you need to process each actor's input before the actions are performed. This makes things feel sluggish. In addition, you could not adjust your tactics during the turn in response to how the battle was developing. I have noticed that some people have found difficulty balancing or understanding the turn mechanics in CTB and ATB scripts, so I believe the more predictable nature of this ITB script may be appreciated.


            This script itself was  based off of Yanfly's CTB script.


            As mentioned in the script documentation, please remember to credit them should you use the script.


    Script


    How To Use


    Set the battle type to itb in Yanfly's Battle Engine Core.


    Set under Yanfly plugins.


    You MUST turn Dynamic Actions off if you're using YEP Battle AI Core!


    I should note that you shouldn't be using anything less than 100% for Action Times+ trait in states. You can, but it'll be considered 100% by the plugin. The reason for this is that I need to keep track of the action times+ states with every action, so having less than 100% is not very compatible. If you want a chance to add an extra action, apply that to the state itself (from skill/item effect) rather than the trait.


    Compatibility


            There's a good chance that this plugin is not very compatible with other plugins that either alter or are based off of a different turn structure. If you spot incompatibility and would like me to introduce either a compatibility patch or intergration of what that plugin offered, let me know.


    Future Updates


    • I'd like to have the visible turn order also predict the new turn order when hovering over skills that would alter it.
    • Be able to have skills that have be charged up for x amount of turns before use.
    • Be able to have team-up skills that require two or more actors to use.


                    Code:       
    1. * ============================================================================
    2. * How To Use
    3. * ============================================================================
    4. Set the battle type to itb in Yanfly's Battle Engine Core.
    5. Use <free_itb_action> as a skill/item notetag to prevent
    6. it from consuming an action for the battler - they will be able to act
    7. again after it is used.
    8. Do NOT use YEP Instant Cast to do this - it won't work.
    9. Make sure to set the parameters to your liking.
    10. Put the <noExtraElemenWeaknessAction> notetag on a state to disallow opponents
    11. from getting an extra action from hitting the battler in their weakness.
    12. Put <elemWeaknessState:x> with x as the state id as a notetag for an actor or
    13. enemy to define which state is applied when they are hit in their weakness.
    14. This overrides the parameter setting for that actor or enemy. Use 0 to disable
    15. states from being applied from being hit in the weakness.
    16. Use <reAddBattler> in a skill/item to readd a battler to the pool of battlers
    17. if they had already finished their previous actions. Must be used with a state
    18. that increases action times.
    19. To use a custom ready overlay, use a file in the same folder and same style as
    20. States.png in img/system, make sure the parameter is set to the custom file
    21. name.
    22. * ============================================================================
    23. * Turn Order Window
    24. * ============================================================================
    25. Use <ITBSheet: x y z> with x being whatever you want, y being the number of
    26. columns and z being the number of rows, to specify the image sheet for the
    27. turn order window icon for the actor or enemy. The filename required for the
    28. image will be the notetag without leading spaces. See example below.
    29. Use <ITBSheetIndex: x> to specify the index used for that image with x as
    30. the index.
    31. Example:
    32. <ITBSheet: TurnIcons 9 10>
    33. <ITBSheetIndex: 1>
    34. This will use the sheet "TurnIcons 10 10.png" with 9 rows and 10 columns.
    35. The index will be 1. Indices start at 0.
    36. If you do not specify the rows and columns in the filename, the default
    37. parameters will be used instead.
    38. You will name the end turn sheet used in the parameter "End Turn Sheet"
    39. the same way.
    40. The plugin will trim the spaces in the beginning and end of the
    41. notetag/parameter so do not use leading and trailing spaces in your filename.
    42. For example, use (without quotes)
    43. "turnIcons 9 10.png"
    44. instead of
    45. "     turnIcons 9 10   .png"
    46. * ============================================================================
    47. * Patch Notes/Known Issues/Future Updates
    48. * ============================================================================
    49. * See the forum thread for patch notes:
    50. * http://forums.rpgmakerweb.com/index.php?/topic/54880-instant-turn-battle-system/
    51. * ============================================================================
    52. * Terms Of Use
    53. * ============================================================================
    54. Free to use and modify for commercial and noncommercial games, with credit.
    55. This script was based off of Yanfly's Battle System - Charge Turn Battle
    56. and was programmed using Yanfly's Battle Engine Core turned on. Please credit
    57. them for both scripts.
    58. * ============================================================================
    59. * Credits
    60. * ============================================================================
    61. DreamX
    62. Yanfly - "Battle System - Charge Turn Battle" & "Battle Engine Core"
    复制代码




    本贴来自国际rpgmaker官方论坛作者:DreamX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/instant-turn-battle.58464/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 04:54 , Processed in 0.070009 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表