I'm pleased to announce that version 0.14 of Extended_Shipyards.oxp is available for testing by players using Oolite Trunk 1.77 - revisions later than revision 4973 (nightly build 30/05/12).
It's tagged as WIP but should be in good working order, although undoubtedly there will be one or two bugs to iron out.
It is therefore wise to back up your save game before experimenting/testing.
I'd be grateful if testers could try the new features with as wide a variety of OXP player flyable ships (and OXP equipment) as they can, keeping an eye out for any odd behaviour (for example equipment not working correctly or missing after retrieving a stored ship, anything odd associated with a particular OXP equipment item etc.)
Comments and suggestions with regards to the availability of Extended Shipyard facilities is more than welcome as are comments and suggestions on pricing (all pricings are based on what's in shipyard.plist, but modifiers can be jigged). It is likely that future versions will have end-user available options as to the availability of facilities (e.g universal, main stations only, tech-level / government restricted including OXP stations, tech-level / government restricted main stations only).
Also to come is an add-on which will allow the player to take on ship delivery contracts.
It's dependent on Ship_Storage_Helper.oxp v 0.18 which is also recently updated - please see https://bb.oolite.space/viewtopic.ph ... 23#p169823 for download link.
Extended_Shipyards can be downloaded from https://www.box.com/s/abceb4731eaf501a4adb
Readme.
Extended_Shipyards.oxp
Capt Murphy 2012
Licence: CC BY-NC-SA 3.0 - see http://creativecommons.org/licenses/by-nc-sa/3.0/ for more info.
Requires: Oolite 1.77 - Trunk builds after revision 5025 (nightly build 23/06/12).
Version 0.15 24/06/12
Dependent on Ship_Storage_Helper.OXP version 0.20 or above.
Overview.
Extended Shipyards introduces new options to the shipyards at the main station of certain systems. Currently the additional facilities are only available at Corporate States, Democracies and Confederacies with a minimum Tech Level of 11. OXP stations and other systems main stations retain the basic shipyard in the current release.
At an extended shipyard site players will see a modified shipyard GUI screen from which they can select any available ship. Once selected they may be offered options to take the ship on an in-system test flight, hire the ship, part exchange, or buy the ship outright putting their current ship into storage.
Test Flights.
A small fee and refundable deposit is required to take a ship on a test flight. The player must also have a Clean legal status. There is no time limit to a test flight, but players are not permitted to leave the system with a test flight ship. Doing so is considered theft and the consequences are severe and persistent until such time as the stolen ship is paid for.
Players are free to fit equipment to a test flight ship at there own cost. If a test flight ship has sustained damage there may be a reduction in the amount of the refundable deposit.
Following a test flight the player may be offered options to hire, part exchange or purchase the ship outright.
Hiring Ships.
Hire fees are charged weekly in advance and there is a deposit equivalent to one weeks hire required. The player must also have a Clean legal status. Players are free to fit equipment to a hire ship and visit any system in the current galactic chart. Leaving the galactic chart is considered theft and the consequences are severe and persistent until such time as the stolen ship is paid for. If the player has insufficient funds to pay hire fees when due for two consecutive weeks the hire contract will be considered as defaulted, and the player will be treated as having stolen the ship. To end a hire period the player must return the hire ship to the original station.
Following a hire period the player may be offered options to part exchange or purchase the ship outright.
Part Exchange.
Works in the same way as the standard shipyard.
Purchase outright and store current ship.
Storage fees are charged 4 weekly in advance. If the player has insufficient funds to pay storage fees when due for two consecutive charge periods the stored ship will be impounded. If the player has one or more ships in permanent storage they are offered various options at all extended shipyard sites.
If the ship is stored at the current site players can sell the stored ship, sell their current ship and retrieve the stored ship or put the current ship into storage and retrieve the stored ship.
If the ship is stored at a remote site players can sell the stored ship, or arrange for the stored ship to be transported to the current location (which attracts an additional fee and takes time).
ChangeLog:
v0.1 – Initial Release.
v0.11 – Added model of current selected ship to post shipyardGUI missionScreens using new scripting capability introduced in trunk r4951 (nightly build 21/5/12). Thanks to cim.
v0.12 – Models displayed on missionScreens are now shown shipyard style in the corner of the screen. Shader/uniform set paint colours based on entityPersonality are now correctly maintained when storing/restoring ships and displaying models on missionScreens (thanks cim for making the changes to trunk). Manifest screen now shows information about next storage/hire fees due, arrival times of stored ships in transit between systems. Fixed and improved the method of calculation of any deposit reduction as a result of damage to a test or hire ship or it's equipment. Tweaked all pricing. In summary – test fee based on 0.2% if ship's full price, weekly hire fee 1% of ship's full price, deposit is based on the potential maximum cost of renovation (using Eric's new calculations introduced in revision 4967/4973), 4 weekly storage fees are 1/39th of the ship's full price.
v0.13-Fixed bug in handling of ships with no subEntities.
v0.14-Added compatibility so models on missionScreens now show adjusted paint job if player ship has been resprayed using ‘Respray for Griff’s.oxp’
v0.15-Update for compatibility with ‘Respray for Griff’s.oxp’ v0.4 to that adjusted decals are displayed correctly on this OXPs missionScreens.