Convert (Save) ship to a different hull size

Future request

Future Request: It would be nice to be able to convert a model(ship) over to a different hull size within the editor.

 

I would be fine it it dropped all the "components" when you did this because of capacity changes to make it simpler, mainly looking to use the model as a different size hull (without having to try and recreate it).

20,309 views 9 replies
Reply #1 Top

What model's? Supply a link to the designs and I will "recreate" it/them.

Reply #2 Top

Well  I have tons - love many ships created by others, just want to use them on different hull sizes.

I would also prefer to learn how to do it myself, I've tried:

  1. Download ship 
  2. Saved it as a local copy "SSS-Galactic Scanner -MI.."
  3. added to my ship style GS_ShipClassDefs.xml and assigned the ship style to my faction.
  4. Unlocked and edited the ship and saved it as a style and then re-added it to the SCD.xml
 
But can't seem to convert it... :(
 

 

Ship example I would like to convert to medium so I can have it as my Surveyor.

https://steamcommunity.com/sharedfiles/filedetails/?id=514326902

 

Code: xml
  1. <ShipClass>
  2. <InternalName>GlobalSeditionSurvey</InternalName>
  3. <DisplayName>TerranSurvey_Class_Name</DisplayName>
  4. <Description>Standards Survey</Description>
  5. <ThumbnailOverride>SSS-Galactic Scanner -MI_AB185EB1B67D4A349A11DFA879479EA8.png</ThumbnailOverride>
  6. <ShipHullType>Medium</ShipHullType>
  7. <ShipRule>Survey</ShipRule>
  8. <ShipDesign>SSS-Galactic Scanner -MI_AB185EB1B67D4A349A11DFA879479EA8</ShipDesign>
  9. <AIShipClass>Survey</AIShipClass>
  10. <StrategicIcon>SurveyShip</StrategicIcon>
  11. <BlueprintDef>SurveyBlueprint</BlueprintDef>
  12. </ShipClass>

Reply #3 Top

Its quite easy to do:-

1. Download the Design.

2. In the designer, select design. Give it a name Blah_Blah_of_Blah. Save as Template.

3. Find the design name Blah_Blah_of_Blah.

4. Add this to any ShipClass file under the size of the hull you want to move it too.

5. Start a game with cheat enabled.

6. Use unlock command.

7. Goto designer, find your Blah_Blah_of_Blah design from the ShipClass.xml (I usualy give the ship a name of "NeedChange_Blah_Blah_of_Blah" in the xml so its easy to identify), listed with its full loadouts in the build/edit que because you used unlock.

8. Select it to edit with the designer. Remove the Loadout(all ship components). Re Save as Template with a new name Blah_Blah_of_Blah_New.

9. Find this newly saved Template.

10. Replace Blah_Blah_of_Blah in the ShipClass file with Blah_Blah_of_Blah_New.

+1 Loading…
Reply #4 Top

Need the "for Dummies" version.  I don't see a ShipClass.xml (or any xml's) in the GalCiv3 directory.

Also a bit unclear on why we need to save the ship THREE times, and modify the ShipClass file twice.

 

P.S.  Thanks for the help, I've got a dozen or two ships that I would like to be a different size

Reply #5 Top

You need to create your own custom ShipsClass.xml for your own style (or copy one from another module).

The games one is in the steamapps/common/../data/Game/ShipsClass.xml  <-- has all factions for game.

 

 

Reply #6 Top

I do not see a "ShipsClass.xml".

 

I see several variations on ShipClassDefs, ShipClassText, & ShipClassAugDefs but no plain ShipClass.  And none of those files have a reference to the blah blah ship I saved as a template in step 2.  So I can't:

 

3. Find the design name Blah_Blah_of_Blah.

4. Add this to any ShipClass file under the size of the hull you want to move it too.

Reply #7 Top

Yes - sorry it's ShipClassDefs.xml and you will likely need FactionShipStyleSetDefs.xml which references Ships in ShipClassDefs.xml

 

Here is thread which goes into more detail about creating custom ship set which you will need to do to adjust hull size.

https://forums.galciv3.com/465834/page/1/#3561131

Reply #8 Top

Quoting Horemvore, reply 3

Its quite easy to do:-

1. Download the Design.

2. In the designer, select design. Give it a name Blah_Blah_of_Blah. Save as Template.

3. Find the design name Blah_Blah_of_Blah.

4. Add this to any ShipClass file under the size of the hull you want to move it too.

5. Start a game with cheat enabled.

6. Use unlock command.

7. Goto designer, find your Blah_Blah_of_Blah design from the ShipClass.xml (I usualy give the ship a name of "NeedChange_Blah_Blah_of_Blah" in the xml so its easy to identify), listed with its full loadouts in the build/edit que because you used unlock.

8. Select it to edit with the designer. Remove the Loadout(all ship components). Re Save as Template with a new name Blah_Blah_of_Blah_New.

9. Find this newly saved Template.

10. Replace Blah_Blah_of_Blah in the ShipClass file with Blah_Blah_of_Blah_New.

 

Thanks Horemvore - was able to get this working, think my issue before was not saving first time as  template. 

Reply #9 Top

YW!