小熊梦工厂海格成长挂教程及软件
首先在安装目录里通过桌面的小熊快捷方式找到小熊安装位置(右击出现属性,看路径),在出现的小熊安装文件夹里找到QQPetBear-Config-Function,将那个挂的文件复制到里边后,重新启动小熊就可以了。当然你要知道你安装的软件是在海格那打还是在依西那打,或者别的NPC打。如果实在不懂找个懂的开远程给你弄也行。
Func_Pk_Pve114.luaFunc_Pk_Pve123.lua1.软件如下:
直接把对象复制到桌面即可。(鉴于第一个文档同类文档上传后评价不高,可能是下载的不理解那个方法,所以给了差评,这个应该可以满足各位熊友了)\
2.个人觉得这个方法也是应该可以的,
首先传得是第一个114的:
Func_Pk_Pve114=
{
UiTpye=0,
--这个功能项是否能显示 海格-师门
ShouldShow = function(self)
return 1
end,
--这个功能项的按钮文字
GetItemText = function(self, text)
return "你还可以有其他的玩法哦"
end,
--测试函数,模拟打开一个UI,然后选择一个item,再打一个UI,再关闭一个item Active = function(self)
ShowNPCUI("Func_Pk_Pve114")
SetItemNumber(8) --设置选项个数
SetNPCUIItemText(0, "刷大瓶斗志药水", 0) --设置选项显示内容,序号从0开始
SetNPCUIItemText(1, "年兽80级", 0)
SetNPCUIItemText(2, "刷成长2代", 0)
SetNPCUIItemText(3, "踢馆的小熊35级", 0)
SetNPCUIItemText(4, "踢馆的小熊40级", 0)
SetNPCUIItemText(5, "超级海盗60级(出宝石)", 0)
SetNPCUIItemText(6, "地狱海盗70级(试练)", 0)
SetNPCUIItemText(7, "关闭", 0)
self.UiTpye=1;
end,
--1号界面消息处理函数
OnSelect_1 = function(self,idx)
if idx == 0 then
RequestPVE(265, 1093)
elseif idx== 1 then
RequestPVE(265, 1015)
elseif idx== 2 then
RequestPVE(265, 1089)
elseif idx== 3 then
RequestPVE(265, 1035)
elseif idx== 4 then
RequestPVE(265, 1039)
elseif idx== 5 then
RequestPVE(265, 1121)
elseif idx== 6 then
RequestPVE(265, 1129)
elseif idx== 7 then
HideNPCUI()
end;
end,
--2号界面消息处理函数
OnSelect_5 = function(self,idx)
if idx == 0 then
HideNPCUI()
end;
end,
--选择了UI上的一个选项
OnSelect = function(self, idx)
if self.UiTpye == 1 then
self:OnSelect_1(idx)
elseif self.UiTpye == 2 then
self:OnSelect_2(idx)
elseif self.UiTpye == 3 then
self:OnSelect_3(idx)
elseif self.UiTpye == 4 then
self:OnSelect_4(idx)
elseif self.UiTpye == 5 then
self:OnSelect_5(idx)
end;
end,
--关闭了UI
OnCloseUI = function(self, idx)
end,
}
现在传第二个123的;
Func_Pk_Pve123=
{
UiTpye=0,
--这个功能项是否能显示 海格
ShouldShow = function(self)
return 1
end,
--这个功能项的按钮文字
GetItemText = function(self, text)
return "踢馆的小熊45级~"
end,
--测试函数,模拟打开一个UI,然后选择一个item,再打一个UI,再关闭一个item
Active = function(self)
RequestPVE(265, 1040) end,
--选择了UI上的一个选项
OnSelect = function(self, idx)
if self.UiTpye == 1 then
self:OnSelect_1(idx)
elseif self.UiTpye == 2 then
self:OnSelect_2(idx)
elseif self.UiTpye == 3 then
self:OnSelect_3(idx)
elseif self.UiTpye == 4 then
self:OnSelect_4(idx)
elseif self.UiTpye == 5 then
self:OnSelect_5(idx)
end;
end,
--关闭了UI
OnCloseUI = function(self, idx)
end,
}
将这个两个文件复制以后以文本文档命名,后缀改称和图一样的文件格式,名字最好也一样。接着按最上边的方法就可以了.这2个挂是刷海格的,有成长,结晶,年兽,宝石,等等。