坐骑 » 历史记录 » 版本 16
tejie, 2023-11-21 17:07
1 | 2 | chenjun | h4. %{color:green}坐骑% |
---|---|---|---|
2 | |||
3 | 13 | tejie | 标签:模块示例|坐骑>坐骑 |
4 | 1 | chenjun | |
5 | 16 | tejie | h4. *{color:fireBrick}模块说明* |
6 | 14 | tejie | |
7 | 3 | chenjun | 人物穿戴了绑定坐骑功能的装备,主界面会显示坐骑按钮 |
8 | 点击坐骑按钮,可以召唤/取消坐骑 |
||
9 | 1 | chenjun | |
10 | 14 | tejie | - |
11 | - |
||
12 | 1 | chenjun | |
13 | 16 | tejie | h4. *{color:fireBrick}相关配置* |
14 | 14 | tejie | |
15 | 7 | chenjun | 一、数据表 |
16 | ..\Mud2\DB\StdItems.CSV |
||
17 | 11 | yangdefeng | 将坐骑的模型资源id填写到某件装备的字段 %{color:deepPink}Value19% 中,穿戴该装备就可以召唤对应的坐骑 |
18 | 8 | chenjun | 注意:只有[[装备位置|装备位]]的值为0-16的装备才可以召唤坐骑 |
19 | 1 | chenjun | |
20 | 7 | chenjun | 二、脚本文件 |
21 | ..\Mir200\Envir\Market_Def\QFunction-0.txt |
||
22 | 12 | yangdefeng | 点击上马按钮开始读条后触发[@uphorse] |
23 | 点击上马按钮读条前[[Qf触发器_onHorse|[onHorse]]] |
||
24 | 点击下马按钮时触发[@downhorse] |
||
25 | 5 | chenjun | |
26 | 7 | chenjun | 三、配置 |
27 | 6 | chenjun | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
28 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
29 | |配置项-登上坐骑的读条时间(单位秒,默认值2) |upHorseCD=3 | |
||
30 | 1 | chenjun | |配置项-被击中导致取消坐骑的几率(百分比,默认值100) |downHorseRate=50 | |
31 | |||
32 | 14 | tejie | - |
33 | - |
||
34 | 6 | chenjun | |
35 | 16 | tejie | h4. *{color:fireBrick}相关命令* |
36 | 15 | tejie | |
37 | [[Qf触发器_onHorse|horseRidingBan]] |
||
38 | |||
39 | - |
||
40 | - |
||
41 | |||
42 | 16 | tejie | h4. *{color:fireBrick}注意事项* |
43 | 14 | tejie | |
44 | 1 | chenjun | 坐骑的模型资源id可以通过特戒的编辑器查看 |
45 | 编辑器查看路径:左侧下拉按钮选物品 > 右侧下拉按钮选模型 > 最右侧下拉按钮选坐骑模型, |
||
46 | 9 | chenjun | 列举一些常用的坐骑模型资源id: |
47 | 14 | tejie | |
48 | 1 | chenjun | |坐骑|资源id| |
49 | 9 | chenjun | |马|743| |
50 | 1 | chenjun | |虎|745| |
51 | 9 | chenjun | |熊|750| |
52 | 1 | chenjun | |熊猫|741| |
53 | 9 | chenjun | |九尾狐|747| |
54 | |凤凰|749| |
||
55 | 1 | chenjun | |上古异兽1|748| |
56 | 9 | chenjun | |上古异兽2|739| |
57 | 5 | chenjun | |
58 | |||
59 | |||
60 | - |
||
61 | - |
||
62 | |||
63 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
64 | |||
65 | - |
||
66 | - |
||
67 | |||
68 | 10 | yangdefeng | bq. %{color:fireBrick};..\Mir200\Envir\Market_Def\QFunction-0.txt% |
69 | 5 | chenjun | %{color:lightGrey};召唤坐骑时触发% |
70 | [<notextile>@</notextile>uphorse] |
||
71 | #act |
||
72 | 10 | yangdefeng | [[sendMsg]] 7 召唤坐骑成功 |
73 | 5 | chenjun | |
74 | %{color:lightGrey};取消坐骑时触发% |
||
75 | [<notextile>@</notextile>downhorse] |
||
76 | #act |
||
77 | 10 | yangdefeng | [[sendMsg]] 7 收回坐骑成功 |