Bläddra i källkod

修改场景TemplateID相关配置

大爷 1 år sedan
förälder
incheckning
01b9ef51f8

BIN
Config/Excel/MapConfig.xlsx


BIN
Config/GenFromExcel/c/MapConfigCategory.bytes


BIN
Config/GenFromExcel/s/MapConfigCategory.bytes


+ 1 - 1
Config/GenJson/c/MapConfig.txt

@@ -1,3 +1,3 @@
 {"list":[
-{"_t":"MapConfig","_id":10098,"Name":"主城地图","Qcolor":0,"Type":1,"AreaType":0,"TemplateID":10098,"MonsterHard":"Normal-World","Race":0,"Pktype":0,"changePKtype":0,"ignorePkRule":0,"canBeTrans":1,"MapLevel":1,"DisConnToMapID":10080,"RevivedMapID":10080,"LifeTime":60,"FullPlayers":20,"MaxPlayers":50,"Boundary":1,"ReqLevel":0,"Levellimit":0,"ReqVip":"","ReqQuestId":0,"AllowedRace":4,"ReqState":"","StateValue":0,"OpenRule":0,"OpenDate":"","BeginTime":"","EndTime":"","ClosedToMapID":0,"ReqNotOnlyLeader":0,"ReqItemCode":"","ReqItemCount":0,"ReduceItemCount":0,"AllowedTransfer":1,"CostItem":"","CostItemNum":1,"CostGold":0,"RandChestChance":0,"MaxRandChest":0,"RandChestTC":"","SceneSmallMap":"smap_openmap3","SceneSmallMapSize":"520:402","MapDesc":"北冥山中瞬息间,尘世已过万万年。\\n仙凡妖魔聚一地,众生于此觅仙缘。","Connect":"","IsChange":0,"Distribution":0,"AutoFight":1,"UseAgent":1,"RideMount":1,"TakePet":1,"Recovery":0,"BossInfoShow":0,"killInterval":0,"killFullNum":0,"killFullCollSec":0,"Cultivation":50,"IsFog":1,"GameTime":60,"IsCall":0,"IsCanBeCall":0},
+{"_t":"MapConfig","_id":10098,"Name":"主城地图","Qcolor":0,"Type":1,"AreaType":0,"TemplateID":10098,"MonsterHard":"Normal-World","Race":0,"Pktype":0,"changePKtype":0,"ignorePkRule":0,"canBeTrans":1,"MapLevel":1,"DisConnToMapID":10080,"RevivedMapID":10080,"LifeTime":60,"FullPlayers":20,"MaxPlayers":50,"Boundary":1,"ReqLevel":0,"Levellimit":0,"ReqVip":"","ReqQuestId":0,"AllowedRace":4,"ReqState":"","StateValue":0,"OpenRule":0,"OpenDate":"","BeginTime":"","EndTime":"","ClosedToMapID":0,"ReqNotOnlyLeader":0,"ReqItemCode":"","ReqItemCount":0,"ReduceItemCount":0,"AllowedTransfer":1,"CostItem":"","CostItemNum":1,"CostGold":0,"RandChestChance":0,"MaxRandChest":0,"RandChestTC":"","MapName":"Map1","SceneSmallMapSize":"520:402","MapDesc":"北冥山中瞬息间,尘世已过万万年。\\n仙凡妖魔聚一地,众生于此觅仙缘。","Connect":"","IsChange":0,"Distribution":0,"AutoFight":1,"UseAgent":1,"RideMount":1,"TakePet":1,"Recovery":0,"BossInfoShow":0,"killInterval":0,"killFullNum":0,"killFullCollSec":0,"Cultivation":50,"IsFog":1,"GameTime":60,"IsCall":0,"IsCanBeCall":0},
 ]}

+ 1 - 1
Config/GenJson/s/MapConfig.txt

