Aurora 4x

C# Aurora => C# Mechanics => Topic started by: vorpal+5 on November 15, 2020, 04:53:25 AM

Title: Changing the size of some ship components (DB edit)
Post by: vorpal+5 on November 15, 2020, 04:53:25 AM
I'm stuck on this one. The list of components to research is in TechSystem, but their mass is not defined here. I searched the data fields TechSystemID and TechtypeID in all other tables (well, np++ did that for me after a JSON export  ;D ) and I found no relevant info tying the techs to an additional table.

So, any idea gents? Perhaps that's hard coded in the code, or I missed something ...
Title: Re: Changing the size of some ship components (DB edit)
Post by: Steve Walmsley on November 15, 2020, 06:00:16 AM
I'm stuck on this one. The list of components to research is in TechSystem, but their mass is not defined here. I searched the data fields TechSystemID and TechtypeID in all other tables (well, np++ did that for me after a JSON export  ;D ) and I found no relevant info tying the techs to an additional table.

So, any idea gents? Perhaps that's hard coded in the code, or I missed something ...

The physical components are in FCT_ShipDesignComponents. The SDComponentID links to the TechSystemID. The Size column is in HS.

Be careful you don't accidently change anything to zero, as that would cause problems :)

Also, please don't report any bugs that can't be reproduced on a non-modified DB.
Title: Re: Changing the size of some ship components (DB edit)
Post by: vorpal+5 on November 15, 2020, 07:24:25 AM
Thanks a lot Steve. Promised, I will be (1) prudent and (2) not report anything I can't reproduce on a vanilla game. Thanks for the trust and help  :)