Difference between revisions of "Modifying a Texture"
From Elite Wiki
Captain Berf (talk | contribs) (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'' …') |
(Add link.) |
||
| (12 intermediate revisions by 2 users not shown) | |||
| 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. |
||
| − | == |
+ | ==Quick Guide== |
| − | + | * Find the correct texture .png found in the ''/Textures'' folder |
|
| + | * Back up the file you want to change |
||
| + | * Open the texture in a 2D graphic editing program |
||
| + | * Resample the image to 4096x4096 |
||
| + | * You can hopefully see the elements that are mapped to particular features on the model |
||
| + | * Customize the existing image or ... |
||
| + | * Create a 'coloring book' outline template and replace the elements from scratch. |
||
| + | * Resample the image to 1024x1024. |
||
| + | * Save it as a .png |
||
| + | |||
| + | ==Detailed Guide== |
||
| + | ===Location of files=== |
||
| + | The textures are stored in [[Oolite]] 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/ |
$PROGDIR/ |
||
| − | Oolite.app/ |
+ | Oolite.app/ |
| − | Resources/ |
+ | Resources/ |
| − | Textures/ ''<-- Textures for standard ships live here.'' |
+ | Textures/ ''<-- Textures for standard ships live here.'' |
| − | Addons/ |
+ | Addons/ |
| − | ShipX/ |
+ | ShipX.oxp/ |
| − | Textures/ ''<-- Textures for ShipX live here.'' |
+ | Textures/ ''<-- Textures for ShipX live here.'' |
| − | ShipY/ |
+ | ShipY.oxp/ |
| − | Textures/ ''<-- Textures for ShipY live here.'' |
+ | Textures/ ''<-- Textures for ShipY live here.'' |
| + | |||
| + | ===Using shipdata.plist to see which textures are loaded=== |
||
| + | 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.oxp/Resources?/shipdata.plist |
||
| + | |||
| + | <key>ShipX</key> |
||
| + | <dict> |
||
| + | ... |
||
| + | < > |
||
| + | ... |
||
| + | </dict> |
||
| + | |||
| + | [[Category:Oolite Development]] |
||
Latest revision as of 21:48, 11 February 2016
Textures or skins are 2D graphics that are wrapped around 3D objects by the game.
Contents
Quick Guide
- Find the correct texture .png found in the /Textures folder
- Back up the file you want to change
- Open the texture in a 2D graphic editing program
- Resample the image to 4096x4096
- You can hopefully see the elements that are mapped to particular features on the model
- Customize the existing image or ...
- Create a 'coloring book' outline template and replace the elements from scratch.
- Resample the image to 1024x1024.
- Save it as a .png
Detailed Guide
Location of files
The textures are stored in Oolite 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.oxp/
Textures/ <-- Textures for ShipX live here.
ShipY.oxp/
Textures/ <-- Textures for ShipY live here.
Using shipdata.plist to see which textures are loaded
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.oxp/Resources?/shipdata.plist
<key>ShipX</key>
<dict>
...
< >
...
</dict>