How to create a new upgrade building?

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • How to create a new upgrade building?

      Hey guys, I would like to create a trade union upgrade which provide more attraction and lower radius.

      I try to create it, but it's not work. X/

      I wonder what's wrong with the code. ?(

      Here is my code:

      trade union LV1

      Quellcode

      1. <Asset>
      2. <Template>Guildhouse</Template>
      3. <Values>
      4. <Standard>
      5. <GUID>1010516</GUID>
      6. <Name>guild_house</Name>
      7. <IconFilename>data/ui/2kimages/main/3dicons/icon_guildhouse.png</IconFilename>
      8. <InfoDescription>118031</InfoDescription>
      9. </Standard>
      10. <Building>
      11. <BuildingCategoryName>11152</BuildingCategoryName>
      12. <BuildModeRandomRotation>90</BuildModeRandomRotation>
      13. <AssociatedRegions>Moderate</AssociatedRegions>
      14. </Building>
      15. <Blocking />
      16. <Cost>
      17. <Costs>
      18. <Item>
      19. <Ingredient>1010017</Ingredient>
      20. <Amount>2500</Amount>
      21. </Item>
      22. <Item>
      23. <Ingredient>1010196</Ingredient>
      24. <Amount>25</Amount>
      25. </Item>
      26. <Item>
      27. <Ingredient>1010205</Ingredient>
      28. <Amount>5</Amount>
      29. </Item>
      30. <Item>
      31. <Ingredient>1010218</Ingredient>
      32. </Item>
      33. <Item>
      34. <Ingredient>1010207</Ingredient>
      35. </Item>
      36. <Item>
      37. <Ingredient>1010202</Ingredient>
      38. </Item>
      39. </Costs>
      40. </Cost>
      41. <Object>
      42. <Variations>
      43. <Item>
      44. <Filename>data/graphics/buildings/special/guild_house/guild_house.cfg</Filename>
      45. </Item>
      46. </Variations>
      47. </Object>
      48. <Mesh />
      49. <Selection>
      50. <Colors>
      51. <WeakSelectionColorType>NoColor</WeakSelectionColorType>
      52. </Colors>
      53. </Selection>
      54. <Text>
      55. <LocaText>
      56. <English>
      57. <Text>Trade Union</Text>
      58. <Status>Exported</Status>
      59. <ExportCount>2</ExportCount>
      60. </English>
      61. </LocaText>
      62. <LineID>3738</LineID>
      63. </Text>
      64. <Constructable />
      65. <Locked />
      66. <SoundEmitter>
      67. <IncidentSounds>
      68. <InfectedFire>
      69. <Item>
      70. <Sound>214659</Sound>
      71. </Item>
      72. </InfectedFire>
      73. </IncidentSounds>
      74. <BuildingRepaired>
      75. <Item>
      76. <Sound>203866</Sound>
      77. </Item>
      78. </BuildingRepaired>
      79. </SoundEmitter>
      80. <FeedbackController />
      81. <Infolayer />
      82. <ItemContainer>
      83. <SocketScopeRadius>15</SocketScopeRadius>
      84. <UnsocketSound>247106</UnsocketSound>
      85. </ItemContainer>
      86. <UpgradeList />
      87. <Attackable>
      88. <MaximumHitPoints>3500</MaximumHitPoints>
      89. <SelfHealPerHealTick>4</SelfHealPerHealTick>
      90. <ExplosionEffectsMin>1</ExplosionEffectsMin>
      91. <ExplosionEffectsMax>1</ExplosionEffectsMax>
      92. </Attackable>
      93. <Pausable />
      94. <Maintenance>
      95. <Maintenances>
      96. <Item>
      97. <Product>1010017</Product>
      98. <Amount>50</Amount>
      99. <InactiveAmount>25</InactiveAmount>
      100. </Item>
      101. </Maintenances>
      102. </Maintenance>
      103. <IncidentInfluencer />
      104. <Culture />
      105. <StorageBase />
      106. <Upgradable>
      107. <NextGUID>100516561</NextGUID>
      108. <UpgradeCost>
      109. <Item>
      110. <Amount>2500</Amount>
      111. <Ingredient>1010017</Ingredient>
      112. </Item>
      113. <Item>
      114. <Amount>1</Amount>
      115. <Ingredient>1010196</Ingredient>
      116. </Item>
      117. <Item>
      118. <Amount>0</Amount>
      119. <Ingredient>1010205</Ingredient>
      120. </Item>
      121. <Item>
      122. <Ingredient>1010218</Ingredient>
      123. <Amount>0</Amount>
      124. </Item>
      125. <Item>
      126. <Ingredient>1010207</Ingredient>
      127. <Amount>0</Amount>
      128. </Item>
      129. <Item>
      130. <Ingredient>1010202</Ingredient>
      131. <Amount>0</Amount>
      132. </Item>
      133. </UpgradeCost>
      134. <CurrentTier>1</CurrentTier>
      135. </Upgradable>
      136. <Warehouse />
      137. <LogisticNode />
      138. <Distribution />
      139. </Values>
      140. </Asset>
      Alles anzeigen
    • trade union LV2

      Quellcode

      1. <Asset>
      2. <Template>Guildhouse</Template>
      3. <Values>
      4. <Standard>
      5. <GUID>100516561</GUID>
      6. <Name>guild_house</Name>
      7. <IconFilename>data/ui/2kimages/main/3dicons/icon_guildhouse.png</IconFilename>
      8. <InfoDescription>118031</InfoDescription>
      9. </Standard>
      10. <Building>
      11. <BuildingCategoryName>11152</BuildingCategoryName>
      12. <BuildModeRandomRotation>90</BuildModeRandomRotation>
      13. <AssociatedRegions>Moderate</AssociatedRegions>
      14. </Building>
      15. <Blocking />
      16. <Cost>
      17. <Costs>
      18. <Item>
      19. <Ingredient>1010017</Ingredient>
      20. <Amount>2500</Amount>
      21. </Item>
      22. <Item>
      23. <Ingredient>1010196</Ingredient>
      24. <Amount>1</Amount>
      25. </Item>
      26. <Item>
      27. <Ingredient>1010205</Ingredient>
      28. <Amount>0</Amount>
      29. </Item>
      30. <Item>
      31. <Ingredient>1010218</Ingredient>
      32. <Amount>0</Amount>
      33. </Item>
      34. <Item>
      35. <Ingredient>1010207</Ingredient>
      36. <Amount>0</Amount>
      37. </Item>
      38. <Item>
      39. <Ingredient>1010202</Ingredient>
      40. <Amount>0</Amount>
      41. </Item>
      42. </Costs>
      43. </Cost>
      44. <Object>
      45. <Variations>
      46. <Item>
      47. <Filename>data/graphics/buildings/special/guild_house/guild_house.cfg</Filename>
      48. </Item>
      49. </Variations>
      50. </Object>
      51. <Mesh />
      52. <Selection>
      53. <Colors>
      54. <WeakSelectionColorType>NoColor</WeakSelectionColorType>
      55. </Colors>
      56. </Selection>
      57. <Text>
      58. <LocaText>
      59. <English>
      60. <Text>Trade Union</Text>
      61. <Status>Exported</Status>
      62. <ExportCount>2</ExportCount>
      63. </English>
      64. </LocaText>
      65. <LineID>3738</LineID>
      66. </Text>
      67. <Constructable />
      68. <Locked />
      69. <SoundEmitter>
      70. <IncidentSounds>
      71. <InfectedFire>
      72. <Item>
      73. <Sound>214659</Sound>
      74. </Item>
      75. </InfectedFire>
      76. </IncidentSounds>
      77. <BuildingRepaired>
      78. <Item>
      79. <Sound>203866</Sound>
      80. </Item>
      81. </BuildingRepaired>
      82. </SoundEmitter>
      83. <FeedbackController />
      84. <Infolayer />
      85. <ItemContainer>
      86. <SocketScopeRadius>10</SocketScopeRadius>
      87. <UnsocketSound>247106</UnsocketSound>
      88. </ItemContainer>
      89. <UpgradeList />
      90. <Attackable>
      91. <MaximumHitPoints>3500</MaximumHitPoints>
      92. <SelfHealPerHealTick>4</SelfHealPerHealTick>
      93. <ExplosionEffectsMin>1</ExplosionEffectsMin>
      94. <ExplosionEffectsMax>1</ExplosionEffectsMax>
      95. </Attackable>
      96. <Pausable />
      97. <Maintenance>
      98. <Maintenances>
      99. <Item>
      100. <Product>1010017</Product>
      101. <Amount>50</Amount>
      102. <InactiveAmount>25</InactiveAmount>
      103. </Item>
      104. </Maintenances>
      105. </Maintenance>
      106. <IncidentInfluencer />
      107. <Culture>
      108. <Attractiveness>10</Attractiveness>
      109. </Culture>
      110. <StorageBase />
      111. <Warehouse />
      112. <LogisticNode />
      113. <Distribution />
      114. </Values>
      115. </Asset>
      Alles anzeigen