首先在苏州创建一个副本入口NPC
[monster98]
guid=12294444
type=14100
name=潘青青
title=决战四绝庄
pos_x=194
pos_z=214
dir=0
script_id=1090
respawn_time=1000
group_id=-1
team_id=-1
base_ai=3
ai_file=0
patrol_id=-1
shop0=-1
shop1=-1
shop2=-1
shop3=-1
ReputationID=-1
level=50
Script.dat 新增
;四绝庄
893063=\event\sijuezhuang\esijuezhuang.lua
893064=\event\sijuezhuang\ai_hadaba.lua
893065=\event\sijuezhuang\ai_sangtugong.lua
893066=\event\sijuezhuang\ai_wulaoda.lua
893067=\event\sijuezhuang\ai_zhuobufan.lua
893068=\event\sijuezhuang\ai_bupingdaoren.lua
893069=\event\sijuezhuang\ai_liqiushui.lua
001090=\obj\sijuezhuang\sijuenpc.lua
893070=\obj\sijuezhuang\ohadaba.lua
893071=\obj\sijuezhuang\osangtugong.lua
893072=\obj\sijuezhuang\owulaoda.lua
893073=\obj\sijuezhuang\ofumingyi.lua
893074=\obj\sijuezhuang\oduanmuyuan.lua
893075=\obj\sijuezhuang\owulaodaloss.lua
893080=\obj\sijuezhuang\panqinqin.lua
893081=\obj\sijuezhuang\zhong.lua
893082=\obj\sijuezhuang\baoxiang.lua
修改540地图编号改为四绝庄
\Server\Config\SceneInfo.ini
[scene540]
threadindex=51
clientres=291
name=四绝庄
active=1
file=sijuezhuang.scn
serverid=0
type=0
PvpRuler=0
客户端新增一行SceneDefineEx.txt
291 四绝庄 128 128 sijuezhuang.scene sijuezhuang.path sijuezhuang.wCollision sijuezhuang.jpg 2102 60000 sijuezhuang 0 0 0 0 Sign1 MiniMap_Icon YiPinTang_Normal MiniMap_Icon YipinTang_Hover 四绝庄 0.2;0.2
服务端\tlbb\Public\Data\Script\ScriptGlobal.lua
FUBEN_SIJUEZHUANG = 924 --四绝庄
\tlbb\Public\Data\Script\scene.lua
or copyscenetype == FUBEN_SIJUEZHUANG--四绝庄
|