Browse Source

【GameEditor】增加场景事件:塔攻破移动主播角色到下一个塔;增加向游戏服发送战报的条件,减少无效战服

大爷 1 year ago
parent
commit
5c6bd97f81

+ 5 - 0
FGUIProject/assets/HUD/HUD.xml

@@ -35,6 +35,11 @@
     </component>
     <text id="n25_tjcv" name="txt_hp1" xy="16,435" size="400,42" fontSize="30" color="#0ceed8" align="center" vAlign="middle" autoSize="none" bold="true" text="30%"/>
     <text id="n26_tjcv" name="txt_hp2" xy="711,435" size="400,42" fontSize="30" color="#f85800" align="center" vAlign="middle" autoSize="none" bold="true" text="30%"/>
+    <list id="n28_hp1l" name="list_rank" xy="47,500" size="328,300" selectionMode="none" overflow="scroll">
+      <item url="ui://lk5vtytmhp1l8t"/>
+      <item url="ui://lk5vtytmhp1l8t"/>
+      <item url="ui://lk5vtytmhp1l8t"/>
+    </list>
   </displayList>
   <Button downEffect="dark" downEffectValue=".71"/>
 </component>

+ 13 - 0
FGUIProject/assets/HUD/package.xml

@@ -22,6 +22,19 @@
     <image id="tjcv8q" name="hpbar_red.png" path="/"/>
     <component id="tjcv8r" name="ProgressBar2.xml" path="/"/>
     <image id="tjcv8s" name="hpBar_cover.png" path="/"/>
+    <component id="hp1l8t" name="RanklistItem.xml" path="/"/>
+    <image id="hp1l8u" name="宝箱.png" path="/"/>
+    <image id="hp1l8v" name="底板.png" path="/"/>
+    <image id="hp1l8w" name="点赞.png" path="/"/>
+    <image id="hp1l8x" name="电池.png" path="/"/>
+    <image id="hp1l8y" name="飞船.png" path="/"/>
+    <image id="hp1l8z" name="黄色.png" path="/"/>
+    <image id="hp1l90" name="魔棒.png" path="/"/>
+    <image id="hp1l91" name="甜甜圈.png" path="/"/>
+    <image id="hp1l92" name="血条外框.png" path="/"/>
+    <image id="hp1l93" name="阴影底板.png" path="/"/>
+    <image id="hp1l94" name="炸弹.png" path="/"/>
+    <image id="hp1l95" name="紫色.png" path="/"/>
   </resources>
   <publish name=""/>
 </packageDescription>

+ 1 - 1
GameEditor/data/scenes/.md5

@@ -1 +1 @@
-fefadb26516c69a9268e487d81e1cb0e :        33888 : 10098.xml
+7dded93ebd16680c9c0aa556df1ebf08 :        35874 : 10098.xml

+ 33 - 5
GameEditor/data/scenes/10098.xml

@@ -77,9 +77,18 @@
               </TotalTimeMS>
             </DelayAction>
             <DelayTimeMS type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
-              <Value>2000</Value>
+              <Value>4000</Value>
             </DelayTimeMS>
           </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitTransportAction">
+            <Pos type="CommonAI.Zone.ZoneEditor.EventTrigger.PositionValue+VALUE">
+              <X>150.00</X>
+              <Y>90.00</Y>
+            </Pos>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+PointTemplateIDUnit">
+              <templateIOd>1</templateIOd>
+            </Unit>
+          </element>
         </Datas>
       </Actions>
       <Active>True</Active>
@@ -128,6 +137,15 @@
               <Value>2000</Value>
             </DelayTimeMS>
           </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitTransportAction">
+            <Pos type="CommonAI.Zone.ZoneEditor.EventTrigger.PositionValue+VALUE">
+              <X>70.00</X>
+              <Y>90.00</Y>
+            </Pos>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+PointTemplateIDUnit">
+              <templateIOd>1</templateIOd>
+            </Unit>
+          </element>
         </Datas>
       </Actions>
       <Active>True</Active>
@@ -170,10 +188,10 @@
               <unique>True</unique>
               <UnitLevel>0</UnitLevel>
               <UnitName>BOSS</UnitName>
-              <UnitTemplateID>125</UnitTemplateID>
+              <UnitTemplateID>233</UnitTemplateID>
             </DelayAction>
             <DelayTimeMS type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
-              <Value>9000</Value>
+              <Value>7000</Value>
             </DelayTimeMS>
           </element>
         </Datas>
@@ -215,7 +233,7 @@
             <StartPoint type="CommonAI.Zone.ZoneEditor.EventTrigger.FlagValue+EditorPoint" />
             <unique>True</unique>
             <UnitLevel>0</UnitLevel>
-            <UnitTemplateID>104</UnitTemplateID>
+            <UnitTemplateID>203</UnitTemplateID>
           </element>
         </Datas>
       </Actions>
@@ -376,7 +394,17 @@
       <Comment></Comment>
       <Conditions type="CommonAI.Zone.ZoneEditor.EventConditions">
         <Datas element_type="CommonAI.Zone.EventTrigger.AbstractCondition">
-          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.AlwaysTrue" />
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+IntegerComparison">
+              <Op>EQUAL</Op>
+              <Value1 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+UnitForce">
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Value1>
+              <Value2 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
+                <Value>3</Value>
+              </Value2>
+            </Value>
+          </element>
         </Datas>
       </Conditions>
       <DelayTimeMS>0</DelayTimeMS>

BIN
GameEditor/data/scenes/10098.xml.bin


+ 7 - 7
GameEditor/data/ver.md5

@@ -1,12 +1,12 @@
-642f298c50c9abceb16460a005a36f9f
+73c2b1516a52f706102180e021a67fb9
 df42af314a1e0b2fdc2fef25681cdbcf :         2032 : \config.xml
-7cbbd479512dfc10a006df1cea79c89b :         2415 : \config_ext.xml
+acebfcece868f667026375da7c123dcc :         2411 : \config_ext.xml
 0581a6b6b04394a594541167bc7fdeef :         1486 : \terrain_definition.xml
-b971fe599e933c513805d69be238360b :         1712 : \units\.md5
-19c1808562adc51f4b3eff452fe9d180 :          732 : \skills\.md5
-ed77d3fcb99f81bd1e3e50f16e25ceb0 :          736 : \spells\.md5
-aa3e7d076c32048e4a0e9982ae95bce6 :        29973 : \buffs\.md5
+a1f5997b0417918f35c78fecad53234b :         1710 : \units\.md5
+deb79cb451c4c27cd4b86321f58faaa6 :         1680 : \skills\.md5
+23c70ac0e457d50543c54629161731a1 :         1624 : \spells\.md5
+a072a82412107205021f2fd7e2607a38 :        29973 : \buffs\.md5
 d41d8cd98f00b204e9800998ecf8427e :            0 : \items\.md5
 d41d8cd98f00b204e9800998ecf8427e :            0 : \unit_triggers\.md5
 d41d8cd98f00b204e9800998ecf8427e :            0 : \unit_events\.md5
-c951dd913529d98f053d449c9bca39f4 :           61 : \scenes\.md5
+ab8f370b83b3cf35a0122c7a2bdd824e :           61 : \scenes\.md5

BIN
Unity/Assets/Res/FGUI/HUD_atlas0.png


BIN
Unity/Assets/Res/FGUI/HUD_fui.bytes