Difference between revisions of "Cabal Common MaterialsFinder"

From Elite Wiki
m (v1.1)
(Updating BB links)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Image:CCL_logo.png|150px|right]]
 
[[Image:CCL_logo.png|150px|right]]
 
== 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 time intensive 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.
  
 
Default values are not logged.
 
Default values are not logged.
Line 39: Line 39:
  
 
==Download==
 
==Download==
* [https://www.box.com/s/d1u4645nod5dyzukhl6t CCL_MaterialsFinder1.0.zip] - (1.9 MB)
+
* [https://app.box.com/s/d1u4645nod5dyzukhl6t CCL_MaterialsFinder1.1.zip] - (1.9 MB)
 +
 
 +
==Links==
 +
*For the equivalent MatFinder for the newer Library OXP see [[MatFinder]]
  
 
==Quick Facts==
 
==Quick Facts==
Line 51: Line 54:
 
|author = Svengali
 
|author = Svengali
 
|download = [[#Download|See Download]]
 
|download = [[#Download|See Download]]
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=11026 BB-Link]
+
|feedback = [https://bb.oolite.space/viewtopic.php?f=4&t=11026 BB-Link]
 
}}
 
}}
 +
 +
{{Required OXP|Cabal Common Library}}
 +
 
[[Category:Oolite utilities]]
 
[[Category:Oolite utilities]]
 +
[[Category:Deprecated OXPs]]

Latest revision as of 01:22, 29 February 2024

CCL logo.png

Overview

Updating OXPs can be time intensive 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

Links

  • For the equivalent MatFinder for the newer Library OXP see MatFinder

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