News

Files necessary for new hull creation?

Posted on Sunday, May 24, 2015

Would greatly appreciate if anyone has info as to exactly which files need to be edited to create a new ship hull. I have tried the following files, but the new hull does not seem to appear in gaem. Any help would be greatly appreciated.

 

Using the append method, I have copied and renamed the following files, putting them into the following folder C:\Users\Mac\Documents\My Games\GalCiv3\Mods\GalaxyClassHullMod

ShipHullDefs.xml --> GalaxyClassHullDefs.xml

Code: xml
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <ShipHullList
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="../Schema/ShipHullDefs.xsd">
  5. <!-- Created with the Gal Civ 3 Editor -->
  6. <!-- ShipHullDefs.xml -->
  7. <ShipHull>
  8. <InternalName>T_Galaxy_Hull_00</InternalName>
  9. <DisplayName>T_Galaxy_Hull_00_Name</DisplayName>
  10. <Description>T_Galaxy_Hull_00_Dec</Description>
  11. <ShipHullStatsName>Galaxy</ShipHullStatsName>
  12. <ArtDefine>TerranModel_118</ArtDefine>
  13. <Style>Terran</Style>
  14. </ShipHull>
  15. </ShipHullList>

 

 

ShipHullStatDefs.xml ---> GalaxyClassHullStatDefs.xml

Code: xml
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <ShipHullStatsList
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="../Schema/ShipHullStatDefs.xsd">
  5. <!-- Created with the Gal Civ 3 Editor -->
  6. <!-- ShipHullStatDefs.xml -->
  7. <ShipHullStats>
  8. <InternalName>Galaxy</InternalName>
  9. <ShipHullType>Galaxy</ShipHullType>
  10. <DisplayName>Galaxy_Name</DisplayName>
  11. <Description>Galaxy_Dec</Description>
  12. <Icon>gfx/NoImage.png</Icon>
  13. <MovementSFXDefine>
  14. <IdleLoopSFXDefine>HUGE_IDLE</IdleLoopSFXDefine>
  15. <MovingLoopSFXDefine>HUGE_TRAVEL</MovingLoopSFXDefine>
  16. <StartMovingSFXDefine>HUGE_THRUST_ON</StartMovingSFXDefine>
  17. <EndMovingSFXDefine>HUGE_TRAVEL_END</EndMovingSFXDefine>
  18. </MovementSFXDefine>
  19. <EngineTrailWidth>5</EngineTrailWidth>
  20. <Stats>
  21. <EffectType>Fortitude</EffectType>
  22. <Target>
  23. <TargetType>Ship</TargetType>
  24. </Target>
  25. <BonusType>Flat</BonusType>
  26. <Value>8</Value>
  27. </Stats>
  28. <Stats>
  29. <EffectType>Value</EffectType>
  30. <Target>
  31. <TargetType>Ship</TargetType>
  32. </Target>
  33. <BonusType>Flat</BonusType>
  34. <Value>4</Value>
  35. </Stats>
  36. <Stats>
  37. <EffectType>ManufacturingCost</EffectType>
  38. <Scope>Queue</Scope>
  39. <Target>
  40. <TargetType>Ship</TargetType>
  41. </Target>
  42. <BonusType>Flat</BonusType>
  43. <Value>432</Value>
  44. </Stats>
  45. <Stats>
  46. <EffectType>HitPointsCap</EffectType>
  47. <Target>
  48. <TargetType>Ship</TargetType>
  49. </Target>
  50. <BonusType>Flat</BonusType>
  51. <Value>500</Value>
  52. </Stats>
  53. <Stats>
  54. <EffectType>MassCap</EffectType>
  55. <Target>
  56. <TargetType>Ship</TargetType>
  57. </Target>
  58. <BonusType>Flat</BonusType>
  59. <Value>500</Value>
  60. </Stats>
  61. <Stats>
  62. <EffectType>Logistics</EffectType>
  63. <Target>
  64. <TargetType>Ship</TargetType>
  65. </Target>
  66. <BonusType>Flat</BonusType>
  67. <Value>5</Value>
  68. </Stats>
  69. <Stats>
  70. <EffectType>Crew</EffectType>
  71. <Target>
  72. <TargetType>Ship</TargetType>
  73. </Target>
  74. <BonusType>Flat</BonusType>
  75. <Value>500</Value>
  76. </Stats>
  77. <Stats>
  78. <EffectType>SensorRange</EffectType>
  79. <Target>
  80. <TargetType>Ship</TargetType>
  81. </Target>
  82. <BonusType>Flat</BonusType>
  83. <Value>10</Value>
  84. </Stats>
  85. <Stats>
  86. <EffectType>ShipRange</EffectType>
  87. <Target>
  88. <TargetType>Ship</TargetType>
  89. </Target>
  90. <BonusType>Flat</BonusType>
  91. <Value>25</Value>
  92. </Stats>
  93. <Stats>
  94. <EffectType>MovesCap</EffectType>
  95. <Target>
  96. <TargetType>Ship</TargetType>
  97. </Target>
  98. <BonusType>Flat</BonusType>
  99. <Value>5</Value>
  100. </Stats>
  101. <Stats>
  102. <EffectType>Acceleration</EffectType>
  103. <Target>
  104. <TargetType>Ship</TargetType>
  105. </Target>
  106. <BonusType>Multiplier</BonusType>
  107. <Value>-0.2</Value>
  108. </Stats>
  109. <Stats>
  110. <EffectType>Maintenance</EffectType>
  111. <Target>
  112. <TargetType>Ship</TargetType>
  113. </Target>
  114. <BonusType>Flat</BonusType>
  115. <Value>2</Value>
  116. </Stats>
  117. <Stats>
  118. <EffectType>DefenseRange</EffectType>
  119. <Target>
  120. <TargetType>Ship</TargetType>
  121. </Target>
  122. <BonusType>Flat</BonusType>
  123. <Value>400</Value>
  124. </Stats>
  125. <Prerequ>
  126. <Techs>
  127. <!-- Option>MassiveScaleConstruction</Option -->
  128. <Option>EngineeringTech</Option>
  129. </Techs>
  130. </Prerequ>
  131. </ShipHullStats>
  132. </ShipHullStatsList>

 

 

 

In C:\Users\Mac\Documents\My Games\GalCiv3\Mods\GalaxyClassHullMod I copied and renamed the following files.

ShipHullStatText.xml --> GalaxyHullStatText.xml

ShipHullText.XML --> GalaxyHullText.XML

 

I did not know where to locate the enum files in the mod folder so I just edited the following file in the F:\Games\Steam\SteamApps\common\Galactic Civilizations III\data\Schema

ShipHullTypes.xsd

Code: xml
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:simpleType name="ShipHullTypes">
  4. <xs:restriction base="xs:string">
  5. <xs:enumeration value="Tiny"/>
  6. <xs:enumeration value="Small"/>
  7. <xs:enumeration value="Medium"/>
  8. <xs:enumeration value="Large"/>
  9. <xs:enumeration value="Huge"/>
  10. <xs:enumeration value="Galaxy"/>
  11. <xs:enumeration value="Cargo"/>
  12. </xs:restriction>
  13. </xs:simpleType>
  14. </xs:schema>
  15. <!--?xml version="1.0" encoding="utf-8"?-->