OUWGhGJqcYAC.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="OUWGhGJqcYAC" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="IfElse" id="1">
  5. <node class="Condition" id="2">
  6. <property Operator="Greater"/>
  7. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-rewardCnt&quot;)"/>
  8. <property Opr="const float 0"/>
  9. </node>
  10. <node class="Sequence" id="3">
  11. <node class="Assignment" id="4">
  12. <property CastRight="false"/>
  13. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  14. <property Opr="const string &quot;绑定数字1&quot;"/>
  15. </node>
  16. <node class="Action" id="5">
  17. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  18. <property ResultOption="BT_SUCCESS"/>
  19. </node>
  20. <node class="Assignment" id="6">
  21. <property CastRight="false"/>
  22. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  23. <property Opr="const string &quot;&quot;"/>
  24. </node>
  25. <node class="Action" id="7">
  26. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  27. <property ResultOption="BT_SUCCESS"/>
  28. </node>
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;s6M2PucgqKuq&quot;,&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;tcazakvL6imv&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Assignment" id="9">
  34. <property CastRight="false"/>
  35. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  36. <property Opr="const string &quot;绑定图片1&quot;"/>
  37. </node>
  38. <node class="Action" id="10">
  39. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  40. <property ResultOption="BT_SUCCESS"/>
  41. </node>
  42. <node class="Assignment" id="11">
  43. <property CastRight="false"/>
  44. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  45. <property Opr="const string &quot;&quot;"/>
  46. </node>
  47. <node class="Action" id="12">
  48. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  49. <property ResultOption="BT_SUCCESS"/>
  50. </node>
  51. <node class="Action" id="13">
  52. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;H5wVGhMQrd2J&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;,&quot;rkpcD8SIjahn&quot;)"/>
  53. <property ResultOption="BT_SUCCESS"/>
  54. </node>
  55. </node>
  56. <node class="Noop" id="14"/>
  57. </node>
  58. <node class="IfElse" id="15">
  59. <node class="Condition" id="16">
  60. <property Operator="Greater"/>
  61. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-rewardCnt&quot;)"/>
  62. <property Opr="const float 1"/>
  63. </node>
  64. <node class="Sequence" id="17">
  65. <node class="Assignment" id="18">
  66. <property CastRight="false"/>
  67. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  68. <property Opr="const string &quot;绑定数字2&quot;"/>
  69. </node>
  70. <node class="Action" id="19">
  71. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  72. <property ResultOption="BT_SUCCESS"/>
  73. </node>
  74. <node class="Assignment" id="20">
  75. <property CastRight="false"/>
  76. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  77. <property Opr="const string &quot;&quot;"/>
  78. </node>
  79. <node class="Action" id="21">
  80. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  81. <property ResultOption="BT_SUCCESS"/>
  82. </node>
  83. <node class="Action" id="22">
  84. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;Qxqu3JFMRhR6&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;,&quot;bE6DaWZ5zkzi&quot;)"/>
  85. <property ResultOption="BT_SUCCESS"/>
  86. </node>
  87. <node class="Assignment" id="23">
  88. <property CastRight="false"/>
  89. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  90. <property Opr="const string &quot;绑定图片2&quot;"/>
  91. </node>
  92. <node class="Action" id="24">
  93. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  94. <property ResultOption="BT_SUCCESS"/>
  95. </node>
  96. <node class="Assignment" id="25">
  97. <property CastRight="false"/>
  98. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  99. <property Opr="const string &quot;&quot;"/>
  100. </node>
  101. <node class="Action" id="26">
  102. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Action" id="27">
  106. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;YEoUNYUjTj7e&quot;,&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;,&quot;ES5cArNbIVv1&quot;)"/>
  107. <property ResultOption="BT_SUCCESS"/>
  108. </node>
  109. </node>
  110. <node class="Noop" id="28"/>
  111. </node>
  112. <node class="IfElse" id="29">
  113. <node class="Condition" id="30">
  114. <property Operator="Greater"/>
  115. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-rewardCnt&quot;)"/>
  116. <property Opr="const float 2"/>
  117. </node>
  118. <node class="Sequence" id="31">
  119. <node class="Assignment" id="32">
  120. <property CastRight="false"/>
  121. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  122. <property Opr="const string &quot;绑定数字3&quot;"/>
  123. </node>
  124. <node class="Action" id="33">
  125. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  126. <property ResultOption="BT_SUCCESS"/>
  127. </node>
  128. <node class="Assignment" id="34">
  129. <property CastRight="false"/>
  130. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  131. <property Opr="const string &quot;&quot;"/>
  132. </node>
  133. <node class="Action" id="35">
  134. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  135. <property ResultOption="BT_SUCCESS"/>
  136. </node>
  137. <node class="Action" id="36">
  138. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;3ipnCeWcjKL5&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;,&quot;zeKNzcx7PTbY&quot;)"/>
  139. <property ResultOption="BT_SUCCESS"/>
  140. </node>
  141. <node class="Assignment" id="37">
  142. <property CastRight="false"/>
  143. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  144. <property Opr="const string &quot;绑定图片3&quot;"/>
  145. </node>
  146. <node class="Action" id="38">
  147. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  148. <property ResultOption="BT_SUCCESS"/>
  149. </node>
  150. <node class="Assignment" id="39">
  151. <property CastRight="false"/>
  152. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  153. <property Opr="const string &quot;&quot;"/>
  154. </node>
  155. <node class="Action" id="40">
  156. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  157. <property ResultOption="BT_SUCCESS"/>
  158. </node>
  159. <node class="Action" id="41">
  160. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;gUYRcF4QjvfR&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;,&quot;QCpNoQX8fRIA&quot;)"/>
  161. <property ResultOption="BT_SUCCESS"/>
  162. </node>
  163. </node>
  164. <node class="Noop" id="42"/>
  165. </node>
  166. <node class="IfElse" id="43">
  167. <node class="Condition" id="44">
  168. <property Operator="Greater"/>
  169. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-rewardCnt&quot;)"/>
  170. <property Opr="const float 3"/>
  171. </node>
  172. <node class="Sequence" id="45">
  173. <node class="Assignment" id="46">
  174. <property CastRight="false"/>
  175. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  176. <property Opr="const string &quot;绑定数字4&quot;"/>
  177. </node>
  178. <node class="Action" id="47">
  179. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  180. <property ResultOption="BT_SUCCESS"/>
  181. </node>
  182. <node class="Assignment" id="48">
  183. <property CastRight="false"/>
  184. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  185. <property Opr="const string &quot;&quot;"/>
  186. </node>
  187. <node class="Action" id="49">
  188. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  189. <property ResultOption="BT_SUCCESS"/>
  190. </node>
  191. <node class="Action" id="50">
  192. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;6NqJ0RQgHcpm&quot;,&quot;__ttbt__localVariableIndex_12&quot;,&quot;__ttbt__localVariableIndex_13&quot;,&quot;zeKNzcx7PTbY&quot;)"/>
  193. <property ResultOption="BT_SUCCESS"/>
  194. </node>
  195. <node class="Assignment" id="51">
  196. <property CastRight="false"/>
  197. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  198. <property Opr="const string &quot;绑定图片4&quot;"/>
  199. </node>
  200. <node class="Action" id="52">
  201. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  202. <property ResultOption="BT_SUCCESS"/>
  203. </node>
  204. <node class="Assignment" id="53">
  205. <property CastRight="false"/>
  206. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  207. <property Opr="const string &quot;&quot;"/>
  208. </node>
  209. <node class="Action" id="54">
  210. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_15&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  211. <property ResultOption="BT_SUCCESS"/>
  212. </node>
  213. <node class="Action" id="55">
  214. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;XI2Jz4GgBr07&quot;,&quot;__ttbt__localVariableIndex_14&quot;,&quot;__ttbt__localVariableIndex_15&quot;,&quot;QCpNoQX8fRIA&quot;)"/>
  215. <property ResultOption="BT_SUCCESS"/>
  216. </node>
  217. </node>
  218. <node class="Noop" id="56"/>
  219. </node>
  220. </node>
  221. </behavior>