Version: 1.31
Author: Sartorie
Updated: 03.04.08
Overview:
---------
This is a ship rename script for player owned ships. It adds a new command that allows you to put a ship into commission with your company. Ships can be put either into your companies naval/personal or trade fleet.
A naval fleet ship will be assigned a naval counting code (stays with the ship - dies with the ship) and the shipname will consist of status information and a unique name.
In the trade fleet the shipname will consist of status information, homebase and assigned job. If the feighter has currently no job assigned it will have a highlighted name.
This script aims for easy usage and works out of the box. Configuration options can be altered in the textfiles or the script itself. A new AL option is added that will stop auto naming on every ship.
The following screenshots were taken in a XTM game.
[ external image ][ external image ]
The left one shows the shipnames after commissioning, the right one before. If XTM is detected the extended shipclasses of XTM (e.g. M0, M8, MTS, T0) are used.
Usage:
------
To commission a naval fleet ship, make sure it has no homebase assigned - then run the [custom][commission ship] command on it. If you do not like the assigned random name overwrite it or run the command again to get another name.
To commission a trade fleet ship, make sure it has a homebase assigned - then run the [custom][commission ship] command on it. The ship will keep renaming itself if you change/rename it's homebase or assign it a new job. To stop the auto renaming run the [custom][commission ship] command on it again (make sure it has a homebase). The auto renaming feature does not work instantly - it takes seconds or even minutes to rename your freighter, be patient.
Configuration:
--------------
For this part you will need a normal text editor. Open the textfile 447927 and read the commend that describe each entry. The most common entries your should change are [0],[1],[2],[3] (you company / fleet names) and the delay for the auto naming [199]. If you want to use an empty string somewhere (that is not allowed by X3) use '\033X' (without the quotes) for it - this is the non-displayed color code for normal color.
Download:
---------
scs_1.31.spk / scs_1.31.zip
Install:
--------
Use Cycrows Plugin Manager to install. German, english and italien textfiles included.
Uninstall:
----------
Go to the AL menue and trigger the [SartCorp: stop SCS] option, it will revert to off automatically.
Now wait a few minutes to make sure every ship stopped its auto naming script. After that save you game and uninstall the script using the Plugin Manager.
Notes:
------
* Auto naming starts a script on the respective ship that will continue running until told to stop by either running the [custom][commission ship] command again or using the AL option (this will stop these script on every ship). The autonaming can recognize basic commands like [Buy for best price] and advanced commands like the MK3 Universe Trader.
* The [custom][commission ship] command will activate the autopilot of the ship and thereby reset its commands. After you have commissioned a ship you have to reorder your commands for it.
* After you have used the AL option [SartCorp: stop SCS] restarting auto naming will not work until you restart/reload (the setup script is triggered again).
* As the auto naming script is periodically run it could place some extra load on your game if you have it running on many, many freighter - to compensate for that you can adjust the delay for it in the textfile id 199. It's a numeric value in ms and determins how long the script will wait before running again.
Supported Commands:
-------------------
They following commands are recognized by the auto naming feature at the moment.
* [Buy for best price]
* [Sell for best price]
* Commodity and Logistics Software 1 and 2
* Commercial Agent
* MK3 Sector Trader
* MK3 Universe Trader
This list can be easily expanded. What I would need for that is the name (long name, short name and a link preferably) of the script AND the actual script the command runs on the target ship (with activated script editor take a look at the scripts that are running at the ship, at task 0 it should list the name of the script e.g. plugin.autotrade.galaxy)
Changes:
--------
v1.31
* set default auto delay to 300.000
* fixed a typo missnaming sell best price
* minor load balancing
v1.3
* added freighter autonaming feature
v1.2
* added more shipnames
* added vanilla compatibility
* added italian textfile
v1.1
* fixed typo in english textfiles
v1.0
* initial release
names currently included:
Code: Select all
fishnames.txt: 62 names
constellations.txt: 88 names
mystical creatures.txt: 205 names
shipnames.txt: 165 names
chemical elements.txt: 117 names
Iliad.txt: 55 names
Odyssey.txt: 32 names
artists.txt: 62 names
famous scientist.txt: 100 names
sf writers.txt: 743 names
fantasy writers.txt: 386 names
horror writers.txt: 213 names
currencies.txt: 52 names
melee weapons.txt: 69 names
celtic, female.txt: 62 names
celtic, male.txt: 84 names
chinese.txt: 468 names
finnish.txt: 41 names
greek+roman.txt: 59 names
norse.txt: 64 names
shinto.txt: 30 names
cthulu.txt: 92 names
egyptian.txt: 163 names
caribbean islands.txt: 23 names
large cities.txt: 37 names
total: 3472 names
Ideas and additions to the script(s) and/or nameslist are always welcome.
