Difference between revisions of "Ship Respray OXP"

From Elite Wiki
(Links: Added more)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
[[File:Ship Respray 1.png|right|320px]]
  +
[[File:Ship Respray 2.png|right|320px]]
  +
 
==About this OXP==
 
==About this OXP==
 
This OXP provides a way to quickly switch the style of your ship, using whatever OXP player templates you have installed of the same class type. That is, if you are flying a Cobra Mark III, and you have Z_Groovy's Variety Packs installed, you can quickly and easily give your ship a new paint job, without having to mess about in the save game file.
 
This OXP provides a way to quickly switch the style of your ship, using whatever OXP player templates you have installed of the same class type. That is, if you are flying a Cobra Mark III, and you have Z_Groovy's Variety Packs installed, you can quickly and easily give your ship a new paint job, without having to mess about in the save game file.
Line 7: Line 10:
 
* [http://wiki.alioth.net/index.php/No_Shaders_alternate_or_extra_ships_and_accessories#Dertien.27s_Griff_repaint_Variety Dertien's Repaint Variety Pack]<br/>
 
* [http://wiki.alioth.net/index.php/No_Shaders_alternate_or_extra_ships_and_accessories#Dertien.27s_Griff_repaint_Variety Dertien's Repaint Variety Pack]<br/>
 
* [http://wiki.alioth.net/index.php/Deepspace_Ships Deepspace ships]<br/>
 
* [http://wiki.alioth.net/index.php/Deepspace_Ships Deepspace ships]<br/>
  +
* gsagostinho's Texture Packs (available in the extension manager in the game)
  +
 
You can get a lot of additional shipsets from the download manager inside Oolite.
 
You can get a lot of additional shipsets from the download manager inside Oolite.
 
 
Line 13: Line 18:
 
Once you have selected a model, and found a personality look-and-feel you like, to go ahead with the paint job, select "Purchase this respray" from the menu. The amount of time it will take to do the respray is showing on the menu item, and can be anywhere from 24 to 60 hours, depending on the size of the vessel.
 
Once you have selected a model, and found a personality look-and-feel you like, to go ahead with the paint job, select "Purchase this respray" from the menu. The amount of time it will take to do the respray is showing on the menu item, and can be anywhere from 24 to 60 hours, depending on the size of the vessel.
   
This OXP uses the [http://wiki.alioth.net/index.php/Ship_Storage_Helper Ship Storage Helper] to update the players ship to the selected model.
+
This OXP uses the [[Ship_Storage_Helper|Ship Storage Helper]] to update the players ship to the selected model.
   
 
This OXP is slightly different to the [http://www.aegidian.org/bb/viewtopic.php?f=4&t=12024 "Respray for Griffs"] OXP by Capt Murphy, as this will work with OXP's other than Griffs, and in no-shader mode.
 
This OXP is slightly different to the [http://www.aegidian.org/bb/viewtopic.php?f=4&t=12024 "Respray for Griffs"] OXP by Capt Murphy, as this will work with OXP's other than Griffs, and in no-shader mode.
  +
  +
==3rd Party Interfaces==
  +
As mentioned, this OXP uses the [[Ship_Storage_Helper|Ship Storage Helper]] to switch the player ship between different ship variants. However, there are times when SSH doesn't know of some important configuration setting specific to your OXP. To overcome this scenario and allow an OXP to perform specialised operations before or after the player's ship is stored using the Ship Storage Helper, the following interfaces are provided:
  +
  +
var sr = worldScripts.ShipRespray;
  +
sr.$addPreSprayCall("my_worldscript_name", "my_functionname");
  +
sr.$addPostSprayCall("my_worldscript_name", "my_functionname");
  +
  +
The "$addPreSprayCall" adds a worldScript/functionName combination to the list of functions that will be called prior to the respray.<br/>
  +
The "$addPostSprayCall" adds a worldScript/functionName combination to the list of functions that will be called after the respray.
   
 
==Download==
 
==Download==
Download v1.1.0 [[Media:ShipRespray.oxz|ShipRespray.oxz]] (downloaded {{#downloads:ShipRespray.oxz}} times).
+
Download [[Media:ShipRespray.oxz|ShipRespray.oxz]] v1.3.7 (downloaded {{#downloads:ShipRespray.oxz}} times).
<br/>Alternative download for the OXZ from [https://app.box.com/s/ggjccurryrvmou8eiy83u3yklkh3jdfo here].
+
<br/>Download [https://app.box.com/s/3ni43fqhmuepxdh5etcgmsyiqa8vz9zq ShipRespray.zip] v1.3.7 (extract OXP folder to AddOns)
<br/>To download this as a OXP inside a ZIP file, click [https://app.box.com/s/3ni43fqhmuepxdh5etcgmsyiqa8vz9zq here]. You will need to extract the OXP folder to your AddOns folder to use this option.
 
   
 
==Licence/Author==
 
==Licence/Author==
 
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
 
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
 
<br />
 
<br />
The expansion pack was developed by [[User:phkb|phkb]].<br/><br/>
+
The expansion pack was developed by [[User:phkb|phkb]].<br/>
  +
  +
Image from https://icons8.com/
   
 
==Version History==
 
==Version History==
  +
1.3.7
  +
* Added missing ";" to shipdata-overrides.plist and descriptions.plist.
  +
  +
1.3.6
  +
* Fixed issue with number of items on the page with "big GUI" enabled pushing heading text off page.
  +
* Normalised price of ZGroovy's Cobra Mark I and Cobra Mark III.
  +
<div class="mw-collapsible mw-collapsed" data-expandtext="Show older" data-collapsetext="Hide older" style="overflow:auto;">
  +
1.3.5
  +
* Ensured that a respray of your ship doesn't result in a loss of memory of player's actions.
  +
* Added link to [[Home System]] OXP.
  +
  +
1.3.4
  +
* Added better integration with New Lasers OXP ([[Laser_Mount_Switching_System_OXP|LMSS]] required).
  +
  +
1.3.3
  +
* Added the ability to stop the ship model spinning, to make it easier to view a paint job.
  +
* Removed the shipyard.plist entry for the Python Blackdog.
  +
* Changed background overlay image.
  +
  +
1.3.2
  +
* Removed the Python Blackdog from being an equivalent to the standard Python (it has a slightly different body shape).
  +
* Cleaned up the background overlay image.
  +
  +
1.3.1
  +
* Turned off some debug messages.
  +
* Limited respraying services from being offered at rock hermits, as it doesn't seem likely they'd offer the service.
  +
  +
1.3.0
  +
* Added routines to allow 3rd party OXP's to have functions called both pre and post a respray, in case specialised setup needs to be performed before or after changing ships.
  +
  +
1.2.2
  +
* Updated check for "Allow Big GUI".
  +
* Fixed error when leaving the ship respray selection screen without making a selection.
  +
* Added a "job completed" message.
  +
* Changed "==" comparisons to "===" for performance improvements.
  +
* Fixed max_cargo size of oolite-cobra3-alternate-player, which is based on oolite_template_cobra3-alternate, which has a larger than standard max_cargo setting.
  +
* Fixed various settings for the additional player versions of the Cobra Mk1 and Python ships so they match the standard versions of those ships.
  +
* Added a shipdata override for some OXP ships to correct some bugs.
  +
  +
1.2.1
  +
* Small text tweaks.
  +
* Updated screenID's to enable BGS background sounds.
  +
* Renamed background overlay image to prevent possibility of future duplication.
  +
* Toned down overlay image.
  +
  +
1.2.0
  +
* Added overlay background image to initial interface screen.
  +
  +
1.1.3
  +
* Added a missing semi-colon in the manifest file.
  +
* Added routine to use 1.83/4 code to check for big GUI HUD's.
  +
  +
1.1.2
  +
* Fixed shipdata.plist entries for alternate Cobra Mk3's having reduced max speed and thrust.
  +
  +
1.1.1
  +
* Added check for "allo_big_gui" HUD's
  +
 
1.1.0
 
1.1.0
 
* Added menu option to turn on/off view of ship data keys
 
* Added menu option to turn on/off view of ship data keys
Line 48: Line 121:
 
1.0.0
 
1.0.0
 
* Initial release
 
* Initial release
  +
</div>
  +
  +
== Links ==
  +
*[http://aegidian.org/bb/viewtopic.php?f=4&t=17419 BB Thread] (2015-17)
  +
*[http://aegidian.org/bb/viewtopic.php?p=183334#p183334 Some notes on doing it] (2012)
  +
*[[Respray for Griffs]] Capt Murphy's original Respray oxp (2012).
  +
*[[:Category:Retextures OXPs]] - explanation of regular/alternate/replacement ship retexture oxp's
  +
*[[Decal]]
   
 
==Quick Facts==
 
==Quick Facts==
  +
{{OXPLevel|0}}{{IconOXP|ooVersion="1.80"|oxpCPU="Low"|oxpMEM="Low"|oxpGPU="Low"|oxpIsAPI=true|oxpIsChild=true|oxpIsDocumented=true}}
 
{{Infobox OXPb| title = ShipRespray.oxz
 
{{Infobox OXPb| title = ShipRespray.oxz
|version = 1.1.0
+
|version = 1.3.7
|release = 2015-05-15
+
|release = 2018-10-05
 
|license = CC BY-NC-SA 4.0
 
|license = CC BY-NC-SA 4.0
 
|features = Get a new paint job on your ship
 
|features = Get a new paint job on your ship

Latest revision as of 01:18, 12 December 2021

Ship Respray 1.png
Ship Respray 2.png

About this OXP

This OXP provides a way to quickly switch the style of your ship, using whatever OXP player templates you have installed of the same class type. That is, if you are flying a Cobra Mark III, and you have Z_Groovy's Variety Packs installed, you can quickly and easily give your ship a new paint job, without having to mess about in the save game file.

There are a couple of variations for the Cobra Mark III, Cobra Mark I and the Python that come with Oolite by default, but not that many. For this OXP to do something really useful you need to have some extra ship OXP's installed. For instance:

You can get a lot of additional shipsets from the download manager inside Oolite.

Once this OXP is installed a menu will appear on the ship outfitting screen, labelled "Ship Respray". When you select this, a new screen will appear, listing all the available resprays for your ship. Select one of these, and you can then see what the respray will look like on your ship. Some ship models use the "entityPersonality" to adjust the look of the ship. You can select a random personality by selecting "Change personality".

Once you have selected a model, and found a personality look-and-feel you like, to go ahead with the paint job, select "Purchase this respray" from the menu. The amount of time it will take to do the respray is showing on the menu item, and can be anywhere from 24 to 60 hours, depending on the size of the vessel.

This OXP uses the Ship Storage Helper to update the players ship to the selected model.

This OXP is slightly different to the "Respray for Griffs" OXP by Capt Murphy, as this will work with OXP's other than Griffs, and in no-shader mode.

3rd Party Interfaces

As mentioned, this OXP uses the Ship Storage Helper to switch the player ship between different ship variants. However, there are times when SSH doesn't know of some important configuration setting specific to your OXP. To overcome this scenario and allow an OXP to perform specialised operations before or after the player's ship is stored using the Ship Storage Helper, the following interfaces are provided:

 var sr = worldScripts.ShipRespray;
 sr.$addPreSprayCall("my_worldscript_name", "my_functionname");
 sr.$addPostSprayCall("my_worldscript_name", "my_functionname");

The "$addPreSprayCall" adds a worldScript/functionName combination to the list of functions that will be called prior to the respray.
The "$addPostSprayCall" adds a worldScript/functionName combination to the list of functions that will be called after the respray.

Download

Download ShipRespray.oxz v1.3.7 (downloaded 10222 times).
Download ShipRespray.zip v1.3.7 (extract OXP folder to AddOns)

Licence/Author

This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
The expansion pack was developed by phkb.

Image from https://icons8.com/

Version History

1.3.7

  • Added missing ";" to shipdata-overrides.plist and descriptions.plist.

1.3.6

  • Fixed issue with number of items on the page with "big GUI" enabled pushing heading text off page.
  • Normalised price of ZGroovy's Cobra Mark I and Cobra Mark III.

1.3.5

  • Ensured that a respray of your ship doesn't result in a loss of memory of player's actions.
  • Added link to Home System OXP.

1.3.4

  • Added better integration with New Lasers OXP (LMSS required).

1.3.3

  • Added the ability to stop the ship model spinning, to make it easier to view a paint job.
  • Removed the shipyard.plist entry for the Python Blackdog.
  • Changed background overlay image.

1.3.2

  • Removed the Python Blackdog from being an equivalent to the standard Python (it has a slightly different body shape).
  • Cleaned up the background overlay image.

1.3.1

  • Turned off some debug messages.
  • Limited respraying services from being offered at rock hermits, as it doesn't seem likely they'd offer the service.

1.3.0

  • Added routines to allow 3rd party OXP's to have functions called both pre and post a respray, in case specialised setup needs to be performed before or after changing ships.

1.2.2

  • Updated check for "Allow Big GUI".
  • Fixed error when leaving the ship respray selection screen without making a selection.
  • Added a "job completed" message.
  • Changed "==" comparisons to "===" for performance improvements.
  • Fixed max_cargo size of oolite-cobra3-alternate-player, which is based on oolite_template_cobra3-alternate, which has a larger than standard max_cargo setting.
  • Fixed various settings for the additional player versions of the Cobra Mk1 and Python ships so they match the standard versions of those ships.
  • Added a shipdata override for some OXP ships to correct some bugs.

1.2.1

  • Small text tweaks.
  • Updated screenID's to enable BGS background sounds.
  • Renamed background overlay image to prevent possibility of future duplication.
  • Toned down overlay image.

1.2.0

  • Added overlay background image to initial interface screen.

1.1.3

  • Added a missing semi-colon in the manifest file.
  • Added routine to use 1.83/4 code to check for big GUI HUD's.

1.1.2

  • Fixed shipdata.plist entries for alternate Cobra Mk3's having reduced max speed and thrust.

1.1.1

  • Added check for "allo_big_gui" HUD's

1.1.0

  • Added menu option to turn on/off view of ship data keys
  • Improvements to the auto selection of menu items.

1.0.3

  • Removed ship keys from screen interfaces

1.0.2

  • Added some extra shipdata.plist and shipyard.plist entries so the player can choose from the built-in variations of the Cobra Mk III, Cobra Mk I, and the Python.
  • Fixed a bug where the current page index was not being reset when opening the respray interface.

1.0.1

  • For Oolite 1.82 and later, added an "installation_time" of 1 second to the equipment item, so opening the respray screen doesn't take any time.
  • For Oolite 1.80, changed the cost of the equipment item to zero, so only 10 minutes of time is taken up when opening the initial page.
  • Added a mass-based installation time calculation to the end of the process. So, respraying a Boa takes longer than respraying an Adder.
  • The "Purchase this respray" option now also includes the installation time.
  • Fixed a bug where doing a respray, buying a new ship and doing another respray could end up with a confused menu.
  • Code cleanup

1.0.0

  • Initial release

Links

Quick Facts

Levelindicator0.png
0-{{{2}}}

Minimum Oolite versionCPU usage lowMemory usage lowGPU usage lowisChildisAPIisDocumented

Version Released License Features Category Author(s) Feedback
1.3.7 2018-10-05 CC BY-NC-SA 4.0 Get a new paint job on your ship Ambience OXPs phkb Oolite BB

Gameplay and Balance indicator

Tag-colour-green.png