@@ -1,3 +1,3 @@
 {"list":[
-{"_t":"MapConfig","_id":10098,"Name":"主城地图","Qcolor":0,"Type":1,"AreaType":0,"TemplateID":10098,"MonsterHard":"Normal-World","Race":0,"Pktype":0,"changePKtype":0,"ignorePkRule":0,"canBeTrans":1,"MapLevel":1,"DisConnToMapID":10080,"RevivedMapID":10080,"LifeTime":60,"FullPlayers":20,"MaxPlayers":50,"Boundary":1,"ReqLevel":0,"Levellimit":0,"ReqVip":"","ReqQuestId":0,"AllowedRace":4,"ReqState":"","StateValue":0,"OpenRule":0,"OpenDate":"","BeginTime":"","EndTime":"","ClosedToMapID":0,"ReqNotOnlyLeader":0,"ReqItemCode":"","ReqItemCount":0,"ReduceItemCount":0,"AllowedTransfer":1,"CostItem":"","CostItemNum":1,"CostGold":0,"RandChestChance":0,"MaxRandChest":0,"RandChestTC":"","SceneSmallMap":"smap_openmap3","MapDesc":"北冥山中瞬息间,尘世已过万万年。\\n仙凡妖魔聚一地,众生于此觅仙缘。","Connect":"","IsChange":0,"Distribution":0,"AutoFight":1,"UseAgent":1,"RideMount":1,"TakePet":1,"Recovery":0,"BossInfoShow":0,"killInterval":0,"killFullNum":0,"killFullCollSec":0,"Cultivation":50,"IsFog":1,"GameTime":60,"IsCall":0,"IsCanBeCall":0},
+{"_t":"MapConfig","_id":10098,"Name":"主城地图","Qcolor":0,"Type":1,"AreaType":0,"TemplateID":10098,"MonsterHard":"Normal-World","Race":0,"Pktype":0,"changePKtype":0,"ignorePkRule":0,"canBeTrans":1,"MapLevel":1,"DisConnToMapID":10080,"RevivedMapID":10080,"LifeTime":60,"FullPlayers":20,"MaxPlayers":50,"Boundary":1,"ReqLevel":0,"Levellimit":0,"ReqVip":"","ReqQuestId":0,"AllowedRace":4,"ReqState":"","StateValue":0,"OpenRule":0,"OpenDate":"","BeginTime":"","EndTime":"","ClosedToMapID":0,"ReqNotOnlyLeader":0,"ReqItemCode":"","ReqItemCount":0,"ReduceItemCount":0,"AllowedTransfer":1,"CostItem":"","CostItemNum":1,"CostGold":0,"RandChestChance":0,"MaxRandChest":0,"RandChestTC":"","MapName":"Map1","MapDesc":"北冥山中瞬息间,尘世已过万万年。\\n仙凡妖魔聚一地,众生于此觅仙缘。","Connect":"","IsChange":0,"Distribution":0,"AutoFight":1,"UseAgent":1,"RideMount":1,"TakePet":1,"Recovery":0,"BossInfoShow":0,"killInterval":0,"killFullNum":0,"killFullCollSec":0,"Cultivation":50,"IsFog":1,"GameTime":60,"IsCall":0,"IsCanBeCall":0},
 ]}

+ 1 - 1
DotNet/Model/Generate/Config/MapConfig.cs

@@ -199,7 +199,7 @@ namespace ET
 		public string RandChestTC { get; set; }
 		/// <summary>场景小地图</summary>
 		[ProtoMember(43)]
-		public string SceneSmallMap { get; set; }
+		public string MapName { get; set; }
 		/// <summary>地图描述</summary>
 		[ProtoMember(45)]
 		public string MapDesc { get; set; }

+ 1 - 1
GameEditor/.setting/scenes/.tree

@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="utf-16"?>
 <node Name="场景" IsExpanded="True">
-  <node Name="1" IsExpanded="False" />
+  <node Name="10098" IsExpanded="False" />
 </node>

BIN
GameEditor/data/scene_snaps/10098.snd


+ 0 - 0
GameEditor/data/scene_unitsnaps/1.snd → GameEditor/data/scene_unitsnaps/10098.snd


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

