Project1
标题:
请问如何让RMXP战斗槽部增加头像呢?
[打印本页]
作者:
好H悠悠
时间:
2009-1-26 11:23
提示:
作者被禁止或删除 内容自动屏蔽
作者:
七夕小雨
时间:
2009-1-26 12:12
打开脚本找这个Window_BattleStatus类
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.font.size = 16
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_x = i * 160
bitmap = Bitmap.new("Graphics/Pictures/战斗头像.png")
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
self.contents.blt(actor_x, 8, bitmap, src_rect)
self.contents.font.bold = true
draw_actor_name(actor, actor_x+60, 4)
self.contents.font.bold = false
self.contents.font.color = Color.new(255, 255, 255, 255)
draw_HP1(actor, 28, 32)
draw_SP1(actor, 28, 48)
if @level_up_flags
self.contents.draw_text(actor_x, 96, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_x, 96)
end
end
end
#--------------------------------------------------------------------------
# ● 刷新画面
#--------------------------------------------------------------------------
当然这是原本脚本的修改方法如果你插入了什么战斗脚本可能就要令当别论了 [LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1