Issue with Ship styles in DA

Originally posted in the Modding section but this may be a bug so thought I should post here. Sorry for the spam. (https://forums.galciv2.com/?forumid=348&aid=146328)

I've run into an issue with the ship styles. I created a new mod which only has GC2Ships.xml, GC2Types.xml, and the ShipStyles folder copied from the DarkAvatar/Data/English folder. When I start a new game as humans and then edit the default scout it fails to find the ship hull after saving the changes. In the ship preview screen I get the SO_Small_0 hull with the components stuck at odd places. If I save then load the save game all ships go from using the terran style to torian style. If I do a new game the changed scout appears correctly. Opening the shipcfg does show its using the correct hull model. I just did a new install of DL and DA (both downloaded via the Stardock Central Total Gaming utility) and I'm using version 1.50.094. Disabling mods fixes the issue as does creating a mod without using GC2Ships.xml.

Any thoughts are greatly appreciated.

I enabled debugging.
In the debug.err I see the following but have no idea how to fix it:

Debug Message: Parsing screens\CustomShipStyleWnd.dxpack
*DEBUG ERROR: ***CustomShipStyleWnd: Unknown edit field ShipList_List_Entry type: CustomListEntry ***
*DEBUG ERROR: ***CustomShipStyleWnd: Unknown edit field ShipList_Avalible_List_Entry type: CustomListEntry ***
Debug Message: WARNING: GetShipStylePrefix called for civ and civ has no ship style
Debug Message: LoadHardpointsFromPrefsFile failed to load ship config file: ./Data/ShipCfg/\(null)_ColonyShip.shipcfg
Debug Message: Creating Galaxy

Entire debug.err is with original post (https://forums.galciv2.com/?forumid=348&aid=146328)
2,726 views 3 replies
Reply #1 Top
Those errors seem to have been in all DA debugs (so while there's obviosuly something wrong, it doesn't appear to be harmful or related to anything you've done).

What exactly are you changing in GC2Ships.xml? And are there any other missing template messages in the debug?
Reply #2 Top
I have yet to make changes to the GC2Ships.xml. I copied it directly from the darkavatar directory as I testing for another mod.

The only template errors I get are for missing ship config files for S*_PirateShip.shipcfg and S*_Starbase.shipcfg.

I have also found that if I do not include the shipstyles files in the mod it does not change my ships to a different shipstyle on a reload (though it still has issues editing an existing non-userdefined ship).
Reply #3 Top
Well, I'd suggest trying to just add your own shipstyles, rather than trying to overwrite the base ones.