设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1882|回复: 5
打印 上一主题 下一主题

[已经过期] MOG_Battle_Cry(战斗人物语音)与横板共用出问题

[复制链接]

Lv1.梦旅人

梦石
0
星屑
48
在线时间
331 小时
注册时间
2012-5-4
帖子
158
跳转到指定楼层
1
发表于 2013-3-20 16:13:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
很久以前的ACE_Master_Demo系统中有个MOG_Battle_Cry脚本,用来播放人物在战斗中的各种语音。
但与SideView横板共用时只能播放开始语音,受伤语音等,攻击语音与技能语音没了。
有木有哪位好淫知道怎样让这个脚本和横板完美共用呢?谢啦~~~

MOG_Battle_Cry可以单用,脚本如下:
SE文件在此:
SE.zip (959.81 KB, 下载次数: 79)
RUBY 代码复制
  1. #==============================================================================
  2. # +++ MOG - Battle Cry (V1.0) +++
  3. #==============================================================================
  4. # By Moghunter
  5. # [url]http://www.atelier-rgss.com[/url]
  6. #==============================================================================
  7. # Sistema de execução de multiplas vozes aleatórias durante a batalha.
  8. # O sistema funciona tanto para inimigos como para os personagens.
  9. #===============================================================================
  10. module MOG_BATTLE_CRY
  11.  
  12.   # Não modifique essa parte.
  13.   # ☢CAUTION!!☢ Don't Touch.^_^
  14.   ACTOR_SKILL = []
  15.   ACTOR_ITEM = []
  16.   ACTOR_GENERAL_ACTION = []
  17.   ACTOR_DAMAGE = []
  18.   ACTOR_RECOVER = []
  19.   ACTOR_DEFEATED = []
  20.   ACTOR_BATTLE_START = []  
  21.   ACTOR_BATTLE_END = []
  22.   ACTOR_BATTLE_ESCAPE = []
  23.   ACTOR_TURN_ACTIVE = []  
  24.   ENEMY_SKILL = []
  25.   ENEMY_GENERAL_ACTION = []
  26.   ENEMY_DAMAGE = []
  27.   ENEMY_RECOVER = []
  28.   ENEMY_DEFEATED = []
  29.  
  30.   # ----------------------------------------------------------------------------
  31.   # Definição do volume da voz.
  32.   VOLUME = 130
  33.  
  34.   # Exemplo de configuração geral, o modo de configurar é igual para todas as
  35.   # ações do battler.
  36.   #
  37.   # ACTOR_SKILL[ A ] = {  B=>["C","C","C"],
  38.   #
  39.   # A - ID do battler.
  40.   # B - ID da skill. (Caso necessário)
  41.   # C - Nome do arquivo de som.
  42.  
  43.  
  44.   #----------------------------------------------------------------------------
  45.   # BATTLE START
  46.   #----------------------------------------------------------------------------  
  47.   ACTOR_BATTLE_START[1] = ["V_ACT1_START_1","V_ACT1_START_2"]
  48.   ACTOR_BATTLE_START[2] = ["V_ACT2_START_1","V_ACT2_START_2","V_ACT2_START_3"]
  49.   ACTOR_BATTLE_START[3] = ["V_ACT3_START_1","V_ACT3_START_2"]
  50.   ACTOR_BATTLE_START[4] = ["V_ACT4_START_1","V_ACT4_START_2","V_ACT4_START_3"]
  51.  
  52.   #----------------------------------------------------------------------------
  53.   # BATTLE END
  54.   #----------------------------------------------------------------------------   
  55.   ACTOR_BATTLE_END[1] = ["V_ACT1_WIN_1","V_ACT1_WIN_2"]
  56.   ACTOR_BATTLE_END[2] = ["V_ACT2_WIN_1","V_ACT2_WIN_2","V_ACT2_WIN_3"]
  57.   ACTOR_BATTLE_END[3] = ["V_ACT3_WIN_1","V_ACT3_WIN_2","V_ACT3_WIN_3"]
  58.   ACTOR_BATTLE_END[4] = ["V_ACT4_WIN_1","V_ACT4_WIN_2"]
  59.  
  60.   #----------------------------------------------------------------------------
  61.   # BATTLE ESCAPE
  62.   #----------------------------------------------------------------------------      
  63.   ACTOR_BATTLE_ESCAPE[1] = ["V_ACT1_SKILL_9"]
  64.   ACTOR_BATTLE_ESCAPE[2] = ["V_ACT2_SKILL_4"]
  65.   ACTOR_BATTLE_ESCAPE[3] = ["V_ACT3_SKILL_4"]
  66.   ACTOR_BATTLE_ESCAPE[4] = ["V_ACT4_SKILL_7"]
  67.  
  68.   #----------------------------------------------------------------------------
  69.   # ACTOR TURN ACTIVE
  70.   #----------------------------------------------------------------------------
  71.   # Funciona apenas com script MOG AT SYSTEM.
  72.   ACTOR_TURN_ACTIVE[1] = ["V_ACT1_TURN_1","V_ACT1_TURN_2","V_ACT1_TURN_3"]
  73.   ACTOR_TURN_ACTIVE[2] = ["V_ACT2_TURN_1","V_ACT2_TURN_2","V_ACT2_TURN_3"]
  74.   ACTOR_TURN_ACTIVE[3] = ["V_ACT3_TURN_1","V_ACT3_TURN_2","V_ACT3_TURN_3"]
  75.   ACTOR_TURN_ACTIVE[4] = ["V_ACT4_TURN_1","V_ACT4_TURN_2","V_ACT4_TURN_3"]
  76.  
  77.  
  78.   #----------------------------------------------------------------------------
  79.   # ACTOR SKILL
  80.   #----------------------------------------------------------------------------
  81.   ACTOR_SKILL[1] = {
  82.   1=>["V_ACT1_ATTACK_1","V_ACT1_ATTACK_2","V_ACT1_ATTACK_3"],
  83.   2=>["V_ACT1_WIN_1","V_ACT1_WIN_2"]
  84.   }  
  85.  
  86.   ACTOR_SKILL[2] = {
  87.   1=>["V_ACT2_ATTACK_1","V_ACT2_ATTACK_2","V_ACT2_ATTACK_3"],
  88.   2=>["V_ACT2_WIN_1","V_ACT2_WIN_2","V_ACT2_WIN_3"],
  89.   26=>["V_ACT2_SKILL_6","V_ACT2_SKILL_7","V_ACT2_SKILL_8"],
  90.   29=>["V_ACT2_SKILL_6","V_ACT2_SKILL_7","V_ACT2_SKILL_8"],
  91.   32=>["V_ACT2_SKILL_6","V_ACT2_SKILL_7","V_ACT2_SKILL_8"],
  92.   33=>["V_ACT2_SKILL_6","V_ACT2_SKILL_7","V_ACT2_SKILL_8"],
  93.   }
  94.  
  95.   ACTOR_SKILL[3] = {
  96.   1=>["V_ACT3_ATTACK_1","V_ACT3_ATTACK_2","V_ACT3_ATTACK_3"],
  97.   2=>["V_ACT3_SKILL_4"],
  98.   26=>["V_ACT3_SKILL_3","V_ACT3_SKILL_6","V_ACT3_SKILL_7"],
  99.   76=>["V_ACT3_SKILL_3","V_ACT3_SKILL_6","V_ACT3_SKILL_7"],
  100.   77=>["V_ACT3_SKILL_3","V_ACT3_SKILL_6","V_ACT3_SKILL_7"],
  101.   78=>["V_ACT3_SKILL_3","V_ACT3_SKILL_6","V_ACT3_SKILL_7"]
  102.   }
  103.  
  104.   ACTOR_SKILL[4] = {
  105.   1=>["V_ACT4_ATTACK_1","V_ACT4_ATTACK_2","V_ACT4_ATTACK_3"],
  106.   2=>["V_ACT4_SKILL_3","V_ACT4_SKILL_8"],
  107.   51=>["V_ACT4_SKILL_1","V_ACT4_SKILL_4","V_ACT4_SKILL_6","V_ACT4_SKILL_9"],
  108.   53=>["V_ACT4_SKILL_1","V_ACT4_SKILL_4","V_ACT4_SKILL_6","V_ACT4_SKILL_9"],
  109.   61=>["V_ACT4_SKILL_1","V_ACT4_SKILL_4","V_ACT4_SKILL_6","V_ACT4_SKILL_9"],
  110.   66=>["V_ACT4_SKILL_1","V_ACT4_SKILL_4","V_ACT4_SKILL_6","V_ACT4_SKILL_9"],
  111.   74=>["V_ACT4_SKILL_1","V_ACT4_SKILL_4","V_ACT4_SKILL_6","V_ACT4_SKILL_9"]
  112.   }
  113.  
  114.   #----------------------------------------------------------------------------
  115.   # ACTOR ITEM
  116.   #----------------------------------------------------------------------------
  117.   ACTOR_ITEM[1] = {
  118.   1=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"], 2=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"],
  119.   3=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"], 4=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"],
  120.   5=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"], 6=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"],
  121.   7=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"], 8=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"],
  122.   17=>["V_ACT1_SKILL_6","V_ACT1_SKILL_7"]
  123.   }  
  124.  
  125.   ACTOR_ITEM[2] = {
  126.   1=>["V_ACT2_RECOVER_2"],  2=>["V_ACT2_RECOVER_2"],  3=>["V_ACT2_RECOVER_2"],
  127.   4=>["V_ACT2_RECOVER_2"],  5=>["V_ACT2_RECOVER_2"],  6=>["V_ACT2_RECOVER_2"],
  128.   7=>["V_ACT2_RECOVER_2"],  8=>["V_ACT2_RECOVER_2"],  17=>["V_ACT2_RECOVER_2"]
  129.   }
  130.  
  131.   ACTOR_ITEM[3] = {
  132.   1=>["V_ACT3_WIN_2"],  2=>["V_ACT3_WIN_2"],  3=>["V_ACT3_WIN_2"],
  133.   4=>["V_ACT3_WIN_2"],  5=>["V_ACT3_WIN_2"],  6=>["V_ACT3_WIN_2"],
  134.   7=>["V_ACT3_WIN_2"],  8=>["V_ACT3_WIN_2"],  17=>["V_ACT3_WIN_2"]
  135.   }  
  136.  
  137.   ACTOR_ITEM[4] = {
  138.   1=>["V_ACT4_START_3"],  2=>["V_ACT4_START_3"],  3=>["V_ACT4_START_3"],
  139.   4=>["V_ACT4_START_3"],  5=>["V_ACT4_START_3"],  6=>["V_ACT4_START_3"],
  140.   7=>["V_ACT4_START_3"],  8=>["V_ACT4_START_3"],  17=>["V_ACT4_START_3"]
  141.   }  
  142.  
  143.   #----------------------------------------------------------------------------
  144.   # ACTOR GENERAL ACTION *( STANDARD / FOR ALL SKILLS / ITEMS)
  145.   #----------------------------------------------------------------------------  
  146.   # Definição das vozes para habilidades não especificas. Essas vozes serão
  147.   # ativadas em todas habilidades que não estejam definidas na função ACTOR SKILL.
  148.   # Naturalmente se não desejar essa função basta não definir nada.
  149.   ACTOR_GENERAL_ACTION[2] = ["V_ACT2_DAMAGE_1","V_ACT2_DAMAGE_2","V_ACT2_DAMAGE_3"]
  150.  
  151.   #----------------------------------------------------------------------------
  152.   # ACTOR DAMAGE
  153.   #----------------------------------------------------------------------------
  154.   ACTOR_DAMAGE[1] = ["V_ACT1_DAMAGE_1","V_ACT1_DAMAGE_2"]
  155.   ACTOR_DAMAGE[2] = ["V_ACT2_DAMAGE_1","V_ACT2_DAMAGE_2","V_ACT2_DAMAGE_3"]
  156.   ACTOR_DAMAGE[3] = ["V_ACT3_DAMAGE_1","V_ACT3_DAMAGE_2","V_ACT3_DAMAGE_3"]
  157.   ACTOR_DAMAGE[4] = ["V_ACT4_DAMAGE_1","V_ACT4_DAMAGE_2","V_ACT4_DAMAGE_3"]
  158.  
  159.   #----------------------------------------------------------------------------
  160.   # ACTOR RECOVER
  161.   #----------------------------------------------------------------------------
  162.   ACTOR_RECOVER[1] = ["V_ACT1_RECOVER_1","V_ACT1_RECOVER_2"]
  163.   ACTOR_RECOVER[2] = ["V_ACT2_RECOVER_1","V_ACT2_RECOVER_2"]
  164.   ACTOR_RECOVER[3] = ["V_ACT3_RECOVER_1","V_ACT3_RECOVER_2"]
  165.   ACTOR_RECOVER[4] = ["V_ACT4_RECOVER_1","V_ACT4_RECOVER_2"]
  166.  
  167.   #----------------------------------------------------------------------------
  168.   # ACTOR DEFEATED
  169.   #----------------------------------------------------------------------------
  170.   ACTOR_DEFEATED[1] = ["V_ACT1_DEFEAT_1"]
  171.   ACTOR_DEFEATED[2] = ["V_ACT2_DEFEAT_1"]
  172.   ACTOR_DEFEATED[3] = ["V_ACT3_DEFEAT_1"]
  173.   ACTOR_DEFEATED[4] = ["V_ACT4_DEFEAT_1","V_ACT4_DEFEAT_2"]  
  174.  
  175.   #----------------------------------------------------------------------------
  176.   # ENEMY SKILL
  177.   #----------------------------------------------------------------------------
  178.   ENEMY_SKILL[7] = {
  179.   135=>["V_ENE1_SKILL_3"],
  180.   }   
  181.  
  182.   #----------------------------------------------------------------------------
  183.   # ENEMY GENERAL SKILLS
  184.   #----------------------------------------------------------------------------  
  185.   ENEMY_GENERAL_ACTION[7] = ["V_ENE1_ATTACK_1","V_ENE1_ATTACK_2","V_ENE1_ATTACK_3"]
  186.  
  187.   #----------------------------------------------------------------------------
  188.   # ENEMY DAMAGE
  189.   #----------------------------------------------------------------------------
  190.   ENEMY_DAMAGE[7] = ["V_ENE1_DAMAGE_1","V_ENE1_DAMAGE_2","V_ENE1_DAMAGE_3"]
  191.  
  192.   #----------------------------------------------------------------------------
  193.   # ENEMY RECOVER
  194.   #----------------------------------------------------------------------------
  195.   ENEMY_RECOVER[7] = []
  196.  
  197.   #----------------------------------------------------------------------------
  198.   # ENEMY DEFEATED
  199.   #----------------------------------------------------------------------------
  200.   ENEMY_DEFEATED[7] =  ["V_ENE1_DEFEAT_1"]
  201.  
  202. end
  203.  
  204. #===============================================================================
  205. # ■ Battle Cry
  206. #===============================================================================
  207. module BATTLE_CRY
  208.  
  209.   include MOG_BATTLE_CRY
  210.  
  211.   #--------------------------------------------------------------------------
  212.   # ● Execute Battle Cry
  213.   #--------------------------------------------------------------------------      
  214.   def execute_battle_cry(type = 0, skill_id = nil, battler = nil)
  215.       @type = type
  216.       @skill_id = skill_id
  217.       [url=home.php?mod=space&uid=133701]@battler[/url] = battler
  218.       case @type
  219.          when 0 # START #
  220.            check_members_alive
  221.            voice_list = ACTOR_BATTLE_START[@battler.id] rescue nil         
  222.          when 1 # END   #
  223.             check_members_alive
  224.             voice_list = ACTOR_BATTLE_END[@battler.id] rescue nil         
  225.          when 2 # SKILL #
  226.             if @battler.is_a?(Game_Actor)
  227.                voice = ACTOR_SKILL[@battler.id] rescue nil     
  228.             else  
  229.                voice = ENEMY_SKILL[@battler.enemy_id] rescue nil
  230.             end
  231.             voice_list = voice[@skill_id] rescue nil
  232.             if voice_list == nil # GENERAL ACTION
  233.                if @battler.is_a?(Game_Actor)
  234.                   voice_list = ACTOR_GENERAL_ACTION[@battler.id] rescue nil     
  235.                else  
  236.                   voice_list = ENEMY_GENERAL_ACTION[@battler.enemy_id] rescue nil
  237.                end
  238.             end  
  239.          when 3 # DAMAGE #
  240.             if @battler.hp > 0
  241.                if @battler.is_a?(Game_Actor)
  242.                   voice_list = ACTOR_DAMAGE[@battler.id] rescue nil     
  243.                else  
  244.                   voice_list = ENEMY_DAMAGE[@battler.enemy_id] rescue nil
  245.                end            
  246.             else # DEFEATED #
  247.                if @battler.is_a?(Game_Actor)
  248.                   voice_list = ACTOR_DEFEATED[@battler.id] rescue nil     
  249.                else  
  250.                   voice_list = ENEMY_DEFEATED[@battler.enemy_id] rescue nil
  251.                end                        
  252.             end
  253.          when 4 # RECOVER #
  254.               if @battler.is_a?(Game_Actor)
  255.                  voice_list = ACTOR_RECOVER[@battler.id] rescue nil     
  256.               else  
  257.                  voice_list = ENEMY_RECOVER[@battler.enemy_id] rescue nil
  258.               end            
  259.          when 5 # ITEM #
  260.                voice = ACTOR_ITEM[@battler.id] rescue nil     
  261.                voice_list = voice[@skill_id] rescue nil
  262.             if voice_list == nil # GENERAL SKILLS
  263.                voice_list = ACTOR_GENERAL_ACTION[@battler.id] rescue nil     
  264.             end         
  265.          when 6 # START #
  266.                check_members_alive
  267.                voice_list = ACTOR_BATTLE_ESCAPE[@battler.id] rescue nil
  268.          when 7 # TURN #
  269.                voice_list = ACTOR_TURN_ACTIVE[@battler.id] rescue nil            
  270.       end
  271.       play_battle_cry(voice_list)
  272.       check_battle_addons
  273.   end
  274.  
  275.   #--------------------------------------------------------------------------
  276.   # ● Play Battle Cry
  277.   #--------------------------------------------------------------------------      
  278.   def play_battle_cry(voice_list)
  279.       return if voice_list == nil
  280.       voice_id = voice_list[rand(voice_list.size)]
  281.       Audio.se_play("Audio/SE/" + voice_id.to_s,VOLUME,100) rescue nil      
  282.   end
  283.  
  284.   #--------------------------------------------------------------------------
  285.   # ● Check Members Alive
  286.   #--------------------------------------------------------------------------        
  287.   def check_members_alive
  288.       alive_members = []
  289.       id = 0
  290.       for i in $game_party.battle_members
  291.           alive_members.push(i) if i.hp > 0
  292.       end   
  293.       members_id = rand(alive_members.size)
  294.       for i in alive_members
  295.           if members_id == id
  296.              @battler = i
  297.              break
  298.           end   
  299.           id += 1
  300.        end            
  301.        @battler = alive_members[members_id]
  302.   end     
  303.  
  304.   #--------------------------------------------------------------------------
  305.   # ● Check Battle Addons
  306.   #--------------------------------------------------------------------------      
  307.   def check_battle_addons
  308.       if $mog_rgss3_battle_hud != nil and MOG_BATTLE_HUD::BATTLER_FACE_ENABLE and
  309.          @battler != nil and @battler.is_a?(Game_Actor)
  310.          if @type == 0 or @type == 1 or @type == 6
  311.             @battler.battler_face = [2,3,50]
  312.          elsif @type == 7
  313.             @battler.battler_face = [0,3,50]
  314.          end   
  315.       end  
  316.   end  
  317.  
  318. end
  319.  
  320. #==============================================================================
  321. # ■ BattleManager
  322. #==============================================================================
  323. class << BattleManager
  324.   include BATTLE_CRY
  325.  
  326.   #--------------------------------------------------------------------------
  327.   # ● Battle Start
  328.   #--------------------------------------------------------------------------  
  329.   alias mog_battle_cry_battle_start battle_start
  330.   def battle_start
  331.       mog_battle_cry_battle_start
  332.     #  execute_battle_cry(0, nil, nil)
  333.   end  
  334.  
  335.   #--------------------------------------------------------------------------
  336.   # ● Process Victory
  337.   #--------------------------------------------------------------------------   
  338.   alias mog_battle_cry_process_victory process_victory
  339.   def process_victory
  340.       execute_battle_cry(1, nil, nil)         
  341.       mog_battle_cry_process_victory
  342.   end  
  343.  
  344.   #--------------------------------------------------------------------------
  345.   # ● Process Abort
  346.   #--------------------------------------------------------------------------      
  347.   alias mog_battle_cry_process_abort process_abort
  348.   def process_abort
  349.       execute_battle_cry(6, nil, nil)
  350.       mog_battle_cry_process_abort
  351.   end  
  352.  
  353. end
  354.  
  355. #==============================================================================
  356. # ■ Game Battler
  357. #==============================================================================
  358. class Game_Battler < Game_BattlerBase
  359.   include BATTLE_CRY
  360.  
  361.   #--------------------------------------------------------------------------
  362.   # ● Execute Damage
  363.   #--------------------------------------------------------------------------      
  364.   alias mog_battle_cry_execute_damage execute_damage
  365.   def execute_damage(user)
  366.       mog_battle_cry_execute_damage(user)   
  367.       execute_battle_cry_damage
  368.   end
  369.  
  370.   #--------------------------------------------------------------------------
  371.   # ● Execute Battle Cry Damage
  372.   #--------------------------------------------------------------------------        
  373.   def execute_battle_cry_damage
  374.       if @result.hp_damage > 0
  375.          execute_battle_cry(3, nil, self)
  376.       elsif @result.hp_damage < 0   
  377.          execute_battle_cry(4, nil, self)
  378.       else
  379.          if @result.hp_damage == 0
  380.             if @result.mp_damage > 0
  381.                execute_battle_cry(3, nil, self)
  382.             elsif @result.mp_damage < 0
  383.                execute_battle_cry(4, nil, self)
  384.             end   
  385.          end   
  386.       end
  387.   end  
  388.  
  389.   #--------------------------------------------------------------------------
  390.   # ● Item Effect Recover HP
  391.   #--------------------------------------------------------------------------         
  392.   alias mog_battle_cry_item_effect_recover_hp item_effect_recover_hp  
  393.   def item_effect_recover_hp(user, item, effect)
  394.       chp = self.hp
  395.       mog_battle_cry_item_effect_recover_hp(user, item, effect)
  396.       if self.hp > chp
  397.          execute_battle_cry(4, nil, self)
  398.       elsif self.hp < chp
  399.          execute_battle_cry(3, nil, self)
  400.       end  
  401.   end
  402.  
  403.   #--------------------------------------------------------------------------
  404.   # ● Item Effect Reover MP
  405.   #--------------------------------------------------------------------------            
  406.   alias mog_battle_cry_item_effect_recover_mp item_effect_recover_mp
  407.   def item_effect_recover_mp(user, item, effect)
  408.       cmp = self.mp
  409.       mog_battle_cry_item_effect_recover_mp(user, item, effect)
  410.       if self.mp > cmp
  411.          execute_battle_cry(4, nil, self)
  412.       elsif self.mp < cmp
  413.          execute_battle_cry(3, nil, self)
  414.       end        
  415.   end  
  416.  
  417. end
  418.  
  419. #==============================================================================
  420. # ■ Game Action
  421. #==============================================================================
  422. class Scene_Battle < Scene_Base
  423. include BATTLE_CRY
  424.  
  425.   #--------------------------------------------------------------------------
  426.   # ● Show Animations
  427.   #--------------------------------------------------------------------------     
  428.   alias mog_battle_cry_show_animation show_animation
  429.   def show_animation(targets, animation_id)
  430.       if @subject.is_a?(Game_Actor) and @subject.current_action.item.is_a?(RPG::Item)
  431.           execute_battle_cry(5, @subject.current_action.item.id, @subject)
  432.       else   
  433.           execute_battle_cry(2, @subject.current_action.item.id, @subject)
  434.       end  
  435.       mog_battle_cry_show_animation(targets, animation_id)
  436.   end
  437.  
  438.   if $mog_rgss3_at_system != nil
  439.   #--------------------------------------------------------------------------
  440.   # ● Update AT Actor
  441.   #--------------------------------------------------------------------------            
  442.   alias mog_battle_cry_update_at_actor update_at_actor
  443.   def update_at_actor(battler)   
  444.        mog_battle_cry_update_at_actor(battler)  
  445.        execute_battle_cry(7, nil, battler) if battler.is_a?(Game_Actor)
  446.   end   
  447.   end   
  448.  
  449.   #--------------------------------------------------------------------------
  450.   # ● Battle Start
  451.   #--------------------------------------------------------------------------  
  452.   alias mog_battle_cry_update_battle update
  453.   def update
  454.       mog_battle_cry_update_battle
  455.       execute_battle_cry_start
  456.   end   
  457.  
  458.   #--------------------------------------------------------------------------
  459.   # ● Execite Battle Cry Start
  460.   #--------------------------------------------------------------------------   
  461.   def execute_battle_cry_start
  462.       return if @battle_cry_start != nil
  463.       @battle_cry_start = true
  464.       execute_battle_cry(0, nil, nil)
  465.   end
  466. end  
  467.  
  468. $mog_rgss3_battle_cry = true

