Difference between revisions of "Cabal Common MaterialsFinder"

From Elite Wiki
(reinstated the image)
m (v1.1)
Line 1: Line 1:
 +
[[Image:CCL_logo.png|150px|right]]
 
== Overview ==
 
== Overview ==
[[Image:CCL_logo.png|150px|right]]Updating OXPs can be timeintensive and after taking a look in some older OXPs I've decided to write a WYSIWYG tool to speed up that process. It works directly in the game and materials settings can be applied easily. It is meant for OXPers and has no general use for playing Oolite.
+
Updating OXPs can be timeintensive and after taking a look in some older OXPs I've decided to write a WYSIWYG tool to speed up that process. It works directly in the game and materials settings can be applied easily. It is meant for OXPers and has no general use for playing Oolite.
  
 
The tool writes the settings to Latest.log in a way Oolites parser expects them, so simply copy this to your shipdata.plist.
 
The tool writes the settings to Latest.log in a way Oolites parser expects them, so simply copy this to your shipdata.plist.
Line 34: Line 35:
  
 
== Requirements ==
 
== Requirements ==
* Oolite v1.75.3 or later
+
* Oolite v1.76.1 or later
* [[Cabal Common Library]] 1.4.5 or later
+
* [[Cabal Common Library]] 1.6 or later
  
 
==Download==
 
==Download==
* [http://www.box.com/shared/d1u4645nod5dyzukhl6t Cabal_Common_MaterialsFinder1.0.zip] - (1.9 MB)
+
* [https://www.box.com/s/d1u4645nod5dyzukhl6t CCL_MaterialsFinder1.0.zip] - (1.9 MB)
  
 
==Quick Facts==
 
==Quick Facts==
 
{{OXPLevel|0}}{{Infobox OXPb| title = Cabal_Common_MaterialsFinder
 
{{OXPLevel|0}}{{Infobox OXPb| title = Cabal_Common_MaterialsFinder
 
|image = [[Image:CCL_logo.png|150px]]
 
|image = [[Image:CCL_logo.png|150px]]
|version = 1.0
+
|version = 1.1
|release = 2011-10-21
+
|release = 2012-06-20
 
|license = CC-by-nc-sa-3.0
 
|license = CC-by-nc-sa-3.0
 
|features = Helper
 
|features = Helper

Revision as of 21:59, 20 June 2012

CCL logo.png

Overview

Updating OXPs can be timeintensive and after taking a look in some older OXPs I've decided to write a WYSIWYG tool to speed up that process. It works directly in the game and materials settings can be applied easily. It is meant for OXPers and has no general use for playing Oolite.

The tool writes the settings to Latest.log in a way Oolites parser expects them, so simply copy this to your shipdata.plist.

Default values are not logged.

The MatFinder supports only one texture per .dat file, but this may change.

Handling

  • Do your usual preparations (Model, UV-Map).
  • Create up to 5 maps to test different things.
  • Open shipdata.plist and place your model.
 model = "example_grass_snake.dat";
  • Open script.js and set the mainTex (the one which is used in the .dat file) at line 17.
 mainTex:"example_grass_snake.png",
  • Change the tex array to place your maps at line 19.
 tex:["example_grass_snake.png","example_grass_snake_bump.png"]
  • Start Oolite with the Shift key held down and have fun.


For the shipped example (based on 8-bit Apocalypse's Grass Snake), you could try the following settings:

  • diffuse_color = (0.5,0.5,1,1);
  • diffuse_map = {"name"="grass_snake_bump.png";};
  • emission_map = {"name"="grass_snake_bump.png";"extract_channel"="r";};
  • specular_color = (0.5,0.5,0.5,1);
  • shininess = 100;

The original model has been rotated 180 degrees and a new UV-Map was created, then textured (ok, a bit in a hurry).

Note

If you have found good looking settings, please think about memory usage and performance to keep Oolite enjoyable for all users.
More infos can be found on the Materials_in_Oolite page.

Requirements

Download

Quick Facts

Levelindicator0.png
0-{{{2}}}
Version Released License Features Category Author(s) Feedback
1.1 2012-06-20 CC-by-nc-sa-3.0 Helper Misc OXPs Svengali BB-Link