七夕小雨 发表于 2019-11-27 23:35:50

事件UI(自制UI)MOD 使用方法介绍

事件UI(自制UI)MOD 使用方法介绍


MOD名称/Name事件UI(自制UI)/ Customize UI
MOD适用平台/ Platform通用 / Universal
MOD是否开源/ Whether open source否 / No
MOD是否存在触发器/ Trigger command是 / Yes
MOD是否存在外接DLL / External DLL否 / No



1、MOD配置 / configuration

中文 英文
如何进入配置界面
Enter the configuration interface
点击工具栏【MOD】按钮,选择【自定义UI】MOD,点击进入
Click the button on the toolbar, select MOD, and click to enter
配置说明
Configuration instructions
TriggerCtrlCof.UseDefMenu = false;
是否使用默认菜单
false :不使用 true:使用

TriggerCtrlCof.MenuEventID = 1;
点击菜单按钮将要执行的触发器
注意:只有的情况下,此命令才有效。

TriggerCtrlCof.TextLevel = 1000;
显示文字对应的图层
TriggerCtrlCof.UseDefMenu = false;
Whether to use the default menu
false: not used true: used

TriggerCtrlCof.MenuEventID = 1;
Clicking on the menu button will trigger
Note:This command is valid only in the case of .

TriggerCtrlCof.TextLevel = 1000;
The layer corresponding to the "Show Text Label" command

2、指令概览 / Preview

中文English



3、使用 / Use

指令 / command 中文English

禁止地图刷新
Stop Scene Update
暂停地图上所有内容的动作。
注意:默认UI不会受此指令影响

Pause everything on the map.
Note: The default UI is not affected by this directive
显示按钮
Show Button
显示一个按钮

注意:设置时注意图层、缩放、不透明度的填写
Show a button

Note: Pay attention to the filling of layer, zoom and opacity when setting
移动按钮
Move Button
移动按钮

注意:设置时注意图层、缩放、不透明度的填写

Move button

Note: Pay attention to the filling of layer, zoom and opacity when setting
消除按钮
Remove Button
移除按钮

Remove button
显示单选按钮
Show Radio Button
显示一个单选按钮

注意:想要达成选择的效果,需要对应的选项都在同一个组内
Show a radio button

Note: To achieve the effect of selection, the corresponding options need to
be in the same group
移动单选按钮
Move Radio Button
移动一个单选按钮

注意:组的填写要正确

Move a radio button

Note: The group must be filled in correctly

消除单选按钮
Remove Radio Button
移除单选按钮

注意:组的填写要正确

Remove radio button

Note: The group must be filled in correctly
显示文字
Show Text Label
显示文字

Show text
消除文字
Remove Text Label
移除文字

Remove text
消除所有界面控件
Remove All UI
移除所有的UI控件

Remove all UI controls
启动地图刷新
Start Scene Update
重新开始地图刷新

Restart map refresh
设置按钮经过指令
Set Hover Commad
为按钮设置一个鼠标经过的事件
Set a mouse-over event for the button
设置按钮位置(变量)
Move Button(Variable)
用变量值来设置按钮的坐标

Setting the coordinates of a button with a variable value
显示数值条
Set Progress Bar
显示进度条
注意:设置时注意图层、不透明度的填写
Show progress bar

Note: Pay attention to the filling of layers and opacity when setting
数值条数值设置
Show Progress Bar
设置进度条内容值

Set progress bar content value
移动数值条
Move Progress Bar
移动进度条
注意:设置时注意不透明度的填写
Move progress bar

Note: Pay attention to the opacity when setting
消除数值条
Remove Progress Bar
移除进度条

Remove progress bar

4、其他 / Other
a) 可以配合默认【显示图片】指令做更多的效果
如果对应图片的被系统默认UI压住,可以修改脚本 IM3 第107行 "sp.z = 6000 + id;"将其中的6000改为600即可

Can cooperate with the default command to do more effects
If the corresponding picture is suppressed by the system default UI, you can modify the script "IM3" line 107 "sp.z = 6000 + id;" and change 6000 to 600.

b) 部分功能读档后可能会失效,可以使用 “读档后执行触发器”MOD (免费MOD) 来弥补这一问题。
Some functions may fail after load the game. You can use the “Execute the designative trigger after loading game” MOD (free MOD) to make up for this problem.

视频使用教学 / Video teaching(Chinese):
https://www.bilibili.com/video/av77233092/

啤酒布丁 发表于 2019-11-28 13:06:02

牛!啤!
估计未来掉头发的就不只是小雨了,你们想鼓捣一个高端的UI也得献祭一批头发

yangdanfeng 发表于 2019-12-6 12:07:23

可以做背包吗?

2877242250 发表于 2021-5-22 17:40:28

页: [1]
查看完整版本: 事件UI(自制UI)MOD 使用方法介绍