Difference between revisions of "Wireframe Ship Images"

From Elite Wiki
Line 2: Line 2:
 
==Overview==
 
==Overview==
 
This OXP contains a repository of almost 700 different ship images, linked to almost 2000 different ship entities, in wireframe form, that can be utilised by other OXP's. Each of the images is 512x512 pixels in size.
 
This OXP contains a repository of almost 700 different ship images, linked to almost 2000 different ship entities, in wireframe form, that can be utilised by other OXP's. Each of the images is 512x512 pixels in size.
 
  
 
==Methodology==
 
==Methodology==
Line 21: Line 20:
  
 
==Version History==
 
==Version History==
 +
1.3
 +
* Added more images.
 +
 
1.2
 
1.2
 
* Added new images and references for Assassins Guild Rebooted OXP.
 
* Added new images and references for Assassins Guild Rebooted OXP.
Line 36: Line 38:
 
{{OXPLevel|0}}{{IconOXP|ooVersion="1.80"|oxpCPU="Low"|oxpMEM="Low"|oxpGPU="Low"|oxpIsAPI=true|oxpIsDocumented=true}}
 
{{OXPLevel|0}}{{IconOXP|ooVersion="1.80"|oxpCPU="Low"|oxpMEM="Low"|oxpGPU="Low"|oxpIsAPI=true|oxpIsDocumented=true}}
 
{{Infobox OXPb| title = WireframeShipImages.oxz
 
{{Infobox OXPb| title = WireframeShipImages.oxz
|version = 1.2
+
|version = 1.3
|release = 2025-04-16
+
|release = 2025-05-10
 
|license = CC BY-NC-SA 4.0
 
|license = CC BY-NC-SA 4.0
 
|features = Ship images
 
|features = Ship images

Revision as of 04:05, 10 May 2025

Sample image of a Cobra Mark III
Sample image of a Coriolis Station
Sample image of a Thargoid Warship

Overview

This OXP contains a repository of almost 700 different ship images, linked to almost 2000 different ship entities, in wireframe form, that can be utilised by other OXP's. Each of the images is 512x512 pixels in size.

Methodology

The following example demonstrates how to use the OXP:

 var wsi = worldScripts.WireFrameShipImages;
 wsi.$getShipImage(ship);

This function will return a filename, which will be the wireframe image of the ship. "ship" in this instance refers to an in-game ship object (for instance, using "player.ship.target", or even "player.ship").

If no ship image is found, the function will return wsi_blank.png, which is a valid file but contains no image.

Download

Download WireframeShipImages.oxz

License

Creative Commons Attribution Non-Commercial Share-Alike 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)

Version History

1.3

  • Added more images.

1.2

  • Added new images and references for Assassins Guild Rebooted OXP.

1.1

  • Cargo containers now have unique images.
  • Metal fragments now have unique images.
  • Wreckage now have unique images.
  • Various other ship updates and tweaks.

1.0

  • Initial release

Quick Facts

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

Minimum Oolite versionCPU usage lowMemory usage lowGPU usage lowisAPIisDocumented

Version Released License Features Category Author(s) Feedback
1.3 2025-05-10 CC BY-NC-SA 4.0 Ship images Misc OXPs‏‎ phkb Oolite BB