| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2013-6-25 |
| 在线时间 | 687 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 687 小时
- 注册时间
- 2012-10-29
- 回帖
- 1526
|
发表于 2013-3-16 15:55:04
|
显示全部楼层
本帖最后由 j433463 于 2013-3-16 15:59 编辑
主菜单的状态页吗?Window_Status 中找到 def refresh 刷新的那个地方:- def refresh
- contents.clear
- draw_block1 (line_height * 0)
- draw_horz_line(line_height * 1)
- draw_block2 (line_height * 2 + 10)
- draw_horz_line(line_height * 6 + 10)
- draw_block3 (line_height * 7 + 10)
- draw_horz_line(line_height * 13 + 10, contents_width - 280)
- draw_block4 (line_height * 14 + 10)
- draw_player
- end
复制代码 状态页分了好几个区块,draw_block1 是最上一排角色姓名,职业,称号,draw_block2 是头像,基本讯息,这个基本讯息就是 HP 和 MP 血槽了,所以只要把这两个换一下,喔,不是换整句,而是把 draw_block1 的 1 改成 2,把 draw_block2 的 2 改成 1,这样就能换了。
draw_horz_line 是水平线,状态页中那一条水平分隔线,不要误删了。
如果是主菜单右边那一块状态窗口,就要去 Window_Base 中找到
[pre lang="ruby" line="1"] def draw_actor_simple_status(actor, x, y)
draw_actor_name(actor, x, y)
draw_actor_level(actor, x, y + line_height * 1)
draw_actor_icons(actor, x, y + line_height * 2)
draw_actor_class(actor, x + 120, y)
draw_actor_hp(actor, x + 100, y + line_height * 1)
draw_actor_mp(actor, x + 100, y + line_height * 2)
draw_actor_tp(actor, x + 280, y + line_height * 1)
draw_actor_exp(actor, x + 280, y + line_height * 2)
end
[/pre]
这就不需要我多说了, name 是姓名,level 是等级,icons 是状态图示,class 是职业,hp 是生命值, mp 是魔力值, tp 是特技值, exp 是经验值 ... 呃,好吧,tp 和 exp 是我自己加上去的,别管它了,不好意思 ... |
|