Difference between revisions of "Modifying a Texture"

From Elite Wiki
(Created page with '=Modifying a Texture= Textures or skins are 2D graphics that are wrapped around 3D objects by the game. ==Location== The textures are stored as .png files in the ''/Textures'' …')
 
(Modifying a Texture)
Line 1: Line 1:
=Modifying a Texture=
 
 
 
Textures or skins are 2D graphics that are wrapped around 3D objects by the game.
 
Textures or skins are 2D graphics that are wrapped around 3D objects by the game.
   
==Location==
+
==Location of files==
 
The textures are stored as .png files in the ''/Textures'' folder. Which ''/Textures'' folder depends on whether the object is part of the standard game or part of an add-on.
 
The textures are stored as .png files in the ''/Textures'' folder. Which ''/Textures'' folder depends on whether the object is part of the standard game or part of an add-on.
   
Line 15: Line 13:
 
ShipY/
 
ShipY/
 
Textures/ ''<-- Textures for ShipY live here.''
 
Textures/ ''<-- Textures for ShipY live here.''
  +
  +
Ship textures usually carry an obvious name ''e.g.'' ShipX_body.png.
  +
But not always. To confirm which textures are loaded for ShipX open the file shipdata.plist in a text editor.
  +
$PROGDIR/AddOns/ShipX/shipdata.plist
  +
  +
<key>ShipX</key>
  +
<dict>
  +
...
  +
< >
  +
...
  +
</dict>

Revision as of 05:38, 18 November 2009

Textures or skins are 2D graphics that are wrapped around 3D objects by the game.

Location of files

The textures are stored as .png files in the /Textures folder. Which /Textures folder depends on whether the object is part of the standard game or part of an add-on.

 $PROGDIR/
   Oolite.app/
     Resources/
       Textures/  <-- Textures for standard ships live here.
   Addons/
     ShipX/
       Textures/  <-- Textures for ShipX live here.
     ShipY/
       Textures/  <-- Textures for ShipY live here.

Ship textures usually carry an obvious name e.g. ShipX_body.png. But not always. To confirm which textures are loaded for ShipX open the file shipdata.plist in a text editor.

 $PROGDIR/AddOns/ShipX/shipdata.plist
 <key>ShipX</key>
   <dict>
    ...
    < >
    ...
   </dict>