传奇部落

[端游教程] 新BLUE引擎自定义按钮MainWidgetCfg.ini各项参数设置

[复制链接]
发表于 2022-12-20 19:01:37 | 显示全部楼层 |阅读模式
QQ截图20221220184842.jpg


[button]
; 打开关闭的按钮设置
LoginShowChildButton=0【登陆是否显示子按钮】
wmlib=Prguse2【素材文件名】
caption=开关【标题】
tips=点击显示/隐藏功能按钮【按钮上的文字提示】
x=5【坐标X】
y=45【坐标Y】
NormalImg=223【普通状态图片】
LightImg=0【高亮图片(鼠标滑过,设置0会自动高亮普通状态的图片)】
PushedImg=224【按下状态图片】

count=3【功能按钮个数】

; 功能按钮的设置
;-----------------------------------------
Visible0=1【可见,1是可见,0是不可见】
wmlib0=lui【素材文件名调用lui.pkg文件】
caption0=按钮0【标题】
tips0=Tips0【按钮上的文字提示】
x0=40【坐标X】
y0=55【坐标Y】
NormalImg0=DscStart0.bmp【普通状态图片】
LightImg0=【高亮图片(鼠标滑过,设置0会自动高亮普通状态的图片)】
PushedImg0=DscStart1.bmp【按下状态图片】
OpenLevel0=1【点击打开按钮的等级显示,默认1即可】


以上信息很多新手可能看不懂,明明都按说明设置了,为什么还是不显示自定义的按钮呢?这也是站长刚刚接触新BLUE引擎的时候锁遇到的问题,其实这个文件我们只需要在升级列表中做个自动更新即可。
例如:
.\data\MainWidgetCfg.ini     1BD7AC7EB204337385C3FB66     http://127.0.0.1/MainWidgetCfg.txt

;====================================================
以下是其他版本设置好按钮的MainWidgetCfg.ini文件,给大家做个参考

[button]
LoginShowChildButton=1
wmlib=Lui
caption=开关
tips=点击显示/隐藏功能按钮
x=1
y=94
NormalImg=19002.png
LightImg=0
PushedImg=19002.png
;-----------------------------------------
Count=9
;-----------------------------------------
Visible0=1
wmlib0=lui
caption0=游戏QQ群75663764
tips0=QQ群75663764
x0=1
y0=115
NormalImg0=19001.png
LightImg0=
PushedImg0=19001.png
OpenLevel0=1
;-----------------------------------------
Visible1=1
wmlib1=lui
caption1=点击查看游戏攻略
tips1=点击查看攻略
x1=1
y1=140
NormalImg1=19001.png
LightImg1=
PushedImg1=19001.png
OpenLevel1=1
;-----------------------------------------
Visible2=1
wmlib2=lui
caption2=客服QQ75663764
tips2=
x2=1
y2=165
NormalImg2=19001.png
LightImg2=0
PushedImg2=19001.png
OpenLevel2=1
;-----------------------------------------
Visible3=1
wmlib3=lui
caption3=全服喊话公告
tips3=点击查看公告牌
x3=1
y3=190
NormalImg3=19001.png
LightImg3=0
PushedImg3=19001.png
OpenLevel3=1
;-----------------------------------------
;BLUE引起技术交流论坛:bbs.gm700.com        
www.gm700.com
Visible4=1
wmlib4=Lui
;caption4=
tips4=
x4=1
y4=240
NormalImg4=HS-1.png
LightImg4=0
PushedImg4=HS-2.png
OpenLevel4=0
;-----------------------------------------
Visible5=1
wmlib5=Lui
;caption5=按钮5
tips5=
x5=0
y5=360
NormalImg5=GW-1.png
LightImg5=0
PushedImg5=GW-2.png
OpenLevel5=1

;-----------------------------------------
Visible6=1
wmlib6=Lui
;caption6=按钮6
tips6=
x6=0
y6=480
NormalImg6=DGBL.png
LightImg6=0
PushedImg6=DGBL.png
OpenLevel6=1
;-----------------------------------------
Visible7=1
wmlib7=Lui
;caption7=按钮7
tips7=
x7=0
y7=505
NormalImg7=HJWL.png
LightImg7=0
PushedImg7=HJWL.png
OpenLevel7=1
;-----------------------------------------
Visible8=1
wmlib8=Lui
;caption8=按钮8
tips8=
x8=0
y8=530
NormalImg8=DTJS.png
LightImg8=0
PushedImg8=DTJS.png
OpenLevel8=1

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

展开

Archiver|小黑屋|网站地图|皖ICP备18020244号-7|传奇部落

GMT+8, 2024-3-28 17:15 , Processed in 皖公网安备:34112402000394号 0.117946 second(s), 30 queries , Gzip On.