Making a player-usable custom ship style

By on March 23, 2007 9:31:58 PM from GalCiv II Forums GalCiv II Forums

kryo

Stardock
Join Date 05/2003
+392
In order to make a custom style for your own use, where all (or some) of the core ships are replaced:

1. During a game, design enough templates to make up the new style. You'll need at least one template of each hull size if you want it to be useable by the AIs. If you won't ever use it for an AI race and don't build core ships, you'll really only need a Cargo (preferably two) and a Medium template to cover the colony, miner, and survey ships you start with.

2. In AI race customization screen at game creation, pick the style you used when you made your templates, edit it, and save it under a new name.

3. Go to My Documents\My Games\GC2DarkAvatar\ShipStyles and open your style's xml file in a text editor.

4. Change the <Prefix> value to something unique, with no spaces or special symbols. Check through the file for any instances of the original style name you copied yours from and change them to your new name.

5. Go to My Documents\My Games\GC2DarkAvatar\ShipTemplates, and rename the .shipcfg files for the templates you made in step 1 to match the prefix value you set in step 4.

6. Once renamed, copy at least the three starting ships' templates to GalCiv2\DarkAvatar\Data\ShipCfg as well (this is necessary to make them appear when you use the style for your own race), and rename them to match their roles in the same format as all the other files in that folder. So prefix_ColonyShip.shipcfg, prefix_SurveyShip.shipcfg, prefix_SpaceMiner.shipcfg, etc.

7. Start up the game, and go edit the style via AI race setup. Pick each item on the left and double-click the template on the right to assign it, then save.

Your style should now be ready for use. Whether you use it yourself or for an opponent, the three starting ships (and any future core ships or AI designs if you replaced more) should use the templates you made yourself.
Pinned Post   |   44 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
July 29, 2008 6:23:15 PM from GalCiv II Forums GalCiv II Forums
Im interested of the relation between shipstyles/configs and AI decisions what to build/research? I've replaced every ship for the terrans, with a hyperdrive only as equipment. Nothing else. But now the AI doesnt research any weapon technology and builds the ships without any.
Reason for Karma (Optional)
Successfully updated karma reason!
July 30, 2008 7:57:41 AM from GalCiv II Forums GalCiv II Forums
I've never seen this before but then I spend most of my time making ships and shipstyles I haven't actually played the actual game in a long while. But I really hope I do one day.

I was curious if anyone had this problem with my ships so I brought up the question in reply#386 in: F&E.

I hope to get a answer soon.
Reason for Karma (Optional)
Successfully updated karma reason!
July 30, 2008 10:31:05 AM from GalCiv II Forums GalCiv II Forums
Im interested of the relation between shipstyles/configs and AI decisions what to build/research? I've replaced every ship for the terrans, with a hyperdrive only as equipment. Nothing else. But now the AI doesnt research any weapon technology and builds the ships without any.


No relation. The templates are used as the graphic only.
Reason for Karma (Optional)
Successfully updated karma reason!
October 12, 2008 3:24:25 PM from GalCiv II Forums GalCiv II Forums

Thanks this thread really helped me

Reason for Karma (Optional)
Successfully updated karma reason!
December 6, 2008 3:13:54 PM from GalCiv II Forums GalCiv II Forums

My ship style is invisible when I choose the race, but the three starter ships have not changed. Here's what my files look like:

Step 5: Djani_UD_T_D'janiFlagship_t.shipcfg, which is how the game saved it but with my new prefix, which i changed in step 4.

Step 6: Djani_D'janiFlagship_t.shipcfg, which is what the other files in that folder look like.

What am I doing wrong?

Reason for Karma (Optional)
Successfully updated karma reason!
January 24, 2009 8:22:16 PM from GalCiv II Forums GalCiv II Forums

Is it possible to create a mod with a player-usable custom ship style?

Reason for Karma (Optional)
Successfully updated karma reason!
January 25, 2009 10:04:45 PM from GalCiv II Forums GalCiv II Forums

