Especially in more complicated Scripts, commands have many restrictions, need special inputs and certain softwares which you have to install in order to use the command in the ideal way. You would like to know more about the pilots and their statistics while the command runs, the good Scripter however left out the the button "show statistics" for compatibility reasons, others used whole command slot for only one statistics.
The solution:
On each ship, one can receive all information and statistics about the current command via only one hotkey. If no command is selected, one receives a list of all installed extensions and can select a readme.
This results in:
- No wasted command slots
- Less people not having found or read the readmes
- Easy access to all readmes InGame
- Player gets access to information about scripts he does not even have (and would enjoy having
)
Screenshots (in German):
[ external image ] [ external image ]
Download:
[ external image ]
Install: Copy 448762.xml and 498762.xml to "t"-folder, all other files to "scripts"-folder of X3-directory.
Resources: PageID 8762
How does your script get into CIAD?
In order to bring your script to show these infos, you have to do the following:
-> up to 5 local variables are set on each ship, which can be filled into a text that describes the command and statistics.
Name: local.cmdstat.arg.(1-5)
In order to have your script entered into the CIAD-pack:
Post here:
-> Script name
-> Name of the mainscript that always runs on task 0
-> Text for the global command readme
-> Text for the statistics of each ship
Enter into the script:
-> lines in the main script that set the statistics values to local vars
Note that only scripts with a German translation both of the script and this readme can easily be taken into CIAD.
Text formatting:
Please only use these formatting commands (if you don't know how to do it, I will)
\033A - Grey,
\033B - Blue,
\033C - Cyan,
\033G - Green,
\033M - Magenta,
\033R - Red,
\033W - White,
\033Y - Yellow,
\033X - End of color formatting
\n - New line
%s - fill in variable
Example:
I want to have a statistics entry for the Taxi Software MK1&MK2.
---------------------------------
Script: Taxisoftware MK1&MK2
Mainscript: plugin.taxi.main
Command readme:
Code: Select all
With the \033YTaxi-Software\033X, a \"Taxi driver\" is hired, who uses the taxi for passenger transportation. The ship moves from one station to another and earns money by transporting passengers. The more experienced the driver, the further the taxi will go. Earned money depends on rank, fly distance and number of passed gates.
Code: Select all
\033YTaxi Software MK1\033X\n
\033YPilot\033X: %s\n
\033YEarned Credits\033X: %s\n
\033YFlown distance\033X: %s km\n
\033YCurrent destination\033X: %s
Then, I set the following variables in the next version of my script:
Local:
local.cmdstat.arg1: $PilotName (the variable that carries the pilot name)
local.cmdstat.arg2: $TotalCR
local.cmdstat.arg3: $TotalKM
local.cmdstat.arg4: $Destination
This script project will also carry descriptions for the normal trade commands, as well as readmes from the BonusPack, and will be published in a way so that as many players as possible can use it.
Thanks, STL
German Thread