Lv1.梦旅人

梦石
0
星屑
60
在线时间
421 小时
注册时间
2012-7-23
帖子
346

短篇八RM组季军

2
发表于 2013-3-20 21:17:51 | 只看该作者
同求此问题!
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
55
在线时间
160 小时
注册时间
2012-2-10
帖子
98
3
发表于 2013-3-21 07:52:41 | 只看该作者
探讨:攻击与技能的语音可不可以在攻击和技能的动画里实现呢?
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
4010
在线时间
132 小时
注册时间
2012-1-7
帖子
208
4
发表于 2013-3-21 09:23:29 | 只看该作者
好东西,不过我没用过,估计是因为战斗模式改的时候过程语句不同了吧…初学知道原因不会改。
又及:话说这个声音脚本的音频放哪里的?
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
48
在线时间
331 小时
注册时间
2012-5-4
帖子
158
5
 楼主| 发表于 2013-3-21 11:01:43 | 只看该作者
swbxhlh 发表于 2013-3-21 09:23
好东西,不过我没用过,估计是因为战斗模式改的时候过程语句不同了吧…初学知道原因不会改。
又及:话说这 ...

…………SE不知道?Audio里啊!
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
48
在线时间
331 小时
注册时间
2012-5-4
帖子
158
6
 楼主| 发表于 2013-3-21 18:43:25 | 只看该作者
狂歌天涯 发表于 2013-3-21 07:52
探讨:攻击与技能的语音可不可以在攻击和技能的动画里实现呢?

这个脚本支持不同人物用同一个技能……按你说的那样一男一女声音一样就很悲剧了…………
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-12-29 09:36

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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