yes

Reason for Karma (Optional)
Successfully updated karma reason!
January 28, 2009 2:11:57 PM from GalCiv II Forums GalCiv II Forums

I really wish Stardock would just integrate this into the game. Going through folders and renaming files is a very inefficient and sometimes frustrating method.

Reason for Karma (Optional)
Successfully updated karma reason!
January 28, 2009 3:26:29 PM from GalCiv II Forums GalCiv II Forums

you can make a player usable shipstyle without leaving the game!

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2009 3:57:03 PM from GalCiv II Forums GalCiv II Forums

I don't believe you! That's what this entire thread is about!

Reason for Karma (Optional)
Successfully updated karma reason!
January 31, 2009 6:36:11 PM from GalCiv II Forums GalCiv II Forums

go to the race selection screen, choose your race and go to the appearance tab. in that tab there is a button that says 'create custom shipstyle' or something like that and click on it to choose templates to add to the style and you're done. To create templates, just go to the ship designer and when you create the ship, click save as template.

 

-Dave

Reason for Karma (Optional)
Successfully updated karma reason!
February 2, 2009 10:44:56 AM from GalCiv II Forums GalCiv II Forums

Yeah, the option is now available for the player in the latest version of TA. I'm not sure offhand if it replaces the starting ships though, those still might need to be done manually.

Reason for Karma (Optional)
Successfully updated karma reason!
February 3, 2009 12:09:52 PM from GalCiv II Forums GalCiv II Forums

those still might need to be done manually.

That's in fact quite true for DA styles editing as the 'currently available templates' list i ended up with yesterday wouldn't pick everything i gave it.

 

Btw Kryo, are UD_ tags (initial designs certainly had to be saved) still necessary for ships driven by an eventual pre-defined style?

Reason for Karma (Optional)
Successfully updated karma reason!
February 5, 2009 10:41:19 PM from GalCiv II Forums GalCiv II Forums

Okay, i deleted all the UD tags as per Carielf 'oldmodguide' suggested and still have a sortof problem;

 

I'm testing a temporary ship style for the X-Com fleet (which must be valid for either the Human Player or any AIs if selected as opponent), soooo....

1-- all their templates (XC_T_...shpscfg + XC_..._t.xml) are located in x:\..\MODS\X-Worlds\Data\ShipTemplates.. and declared as such in the XWhU X-Com style file which is also located in the given ShipStyles folder.

2-- all pre-defined (with valid components & engines, etc) XC_...shpfg are into the MOD\Shipcfgs folder. Considering the special Colony,SurveyShip & Miner supplemental trio has been copied there too as recommended.

3-- all pre-defined xml for number--2 above are also into the MOD\ShipDefs folder.

 

Is this the correct procedure? Cuz, i even tried moving all these files into C:\Docs... and each time a new game started all shpcfg (XC_..) files simply got deleted by the program. So i returned them all to their earlier MOD locations; as a player, all ships showed up correctly and even in the AI situation the game could use and deploy any of these ships properly. BUT...

Every time i am trying to create a new ship (by say, just replacing the engine) from the Core list... i get an invisible ship and those specific files get saved in the C:\Docs... as usual. If i reload for a new game THAT previously invisible ship is now available and it's NOT invisible.

What am i missing here?

Reason for Karma (Optional)
Successfully updated karma reason!
February 13, 2009 7:27:39 PM from GalCiv II Forums GalCiv II Forums

For some reason, this feature has been unavailable to me for some time, even with the lastest versions of TA. The button is just greyed out.

Reason for Karma (Optional)
Successfully updated karma reason!
May 2, 2009 10:37:04 AM from GalCiv II Forums GalCiv II Forums

Quoting Matthew Girard,
Thats wicked.
I would have to say very clever.

Reason for Karma (Optional)
Successfully updated karma reason!
May 15, 2010 5:18:15 AM from GalCiv II Forums GalCiv II Forums