@@ -1 +1 @@
-;1
+;10098

+ 8 - 102
GameEditor/data/scenes/1.xml → GameEditor/data/scenes/10098.xml

@@ -3,7 +3,7 @@
   <Abilities element_type="CommonAI.Zone.ZoneEditor.SceneAbilityData" />
   <Areas element_type="CommonAI.Zone.ZoneEditor.AreaData" />
   <BlockSeekCritical>5.00</BlockSeekCritical>
-  <canRiding>True</canRiding>
+  <canRiding>False</canRiding>
   <ClientSyncRange>20.00</ClientSyncRange>
   <Decorations element_type="CommonAI.Zone.ZoneEditor.DecorationData" />
   <DefaultUnitLevel>0</DefaultUnitLevel>
@@ -127,7 +127,7 @@
       </Triggers>
     </element>
   </Events>
-  <ID>1</ID>
+  <ID>10098</ID>
   <isTeam>False</isTeam>
   <Items element_type="CommonAI.Zone.ZoneEditor.ItemData" />
   <killInterval>0</killInterval>
@@ -156,7 +156,7 @@
     <element type="CommonAI.Zone.ZoneEditor.RegionData">
       <Abilities element_type="CommonAI.Zone.ZoneEditor.RegionAbilityData">
         <element type="CommonAI.Zone.ZoneEditor.SpawnUnitAbilityData">
-          <AliveLimit>2</AliveLimit>
+          <AliveLimit>1</AliveLimit>
           <Force>3</Force>
           <forceMax>0</forceMax>
           <forceMin>0</forceMin>
@@ -165,11 +165,11 @@
           <OnceCount>1</OnceCount>
           <PeaceTime>0</PeaceTime>
           <ResetOnWithoutAlive>True</ResetOnWithoutAlive>
-          <StartDirection>-1.00</StartDirection>
+          <StartDirection>0.00</StartDirection>
           <StartPathHoldMaxTimeMS>0</StartPathHoldMaxTimeMS>
           <StartPathHoldMinTimeMS>0</StartPathHoldMinTimeMS>
           <StartTimeDelayMS>3000</StartTimeDelayMS>
-          <TotalLimit>2</TotalLimit>
+          <TotalLimit>1</TotalLimit>
           <UnitLevel>0</UnitLevel>
           <UnitName>Monster</UnitName>
           <UnitTemplates element_type="CommonAI.Zone.ZoneEditor.SpawnUnitAbilityData+SpawnUnit" />
@@ -197,102 +197,8 @@
       <UnitIcon></UnitIcon>
       <UnitName></UnitName>
       <W>3.00</W>
