Author Topic: Changing the ownership of a ship - DB Editting  (Read 1914 times)

0 Members and 1 Guest are viewing this topic.

Offline idefelipe (OP)

  • Gold Supporter
  • Lieutenant
  • *****
  • Posts: 153
  • Thanked: 75 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Changing the ownership of a ship - DB Editting
« on: February 14, 2022, 11:08:55 AM »
Hello!

I am wondering how to change the ownership of a ship. I guess it is editting the DB and I have tried a couple of things in the line FCT_Ship in the column RaceID to match the new race I want to be the ship's owner, but that does not mean to work.

Could you help me? What must be editted in the DB to change the ownership of a ship?

Thanks.
 

Offline alex_brunius

  • Vice Admiral
  • **********
  • Posts: 1240
  • Thanked: 153 times
Re: Changing the ownership of a ship - DB Editting
« Reply #1 on: February 14, 2022, 11:13:49 AM »
You would need to change the RaceID in FCT_Fleet as well or the ship wouldn't have anywhere to show up in Naval Organization (F4) window.
 
The following users thanked this post: idefelipe

Offline idefelipe (OP)

  • Gold Supporter
  • Lieutenant
  • *****
  • Posts: 153
  • Thanked: 75 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
    2023 Supporter 2023 Supporter : Donate for 2023
Re: Changing the ownership of a ship - DB Editting
« Reply #2 on: February 14, 2022, 11:24:46 AM »
Thanks!!

Also, thanks to your help, I realized that it needs to change the ParentFleetID to match the ownership fleet.

So there are three things to be changed:

FCT_Fleet - ParentFleetID
FCT_Fleet - RaceID
FCT_Ship - RaceID

As bonus track, you should also need the Assigned Pop ID (so it will appears in the planet you want)

With that things changed the ship appears in the new empire :)
 

Offline Garfunkel

  • Registered
  • Admiral of the Fleet
  • ***********
  • Posts: 2781
  • Thanked: 1048 times
Re: Changing the ownership of a ship - DB Editting
« Reply #3 on: February 14, 2022, 06:17:23 PM »
Just a reminder for players who might want to beef up NPR - the AI does not benefit from this because it does not understand what to do with player-designed ships. So this is only useful for transferring ships between two human controlled empires.
 
The following users thanked this post: idefelipe