Difference between revisions of "The Galactic Almanac User Manual"
LittleBear (talk | contribs) |
LittleBear (talk | contribs) (→Script Info Keys Read by the Galactic Almanac MFD Unit) |
||
Line 7: | Line 7: | ||
The Galactic Almanac MFD Unit contains an [[Galactic Almanac MFD Unit|in-built Data Base of all ships and stations]] released as of the release date of the last Version of the Galactic Almanac OXZ. New ships and stations written after the Galactic Almanac OXZ are supported by the ability to add Script Info Keys specifying the Designer of the new ship or station. These Keys can also be used in Ship Data Overwrites to change the classifications of existing ships and stations. |
The Galactic Almanac MFD Unit contains an [[Galactic Almanac MFD Unit|in-built Data Base of all ships and stations]] released as of the release date of the last Version of the Galactic Almanac OXZ. New ships and stations written after the Galactic Almanac OXZ are supported by the ability to add Script Info Keys specifying the Designer of the new ship or station. These Keys can also be used in Ship Data Overwrites to change the classifications of existing ships and stations. |
||
− | [[Image:GalacricAlmanacMFD-4.png|right|thumb|300px|The Default format for Ships is the Designer and name of the Designer.]] |
+ | [[Image:GalacricAlmanacMFD-4.png|right|thumb|300px|The Default format for Ships, Stations, Missiles and Mines is the Designer and name of the Designer.]] |
The MFD Unit provides information in the format: |
The MFD Unit provides information in the format: |
Revision as of 15:06, 11 January 2022
Script Info Keys Read by the Galactic Almanac MFD Unit
Starting with Beta 1.6 onwards, the Galactic Almanac OXZ supports Script Info Keys which can be used by other OXZs to customise the descriptions given to ships and stations by the Galactic Almanac MFD Unit and to turn off automatic naming of stations.
The MFD will automatically classify any object added by an OXZ as a ship, station, missile, mine, asteroid and so on as appropriate. Planets, Moons and Gas Giants will also be automatically classified. For natural objects (planets, moons, gas giants and asteroids) the MFD will provide information on the object’s composition For ships, stations, missiles and mines the MFD will provide information on the company or manufacturer of the ship or weapons system.
The Galactic Almanac MFD Unit contains an in-built Data Base of all ships and stations released as of the release date of the last Version of the Galactic Almanac OXZ. New ships and stations written after the Galactic Almanac OXZ are supported by the ability to add Script Info Keys specifying the Designer of the new ship or station. These Keys can also be used in Ship Data Overwrites to change the classifications of existing ships and stations.
The MFD Unit provides information in the format:
Information on Targeted [OBJECT TYPE]
[OBJECT DATA NAME] : [OBJECT DETAILS]
If no Script Key is specified, then the Object Type will be Ship or Station and the Object Data Name will be Designer. If the Ship or Station is a new one, not included in the Data Base, the Designer will be listed as "No Data Available." If you would like you ship or station to be given a listed designer, you can specify the name of the designer by setting the Object Details with a Script Info Key in Ship Data.
If you would like the MFD to list the Designer of your ship, then you can specify the designer with a script info command as shown below.
"script_info" = { "almanac_mfd_object_details" = "My Custom Company"; };
The MFD will then list the Designer of your ship as "My Custom Company". All three words the MFD displays can be custom set in Ship Data if you wish. For example, if you wished to over-write the defaults, so that your ship appeared on the MFD as "Information on Targeted UFO. Caution: Alien Vessel", set the script info to:
"script_info" = { "almanac_mfd_object_type" = "UFO"; "almanac_mfd_object_data_name" = "Caution"; "almanac_mfd_object_details" = "Alien Vessel"; };
There is no requirement to set any script info commands when designing a new ship or station. The MFD Unit will automatically classify the object if no script info is present.