战神引擎默认布局文件明文版
DEBUU = 1
local slot0 = {}
local g_setting = slot0
local slot1 = {
class = "infoBar",
name = "信息栏",
banRemove = true,
key = "infoBar",
desc = "显示等级、金币、背包负重、穿戴负重、网络、时间、电池、坐标信息"
}
local slot2 = display
slot2 = slot2.cx
slot1.fixedX = slot2
slot2 = display
slot2 = slot2.height
slot2 = slot2 - 14.5
slot1.fixedY = slot2
slot0[1] = slot1
slot1 = {
class = "btnFixed",
name = "攻击模式",
banRemove = true,
key = "btnMode",
fixedX = 18,
z = 12,
desc = "切换攻击模式"
}
slot2 = display
slot2 = slot2.height
slot2 = slot2 - 63
slot1.fixedY = slot2
slot0[2] = slot1
slot1 = {
class = "btnFixed",
name = "布局",
banRemove = true,
key = "btnDiy",
fixedX = 18,
z = 99,
desc = "打开布局面板"
}
slot2 = display
slot2 = slot2.height
slot2 = slot2 - 139
slot1.fixedY = slot2
slot0[3] = slot1
slot1 = {
name = "下属",
key = "btnPet",
class = "btnFixed",
fixedX = 18,
desc = "切换下属休息、攻击状态"
}
slot2 = display
slot2 = slot2.height
slot2 = slot2 - 214
slot1.fixedY = slot2
slot0[4] = slot1
slot1 = {
class = "btnFixed",
name = "小地图",
banRemove = true,
key = "btnMap",
fixedX = 0,
fixedY = 0,
desc = "打开小地图"
}
slot0[5] = slot1
slot1 = {
class = "btnFixed",
name = "退出",
banRemove = true,
key = "btnExit",
desc = "返回选择人物界面"
}
slot2 = display
slot2 = slot2.width
slot2 = slot2 - 130
slot1.fixedX = slot2
slot2 = display
slot2 = slot2.height
slot2 = slot2 - 33
slot1.fixedY = slot2
slot0[6] = slot1
slot1 = {
name = "双摇杆",
z = 5,
class = "rocker",
key = "rocker",
desc = "控制走路/跑步的虚拟摇杆, 小摇杆为走, 大摇杆为跑。"
}
slot0[7] = slot1
slot1 = {
class = "bottom",
name = "底部信息",
banRemove = true,
key = "bottom",
fixedY = 14,
desc = "显示地图坐标、经验值、天气。"
}
slot2 = display
slot2 = slot2.cx
slot1.fixedX = slot2
slot0[8] = slot1
slot1 = {
btntype = "normal",
name = "显示/隐藏",
class = "btnMove",
key = "btnHide",
z = 12,
desc = "显示/隐藏 主操作区域, 便于攻击远程怪"
}
slot0[9] = slot1
slot1 = {
class = "hp",
name = "血量信息",
banRemove = true,
key = "hp",
fixedY = 69,
desc = "血球展示以及血量、魔法值详情, 点击可打开选择面板界面"
}
slot0[10] = slot1
slot1 = {
key = "chat",
name = "聊天框",
class = "chat",
desc = "简易聊天框, 可预览、发送信息."
}
slot0[11] = slot1
slot1 = {
btntype = "normal",
name = "聊天按钮",
class = "btnMove",
key = "btnChat",
desc = "打开聊天框"
}
slot0[12] = slot1
slot1 = {
btntype = "normal",
name = "语音",
class = "btnMove",
key = "btnVoice",
desc = "快捷语音按钮, 按住说话!"
}
slot0[13] = slot1
slot1 = {
btntype = "normal",
name = "实时语音",
class = "btnMove",
key = "btnVoiceJIT",
desc = "实时语音控制按钮, 指挥模式控制上/下麦, 自由模式下按住说话"
}
slot0[14] = slot1
slot1 = {
btntype = "normal",
name = "快速组队",
class = "btnMove",
key = "btnGroup",
desc = "快速组队。"
}
slot0[15] = slot1
slot1 = {
class = "lock",
name = "控制器",
banRemove = true,
key = "lock",
fixedX = 21,
desc = "锁定/攻击/技能的开关控制器."
}
slot0[16] = slot1
slot1 = {
btntype = "base",
name = "普通攻击",
class = "btnMove",
key = "btnAttack",
btnid = "attack",
desc = "自动攻击屏幕内的怪物。"
}
slot0[17] = slot1
slot1 = {
btntype = "normal",
name = "挂机",
class = "btnMove",
key = "btnAutoRat",
desc = "自动攻击视野范围内的怪物,'设置-辅助'页面可配置挂机行为。挂机过程中使用摇杆将自动停止挂机"
}
slot0[18] = slot1
slot1 = {
btntype = "base",
name = "回城",
class = "btnMove",
key = "btnBackHome",
btnid = "back",
desc = "回到距离最近的城市"
}
slot0[19] = slot1
slot1 = {
btntype = "base",
name = "自动锁定",
class = "btnMove",
key = "btnLock",
btnid = "lock",
desc = "自动锁定屏幕内的人物、怪物。"
}
slot0[20] = slot1
slot1 = {
btntype = "base",
name = "强制攻击",
class = "btnMove",
key = "btnShift",
btnid = "shift",
desc = "强制往触摸屏幕的方向攻击"
}
slot0[21] = slot1
slot1 = {
btntype = "base",
name = "挖取",
class = "btnMove",
key = "btnWa",
btnid = "wa",
desc = "往怪物身上挖东西"
}
slot0[22] = slot1
slot1 = {
btntype = "setting",
name = "全屏显名",
class = "btnMove",
key = "btnFullname",
btnid = "allName",
desc = "显示屏幕上的人物、怪物名称"
}
slot0[23] = slot1
slot1 = {
btntype = "setting",
name = "挖取",
class = "btnMove",
key = "btnOnlyname",
btnid = "onlyName",
desc = "只显示屏幕上人物的名字, 隐藏行会、封号"
}
slot0[24] = slot1
slot1 = {
btntype = "setting",
name = "音效",
class = "btnMove",
key = "btnSoundEnable",
btnid = "sound",
desc = "打开/关闭 游戏音效"
}
slot0[25] = slot1
slot1 = {
btntype = "setting",
name = "触屏跑步",
class = "btnMove",
key = "btnTouchRun",
btnid = "touchRun",
desc = "决定于点屏幕是跑步还是走路."
}
slot0[26] = slot1
slot1 = {
btntype = "setting",
key = "btnAutoAllSpace",
class = "btnMove",
job = 0,
btnid = "autoAllSpace",
name = "刀刀刺杀",
desc = "刀刀刺杀, 仅限于战士有效。"
}
slot0[27] = slot1
slot1 = {
btntype = "setting",
key = "btnAutoSpace",
class = "btnMove",
job = 0,
btnid = "autoSpace",
name = "隔位刺杀",
desc = "自动隔位刺杀, 仅限于战士有效。"
}
slot0[28] = slot1
slot1 = {
btntype = "setting",
key = "btnAutoWide",
class = "btnMove",
job = 0,
btnid = "autoWide",
name = "智能半月",
desc = "自动开启/关闭半月弯刀, 仅限于战士有效。"
}
slot0[29] = slot1
slot1 = {
btntype = "setting",
key = "btnAutoFire",
class = "btnMove",
job = 0,
btnid = "autoFire",
name = "自动烈火",
desc = "自动烈火, 仅限于战士有效。"
}
slot0[30] = slot1
slot1 = {
btntype = "setting",
key = "btnAutoDun",
class = "btnMove",
job = 1,
btnid = "autoDun",
name = "自动魔法盾",
desc = "自动魔法盾, 仅限于法师有效。"
}
slot0[31] = slot1
slot1 = {
btntype = "setting",
key = "btnAutoInvisible",
class = "btnMove",
job = 2,
btnid = "autoInvisible",
name = "自动隐身",
desc = "自动隐身, 仅限于道士有效。"
}
slot0[32] = slot1
slot1 = {
btntype = "setting",
name = "自动技能",
class = "btnMove",
key = "btnAutoSkill",
btnid = "autoSkill",
desc = "打开/关闭 自动技能"
}
slot0[33] = slot1
slot1 = {
btntype = "panel",
name = "背包",
class = "btnMove",
key = "btnPanelBag",
btnid = "bag",
desc = "打开背包面板"
}
slot0[34] = slot1
slot1 = {
btntype = "panel",
name = "装备",
class = "btnMove",
key = "btnPanelEquip",
btnid = "equip",
desc = "打开装备面板"
}
slot0[35] = slot1
slot1 = {
btntype = "panel",
name = "技能",
class = "btnMove",
key = "btnPanelSkill",
btnid = "skill",
desc = "打开技能面板"
}
slot0[36] = slot1
slot1 = {
btntype = "panel",
name = "交易",
class = "btnMove",
key = "btnPanelDeal",
btnid = "deal",
desc = "实时玩家交易"
}
slot0[37] = slot1
slot1 = {
btntype = "panel",
name = "组队",
class = "btnMove",
key = "btnPanelGroup",
btnid = "group",
desc = "打开组队面板"
}
slot0[38] = slot1
slot1 = {
btntype = "panel",
name = "好友",
class = "btnMove",
key = "btnPanelFriend",
btnid = "relation",
desc = "打开好友面板"
}
slot0[39] = slot1
slot1 = {
btntype = "panel",
name = "行会",
class = "btnMove",
key = "btnPanelGuild",
btnid = "guild",
desc = "打开行会面板"
}
slot0[40] = slot1
slot1 = {
btntype = "panel",
name = "排行",
class = "btnMove",
key = "btnPanelTop",
btnid = "top",
desc = "打开排行面板"
}
slot0[41] = slot1
slot1 = {
btntype = "panel",
name = "商城",
class = "btnMove",
key = "btnPanelShop",
btnid = "shop",
desc = "打开商场面板"
}
slot0[42] = slot1
slot1 = {
btntype = "panel",
name = "摆摊",
class = "btnMove",
key = "btnPanelStall",
btnid = "stall",
desc = "打开摆摊面板"
}
slot0[43] = slot1
slot1 = {
btntype = "panel",
name = "邮件",
class = "btnMove",
key = "btnPanelMail",
btnid = "mail",
desc = "打开邮件面板"
}
slot0[44] = slot1
slot1 = {
btntype = "panel",
name = "设置",
class = "btnMove",
key = "btnPanelSetting",
btnid = "setting",
desc = "打开设置面板"
}
slot0[45] = slot1
slot1 = {
btntype = "panel",
name = "充值",
class = "btnMove",
key = "link",
btnid = "link",
desc = "充值"
}
slot0[46] = slot1
slot1 = {
btntype = "prop",
name = "红药",
class = "btnMove",
key = "btnPropHongyao",
btnid = "hongyao",
desc = "快捷道具使用按钮, 支持: 金创药(小量), 金创药(中量), 强效金创药"
}
slot2 = {
"金创药(小量)",
"金创药中量(赠)",
"金创药(中量)",
"强效金创药(赠)",
"强效金创药"
}
slot1.use = slot2
slot0[47] = slot1
slot1 = {
btntype = "prop",
name = "蓝药",
class = "btnMove",
key = "btnPropLanyao",
btnid = "lanyao",
desc = "快捷道具使用按钮, 支持: 魔法药(小量), 魔法药(中量), 强效魔法药"
}
slot2 = {
"魔法药(小量)",
"魔法药中量(赠)",
"魔法药(中量)",
"强效魔法药(赠)",
"强效魔法药"
}
slot1.use = slot2
slot0[48] = slot1
slot1 = {
btntype = "prop",
name = "瞬回药品",
class = "btnMove",
key = "btnPropShunhui",
btnid = "shunhui",
desc = "快捷道具使用按钮, 支持: 太阳水, 强效太阳水, 万年雪霜, 疗伤药"
}
slot2 = {
"太阳水",
"强效太阳水",
"万年雪霜",
"疗伤药"
}
slot1.use = slot2
slot0[49] = slot1
slot1 = {
btntype = "prop",
name = "随机传送卷",
class = "btnMove",
key = "btnPropSuiji",
btnid = "suiji",
desc = "快捷道具使用按钮, 支持: 随机传送卷"
}
slot2 = {
"随机传送卷"
}
slot1.use = slot2
slot0[50] = slot1
slot1 = {
btntype = "prop",
name = "地牢逃脱卷",
class = "btnMove",
key = "btnPropDilao",
btnid = "dilao",
desc = "快捷道具使用按钮, 支持: 地牢逃脱卷"
}
slot2 = {
"地牢逃脱卷"
}
slot1.use = slot2
slot0[51] = slot1
slot1 = {
btntype = "prop",
name = "回城卷",
class = "btnMove",
key = "btnPropHuicheng",
btnid = "huicheng",
desc = "快捷道具使用按钮, 支持: 回城卷"
}
slot2 = {
"回城卷"
}
slot1.use = slot2
slot0[52] = slot1
slot1 = {
btntype = "prop",
name = "行会回城卷",
class = "btnMove",
key = "btnPropHanghui",
btnid = "hanghui",
desc = "快捷道具使用按钮, 支持: 行会回城卷"
}
slot2 = {
"行会回城卷"
}
slot1.use = slot2
slot0[53] = slot1
slot1 = {
btntype = "prop",
name = "祝福油",
class = "btnMove",
key = "btnPropZhufuyou",
btnid = "zhufuyou",
desc = "快捷道具使用按钮, 支持: 祝福油"
}
slot2 = {
"祝福油"
}
slot1.use = slot2
slot0[54] = slot1
slot1 = {
btntype = "prop",
name = "盟重传送石",
class = "btnMove",
key = "btnPropMengzhong",
btnid = "mengzhong",
desc = "快捷道具使用按钮, 支持: 盟重传送石"
}
slot2 = {
"盟重传送石(赠)",
"盟重传送石"
}
slot1.use = slot2
slot0[55] = slot1
slot1 = {
btntype = "prop",
name = "比奇传送石",
class = "btnMove",
key = "btnPropBiqi",
btnid = "biqi",
desc = "快捷道具使用按钮, 支持: 比奇传送石"
}
slot2 = {
"比奇传送石(赠)",
"比奇传送石"
}
slot1.use = slot2
slot0[56] = slot1
slot1 = {
btntype = "prop",
name = "随机传送石",
class = "btnMove",
key = "btnPropSuijishi",
btnid = "suijishi",
desc = "快捷道具使用按钮, 支持: 随机传送石"
}
slot2 = {
"随机传送石"
}
slot1.use = slot2
slot0[57] = slot1
slot1 = {
btntype = "cmd",
name = "@传送",
class = "btnMove",
key = "btnCmdChuansong",
btnid = "chuansong",
desc = "传送口令"
}
slot0[58] = slot1
slot1 = {
btntype = "cmd",
name = "@千里传音",
class = "btnMove",
key = "btnCmdQianlichuanyin",
btnid = "qianlichuanyin",
desc = "千里传音口令"
}
slot0[59] = slot1
slot1 = {
btntype = "cmd",
name = "@刷新背包",
class = "btnMove",
key = "btnCmdShuaxinbeibao",
btnid = "shuaxinbeibao",
desc = "刷新背包口令"
}
slot0[60] = slot1
slot1 = {
btntype = "cmd",
name = "@拒绝私聊",
class = "btnMove",
key = "btnCmdJujuesiliao",
btnid = "jujuesiliao",
desc = "拒绝私聊口令"
}
slot0[61] = slot1
slot1 = {
btntype = "cmd",
name = "@禁止交易",
class = "btnMove",
key = "btnCmdJinzhijiaoyi",
btnid = "jinzhijiaoyi",
desc = "禁止交易口令"
}
slot0[62] = slot1
slot1 = {
btntype = "cmd",
name = "@师徒传送",
class = "btnMove",
key = "btnCmdShituchuansong",
btnid = "shituchuansong",
desc = "师徒传送口令"
}
slot0[63] = slot1
slot1 = {
btntype = "cmd",
name = "@夫妻传送",
class = "btnMove",
key = "btnCmdFuqichuansong",
btnid = "fuqichuansong",
desc = "夫妻传送口令"
}
slot0[64] = slot1
slot1 = {
btntype = "skill",
key = "btnSkillTemp",
class = "btnMove",
name = "技能"
}
slot0[65] = slot1
slot1 = {
btntype = "hero",
name = "召唤英雄",
class = "btnMove",
key = "btnHeroCall",
btnid = "call",
desc = "召唤一个英雄"
}
slot0[66] = slot1
slot1 = {
btntype = "hero",
name = "英雄背包",
class = "btnMove",
key = "btnHeroBag",
btnid = "bag",
desc = "打开/关闭英雄背包"
}
slot0[67] = slot1
slot1 = {
btntype = "hero",
name = "状态",
class = "btnMove",
key = "btnHeroEquip",
btnid = "equip",
desc = "打开英雄状态信息"
}
slot0[68] = slot1
slot1 = {
btntype = "hero",
name = "合击",
class = "btnMove",
key = "btnHeroSkill",
btnid = "skill",
desc = "释放合击技能"
}
slot0[69] = slot1
slot1 = {
btntype = "hero",
name = "模式",
class = "btnMove",
key = "btnHeroMode",
btnid = "mode",
desc = "切换英雄模式"
}
slot0[70] = slot1
slot1 = {
btntype = "hero",
name = "英雄守护",
class = "btnMove",
key = "btnHeroGuard",
btnid = "guard",
desc = "英雄守护在一个坐标区域内打怪"
}
slot0[71] = slot1
slot1 = {
btntype = "hero",
name = "英雄锁定",
class = "btnMove",
key = "btnHeroLock",
btnid = "lock",
desc = "英雄锁定一个目标"
}
slot0[72] = slot1
slot1 = {
btntype = "custom",
name = "",
class = "btnMove",
key = "btnCustom1",
id = 1,
btnid = "btnCustom1",
desc = ""
}
slot0[73] = slot1
slot1 = {
btntype = "custom",
name = "",
class = "btnMove",
key = "btnCustom2",
id = 2,
btnid = "btnCustom2",
desc = ""
}
slot0[74] = slot1
slot1 = {
btntype = "custom",
name = "",
class = "btnMove",
key = "btnCustom3",
id = 3,
btnid = "btnCustom3",
desc = ""
}
slot0[75] = slot1
slot1 = {
btntype = "custom",
name = "",
class = "btnMove",
key = "btnCustom4",
id = 4,
btnid = "btnCustom4",
desc = ""
}
slot0[76] = slot1
slot1 = {
btntype = "custom",
name = "",
class = "btnMove",
key = "btnCustom5",
id = 5,
btnid = "btnCustom5",
desc = ""
}
slot0[77] = slot1
slot1 = {
btntype = "custom",
name = "",
class = "btnMove",
key = "btnCustom6",
id = 6,
btnid = "btnCustom6",
desc = ""
}
slot0[78] = slot1
slot1 = VERSION_REVIEW
if slot1 then
slot1 = #slot0
slot2 = 1
local slot3 = -1
for slot4 = slot1, slot2, slot3 do
local slot5 = checkExist
local slot6 = slot0[slot4]
slot6 = slot6.key
local slot7 = "btnAutoRat"
local slot8 = "btnHelper"
local slot9 = "btnGroup"
local slot10 = "btnPanelStall"
local slot11 = "btnPanelMail"
slot5 = slot5(slot6, slot7, slot8, slot9, slot10, slot11)
if slot5 then
slot5 = table
slot5 = slot5.remove
slot6 = slot0
slot7 = slot4
slot5(slot6, slot7)
end
end
end
slot1 = {}
slot2 = {
key = "infoBar"
}
slot1[1] = slot2
slot2 = {
key = "btnMode"
}
slot1[2] = slot2
slot2 = {
key = "btnPet"
}
slot1[3] = slot2
slot2 = {
key = "btnDiy"
}
slot1[4] = slot2
slot2 = {
key = "btnMap"
}
slot1[5] = slot2
slot2 = {
key = "btnExit"
}
slot1[6] = slot2
slot2 = {
key = "rocker",
x = 150,
y = 150
}
slot1[7] = slot2
slot2 = {
key = "bottom"
}
slot1[8] = slot2
slot2 = {
key = "hp"
}
local slot3 = display
slot3 = slot3.cx
slot3 = slot3 - 185
slot2.x = slot3
slot1[9] = slot2
slot2 = {
key = "chat",
y = 85
}
slot3 = display
slot3 = slot3.cx
slot3 = slot3 + 60
slot2.x = slot3
slot1[10] = slot2
slot2 = {
key = "btnChat",
y = 144
}
slot3 = display
slot3 = slot3.cx
slot3 = slot3 - 110
slot2.x = slot3
slot1[11] = slot2
slot2 = {
key = "lock",
y = 310
}
slot1[12] = slot2
slot2 = {
key = "btnHeroBag",
btnpos = "0-0"
}
slot1[13] = slot2
slot2 = {
key = "btnPanelShop"
}
slot3 = display
slot3 = slot3.width
slot3 = slot3 - 190
slot2.x = slot3
slot3 = display
slot3 = slot3.height
slot3 = slot3 - 65
slot2.y = slot3
slot1[14] = slot2
slot2 = {
key = "btnHeroLock",
btnpos = "0-0"
}
slot1[15] = slot2
slot2 = {
key = "btnHeroMode",
btnpos = "0-0"
}
slot1[16] = slot2
slot2 = {
key = "btnPanelSetting",
btnpos = "2-2"
}
slot1[17] = slot2
slot2 = {
key = "btnAutoRat",
btnpos = "2-3"
}
slot1[18] = slot2
slot2 = {
key = "btnBackHome",
btnpos = "2-4"
}
slot1[19] = slot2
slot2 = {
key = "btnHeroCall",
btnpos = "0-0"
}
slot1[20] = slot2
slot2 = {
key = "link"
}
slot3 = display
slot3 = slot3.width
slot3 = slot3 - 270
slot2.x = slot3
slot3 = display
slot3 = slot3.height
slot3 = slot3 - 65
slot2.y = slot3
slot1[21] = slot2
slot2 = {
key = "btnHeroSkill",
btnpos = "0-0"
}
slot1[22] = slot2
slot2 = {
key = "btnPanelEquip",
btnpos = "1-4"
}
slot1[23] = slot2
slot2 = {
key = "btnPanelDeal",
btnpos = "2-1"
}
slot1[24] = slot2
slot2 = {
key = "btnAttack",
btnpos = "1-1"
}
slot1[25] = slot2
slot2 = {
key = "btnPanelBag",
btnpos = "1-3"
}
slot1[26] = slot2
slot2 = {
key = "btnLock",
btnpos = "1-2"
}
slot1[27] = slot2
slot2 = {}
slot3 = {
key = "btnCustom1",
y = 200
}
local slot4 = display
slot4 = slot4.cx
slot4 = slot4 + 50
slot4 = slot4 - 150
slot3.x = slot4
slot2[1] = slot3
slot3 = {
key = "btnCustom2",
y = 200
}
slot4 = display
slot4 = slot4.cx
slot4 = slot4 + 50
slot4 = slot4 - 90
slot3.x = slot4
slot2[2] = slot3
slot3 = {
key = "btnCustom3",
y = 200
}
slot4 = display
slot4 = slot4.cx
slot4 = slot4 + 50
slot4 = slot4 - 30
slot3.x = slot4
slot2[3] = slot3
slot3 = {
key = "btnCustom4",
y = 200
}
slot4 = display
slot4 = slot4.cx
slot4 = slot4 + 50
slot4 = slot4 + 30
slot3.x = slot4
slot2[4] = slot3
slot3 = {
key = "btnCustom5",
y = 200
}
slot4 = display
slot4 = slot4.cx
slot4 = slot4 + 50
slot4 = slot4 + 90
slot3.x = slot4
slot2[5] = slot3
slot3 = {
key = "btnCustom6",
y = 200
}
slot4 = display
slot4 = slot4.cx
slot4 = slot4 + 50
slot4 = slot4 + 150
slot3.x = slot4
slot2[6] = slot3
slot3 = function (slot0)
slot2 = g_setting
for slot4, slot5 in ipairs(slot2) do
local slot6 = slot5.key
if slot6 == slot0 then
return slot5
end
end
end
local slot4 = function (slot0)
local slot1 = slot0.key2
slot1 = slot1 or slot0.key
local slot3 = g_setting
for slot5, slot6 in ipairs(slot3) do
local slot7 = slot6.key
if slot7 == slot1 then
return slot6
end
end
end
local slot5 = {
config = slot0,
default = slot1,
getData = slot3,
getConfig = slot4,
default_pc = slot2
}
return slot5