#角色脸图放在Graphics/Faces/face/目录下,
#命名为"face角色ID.png" ,比如"face1.png"就是一号角色战斗时显示的脸图
#Audio.se_play("Audio/SE/SEM/" + BattleManager.actor.id.to_s + $se名[rand(4)] + ".ogg")
#将4改为1就可以只用一个语音
#
#你必须上场战斗的每个人物都配足五个语音文件。 例如1 2 5号人物上 你的SE文件夹里就要有 1A 1B 1C 1D 1E 2A 2B 2C 2D 2E #5A 5B 5C 5D 5E.ogg 一个都不能少
#==================================
$se名 = [*"A".."E"]
class Scene_Battle < Scene_Base
alias start_actor_command_selection_old start_actor_command_selection
def start_actor_command_selection
start_actor_command_selection_old
Audio.se_play("Audio/SE/SEM/" + BattleManager.actor.id.to_s + $se名[rand(1)] + ".ogg")
@actorface = Sprite.new
@actorface.bitmap = Bitmap.new("Graphics/Faces/face/face" + BattleManager.actor.id.to_s + ".png")
@actorface.y = 200 #Graphics.height - @actor_command_window.height - @actorface.bitmap.height
@actorface.x = + 443
end
alias prior_command_old prior_command
def prior_command
@actorface.dispose if @actorface != nil && @actorface.disposed? != true
prior_command_old
end
alias next_command_old next_command
def next_command
@actorface.dispose if @actorface != nil && @actorface.disposed? != true
next_command_old
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |