赞 | 0 |
VIP | 0 |
好人卡 | 3 |
积分 | 1 |
经验 | 24930 |
最后登录 | 2021-2-16 |
在线时间 | 389 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 65
- 在线时间
- 389 小时
- 注册时间
- 2009-11-24
- 帖子
- 71
|
本帖最后由 test 于 2014-11-20 10:30 编辑
全按键脚本放在hotkey脚本之前,在hotkey脚本最后新开一行插入下面脚本:(代码未测试)- class Scene_Map < Scene_Base
- def update
- hotkey_update_alias_9090
- if Kboard.keyboard(0x31)
- evalute_hotkey(:F5)
- elsif Kboard.keyboard(0x32)
- evalute_hotkey(:F6)
- elsif Kboard.keyboard(0x33)
- evalute_hotkey(:F7)
- elsif Kboard.keyboard(0x34)
- evalute_hotkey(:F8)
- elsif Kboard.keyboard(0x35)
- evalute_hotkey(:A)
- elsif Kboard.keyboard(0x36)
- evalute_hotkey(:B)
- elsif Kboard.keyboard(0x37)
- evalute_hotkey(:C)
- elsif Kboard.keyboard(0x38)
- evalute_hotkey(:X)
- elsif Kboard.keyboard(0x39)
- evalute_hotkey(:Y)
- elsif Kboard.keyboard(0x30)
- evalute_hotkey(:Z)
- elsif Kboard.keyboard(189)
- evalute_hotkey(:R)
- elsif Kboard.keyboard(187)
- evalute_hotkey(:L)
- end
- update_actionbar
- update_cool_downs
- end
- end
- class Window_HotkeyCommand < Window_Command
- @@command_names = {
- :F5 => "1",
- :F6 => "2",
- :F7 => "3",
- :F8 => "4",
- :A => "5",
- :B => "6",
- :C => "7",
- :X => "8",
- :Y => "9",
- :Z => "0",
- :L => "-",
- :R => "="
- }
- end
复制代码 |
评分
-
查看全部评分
|