历经4年的老牌插件, 以往历史版本:http://www.cnblogs.com/simonw/archive/2005/10/20/258271.html
功能:
支持键盘,鼠标等各个组合按键绑定到法术, 物品, 技能, 宏, 目标, 系统功能. 支持各种自定义窗体上的键盘,鼠标绑定.
注意本插件依赖 EVA Framework 请下载 (超小的库内存占用仅几十k, 如果你使用了CWDGLibPack就不需要下载了).
插件优点:
1. 资源占用极小, 绿色插件不写WTF配置信息.
2. 便于和其他玩家交流你的按键配置情况.
3. 单文件静态lua配置, 多账号, 多角色, 多机器, 游戏场所不固定的玩家, 不用再去考虑WTF用户配置文件因各种情况下的错乱, 只需这一个插件无需再为配置各种按键苦恼.
4. 高级使用者完全可以用ShortKey来代替动作条插件,治疗插件,宏插件等n多占资源的插件, 实现全键盘流Alt-Z下电影场景游戏.
ShortKeyGUI(ShortKey的可选辅助界面设置独立插件依赖IGAS包内已带, 非常感谢kurapica帮我写了这个GUI, 我一直为GUI头疼了几年.)
使用配置:
/sk 查看插件参数状态
/sk autoload 设置是否自动载入
/sk load 如果autoload=false, 使用此命令载入配置
/sk list 列出当前所有配置
/sk clear 恢复默认配置
用记事本打开ShortKey目录下的ShortKey.Config.lua根据里面的说明编辑, 注意要存为UTF8的格式, 有基础的一看就懂, 没基础的如果实在想用让别人帮你配吧.
更新:
v4.7 2009.9.28
这个版本主要在代码结构方面变化很大, 对最终用户影响不大.
1. 不再限定同一TargetFrame下的不同配置存在Condition参数为空时的顺序要求, 无论如何配置, 为空的Condition配置项始终会被自动置为最后. 同时也将Condition参数为空的配置项作为默认配置. (多数用户应该还用不到这个高级功能)
2. 增加了在游戏内配置的支持能力, 但没有GUI的支持目前还不能使用.
3. ShortKeyConfig.lua 改名为 ShortKey.Config.lua, 请注意改变你的配置文件名.
4. ShortKeyGUI更换图标, 优化了一些显示, 配合ShortKey结构的变化做了一些改变, 请更新, 否则不能使用.
下面的更新与用户无关:
1. 大面积重构, 完全纳入层次化的标准软件开发架构模式, 分了Model, DB, Business, Service, UI等几个层次, 为下一步大计划打好基础. (以后我会慢慢介绍)
2. 应用了新增的DB lib, 用于处理存储方面的需求, 未来会将这个lib纳入Eva.
3. 在DB和UI层上提供了非Eva的Native(wow原生方式, 不依赖任何库)的支持, 但DB的Native方式还没做好. 也就是说ShortKey可以脱离Eva运行(需要改toc), 主要目的在于演示Eva随进随出的便利性.
v4.6 2009.8.31
1. 新增一个图形界面ShortKeyGUI用于简单操控和查看绑定信息.
2. 新增Talent条件以更好的应用于双天赋配置.
3. 新增PARTYMEMBERFRAMES的变量用于代表冗长的团队窗体1-4, 更方便用户配置.
4. 新增绑定前自动清除功能, 以防止条件变更时新配置覆盖不完全上一个配置引发冲突.
v4.5 2009.8.20
按照wow3.x新版安全模型重写, 全新架构设计, 变动巨大, 在基本没有改变配置格式的情况下带来了更为强大的功能. 改动太多仅列出主要更新.
1. 新增基于上下文的全局配置完整性检查, 最大限度的在载入时帮助发现用户的配置错误.
2. 新条件(Condition)语法使用标准宏语法代替以前语法并支持上下文条件组合计算(超强), 支持所有Type配置情况.
3. 新增当为键盘键时支持TargetFrames属性的配置, 即可以将键盘键绑定在显示的窗体上了.
4. 新增当为鼠标键时支持Target属性的配置, 即可以改变绑定显示窗体的目标属性.
5. 新增用户选择载入功能, 用户可以自己选择时机载入.
6. 新增配置组的用户载入条件设置, 用户可以根据自己的需求增改载入判断条件.
7. 改动, Value和TargetFrames属性现在仅支持字符串类型, 不再支持table数组类型.
8. 改动, 去掉了序列施法功能, 采用宏代替.
ShortKey.Config.lua配置示例- --command值的定义参见http://wiki.cwowaddon.com/BindingName
- ShortKey.Config[1] = {
- Comment = "全局日常功能键配置",
- {Key = "W", Type = "command", Value = "MOVEFORWARD", Comment = "向前走"},
- {Key = "S", Type = "command", Value = "MOVEBACKWARD", Comment = "向后走"},
- {Key = "A", Type = "command", Value = "STRAFELEFT", Comment = "向左走"},
- {Key = "D", Type = "command", Value = "STRAFERIGHT", Comment = "右前走"},
- {Key = "B", Type = "command", Value = "OPENALLBAGS", Comment = "打开全部包"},
- {Key = "F5", Type = "command", Value = "TOGGLECHARACTER0"},
- {Key = "F6", Type = "command", Value = "TOGGLESPELLBOOK"},
- {Key = "F7", Type = "command", Value = "TOGGLETALENTS"},
- {Key = "F8", Type = "command", Value = "TOGGLEQUESTLOG"},
- {Key = "F9", Type = "command", Value = "TOGGLESOCIAL"},
- {Key = "F10", Type = "command", Value = "TOGGLEWORLDMAP"},
- {Key = "F11", Type = "command", Value = "TOGGLEBATTLEFIELDMINIMAP"},
- {Key = "F12", Type = "command", Value = "TOGGLELFGPARENT"},
- {Key = "ESCAPE", Type = "command", Value = "TOGGLEGAMEMENU"},
- }
- ShortKey.Config[2] = {
- Class = "牧师",
- --Character = "民族英雄",
- --Race = "人类",
- --IsLoad
- Comment = "simonw的牧师专用配置",
- {Key = "E", Type = "spell", Value = "真言术:盾", Target = "player", Comment = "为自己施放真言术盾"},
- {Key = "Q", Type = "macro", Value = "/castsequence [target=player] reset=2/combat 恢复,愈合祷言", Condition = "[stance:0]", Comment = "在正常形态下按一次为自己释放恢复,2秒内再次按下为自己释放愈合祷言"},
- {Key = "Q", Type = "spell", Value = "消散", Target = "player", Condition = "[stance:1]", Comment = "在暗影形态下施放消散保命"},
- {Key = "SHIFT-Q", Type = "item", Value = "厚灵纹布绷带", Target = "player"},
- {Key = "R", Type = "spell", Value = "快速治疗", Target = "player"},
- {Key = "H", Type = "spell", Value = "暗影形态", Target = "player"},
- {Key = "SHIFT-R", Type = "spell", Value = "强效治疗术", Target = "player"},
- {Key = "F", Type = "spell", Value = "驱散魔法", Target = "player"},
- {Key = "ALT-F", Type = "spell", Value = "驱除疾病", Target = "player"},
- {Key = "X", Type = "spell", Value = "射击", Target = "target"},
- {Key = "T", Type = "spell", Value = "沉默", Target = "target"},
- {Key = "ALT-X", Type = "spell", Value = "神圣新星"},
- {Key = "G", Type = "macro", Value = "/use [nocombat,outdoors,flyable] 迅捷紫色狮鹫;黑色战驹", Comment = "上下鸟马"},
- {Key = "F1", Type = "spell", Value = "暗言术:灭", Target = "target"},
- {Key = "1", Type = "spell", Value = "心灵震爆", Target = "target"},
- {Key = "2", Type = "spell", Value = "精神鞭笞", Target = "target"},
- {Key = "3", Type = "spell", Value = "驱散魔法", Target = "target"},
- {Key = "4", Type = "spell", Value = "噬灵瘟疫", Target = "target"},
- {Key = "5", Type = "spell", Value = "暗言术:痛", Target = "target"},
- {Key = "6", Type = "spell", Value = "吸血鬼的拥抱", Target = "target"},
- {Key = "MOUSEWHEELUP", Type = "macro", Value = "/castsequence [target=player] reset=3/combat 心灵之火,防护暗影,真言术:韧,神圣之灵,防护恐惧结界", Comment = "连着施放所有Buff, 3秒重置"},
- {Key = "LeftButton", Type = "spell", Value = "快速治疗", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4", Comment = "在小队头像上按鼠标左键会为该小队成员施放快速治疗法术"},
- {Key = "ALT-LeftButton", Type = "spell", Value = "强效治疗术", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4"},
- {Key = "CTRL-LeftButton", Type = "spell", Value = "真言术:韧", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4"},
- {Key = "SHIFT-LeftButton", Type = "target", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4", Comment = "在小队头像上按SHIFT+鼠标左键为选中该小队成员"},
- {Key = "RightButton", Type = "spell", Value = "真言术:盾", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4"},
- {Key = "ALT-RightButton", Type = "spell", Value = "驱除疾病", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4"},
- {Key = "CTRL-RightButton", Type = "spell", Value = "驱散魔法", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4"},
- {Key = "SHIFT-RightButton", Type = "assist", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4", Comment = "在小队头像上按SHIFT+鼠标右键为协助该小队成员"},
- {Key = "MiddleButton", Type = "spell", Value = "恢复", TargetFrames = "PartyMemberFrame1,PartyMemberFrame2,PartyMemberFrame3,PartyMemberFrame4"},
- {Key = "LeftButton", Type = "spell", Value = "快速治疗", Condition = "[help,stance:0]", TargetFrames = "TargetFrame", Comment = "在目标头像上按鼠标左键如果他是友方目标则会为他施放快速治疗法术"},
- {Key = "MiddleButton", Type = "spell", Value = "恢复", Condition = "[help,stance:0]", TargetFrames = "TargetFrame"},
- {Key = "RightButton", Type = "spell", Value = "真言术:盾", Condition = "[help,stance:0]", TargetFrames = "TargetFrame"},
- {Key = "RightButton", Type = "spell", Value = "真言术:盾", Condition = "[help,stance:1]", TargetFrames = "TargetFrame"},
- {Key = "LeftButton", Type = "spell", Value = "精神控制", Condition = "[harm]", TargetFrames = "TargetFrame"},
- {Key = "SHIFT-RightButton", Type = "menu", TargetFrames = "TargetFrame", Comment = "在目标头像上按SHIFT+鼠标右键为调出改目标菜单"},
- }
复制代码 最后提示:
1. 本插件没有界面所以也就没有截图
2. 直接下载了没法用(除非你也是牧师), 必须自己根据自己情况配置.
3. 再一个别向simonw提除了暗牧以外的任何职业技能该如何配置, 我只懂暗牧, 其他职业都没玩过.
最新版本下载:
ShortKey4.7.rar (12.09 KB)
ShortKeyGUI1.1For4.7.rar (104 KB)
=====================下面的为历史存档===================== |