赞 | 0 |
VIP | 2 |
好人卡 | 1 |
积分 | 8 |
经验 | 27196 |
最后登录 | 2023-12-29 |
在线时间 | 169 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 759
- 在线时间
- 169 小时
- 注册时间
- 2008-10-29
- 帖子
- 431
|
从脚本编辑器的左边那列里找到这一项 Window_MenuStatus New!
找到下面这段话 把彩色的部分删掉
#==============================================================================
# ■ Window_MenuStatus
#------------------------------------------------------------------------------
# 显示菜单画面和同伴状态的窗口。
#==============================================================================
class Window_MenuStatus < Window_Selectable
#--------------------------------------------------------------------------
# ● 初始化目标
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 352)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
self.active = false
self.index = -2
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
x = 64
y = i * 80
actor = $game_party.actors
bitmap = Bitmap.new("Graphics/System/menu/headp/" + actor.name + ".png")
src_rect = Rect.new(0, 0, 42, 66)
self.contents.blt(x - 64, y + 10, bitmap, src_rect)
self.draw_actor_state(actor, x - 60, y + 34 + 17)
# 我全写成散的! =。=
self.contents.font.color = normal_color
self.contents.font.size = 20
self.contents.draw_text(x - 30, y, 120, 32, actor.name)
self.contents.font.color = system_color
self.contents.font.color = normal_color
self.contents.font.size = 16
self.contents.font.color = system_color
self.contents.draw_text(x - 30, y + 17 + 17, 32, 32, $data_system.words.hp)
self.contents.font.color = actor.hp == 0 ? knockout_color :
actor.hp <= actor.maxhp / 4 ? crisis_color : normal_color
self.contents.draw_text(x - 6, y + 17 + 17, 32, 32, actor.hp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(x - 26 + 48, y + 17 + 17, 12, 32, "/", 1)
self.contents.draw_text(x - 24 + 56, y + 17 + 17, 32, 32, actor.maxhp.to_s)
self.contents.font.color = system_color
self.contents.draw_text(x - 30, y + 34 +17, 32, 32, $data_system.words.sp)
self.contents.font.color = actor.sp == 0 ? knockout_color :
actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
self.contents.draw_text(x - 6, y + 34 + 17, 32, 32, actor.sp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(x - 26 + 48, y + 34 + 17, 12, 32, "/", 1)
self.contents.draw_text(x - 24 + 56, y + 34 + 17, 32, 32, actor.maxsp.to_s)
end
end
########################################################################
注意 还 没完
删掉彩色部分后
把这两句放在那里就可以了
draw_actor_hp(actor,x-20,y+17+17,80)
draw_actor_sp(actor,x-20,y+17+17+17,80)
![]()
系统信息:本贴由本区版主认可为正确答案,66RPG感谢您的热情解答~ |
|