Difference between revisions of "Wireframe Ship Images"

From Elite Wiki
(Created page with "==Overview== This OXP contains a repository of over 600 different ship images, linked to over 1500 different ship entities, in wireframe form, that can be utilised by other OX...")
 
Line 1: Line 1:
 +
[[image:wsi_cobra3.png|right|200px]][[image:wsi_coriolis.png|right|200px]][[image:wsi_thargoid.png|right|200px]]
 
==Overview==
 
==Overview==
 
This OXP contains a repository of over 600 different ship images, linked to over 1500 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 over 600 different ship images, linked to over 1500 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 11: Line 13:
  
 
If no ship image is found, the function will return wsi_blank.png, which is a valid file but contains no image.
 
If no ship image is found, the function will return wsi_blank.png, which is a valid file but contains no image.
 +
 +
==Download==
 +
Download [[Media:WireframeShipImages.oxz|WireframeShipImages.oxz]]
  
 
==License==
 
==License==

Revision as of 03:37, 10 April 2025

Wsi cobra3.png
Wsi coriolis.png
Wsi thargoid.png

Overview

This OXP contains a repository of over 600 different ship images, linked to over 1500 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.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.0 2025-04-10 CC BY-NC-SA 4.0 Ship images Misc OXPs‏‎ phkb