Ship Naming System
Version: 1.25
Osirissamelite@googlemail.com
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
download:
[.rar][.spk]
--------------------------------------------------------------
Note: Any bugs, please report them to me by send either a PM or E-mail (see address above) in the subject, please include the word 'script'.
I have included SymTec ltd.'s lib.st.formatnames library. I have included it in the spk/rar for simplicity. Special thanks to him for allowing me to use this resource

--------------------------------------------------------------
Installation:
rar: Extract rar contents to *\EGOSOFT\X3 Reunion
SPK: Double click on file with Cycrows' script installer installed.
--------------------------------------------------------------
Usage:
This script is for the automatic renaming of ships.
This version includes:
>Capital ship Naming
>TS Naming
>Satalite Naming
>Fighter Naming
>TP Naming
Due to feedback from users of this script, I advise all users to keep station names short. station names with over 17 characters will cause TS names to over-run the shield/hull status bars. If your station name is over this length, there is nothing i can do about it.
The script has 3 Commands (details below) found in the Custom menu:
Shipname: Further Options - This will open the MSUI (message system user interface). On this first message, you will see a series of options:
>Capital Ship Naming System Options - Opens the Capital SNS module options
>TS Ship Naming System Options - Opens the TS SNS module options
>Satalite Ship Naming System Options - Opens the Sat. SNS module options
>Fighter Ship Naming System Options - Opens the Fighter SNS module options
>Ship and station report - Sends the player a message detailing number of each class of ship, including a total number. and a list of stations which have TS class ships set as homebase, which have been renamed. **warning** this message can take a long time to arrive. I suggest that you don't ask for one if you are about to dock. The message will be displayed.
>Reset All Ships - This resets ALL ships that have been renamed by the Ship Naming System.
>Cancel - Closes the MSUI
The different modules have similar options;
>start SNS - starts the ship naming system
>stop SNS - stops the ship naming system - will only effect the next renaming session.
>reset - Resets the ships renamed by this module (independantly of the other modules)
>information - sends player an instant message with info on the module
>return - Returns the to the main MSUI menu
>cancel - Closes the MSUI
Shipname: Protect ship/set prefix - This command has two functions; When run on a small ship, it promts the player to enter a prefix for all capital ships. It is suggested that this is 2,3 or 4 Characters long. When this command is run on a Capital ship, it will protect the ship from renaming. The ship will retain its original name until reset.
Setup Company Details - Found on a player owned station, this command prompts the user to enter a company name, initials (no more than 4 characters) and a home system. This command is also used by the station naming system.
--------------------------------------------------------------
Uninstallation:
For both: while in-game, Run the 'Shipname: Further Options' Command, then select 'Reset All Ships'. This will restore them to their original names.
rar: Remove the text file (448885.xml) from the \t folder. Remove the script files from the \scripts folder (contact me if a list of scripts is required)
spk: Use Cycrows' script installer to uninstall the script.
*note* uninstalling the script will not reset ship names to their original names (e.g.Your argon titan), unless the reset all ships command is activated.
--------------------------------------------------------------
Revision History:
v1.25 - Current version
-added Fighter Naming Module
-added Tp Naming Module
-added company details
-improved reporting
-added names to shipname list
-added colour per capital class
-fixed identification of CAgs
-added Company identification
v1.20 -
-Script now distinguishes between TS' running Station Manager, Commercial agent and Commodity Logistics software (recent Bonus pack)
-Script now ignores ships which are part of a group (i.e. Using Group management system (also from bonus pack)
-Fixed several bugs in the reseting of ships
-Sector traders and universe traders (mk3) now named differently, and coloured differently for easy recognition.
-Improved MSUI, Menus no longer close when a command is selected in one of the module options (main MSUI window will close when one of those options is selected)
-Some mistypes in the text file have been corrected
-Scripts will now terminate when the 'stop' command is run
-System status now reported in the Fleet report (see commands)
-Naming scripts will now wait for reset scripts to complete before renaming ships (to prevent complications due to this)
v1.15 -
-Added TS naming module
-Added Satalite Naming module
-Further enhanced the MSUI (message system user interface)
-fixed timing scripts - timing now controlled by a single AL-Plugin.
-Added Ship and Station report, including information on number of ships, and stations which have renamed TS ships assigned.
-Rename timing is now based on the number of ships the player owns. The minimum interval is 250s (5 mins), 1 second is added for every 5 ships.
V1.10 - Xtended Compatibility
-Refined delayed starting
-Changed commands to comply with XTM 0.7a
-Changed script interface, Most commands now entered through the message system.
-fixed script reseting the 'original' name of a ship when running the 'protect ship' command, if the system had not been run.
-Some of the first addon files have been added :TS naming systems.
V1.01 - initial release
-fixed problems with starting the script
-added delayed starting, so the script does not activate upon startup.
-added original name resetting when using reset command
V1.00B1- Beta release
--------------------------------------------------------------
Text files used:
448885.xml
text pages used:
8885
8886
Commands used:
755 - COMMAND_TYPE_CUSTOM_55 - Shipname: Further Options
756 - COMMAND_TYPE_CUSTOM_56 - Shipname: Protect ship/set Prefix
1116 - COMMAND_TYPE_STATION_16 - Setup Company Details
--------------------------------------------------------------
Credits:
Endremion - ship names
raleksandr - ship names
ScorpiusX - ship names and his vast quantity of feedback

The Cuban Nightmare - ship names
Tenlar Scarflame - ship names
Yellowman - ship names
Blueman - ship names (although not used in version)
bkcommander - ship names
xfir01 - ship names
Modeler - ship names
Big thanks to:
Stevio - Help with the core scripting
Cycrow - LOTS of help with my various questions whilst writing this script
Symtec ltd. - Use of his library for formatting arrays. and help with timing etc.
sphr - Use of his libraries...
--------------------------------------------------------------
To-do list:
-add names to shipname list
-add ship type suffix (thanks ScorpiusX for your input on this

Any queries please contact me either by email (see top of page) or by PM on the egosoft forum. EDIT: Please include "script" in your topic to maximize the chance of it being read
See post 2 for details on how to add shipnames and posting ideas.