Difference between revisions of "Cabal Common MaterialsFinder"

From Elite Wiki
m (box.com)
(layout cleanup)
Line 1: Line 1:
{{Infobox OXPb| title = Cabal_Common_MaterialsFinder
 
|image = [[Image:CCL_logo.png|150px]]
 
|version = 1.0
 
|release = 2011-10-21
 
|license = CC-by-nc-sa-3.0
 
|features = Helper
 
|category = Misc OXPs
 
|author = Svengali
 
|download = [[#Download|See Download]]
 
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=11026 BB-Link]
 
}}
 
 
== Overview ==
 
== 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.
 
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.
Line 45: Line 34:
  
 
== Requirements ==
 
== Requirements ==
* Oolite v1.75.3.
+
* Oolite v1.75.3 or later
* Cabal_Common_Library1.4.5.
+
* [[Cabal Common Library]] 1.4.5 or later
  
 
==Download==
 
==Download==
{{OXPLevel|0}}
 
 
* [http://www.box.com/shared/d1u4645nod5dyzukhl6t Cabal_Common_MaterialsFinder1.0.zip] - (1.9 MB)
 
* [http://www.box.com/shared/d1u4645nod5dyzukhl6t Cabal_Common_MaterialsFinder1.0.zip] - (1.9 MB)
  
 
+
==Quick Facts==
----
+
{{OXPLevel|0}}{{Infobox OXPb| title = Cabal_Common_MaterialsFinder
 
+
|image = [[Image:CCL_logo.png|150px]]
[[Category:Oolite utilities]] [[Category:Misc OXPs]]
+
|version = 1.0
 +
|release = 2011-10-21
 +
|license = CC-by-nc-sa-3.0
 +
|features = Helper
 +
|category = Misc OXPs
 +
|author = Svengali
 +
|download = [[#Download|See Download]]
 +
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=11026 BB-Link]
 +
}}
 +
[[Category:Oolite utilities]]

Revision as of 18:17, 7 January 2012

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.0 2011-10-21 CC-by-nc-sa-3.0 Helper Misc OXPs Svengali BB-Link