PC包裹自定义
• 1、配套程序
GameClient.exe 请使用1.5.4.6或以上版本
• 2、打开PC端 ..\996Woool\ui\PackageWnd.xml
<Button name ="btn_gold"> <!-- ID,请勿更改 --> <Offset x = "102" y = "315" /> <!-- 位置偏移 --> <NormalTexture index = "715" /> <!-- 显示图标,调用interface\007\00715.tex --> <HighlightTexture index = "716" /> <!-- 鼠标滑过图标,调用interface\007\00716.tex --> <PushedTexture index = "717" /> <!-- 鼠标按钮图标,调用interface\007\00716.tex --> <ButtonText text="" /> <!-- 按钮上面的文字 --> <Tips text="金币" /> <!-- 鼠标划过按钮时的Tips --></Button><Label name ="label_gold"> <!-- ID,请勿更改 --> <Offset x = "126" y = "325" /> <!-- 位置偏移 --> <LabelText text="GOLD COIN"> <!-- 请勿更改 --> <Font name = "FONT_DEFAULT" size="16"/> <!-- 字体、字号 --> </LabelText> </Label>• 3、打开版本里面 ..\Mir200\Envir\Funtion_def\BagWndNpc-0.txt 使用SetBagCfg命令开启自定义背包包裹,具体请搜索说明书SetBagCfg
• 4、以下完整PackageWnd.xml参考,编码请使用 GB2312, 客户端 ..\996Woool\font里的字体请使用默认字体
name为客户端写死,更改无效
<?xml version="1.0" encoding="gb2312"?> <Window name = "PackageWnd"> <Script file="PackageWnd.lua" /> <Offset x = "0" y = "0" align = "Center" /> <BackTexture index = "706" /><!-- 金币图标 --> <Button name ="btn_gold"> <Offset x = "82" y = "305" /> <NormalTexture index = "715" /> <HighlightTexture index = "716" /> <PushedTexture index = "717" /> <ButtonText text="" /> <Tips text="金币" /> </Button><!-- 元宝图标 --> <Button name ="btn_yuanbao"> <Offset x = "203" y = "305" /> <NormalTexture index = "718" /> <HighlightTexture index = "719" /> <PushedTexture index = "720" /> <ButtonText text="" /> <Tips text="元宝" /> </Button><!-- 绑定金币图标 --> <Button name ="btn_bindgold"> <Offset x = "82" y = "337" /> <NormalTexture index = "715" /> <HighlightTexture index = "715" /> <PushedTexture index = "715" /> <ButtonText text="" /> <Tips text="绑金" /> </Button><!-- 绑定元宝图标 --> <Button name ="btn_bindyuanbao"> <Offset x = "203" y = "337" /> <NormalTexture index = "718" /> <HighlightTexture index = "718" /> <PushedTexture index = "718" /> <ButtonText text="" /> <Tips text="绑元" /> </Button><!-- 金币数量 --> <Label name ="label_gold"> <Offset x = "116" y = "315" /> <LabelText text="GOLD COIN"> <Font name = "FONT_DEFAULT" size="12"/> </LabelText> </Label><!-- 元宝数量 --> <Label name ="label_yuanbao"> <Offset x = "237" y = "315" /> <LabelText text="YUAN BAO"> <Font name = "FONT_DEFAULT" size="12"/> </LabelText> </Label><!-- 绑定金币数量 --> <Label name ="label_bindgold"> <Offset x = "116" y = "344" /> <LabelText text="BIND GOLD COIN"> <Font name = "FONT_DEFAULT" size="12"/> </LabelText> </Label><!-- 绑定元宝数量 --> <Label name ="label_bindyuanbao"> <Offset x = "237" y = "344" /> <LabelText text="BIND YUAN BAO"> <Font name = "FONT_DEFAULT" size="12"/> </LabelText> </Label><!-- SetLableValue 1 数量 --> <Label name ="label_currency1"> <Offset x = "397" y = "315" /> <LabelText text="累积充值"> <Font name = "FONT_DEFAULT" size="12"/> </LabelText> </Label><!-- SetLableValue 2 数量 --> <Label name ="label_currency2"> <Offset x = "397" y = "344" /> <LabelText text="水晶积分"> <Font name = "FONT_DEFAULT" size="12"/> </LabelText> </Label> </Window>PC 自定义包裹界面支持物品放取框
[@弹出放取框]#IFTrue#SAY<@@!XYITEMGETWND 3,3,50039,31,170,请放入需要销毁物品/@放入销毁物品>
本页面由服务器脚本从原始 DOCX 自动生成。排版如与 Word 略有差异,请以原始 DOCX 为准。