VaKvvCl2jExF.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="VaKvvCl2jExF" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;7jor1Ep5hkLy&quot;,&quot;Xc5YJgqZLfZ6&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Assignment" id="8">
  9. <property CastRight="true"/>
  10. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  11. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;9iOLyYlAsa94&quot;)"/>
  12. </node>
  13. <node class="Action" id="9">
  14. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_3&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  15. <property ResultOption="BT_SUCCESS"/>
  16. </node>
  17. <node class="Compute" id="4">
  18. <property Operator="Mul"/>
  19. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  20. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  21. <property Opr2="const float 0.5"/>
  22. </node>
  23. <node class="Action" id="5">
  24. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  25. <property ResultOption="BT_SUCCESS"/>
  26. </node>
  27. <node class="Assignment" id="2">
  28. <property CastRight="true"/>
  29. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  30. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;9iOLyYlAsa94&quot;)"/>
  31. </node>
  32. <node class="Action" id="3">
  33. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  34. <property ResultOption="BT_SUCCESS"/>
  35. </node>
  36. <node class="Compute" id="6">
  37. <property Operator="Add"/>
  38. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  39. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  40. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_1&quot;)"/>
  41. </node>
  42. <node class="Action" id="7">
  43. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  44. <property ResultOption="BT_SUCCESS"/>
  45. </node>
  46. <node class="Assignment" id="10">
  47. <property CastRight="true"/>
  48. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  49. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  50. </node>
  51. <node class="Action" id="11">
  52. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  53. <property ResultOption="BT_SUCCESS"/>
  54. </node>
  55. <node class="Assignment" id="12">
  56. <property CastRight="true"/>
  57. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  58. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  59. </node>
  60. <node class="Action" id="13">
  61. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  62. <property ResultOption="BT_SUCCESS"/>
  63. </node>
  64. <node class="Action" id="14">
  65. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;2UlXdpRz7ZyU&quot;,&quot;9iOLyYlAsa94&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  66. <property ResultOption="BT_SUCCESS"/>
  67. </node>
  68. <node class="Assignment" id="21">
  69. <property CastRight="true"/>
  70. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  71. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;VNIdHwrsM4vS&quot;)"/>
  72. </node>
  73. <node class="Action" id="22">
  74. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  75. <property ResultOption="BT_SUCCESS"/>
  76. </node>
  77. <node class="Compute" id="17">
  78. <property Operator="Mul"/>
  79. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  80. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  81. <property Opr2="const float 0.5"/>
  82. </node>
  83. <node class="Action" id="18">
  84. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  85. <property ResultOption="BT_SUCCESS"/>
  86. </node>
  87. <node class="Assignment" id="15">
  88. <property CastRight="true"/>
  89. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  90. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;VNIdHwrsM4vS&quot;)"/>
  91. </node>
  92. <node class="Action" id="16">
  93. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  94. <property ResultOption="BT_SUCCESS"/>
  95. </node>
  96. <node class="Compute" id="19">
  97. <property Operator="Add"/>
  98. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  99. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  100. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  101. </node>
  102. <node class="Action" id="20">
  103. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  104. <property ResultOption="BT_SUCCESS"/>
  105. </node>
  106. <node class="Assignment" id="23">
  107. <property CastRight="true"/>
  108. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  109. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_8&quot;)"/>
  110. </node>
  111. <node class="Action" id="24">
  112. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_10&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  113. <property ResultOption="BT_SUCCESS"/>
  114. </node>
  115. <node class="Assignment" id="25">
  116. <property CastRight="true"/>
  117. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  118. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_9&quot;)"/>
  119. </node>
  120. <node class="Action" id="26">
  121. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_11&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  122. <property ResultOption="BT_SUCCESS"/>
  123. </node>
  124. <node class="Action" id="27">
  125. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;EwwH9RWH5EuC&quot;,&quot;VNIdHwrsM4vS&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  126. <property ResultOption="BT_SUCCESS"/>
  127. </node>
  128. <node class="Assignment" id="34">
  129. <property CastRight="true"/>
  130. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  131. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;mTUaTrpwdWxD&quot;)"/>
  132. </node>
  133. <node class="Action" id="35">
  134. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_15&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  135. <property ResultOption="BT_SUCCESS"/>
  136. </node>
  137. <node class="Compute" id="30">
  138. <property Operator="Mul"/>
  139. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  140. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  141. <property Opr2="const float 0.5"/>
  142. </node>
  143. <node class="Action" id="31">
  144. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_13&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  145. <property ResultOption="BT_SUCCESS"/>
  146. </node>
  147. <node class="Assignment" id="28">
  148. <property CastRight="true"/>
  149. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  150. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;mTUaTrpwdWxD&quot;)"/>
  151. </node>
  152. <node class="Action" id="29">
  153. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_12&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  154. <property ResultOption="BT_SUCCESS"/>
  155. </node>
  156. <node class="Compute" id="32">
  157. <property Operator="Add"/>
  158. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  159. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_12&quot;)"/>
  160. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_13&quot;)"/>
  161. </node>
  162. <node class="Action" id="33">
  163. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_14&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  164. <property ResultOption="BT_SUCCESS"/>
  165. </node>
  166. <node class="Assignment" id="36">
  167. <property CastRight="true"/>
  168. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  169. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_14&quot;)"/>
  170. </node>
  171. <node class="Action" id="37">
  172. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_16&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  173. <property ResultOption="BT_SUCCESS"/>
  174. </node>
  175. <node class="Assignment" id="38">
  176. <property CastRight="true"/>
  177. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  178. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_15&quot;)"/>
  179. </node>
  180. <node class="Action" id="39">
  181. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_17&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  182. <property ResultOption="BT_SUCCESS"/>
  183. </node>
  184. <node class="Action" id="40">
  185. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;iypuYHrc9YNs&quot;,&quot;mTUaTrpwdWxD&quot;,&quot;__ttbt__localVariableIndex_16&quot;,&quot;__ttbt__localVariableIndex_17&quot;)"/>
  186. <property ResultOption="BT_SUCCESS"/>
  187. </node>
  188. <node class="Assignment" id="47">
  189. <property CastRight="true"/>
  190. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  191. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;mU1D10PQC8TL&quot;)"/>
  192. </node>
  193. <node class="Action" id="48">
  194. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_21&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  195. <property ResultOption="BT_SUCCESS"/>
  196. </node>
  197. <node class="Compute" id="43">
  198. <property Operator="Mul"/>
  199. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  200. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  201. <property Opr2="const float 0.5"/>
  202. </node>
  203. <node class="Action" id="44">
  204. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_19&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  205. <property ResultOption="BT_SUCCESS"/>
  206. </node>
  207. <node class="Assignment" id="41">
  208. <property CastRight="true"/>
  209. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  210. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;mU1D10PQC8TL&quot;)"/>
  211. </node>
  212. <node class="Action" id="42">
  213. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_18&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  214. <property ResultOption="BT_SUCCESS"/>
  215. </node>
  216. <node class="Compute" id="45">
  217. <property Operator="Add"/>
  218. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  219. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_18&quot;)"/>
  220. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_19&quot;)"/>
  221. </node>
  222. <node class="Action" id="46">
  223. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_20&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  224. <property ResultOption="BT_SUCCESS"/>
  225. </node>
  226. <node class="Assignment" id="49">
  227. <property CastRight="true"/>
  228. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  229. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_20&quot;)"/>
  230. </node>
  231. <node class="Action" id="50">
  232. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_22&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  233. <property ResultOption="BT_SUCCESS"/>
  234. </node>
  235. <node class="Assignment" id="51">
  236. <property CastRight="true"/>
  237. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  238. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_21&quot;)"/>
  239. </node>
  240. <node class="Action" id="52">
  241. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_23&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  242. <property ResultOption="BT_SUCCESS"/>
  243. </node>
  244. <node class="Action" id="53">
  245. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;2IE3B6YiZc86&quot;,&quot;mU1D10PQC8TL&quot;,&quot;__ttbt__localVariableIndex_22&quot;,&quot;__ttbt__localVariableIndex_23&quot;)"/>
  246. <property ResultOption="BT_SUCCESS"/>
  247. </node>
  248. <node class="Assignment" id="60">
  249. <property CastRight="true"/>
  250. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  251. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;1LBYsJgSmGXF&quot;)"/>
  252. </node>
  253. <node class="Action" id="61">
  254. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_27&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  255. <property ResultOption="BT_SUCCESS"/>
  256. </node>
  257. <node class="Compute" id="56">
  258. <property Operator="Mul"/>
  259. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  260. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  261. <property Opr2="const float 0.5"/>
  262. </node>
  263. <node class="Action" id="57">
  264. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_25&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  265. <property ResultOption="BT_SUCCESS"/>
  266. </node>
  267. <node class="Assignment" id="54">
  268. <property CastRight="true"/>
  269. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  270. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;1LBYsJgSmGXF&quot;)"/>
  271. </node>
  272. <node class="Action" id="55">
  273. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_24&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  274. <property ResultOption="BT_SUCCESS"/>
  275. </node>
  276. <node class="Compute" id="58">
  277. <property Operator="Add"/>
  278. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  279. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_24&quot;)"/>
  280. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_25&quot;)"/>
  281. </node>
  282. <node class="Action" id="59">
  283. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_26&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  284. <property ResultOption="BT_SUCCESS"/>
  285. </node>
  286. <node class="Assignment" id="62">
  287. <property CastRight="true"/>
  288. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  289. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_26&quot;)"/>
  290. </node>
  291. <node class="Action" id="63">
  292. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_28&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  293. <property ResultOption="BT_SUCCESS"/>
  294. </node>
  295. <node class="Assignment" id="64">
  296. <property CastRight="true"/>
  297. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  298. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_27&quot;)"/>
  299. </node>
  300. <node class="Action" id="65">
  301. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_29&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  302. <property ResultOption="BT_SUCCESS"/>
  303. </node>
  304. <node class="Action" id="66">
  305. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;wIbN4OXZfiDp&quot;,&quot;1LBYsJgSmGXF&quot;,&quot;__ttbt__localVariableIndex_28&quot;,&quot;__ttbt__localVariableIndex_29&quot;)"/>
  306. <property ResultOption="BT_SUCCESS"/>
  307. </node>
  308. </node>
  309. </behavior>