Difference between revisions of "Auto-prime equipment"
Cholmondely (talk | contribs) (Added top-line summary) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | Automatically primes equipment when its MFD is selected. | ||
==Overview== | ==Overview== | ||
This OXP attempts to make life a bit simpler for pilots by automatically priming a specific piece of equipment whenever the MFD related to it is selected in an MFD slot. The trigger for the automatic priming is either when an MFD is cycled to a particular MFD ID (using the ";" key), or an MFD slot is selected where a particular MFD ID is already displayed (using the ":") key. | This OXP attempts to make life a bit simpler for pilots by automatically priming a specific piece of equipment whenever the MFD related to it is selected in an MFD slot. The trigger for the automatic priming is either when an MFD is cycled to a particular MFD ID (using the ";" key), or an MFD slot is selected where a particular MFD ID is already displayed (using the ":") key. | ||
Line 25: | Line 26: | ||
==Download== | ==Download== | ||
− | Download [[Media:AutoPrimeEquipment.oxz|AutoPrimeEquipment.oxz]] v1. | + | Download [[Media:AutoPrimeEquipment.oxz|AutoPrimeEquipment.oxz]] v1.2 (downloaded {{#downloads:AutoPrimeEquipment.oxz}} times). |
==License== | ==License== | ||
Line 31: | Line 32: | ||
==Version History== | ==Version History== | ||
+ | 1.2 | ||
+ | * Corrections to manifest.plist file. | ||
+ | |||
1.1 | 1.1 | ||
* Added MFD/equipment item pairs for Telescope and Escort Deck. | * Added MFD/equipment item pairs for Telescope and Escort Deck. | ||
Line 47: | Line 51: | ||
}} | }} | ||
{{Infobox OXPb| title = AutoPrimeEquipment.oxz | {{Infobox OXPb| title = AutoPrimeEquipment.oxz | ||
− | |version = 1. | + | |version = 1.2 |
− | |release = | + | |release = 2019-06-23 |
|license = CC BY-NC-SA 4.0 | |license = CC BY-NC-SA 4.0 | ||
|features = MFD's Equipment | |features = MFD's Equipment | ||
|category = Misc OXPs | |category = Misc OXPs | ||
|author = [[User:phkb|phkb]] | |author = [[User:phkb|phkb]] | ||
− | |feedback = [http:// | + | |feedback = [http://bb.oolite.space/viewtopic.php?f=4&t=19084 Oolite BB] |
}} | }} | ||
== Gameplay and Balance indicator == | == Gameplay and Balance indicator == | ||
[[File:Tag-colour-green.png]] | [[File:Tag-colour-green.png]] | ||
+ | |||
+ | [[Category:Equipment]] |
Latest revision as of 22:41, 15 August 2024
Automatically primes equipment when its MFD is selected.
Contents
Overview
This OXP attempts to make life a bit simpler for pilots by automatically priming a specific piece of equipment whenever the MFD related to it is selected in an MFD slot. The trigger for the automatic priming is either when an MFD is cycled to a particular MFD ID (using the ";" key), or an MFD slot is selected where a particular MFD ID is already displayed (using the ":") key.
At present, the following equipment items will be activated when their MFD is selected:
- Comms Log MFD (if the Comms Log is in non-passive mode)
- Damage Report MFD (if the Damage Report MFD is in non-passive mode)
- BroadcastComms MFD
- Range Finder MFD
- Manifest Scanner
- Market Inquirer MFD
- Waypoint Here MFD
- Escort deck
- Telescope
This OXP requires Oolite 1.85/86 in order to function.
3rd Party Interface
If other MFD's would like to add themselves to this control mechanism, they simply need to add this line to their startup scripts:
worldScripts.AutoPrimeEquipment.$addConfig("MyMFDID", "EQ_MY_EQUIP_ID");
The first parameter is the ID being used for the MFD. This value is required.
The second parameter is the equipment key for the equipment item to be primed when the mfd ID is selected. Entering a value of "" (blank) will result in the MFD ID being removed from the list.
Download
Download AutoPrimeEquipment.oxz v1.2 (downloaded 197 times).
License
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/
Version History
1.2
- Corrections to manifest.plist file.
1.1
- Added MFD/equipment item pairs for Telescope and Escort Deck.
1.0
- Initial release
Quick Facts
Version | Released | License | Features | Category | Author(s) | Feedback |
---|---|---|---|---|---|---|
1.2 | 2019-06-23 | CC BY-NC-SA 4.0 | MFD's Equipment | Misc OXPs | phkb | Oolite BB |