I'm not sure if this has been re-covered recently - but does this work for ToA? Specifically, I'm having problems with getting my customized ships to appear as the ships you get at start. What are the filenames I need to use, and which folder should they be in? So far, the one suggested here hasn't worked for me.

Thanks for the help.

Reason for Karma (Optional)
Successfully updated karma reason!
May 18, 2010 7:10:55 AM from GalCiv II Forums GalCiv II Forums

rename your colony,survey,spaceminer to this

KRI_ColonyShip.shipcfg

KRI_SurveyShip.shipcfg

KRI_SpaceMiner.shipcfg

Remember change the prefix from S0_to Something else use at least 3  numbers or letters than place them in your ShipCfg folder.Next go into your my documents games ShipTemplates folder and copy the ships you want to use only copy the XML.Then place them in your mods shiptemplates folder it should look like this when your done

<ShipStyle Name="Galactic Federation Style">
        <AIAttacker1>galfedattacker2_t</AIAttacker1>
        <AIAttacker2>galfedattacker3_t</AIAttacker2>
        <AIAttacker3>galfedattacker_t</AIAttacker3>
        <AIBattleship1>galfedbattleship2_t</AIBattleship1>
        <AIBattleship2>galfedbattleship3_t</AIBattleship2>
        <AIBattleship3>galfedbattleship_t</AIBattleship3>
        <AIColonyShip1>galfedcolony_t</AIColonyShip1>
        <AIConstructor1>galfedconstructor_t</AIConstructor1>
        <AIDefender1>DefenderTemplate1_t</AIDefender1>
        <AIDreadnought1>galfeddestroyer3_t</AIDreadnought1>
        <AIDreadnought2>galfeddestroyer2_t</AIDreadnought2>
        <AIDreadnought3>galfeddestroyer_t</AIDreadnought3>
        <AIFighter1>galfedfighter2_t</AIFighter1>
        <AIFighter2>galfedfighter3_t</AIFighter2>
        <AIFighter3>galfedfighter_t</AIFighter3>
        <AIFreighter1>galfedcargo_t</AIFreighter1>
        <AIFrigate1>galfedfrigate2_t</AIFrigate1>
        <AIFrigate2>galfedfrigate3_t</AIFrigate2>
        <AIFrigate3>galfedfrigate_t</AIFrigate3>
        <AIHeavyFighter1>HvyFtrTemplate2_t</AIHeavyFighter1>
        <AIHeavyFighter2>HvyFtrTemplate1_t</AIHeavyFighter2>
        <AIHeavyFighter3>HvyFtrTemplate3_t</AIHeavyFighter3>
        <AISpaceMiner1>galfedspaceminer_t</AISpaceMiner1>
        <AISpore1>SporeShipTemplate1_t</AISpore1>
        <AISurvey1>galfedsurvey_t</AISurvey1>
        <AITransport1>TransportTemplate1_t</AITransport1>
        <DisplayName>Galactic Federation Style</DisplayName>
        <Hidden>0</Hidden>
        <Prefix>GAL</Prefix>
        <ModuleStyle>0</ModuleStyle>
    </ShipStyle>

this is the easy way to get them to show you don't have to name them this its just easier to find them when you have alot of ships.And boy do I have alot it took me an hour to get the terran style to show.I hope this helps you our anyone else with custom shipstyles. 

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
January 6, 2011 2:13:48 AM from GalCiv II Forums GalCiv II Forums

 

After alot of trial and error ( and I do mean ALOT OF TRIALS AND ERRORS ), I have finally integrated my User Designed ships into a custom ship style's templates that gets those whacky and abnormal upgrades and amount of weaponry that just outclasses whatever you design in every freaking way.

 

Dreadnought Ship

 

As you can see, the program doesn't really care much about looks and just slaps weapons in any available space it finds. and trust me this is wayyyyyyy overweighted than the allowed component space allowed.

I'll write down a brief explanation on what to do "in addition" to the steps mentioned by the OP.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108434  walnut1   Server Load Time: 00:00:00.0003047   Page Render Time: