X4: Foundations
0 of 0

File information

Last updated

Original upload

Created by

BaneSorka

Uploaded by

BaneSorka

Virus scan

Safe to use

Tags for this mod

About this mod

This will let you rename multiple ships in a fleet with a naming pattern of your own.

Permissions and credits
Changelogs
If you are like me, you have various load-outs for each ship, and want to keep up with what load-out each ship in your possession is using. Or you just want to have every trade ship you own use one name, or some other naming method. Now you can do that in mass. Using the Key Phrase [RFS].

Here is what you need to do:

  • Get the ships
  • Assign the ships to a commander
  • Rename the commander adding [RFS] to the front, Example: [RFS]Your Own Pattern
  • Wait up to 10 seconds
  • All ships directly under that commander are now named "Your Own Pattern" and, they will have an attached 000- how ever many you have.

I have also tested this with ships that have a commander that has a commander, for instance, I had a fighter squadron with one of the fighters as the commander, who was assigned to a Destroyer. I renamed the fighter commander, and each of the fighters were renamed, the destroyer was left as is. This script only goes one commander structure deep, so only the commander, and his direct subs will be renamed.

Credit to jan12342203 and his mod MultiRename. He gave me permission to use his mod to kick start this one. The code that assigns the numbers to the end is directly from his mod. Thanks jan12342203!!

Also, thanks to all the posters in this THREAD who gave me the right direction and support to find the code syntax I needed.

Installation: Extract to the X4 Root Extensions Folder