Zoom » 历史记录 » 版本 2
yangdefeng, 2022-08-04 16:46
1 | 1 | yangdefeng | h4. _*%{color:green}zoom%*_ |
---|---|---|---|
2 | |||
3 | 缩放指定装备位的武器或翅膀模型外显 |
||
4 | |||
5 | 2 | yangdefeng | 标签:命令定义<zoom<缩放 |
6 | 1 | yangdefeng | |
7 | *格式* |
||
8 | |命令名|参数1 |参数2 | |
||
9 | |zoom |装备位id|缩放倍率| |
||
10 | |||
11 | *说明* |
||
12 | * 参数1: 装备位id |
||
13 | ** 0,装备位衣服上的翅膀 |
||
14 | ** 1,装备位武器 |
||
15 | ** 17,装备位时装衣服上的翅膀 |
||
16 | ** 18,装备位武器 |
||
17 | |||
18 | 参数2: 缩放倍率基准为100,表示1比1,101表示放大1%,99表示缩小1% |
||
19 | |||
20 | *相关命令* |
||
21 | [[zoomEx]] |
||
22 | |||
23 | - |
||
24 | - |
||
25 | |||
26 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
27 | |||
28 | - |
||
29 | - |
||
30 | |||
31 | bq. [@main] |
||
32 | #if |
||
33 | [[equal]] u$初次打开放大 0 |
||
34 | #act |
||
35 | [[mov]] u$初次打开放大 1 |
||
36 | [[mov]] u$武器基数 100 |
||
37 | [[mov]] u$翅膀基数 100 |
||
38 | [[mov]] u$装扮武器基数 100 |
||
39 | [[mov]] u$装扮翅膀基数 100 |
||
40 | |
||
41 | #if |
||
42 | #say |
||
43 | <notextile><放大武器/@放大武器>< ><缩小武器/@缩小武器>< ><当前系数:<$str(u$武器基数)>>\ \</notextile> |
||
44 | <notextile><放大翅膀/@放大翅膀>< ><缩小翅膀/@缩小翅膀>< ><当前系数:<$str(u$翅膀基数)>>\ \</notextile> |
||
45 | <------------------------------------->\ \ |
||
46 | <notextile><显示装扮武器/@显示装扮武器>< ><取消装扮武器/@取消装扮武器>\ \</notextile> |
||
47 | <notextile><显示装扮翅膀/@显示装扮翅膀>< ><取消装扮翅膀/@取消装扮翅膀>\ \</notextile> |
||
48 | <------------------------------------->\ \ |
||
49 | <notextile><放大装扮武器/@放大装扮武器>< ><缩小装扮武器/@缩小装扮武器>< ><当前系数:<$str(u$装扮武器基数)>>\ \</notextile> |
||
50 | <notextile><放大装扮翅膀/@放大装扮翅膀>< ><缩小装扮翅膀/@缩小装扮翅膀>< ><当前系数:<$str(u$装扮翅膀基数)>>\ \</notextile> |
||
51 | |
||
52 | <notextile>[@显示装扮武器]</notextile> |
||
53 | #act |
||
54 | [[setPlayerModel]] <$userName> 1 20037 |
||
55 | |
||
56 | <notextile>[@取消装扮武器]</notextile> |
||
57 | #act |
||
58 | [[setPlayerModel]] <$userName> 1 -1 |
||
59 | |
||
60 | <notextile>[@显示装扮翅膀]</notextile> |
||
61 | #act |
||
62 | [[setPlayerModel]] <$userName> 2 20089 2038 |
||
63 | |
||
64 | <notextile>[@取消装扮翅膀]</notextile> |
||
65 | #act |
||
66 | [[setPlayerModel]] <$userName> 2 -1 -1 |
||
67 | |
||
68 | |
||
69 | <notextile>[@放大武器]</notextile> |
||
70 | #act |
||
71 | goto <notextile>@取消装扮武器</notextile> |
||
72 | [[inc]] u$武器基数 10 |
||
73 | [[sendMsg]] 6 武器<$str(u$武器基数)> |
||
74 | *%{color:green}zoom%* 1 u$武器基数 |
||
75 | goto <notextile>@main</notextile> |
||
76 | |
||
77 | <notextile>[@缩小武器]</notextile> |
||
78 | #act |
||
79 | goto <notextile>@取消装扮武器</notextile> |
||
80 | [[dec]] u$武器基数 10 |
||
81 | [[sendMsg]] 6 武器<$str(u$武器基数)> |
||
82 | *%{color:green}zoom%* 1 u$武器基数 |
||
83 | goto <notextile>@main</notextile> |
||
84 | |
||
85 | <notextile>[@放大翅膀]</notextile> |
||
86 | #act |
||
87 | goto <notextile>@取消装扮翅膀</notextile> |
||
88 | [[inc]] u$翅膀基数 10 |
||
89 | [[sendMsg]] 6 翅膀<$str(u$翅膀基数)> |
||
90 | *%{color:green}zoom%* 0 u$翅膀基数 |
||
91 | goto <notextile>@main</notextile> |
||
92 | |
||
93 | <notextile>[@缩小翅膀]</notextile> |
||
94 | #act |
||
95 | goto <notextile>@取消装扮翅膀</notextile> |
||
96 | [[dec]] u$翅膀基数 10 |
||
97 | [[sendMsg]] 6 翅膀<$str(u$翅膀基数)> |
||
98 | *%{color:green}zoom%* 0 u$翅膀基数 |
||
99 | goto <notextile>@main</notextile> |
||
100 | |
||
101 | <notextile>[@放大装扮武器]</notextile> |
||
102 | #act |
||
103 | goto <notextile>@显示装扮武器</notextile> |
||
104 | [[inc]] u$装扮武器基数 10 |
||
105 | [[sendMsg]] 6 装扮武器<$str(u$装扮武器基数)> |
||
106 | [[zoomEx]] 1 u$装扮武器基数 |
||
107 | goto <notextile>@main</notextile> |
||
108 | |
||
109 | <notextile>[@缩小装扮武器]</notextile> |
||
110 | #act |
||
111 | goto <notextile>@显示装扮武器</notextile> |
||
112 | [[dec]] u$装扮武器基数 10 |
||
113 | [[sendMsg]] 6 装扮武器<$str(u$装扮武器基数)> |
||
114 | [[zoomEx]] 1 u$装扮武器基数 |
||
115 | goto <notextile>@main</notextile> |
||
116 | |
||
117 | <notextile>[@放大装扮翅膀]</notextile> |
||
118 | #act |
||
119 | goto <notextile>@显示装扮翅膀</notextile> |
||
120 | [[inc]] u$装扮翅膀基数 10 |
||
121 | [[sendMsg]] 6 装扮翅膀<$str(u$装扮翅膀基数)> |
||
122 | [[zoomEx]] 2 u$装扮翅膀基数 |
||
123 | goto <notextile>@main</notextile> |
||
124 | |
||
125 | <notextile>[@缩小装扮翅膀]</notextile> |
||
126 | #act |
||
127 | goto <notextile>@显示装扮翅膀</notextile> |
||
128 | [[dec]] u$装扮翅膀基数 10 |
||
129 | [[sendMsg]] 6 装扮翅膀<$str(u$装扮翅膀基数)> |
||
130 | [[zoomEx]] 2 u$装扮翅膀基数 |
||
131 | goto <notextile>@main</notextile> |