|
手游剑侠情缘进入游戏自动弹出公告修改教程1 t) Q+ Z$ c) B5 `/ M- y* e
首先在解包的客户端文件中Client/Script/Ui/Windows找到Login.lua( D G. e7 z$ s; {% W, M0 N
- function tbLogin:OnOpenEnd()
- if not version_xm then
- Ui:OpenWindow("NoticePanel")
- end
- % |7 v3 |9 }1 L1 C- |+ e
2 a) ]0 ], ]/ j! V[color=rgb(51, 102, 153) !important]复制代码9 q# a) ?( I2 w
这段代码的意思是 如果版本不是新马那么当游戏启动时弹出公告面板,那么这个时候我们只需要把 version_xm 修改为 version_tx 即可,修改如下/ S8 A( g- y, ]& m" _6 d
- function tbLogin:OnOpenEnd()
- if version_xm then
- Ui:OpenWindow("NoticePanel")
- end
- 9 d8 Q" f7 ^9 O& q' I8 z
- B5 H! ^! @" K) Y
[color=rgb(51, 102, 153) !important]复制代码' I' ?& N- P+ F; w% X3 L
然后把客户端打包补丁,在游戏当中更新即可。$ T# l G8 h8 H- e1 o% m, c) ?
|
|