项目

一般

简介

Dlg playModel » 历史记录 » 版本 11

tejie, 2025-11-12 09:27

1 4 yangdefeng
h4. _*%{color:green}<playModel:%*_
2 1 machenhe
3 10 tejie
标签:命令定义^<playModel:
4 1 machenhe
5
*定义*
6
自定义对话框中播放模型动画
7 9 yangdefeng
* 3D模型可拖动旋转
8 1 machenhe
* 模型会阻挡层按钮点击响应
9
* 模型无前倾,脚下法阵不可见
10
11 2 yangdefeng
参数之间以":"为分割符
12 1 machenhe
13
*使用前提*
14
配置Tejieconfig.txt
15
开启对应开关
16
** 文件位置
17 2 yangdefeng
..\Mir200\Tejieconfig\Tejieconfig.txt
18 1 machenhe
** 对应开关
19
[tjconfig]
20 2 yangdefeng
%{color:lightGrey};(=1时开启,=0时关闭,缺省时关闭)%
21 1 machenhe
isUseCustomOKPanel=1
22
23
-
24
-
25
26
*格式*
27 6 yangdefeng
|命令名   |参数1   |参数2|参数3|参数4                             |参数5     |参数6|参数7 |参数8 |参数9 |参数10 |
28
|playModel|模型id  |X偏移|Y偏移|UI缩放比,模型旋转角度,平面旋转角度|模型缩放比|男女 |武器id|斗笠id|翅膀id|特效id |
29 1 machenhe
30 11 tejie
*说明*
31
|^.参数1|模型id
32 7 yangdefeng
查看位置
33
特戒资源编辑器_物品_模型_衣服模型,支持参数6-10
34
特戒资源编辑器_物品_模型_非衣服模型
35 1 machenhe
特戒资源编辑器_NPC列表_模型
36 11 tejie
特戒资源编辑器_物品列表_模型|
37
|参数2|X偏移|
38
|参数3|Y偏移|
39
|^.参数4|UI缩放比,模型旋转角度,平面旋转角度
40
旋转角度可缺省|
41
|参数5|模型缩放比,摄像机缩放比|
42
|^.参数6|角色模型性别
43
 0,男
44
 1,女|
45
|^.参数7|武器id(0代表不配置武器)
46 1 machenhe
%{color:lightGrey}查看位置
47 11 tejie
特戒资源编辑器_物品_模型_武器模型%|
48
|^.参数8|斗笠id(0代表不配置斗笠)
49 1 machenhe
%{color:lightGrey}查看位置
50 11 tejie
特戒资源编辑器_物品_模型_斗笠模型%|
51
|^.参数9|翅膀id(0代表不配置翅膀)
52 1 machenhe
%{color:lightGrey}查看位置
53 11 tejie
特戒资源编辑器_物品_模型_翅膀模型%|
54
|参数10|无效参数|
55 1 machenhe
56 11 tejie
可使用5个参数模式,或10个参数模式
57 1 machenhe
(参数6-10可缺省)
58
59 5 yangdefeng
*相关命令*
60
[[playUser]]
61
[[Dlg_playModelEx_|playModelEx]] 
62 1 machenhe
63
-
64
-
65
66 4 yangdefeng
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
67 1 machenhe
68
bq. [@main]
69
#say
70 8 yangdefeng
%{color:lightGrey};展示怪物模型735%
71
<notextile><</notextile>*{color:green}playModel*:735:0:500:4:1,5>
72 1 machenhe
73
-
74
-
75
76
bq. [@main]
77
#say
78 8 yangdefeng
%{color:lightGrey};展示角色模型20270%
79
<notextile><</notextile>*{color:green}playModel*:20270:110:150:8:1.3,5:1:20122:10018:20117:0>