赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 8559 |
最后登录 | 2015-8-26 |
在线时间 | 439 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 439 小时
- 注册时间
- 2013-3-2
- 帖子
- 710
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 guoyq1988 于 2013-8-29 12:50 编辑
状态里显示的是行走图,怎么修改成自己想要的图片
求指点,谢谢
另外附上修改的脚本
(PS,应该是这个脚本吧?)
#============================================================================== # ■ Window_Status #------------------------------------------------------------------------------ # 显示状态画面、完全规格的状态窗口。 #============================================================================== class Window_Status_New < Window_Base #-------------------------------------------------------------------------- # ● 初始化对像 # actor : 角色 #-------------------------------------------------------------------------- def initialize(actor) super(160, 64, 480, 416) self.contents = Bitmap.new(width - 2, height - 32) [url=home.php?mod=space&uid=95897]@actor[/url] = actor refresh end #-------------------------------------------------------------------------- # ● 刷新 #-------------------------------------------------------------------------- def refresh self.contents.clear draw_actor_graphic(@actor, 35, 96) draw_actor_name(@actor, 100, 0) draw_actor_class(@actor, 250, 0) draw_actor_level(@actor, 100, 32) draw_actor_state(@actor, 5, 64) draw_actor_hp(@actor, 5, 96, 172) draw_actor_sp(@actor, 5, 128, 172) draw_actor_parameter(@actor, 5, 160, 0) draw_actor_parameter(@actor, 5, 192, 1) draw_actor_parameter(@actor, 5, 224, 2) draw_actor_parameter(@actor, 5, 256, 3) draw_actor_parameter(@actor, 5, 288, 4) draw_actor_parameter(@actor, 5, 320, 5) draw_actor_parameter(@actor, 5, 352, 6) self.contents.font.size = 20 self.contents.font.color = system_color self.contents.draw_text(250, 32, 80, 32, "道行") self.contents.draw_text(250, 60, 80, 32, "阅历") self.contents.font.color = normal_color self.contents.draw_text(256 + 80, 32, 84, 32, @actor.exp_s, 2) self.contents.draw_text(256 + 80, 60, 84, 32, @actor.next_rest_exp_s, 2) self.contents.font.color = system_color self.contents.draw_text(280, 130, 96, 32, "已装备") draw_item_name($data_weapons[@actor.weapon_id], 170, 160, 20)#武器 draw_item_name($data_armors[@actor.armor1_id], 300, 160, 20)#头盔(盾) draw_item_name($data_armors[@actor.armor2_id], 300, 240, 20)#衣服(头) draw_item_name($data_armors[@actor.armor3_id], 300, 280, 20)#靴子(身) draw_item_name($data_armors[@actor.armor4_id], 300, 200, 20)#项链(饰) draw_item_name($data_armors[@actor.armor5_id], 170, 200, 20)#玉佩(饰) draw_item_name($data_armors[@actor.armor6_id], 170, 240, 20)#手镯 draw_item_name($data_armors[@actor.armor7_id], 170, 280, 20)#手镯 end def dummy self.contents.font.color = system_color self.contents.draw_text(320, 112, 96, 32, $data_system.words.weapon) self.contents.draw_text(320, 176, 96, 32, $data_system.words.armor1) self.contents.draw_text(320, 240, 96, 32, $data_system.words.armor2) self.contents.draw_text(320, 304, 96, 32, $data_system.words.armor3) self.contents.draw_text(320, 368, 96, 32, $data_system.words.armor4) self.contents.draw_text(320, 432, 96, 32, $data_system.words.armor5) self.contents.draw_text(320, 496, 96, 32, $data_system.words.armor6) self.contents.draw_text(320, 560, 96, 32, $data_system.words.armor7) draw_item_name($data_weapons[@actor.weapon_id], 288 +16, 144, 20) draw_item_name($data_armors[@actor.armor1_id], 288 + 16, 144+28, 20) draw_item_name($data_armors[@actor.armor2_id], 288 + 16, 144+56, 20) draw_item_name($data_armors[@actor.armor3_id], 288 + 16, 144+84, 20) draw_item_name($data_armors[@actor.armor4_id], 288 + 16, 144+112, 20) draw_item_name($data_armors[@actor.armor5_id], 288 + 16, 144+140, 20) draw_item_name($data_armors[@actor.armor6_id], 288 + 16, 144+168, 20) draw_item_name($data_armors[@actor.armor7_id], 288 + 16, 144+196, 20) end end
#==============================================================================
# ■ Window_Status
#------------------------------------------------------------------------------
# 显示状态画面、完全规格的状态窗口。
#==============================================================================
class Window_Status_New < Window_Base
#--------------------------------------------------------------------------
# ● 初始化对像
# actor : 角色
#--------------------------------------------------------------------------
def initialize(actor)
super(160, 64, 480, 416)
self.contents = Bitmap.new(width - 2, height - 32)
[url=home.php?mod=space&uid=95897]@actor[/url] = actor
refresh
end
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
draw_actor_graphic(@actor, 35, 96)
draw_actor_name(@actor, 100, 0)
draw_actor_class(@actor, 250, 0)
draw_actor_level(@actor, 100, 32)
draw_actor_state(@actor, 5, 64)
draw_actor_hp(@actor, 5, 96, 172)
draw_actor_sp(@actor, 5, 128, 172)
draw_actor_parameter(@actor, 5, 160, 0)
draw_actor_parameter(@actor, 5, 192, 1)
draw_actor_parameter(@actor, 5, 224, 2)
draw_actor_parameter(@actor, 5, 256, 3)
draw_actor_parameter(@actor, 5, 288, 4)
draw_actor_parameter(@actor, 5, 320, 5)
draw_actor_parameter(@actor, 5, 352, 6)
self.contents.font.size = 20
self.contents.font.color = system_color
self.contents.draw_text(250, 32, 80, 32, "道行")
self.contents.draw_text(250, 60, 80, 32, "阅历")
self.contents.font.color = normal_color
self.contents.draw_text(256 + 80, 32, 84, 32, @actor.exp_s, 2)
self.contents.draw_text(256 + 80, 60, 84, 32, @actor.next_rest_exp_s, 2)
self.contents.font.color = system_color
self.contents.draw_text(280, 130, 96, 32, "已装备")
draw_item_name($data_weapons[@actor.weapon_id], 170, 160, 20)#武器
draw_item_name($data_armors[@actor.armor1_id], 300, 160, 20)#头盔(盾)
draw_item_name($data_armors[@actor.armor2_id], 300, 240, 20)#衣服(头)
draw_item_name($data_armors[@actor.armor3_id], 300, 280, 20)#靴子(身)
draw_item_name($data_armors[@actor.armor4_id], 300, 200, 20)#项链(饰)
draw_item_name($data_armors[@actor.armor5_id], 170, 200, 20)#玉佩(饰)
draw_item_name($data_armors[@actor.armor6_id], 170, 240, 20)#手镯
draw_item_name($data_armors[@actor.armor7_id], 170, 280, 20)#手镯
end
def dummy
self.contents.font.color = system_color
self.contents.draw_text(320, 112, 96, 32, $data_system.words.weapon)
self.contents.draw_text(320, 176, 96, 32, $data_system.words.armor1)
self.contents.draw_text(320, 240, 96, 32, $data_system.words.armor2)
self.contents.draw_text(320, 304, 96, 32, $data_system.words.armor3)
self.contents.draw_text(320, 368, 96, 32, $data_system.words.armor4)
self.contents.draw_text(320, 432, 96, 32, $data_system.words.armor5)
self.contents.draw_text(320, 496, 96, 32, $data_system.words.armor6)
self.contents.draw_text(320, 560, 96, 32, $data_system.words.armor7)
draw_item_name($data_weapons[@actor.weapon_id], 288 +16, 144, 20)
draw_item_name($data_armors[@actor.armor1_id], 288 + 16, 144+28, 20)
draw_item_name($data_armors[@actor.armor2_id], 288 + 16, 144+56, 20)
draw_item_name($data_armors[@actor.armor3_id], 288 + 16, 144+84, 20)
draw_item_name($data_armors[@actor.armor4_id], 288 + 16, 144+112, 20)
draw_item_name($data_armors[@actor.armor5_id], 288 + 16, 144+140, 20)
draw_item_name($data_armors[@actor.armor6_id], 288 + 16, 144+168, 20)
draw_item_name($data_armors[@actor.armor7_id], 288 + 16, 144+196, 20)
end
end
|
|