- 精华
- 阅读权限
- 120
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2010-5-30
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2011-5-16 13:40:09
|
显示全部楼层
天龙八部网游单机修改元宝店教程
首先打开\tlbb\Public\Data\Script\obj\qianzhuang文件夹
然后打开文件oqianzhuang_suishenyuanbao.lua
添加一个自己的元宝店名AddNumText( sceneId, x181003_g_scriptId, "#effffff#g12f1ff★★ 稀世珍品 ★★", 7, 1000 )
然后往下拉,复制个 if GetNumText() == 1000 then
BeginEvent( sceneId )
AddNumText( sceneId, x181003_g_scriptId, "#effffff#ccc33cc稀世杂货店", 7, 8000)
--AddNumText( sceneId, x181003_g_scriptId, "#effffff#ccc33cc国际时装店", 7, 2001)
--AddNumText( sceneId, x181003_g_scriptId, "#effffff#ccc33cc如意变身斋", 7, 2002)
--AddNumText( sceneId, x181003_g_scriptId, "#effffff#ccc33cc理发店", 7, 2003)
--AddNumText( sceneId, x181003_g_scriptId, "#effffff#ccc33cc美容坊", 7, 2004)
--AddNumText( sceneId, x181003_g_scriptId, "#effffff#ccc33cc天宫御马监", 7, 2005)
AddNumText( sceneId, x181003_g_scriptId, "返回上一页", -1, x181003_g_return)
EndEvent( sceneId )
DispatchEventList( sceneId, selfId, targetId )
end
if GetNumText() == 8000 then
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 237 )
end
if GetNumText() == 2002 then
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 181 )
end
if GetNumText() == 2003 then
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 145 )
end
if GetNumText() == 2004 then
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 182 )
end
if GetNumText() == 2005 then
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 134 )
end
if GetNumText() == 2006 then
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 224 )
end
个脚本段落。
然后再打开/home/tlbb/Public/Config文件夹找到ShopSceneLimiti.txt和ShopTable.txt文件
分别在下方复制一行ShopSceneLimiti.txt
237 0 1 2 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 71 72 1 1
ShopTable.txt复制
237 40 0 1 8 1 1 5 0 1 20000 50 0 0 0 0 96 97 98 100 200 300 400 500 30000000 1 -1 200 100 30103040 1 -1 400 100 30103041 1 -1 800 100 30505076 1 -1 1600 100 30505076 1 -1 3200 100 30505092 1 -1 200 100 30309066 1 -1 400 100 40004315 1 -1 800 100 40004316 1 -1 1600 100 40004426 1 -1 3200 100 40004453 1 -1 200 100 40004454 1 -1 400 100 40004460 1 -1 800 100 40004507 1 -1 1600 100 10111054 1 -1 3200 100 10112054 1 -1 200 100 10113054 1 -1 400 100 10114013 1 -1 800 100 10115013 1 -1 1600 100 10124121 1 -1 3200 100 10120014 1 -1 1000 100 10121014 1 -1 1000 100 10122014 1 -1 1000 100 10123014 1 -1 1000 100 10410035 1 -1 1000 100 10110054 1 -1 1000 100 10111054 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100 0 1 -1 1000 100
注意最前面的号数237.
x181003_NewDispatchShopItem( sceneId, selfId, targetId, 237 )
再不会就是你太笨了 |
|