Ship Templates?

Is it possible to import one races ships so that another race can use their own ships plus second races ships. I imagines it requires editing a file or two...but if someone could point me in the right direction it would be greatly appreciated.
1,927 views 2 replies
Reply #1 Top
Since the templates that come with the game use a common set of .xml files and the game just picks the appropriate .shipcfg for it based on that race's prefix, it would take some manual work on all of the xml files to pull this off.

First, find the appropriate shipcfg files in GalCiv2\DarkAvatar\Data\ShipTemplates that you want to use, and make copies of them. You'll need to change the prefix to S99_, and append some extra to the end of the filename to distiguish it from the regular versions (for example, rename S0_Avatar.shipcfg to S99_Avatar_2.shipcfg).

Then open the .xml file that goes with that shipcfg file. For the Avatar, that's BattleshipTemplate1_t.xml. Make changes like so (additions in red):


<gc2ships>
<shiptemplate name="BattleshipTemplate1_t_2">
<component>LargeHull2</component>
<displayname>Avatar Template 2</displayname>
<model>Avatar_2</model>
</shiptemplate>
</gc2ships>

Then save it as BattleshipTemplate1_t_2.xml (name it to match the ShipTemplate Name= line above).

That should make that template available to all races.