じ☆ve冰风 发表于 2026-8-1 15:27:17

DoubleX RMVXA Tag Addon to Yami Engine Symphony - Battle Symphony

DoubleX RMVXA Tag Addon v1.00a to Yami Engine Symphony - Battle Symphony​
by DoubleX​

Prerequisites

Yami Engine Symphony - Battle Symphony

http://forums.rpgmakerweb.com/index.php?/topic/6037-battle-engine-symphony/?hl=%2Bbattle+%2Bengine+%2Bsymphony

Introduction

Allows users to add their own symphony tags for battler selections

Spoiler#==============================================================================|#** You only need to edit this part as it's about what this script does      |#------------------------------------------------------------------------------|module DoubleX_RMVXAmodule YES_BattleSymphony_Tag_Addon    # This method will only be called by methods get_action_mains and    # get_action_targets under class Scene_Battle    def self.symphony_tag(action, result)      case action      # Example new symphony tag: id x, game actor with id x      when /ID[ ](\d+)/i      result.push($game_actors[$1.to_i])      #      #-------------------------------------------------------------------------      # Add your own symphony tags here            #      #-------------------------------------------------------------------------      end      return result    end # self.symphony_tagend # YES_BattleSymphony_Tag_Addonend # DoubleX_RMVXA#==============================================================================|



SpoilerYou may want to 'upgrade' the example new symphony tag to this(it can handle any number of game_actor ids):

# Example new symphony tag: id x y - game actors with id x and y respectivelywhen /ID[ ](\d+(?:\s* \s*\d+)*)/i$1.scan(/\d+/).each { |num|    result.push($game_actors)}



Features

Decent symphony tag and scripting knowledge is needed to use this script

How to use

Open the script editor and put this script into an open slot below the script Yami Engine Symphony - Battle Symphony but above Main. Save to take effect.

FAQ

Q1: How to use symphony tags?

A1: Check http://forums.rpgmakerweb.com/index.php?/topic/19884-a-guide-to-yamis-battle-symphony/?hl=symphony

Q2: How to add new symphony tags using this script without having any scripting knowledge?

A2: You can ask for solutions to deal with specific tags you want to add here(but I may be too nub to answer
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 ), but right now I don't think I'm competent enough to teach general knowledge for adding new symphony tags XD

Credit and Thanks

DoubleX(Giving me credit is completely optional)

The terms of use is the same as that of Yami Engine Symphony - Battle Symphony except that you must also give Yami credit(you should do this anyway) if you give DoubleX or his alias credit

Compatibility
Same as that of Yami Engine Symphony - Battle Symphony

Changelog

v1.00a(GMT 0200 7-3-2014):

- 1st version of this script finished

(DoubleX)YES-Symphony Tag Addon v1.00a.txt


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmvxa-tag-addon-to-yami-engine-symphony-battle-symphony.24604/
页: [1]
查看完整版本: DoubleX RMVXA Tag Addon to Yami Engine Symphony - Battle Symphony