您需要 登录 才可以下载或查看,没有账号?注册会员
#角色脸图放在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
使用道具 举报
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
献给最先抵达这片土地的你。参加预注册的用户即可获得。
Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.