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