Difference between revisions of "Ship Respray OXP"

From Elite Wiki
(Download)
(Updating BB links)
 
(6 intermediate revisions by 2 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.
  
 
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:<br/>
 
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:<br/>
* [http://wiki.alioth.net/index.php/Griff_Industries Griff Industries]<br/>
+
* [[Griff_Industries|Griff Industries]]
* [http://wiki.alioth.net/index.php/Staer9%27s_Shipset Staer9's Shipset]<br/>
+
* [[Staer9%27s_Shipset|Staer9's Shipset]]
* [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/>
+
* [[No_Shaders_alternate_or_extra_ships_and_accessories|No Shaders alternate or extra ships and accessories]]
* [http://wiki.alioth.net/index.php/Deepspace_Ships Deepspace ships]<br/>
+
* [[Deepspace_Ships|Deepspace ships]]
 
* gsagostinho's Texture Packs (available in the extension manager in the game)
 
* gsagostinho's Texture Packs (available in the extension manager in the game)
 +
* [[Factory Paint Jobs]]
  
 
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 17: Line 21:
 
This OXP uses the [[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 [https://bb.oolite.space/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==
 
==3rd Party Interfaces==
Line 30: Line 34:
  
 
==Download==
 
==Download==
Download [[Media:ShipRespray.oxz|ShipRespray.oxz]] v1.3.7 (downloaded {{#downloads:ShipRespray.oxz}} times).
+
Download [[Media:ShipRespray_1.3.8.oxz|ShipRespray_1.3.8.oxz]] (downloaded {{#downloads:ShipRespray_1.3.8.oxz}} times).
<br/>Download [https://app.box.com/s/3ni43fqhmuepxdh5etcgmsyiqa8vz9zq ShipRespray.zip] v1.3.7 (extract OXP folder to AddOns)
+
<br/>Download [https://app.box.com/s/owkkhkxzvsu6n7szcqo44i9zin3oru8o ShipRespray.zip] v1.3.8 (extract OXP folder to AddOns)
  
==Licence/Author==
+
==License/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 />
Line 41: Line 45:
  
 
==Version History==
 
==Version History==
 +
1.3.8
 +
* Added player versions of "Factory Paint Jobs" Gecko, Krait, Mamba and Sidewinder texture packs. ([[Illicit Unlock]] is required to make use of these versions)
 +
 
1.3.7
 
1.3.7
 
* Added missing ";" to shipdata-overrides.plist and descriptions.plist.
 
* Added missing ";" to shipdata-overrides.plist and descriptions.plist.
Line 121: Line 128:
 
* Initial release
 
* Initial release
 
</div>
 
</div>
 +
 +
== Links ==
 +
*[https://bb.oolite.space/viewtopic.php?f=4&t=17419 BB Thread] (2015-17)
 +
*[https://bb.oolite.space/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}}
 
{{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.3.6
+
|version = 1.3.8
|release = 2018-10-05
+
|release = 2023-11-17
 
|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
 
|category = Ambience OXPs
 
|category = Ambience OXPs
 
|author = [[User:phkb|phkb]]
 
|author = [[User:phkb|phkb]]
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=17419 Oolite BB]
+
|feedback = [https://bb.oolite.space/viewtopic.php?f=4&t=17419 Oolite BB]
 
}}
 
}}
  
 
==Gameplay and Balance indicator==
 
==Gameplay and Balance indicator==
 
[[Image:tag-colour-green.png]]
 
[[Image:tag-colour-green.png]]

Latest revision as of 03:25, 29 February 2024

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_1.3.8.oxz (downloaded 0 times).
Download ShipRespray.zip v1.3.8 (extract OXP folder to AddOns)

License/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.8

  • Added player versions of "Factory Paint Jobs" Gecko, Krait, Mamba and Sidewinder texture packs. (Illicit Unlock is required to make use of these versions)

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.8 2023-11-17 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