传世资源-传世版本-传世单机-传世服务端-传世社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 502|回复: 0

[彩虹脚本] GS引擎背包自定义

[复制链接]

489

主题

75

回帖

613

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
613
发表于 2023-11-18 00:29:06 | 显示全部楼层 |阅读模式
PackageWnd - F9背包界面自定义
F9背包界面自定义
涉及文件:GsRes \ ui \ PackageWnd.xml
标签
说明
Button name
按钮标签名字
Offset x
X坐标
Offset y
Y坐标
NormalTexture index
按钮状态-正常
HighlightTexture index按钮状态-点亮
PushedTexture index按钮状态-点击
Tips text鼠标放置按钮上的文字提示
Button name说明
标签
说明
GsPackageSortButton
整理包裹
GsPackageRefButton
刷新包裹
btnClose关闭当前组件界面
GsDiyPackageButton1 - GsDiyPackageButton10 触发版本里的QFunction-0.txt  @背包按钮1 - @背包按钮10

案例展示: <Button name ="GsDiyPackageButton1">
<Offset x = "312" y = "382" />
<NormalTexture index = "33181" />
<HighlightTexture index = "33182" />
<PushedTexture index = "33181" />
<Tips text="清理无法丢弃的垃圾" />
</Button>
<Button name ="MoreButton">
<Offset x = "24" y = "297" />
<NormalTexture index = "4986" />
<HighlightTexture index = "4987" />
<PushedTexture index = "4988" />
</Button>
<Button name ="GsPackageSortButton">
<Offset x = "295" y = "383" />
<NormalTexture index = "53513" />
<HighlightTexture index = "53514" />
<PushedTexture index = "53515" />
<Tips text="整理包裹" />
</Button>
<Button name ="GsPackageRefButton">
<Offset x = "405" y = "383" />
<NormalTexture index = "53510" />
<HighlightTexture index = "53511" />
<PushedTexture index = "53512" />
<Tips text="刷新包裹" />
</Button>

回复

使用道具 举报

快速回复 返回顶部 返回列表