赞 | 4 |
VIP | 211 |
好人卡 | 175 |
积分 | 7 |
经验 | 48096 |
最后登录 | 2014-1-9 |
在线时间 | 1327 小时 |
Lv2.观梦者 (?????)
- 梦石
- 0
- 星屑
- 729
- 在线时间
- 1327 小时
- 注册时间
- 2011-7-18
- 帖子
- 3184
|
本帖最后由 各种压力的猫君 于 2011-10-9 01:47 编辑
- $data_system.words.attack = "攻击"
- $data_system.words.skill = "技能"
- $data_system.words.guard = "防御"
- $data_system.words.item = "物品"
复制代码 需要战斗中修改的话(个人认为作用不大……)以下脚本插到Main上面。- class Scene_Battle
- alias old_phase3_setup_command_window phase3_setup_command_window
- def update
- actor_command_window_update
- old_phase3_setup_command_window
- end
- def actor_command_window_update
- s1 = $data_system.words.attack
- s2 = $data_system.words.skill
- s3 = $data_system.words.guard
- s4 = $data_system.words.item
- $commands = [s1, s2, s3, s4]
- @actor_command_window.refresh
- $commands = nil
- end
- end
- class Window_Command < Window_Selectable
- def draw_item(index, color)
- self.contents.font.color = color
- rect = Rect.new(4, 32 * index, self.contents.width - 8, 32)
- self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
- if $commands == nil
- self.contents.draw_text(rect, @commands[index])
- else
- self.contents.draw_text(rect, $commands[index])
- end
- end
- end
复制代码 |
|