Functions:
open: |-
方法.更新变量值('dwo_order_page1','dwo_order_page2','dwo_tasks_0','dwo_order_level','dwo_order_points','dwo_order_maxPoints','dwo_order_day','dwo_order_level','dwo_order_levelPic');
方法.更新变量值('dwo_order_state','dwo_order_state_pic');
############继承区域############
任务显示:
width: 23
height: 23
maxDistanceY: "100"
minDistanceX: "100"
limitHeight: "背景_texture.y+130"
limitWidth: "背景_texture.x+500"
############继承区域############
背景_texture:
x: "(w-背景_texture.width)/2"
y: "(h-背景_texture.height)/2"
width: "389.8"
height: "290"
texture: "order/战令-HUD(带LOGO).png"
actions:
wheel: "滚动条_texture.distanceY=滚动条_texture.distanceY-滚动条_texture.maxDistanceY*0.05*方法.取滚轮值"
任务背景:
type: texture
x: "(w-背景_texture.width)/2+250"
y: "(h-背景_texture.height)/2+60"
width: "130"
height: "70"
texture: "order/战令-任务视图.png"
滚动条_texture:
x: "背景_texture.x+374.3"
y: "背景_texture.y+60.5"
width: "背景_texture.x*0.02"
height: "背景_texture.y*0.25"
extends: '任务显示'
texture: "order/战令-滑轮.png"
# 滑轮界面中的任务显示配置示例
任务1:
type: "label"
x: "背景_texture.x+312.3"
y: "背景_texture.y+72.5-滚动条_texture.distanceY"
center: true
extends: '任务显示'
texts: "方法.取变量('dwo_tasks_0')"
任务2:
type: "label"
x: "背景_texture.x+312.3"
y: "任务1.y+任务1.height"
center: true
extends: '任务显示'
texts: "方法.取变量('dwo_tasks_1')"
#dwo_order_levelPic
等级和积分等信息:
type: label
x: "(w-背景_texture.width)/2+136"
y: "(h-背景_texture.height)/2+75.5"
texts: "方法.合并文本('等级:',方法.取变量('dwo_order_level'),'\n经验:',方法.取变量('dwo_order_points'),'/',方法.取变量('dwo_order_maxPoints'),'\n','剩余:',方法.取变量('dwo_order_day'),'天\n','你的战令等级为:',方法.取变量('dwo_order_level'),'\n','你现在:',方法.取变量('dwo_order_state'))"
等级图片_texture:
x: "(w-背景_texture.width)/2+8"
y: "(h-背景_texture.height)/2+50.5"
width: "32"
height: "16"
texture: "方法.取变量('dwo_order_levelPic')"
战令状态图片_texture:
x: "(w-背景_texture.width)/2+40"
y: "(h-背景_texture.height)/2+68.5"
width: "64"
height: "64"
texture: "方法.取变量('dwo_order_state_pic')"
初级:
type: "texture"
x: "(w-背景_texture.width)/2+6" # 横排间隔42
y: "(h-背景_texture.height)/2+150"
width: "40"
height: "58"
texture: "order/战令-初级冒险者.png"
高级:
type: "texture"
x: "(w-背景_texture.width)/2+6" # 横排间隔42
y: "(h-背景_texture.height)/2+210"
width: "40"
height: "58"
texture: "order/战令-高级冒险者.png"
上一页:
type: "texture"
x: "(w-背景_texture.width)/2+170"
y: "(h-背景_texture.height)/2+272"
width: "10"
height: "15"
texture: "order/战令-按钮-上一页.png"
actions:
click: "方法.聊天('/dwo last')"
下一页:
type: "texture"
x: "(w-背景_texture.width)/2+211"
y: "(h-背景_texture.height)/2+272"
width: "10"
height: "15"
texture: "order/战令-按钮-下一页.png"
actions:
click: "方法.聊天('/dwo next')"
当前页数:
type: label
x: "(w-背景_texture.width)/2+186"
y: "(h-背景_texture.height)/2+275.5"
texts: "方法.合并文本(方法.取变量('dwo_order_page1'),' / ',方法.取变量('dwo_order_page2'))"
任务框:
# 以下三个代表 free部分的第一个奖励的背景图 奖励物品(仅支持一个)小图 领取图
# 带***的部分在玩家打开界面时会自动内置
free0_texture:
type: "**"
x: "(w-背景_texture.width)/2+47"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free0_icon:
type: "**"
x: "(w-背景_texture.width)/2+52"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free0_label:
type: "**"
x: "(w-背景_texture.width)/2+67"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free0_get:
x: "(w-背景_texture.width)/2+57"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_0')"
free1_texture:
type: "**"
x: "(w-背景_texture.width)/2+89"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free1_icon:
type: "**"
x: "(w-背景_texture.width)/2+94"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free1_label:
type: "**"
x: "(w-背景_texture.width)/2+109"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free1_get:
x: "(w-背景_texture.width)/2+99"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_1')"
free2_texture:
type: "**"
x: "(w-背景_texture.width)/2+131"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free2_icon:
type: "**"
x: "(w-背景_texture.width)/2+136"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free2_label:
type: "**"
x: "(w-背景_texture.width)/2+151"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free2_get:
x: "(w-背景_texture.width)/2+141"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('/dwo get index_free_2')"
free3_texture:
type: "**"
x: "(w-背景_texture.width)/2+173"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free3_icon:
type: "**"
x: "(w-背景_texture.width)/2+178"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free3_label:
type: "**"
x: "(w-背景_texture.width)/2+193"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free3_get:
x: "(w-背景_texture.width)/2+183"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_3')"
free4_texture:
type: "**"
x: "(w-背景_texture.width)/2+215"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free4_icon:
type: "**"
x: "(w-背景_texture.width)/2+220"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free4_label:
type: "**"
x: "(w-背景_texture.width)/2+235"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free4_get:
x: "(w-背景_texture.width)/2+225"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_4')"
free5_texture:
type: "**"
x: "(w-背景_texture.width)/2+257"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free5_icon:
type: "**"
x: "(w-背景_texture.width)/2+262"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free5_label:
type: "**"
x: "(w-背景_texture.width)/2+277"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free5_get:
x: "(w-背景_texture.width)/2+267"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_5')"
free6_texture:
type: "**"
x: "(w-背景_texture.width)/2+299"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free6_icon:
type: "**"
x: "(w-背景_texture.width)/2+304"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free6_label:
type: "**"
x: "(w-背景_texture.width)/2+319"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free6_get:
x: "(w-背景_texture.width)/2+309"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_6')"
free7_texture:
type: "**"
x: "(w-背景_texture.width)/2+341"
y: "(h-背景_texture.height)/2+150"
width: "42.5"
height: "58"
texture: "***"
free7_icon:
type: "**"
x: "(w-背景_texture.width)/2+346"
y: "(h-背景_texture.height)/2+160"
width: "32"
height: "32"
texture: "***"
free7_label:
type: "**"
x: "(w-背景_texture.width)/2+361"
y: "(h-背景_texture.height)/2+138"
texts: "§5§l<code>"
free7_get:
x: "(w-背景_texture.width)/2+351"
y: "(h-背景_texture.height)/2+192"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_free_7')"
pay0_texture:
type: "**"
x: "(w-背景_texture.width)/2+47"
y: "(h-背景_texture.height)/2+210"
width: "42.5"
height: "58"
texture: "***"
pay0_icon:
type: "**"
x: "(w-背景_texture.width)/2+52"
y: "(h-背景_texture.height)/2+220"
width: "32"
height: "32"
texture: "***"
pay0_get:
x: "(w-背景_texture.width)/2+57"
y: "(h-背景_texture.height)/2+252"
width: "22"
height: "11"
texture: "order/战令-按钮-1.png"
text: "领取"
tip:
- 点我领取奖励
actions:
click: "方法.聊天('say /dwo get index_pay_0')"