-      <X>9.57</X>
-      <Y>6.43</Y>
-    </element>
-    <element type="CommonAI.Zone.ZoneEditor.RegionData">
-      <Abilities element_type="CommonAI.Zone.ZoneEditor.RegionAbilityData">
-        <element type="CommonAI.Zone.ZoneEditor.SpawnUnitAbilityData">
-          <AliveLimit>2</AliveLimit>
-          <Force>3</Force>
-          <forceMax>0</forceMax>
-          <forceMin>0</forceMin>
-          <IntervalMS>5000</IntervalMS>
-          <Name>AI</Name>
-          <OnceCount>1</OnceCount>
-          <PeaceTime>0</PeaceTime>
-          <ResetOnWithoutAlive>True</ResetOnWithoutAlive>
-          <StartDirection>-1.00</StartDirection>
-          <StartPathHoldMaxTimeMS>0</StartPathHoldMaxTimeMS>
-          <StartPathHoldMinTimeMS>0</StartPathHoldMinTimeMS>
-          <StartTimeDelayMS>3000</StartTimeDelayMS>
-          <TotalLimit>2</TotalLimit>
-          <UnitLevel>0</UnitLevel>
-          <UnitName>Monster</UnitName>
-          <UnitTemplates element_type="CommonAI.Zone.ZoneEditor.SpawnUnitAbilityData+SpawnUnit" />
-          <UnitTemplatesID element_type="System.Int32">
-            <element>102</element>
-          </UnitTemplatesID>
-          <WithoutAlive>False</WithoutAlive>
-        </element>
-      </Abilities>
-      <Color>-65536</Color>
-      <Enable>True</Enable>
-      <H>10.00</H>
-      <LableColor>-1</LableColor>
-      <LableOffsetX>0.00</LableOffsetX>
-      <LableOffsetY>15.00</LableOffsetY>
-      <LableOutline>False</LableOutline>
-      <LableSize>20</LableSize>
-      <MapShow>False</MapShow>
-      <Name>Region3</Name>
-      <OffsetX>0.00</OffsetX>
-      <OffsetY>0.00</OffsetY>
-      <RegionType>ROUND</RegionType>
-      <SavePath></SavePath>
-      <StripDirection>0.00</StripDirection>
-      <UnitIcon></UnitIcon>
-      <UnitName></UnitName>
-      <W>3.00</W>
-      <X>10.70</X>
-      <Y>9.57</Y>
-    </element>
-    <element type="CommonAI.Zone.ZoneEditor.RegionData">
-      <Abilities element_type="CommonAI.Zone.ZoneEditor.RegionAbilityData">
-        <element type="CommonAI.Zone.ZoneEditor.SpawnUnitAbilityData">
-          <AliveLimit>1</AliveLimit>
-          <Force>1</Force>
-          <forceMax>0</forceMax>
-          <forceMin>0</forceMin>
-          <IntervalMS>5000</IntervalMS>
-          <Name>AI</Name>
-          <OnceCount>1</OnceCount>
-          <PeaceTime>0</PeaceTime>
-          <ResetOnWithoutAlive>True</ResetOnWithoutAlive>
-          <StartDirection>-1.00</StartDirection>
-          <StartPathHoldMaxTimeMS>0</StartPathHoldMaxTimeMS>
-          <StartPathHoldMinTimeMS>0</StartPathHoldMinTimeMS>
-          <StartTimeDelayMS>3000</StartTimeDelayMS>
-          <TotalLimit>1</TotalLimit>
-          <UnitLevel>0</UnitLevel>
-          <UnitName>TeamMember</UnitName>
-          <UnitTemplates element_type="CommonAI.Zone.ZoneEditor.SpawnUnitAbilityData+SpawnUnit" />
-          <UnitTemplatesID element_type="System.Int32">
-            <element>103</element>
-          </UnitTemplatesID>
-          <WithoutAlive>False</WithoutAlive>
-        </element>
-      </Abilities>
-      <Color>-65536</Color>
-      <Enable>True</Enable>
-      <H>10.00</H>
-      <LableColor>-1</LableColor>
-      <LableOffsetX>0.00</LableOffsetX>
-      <LableOffsetY>15.00</LableOffsetY>
-      <LableOutline>False</LableOutline>
-      <LableSize>20</LableSize>
-      <MapShow>False</MapShow>
-      <Name>Region4</Name>
-      <OffsetX>0.00</OffsetX>
-      <OffsetY>0.00</OffsetY>
-      <RegionType>ROUND</RegionType>
-      <SavePath></SavePath>
-      <StripDirection>0.00</StripDirection>
-      <UnitIcon></UnitIcon>
-      <UnitName></UnitName>
-      <W>3.00</W>
-      <X>3.00</X>
-      <Y>10.00</Y>
+      <X>5.00</X>
+      <Y>12.00</Y>
     </element>
   </Regions>
   <RemoveUnitOnDisconnect>False</RemoveUnitOnDisconnect>
@@ -357,5 +263,5 @@
   </Terrain>
   <TotalTimeLimitSEC>0</TotalTimeLimitSEC>
   <Units element_type="CommonAI.Zone.ZoneEditor.UnitData" />
-  <property.EditorPath>场景/stage1(1)</property.EditorPath>
+  <property.EditorPath>场景/stage1(10098)</property.EditorPath>
 </SceneData>

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