CCL_MaterialsFinder

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

CCL_MaterialsFinder

Post by Svengali »

MaterialsFinder

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 handling should be easy (see readme), so just throw a few textures in and have some fun or simply play with the included example.

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.

Image Image

[wiki]Cabal_Common_MaterialsFinder[/wiki]
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Re: CCL_MaterialsFinder

Post by Cmdr Wyvern »

Now this is redefining the meaning of cool. 8)

Freakin' awesome.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: CCL_MaterialsFinder

Post by DaddyHoggy »

Your genius remains unbound Svengali - an in-game utility - fantastic.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Re: CCL_MaterialsFinder

Post by Selezen »

Awesome work, Svengali!

Will this make the process of adding shaders easier for us old guys who are seriously falling behind?
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: CCL_MaterialsFinder

Post by Svengali »

:mrgreen:
Selezen wrote:
Will this make the process of adding shaders easier for us old guys who are seriously falling behind?
Yes and no.

Yes - the materials entries in shipdata are there to pass settings to Oolites own shader, created by Ahruman. The tool hooks in here and gives you the possibility to create the entries without the need to restart Oolite for every small tweak or with heavy usage of the console. You don't even have to be familiar with materials, because it displays your changes directly. So just play a little bit around and you'll get a feeling for the different settings and their effect very soon.

And no, because it doesn't do anything with/for custom shaders.

The whole thing started when I looked in some older OXPs. Pretty often they don't have later implemeted stuff (materials, custom_views), but creating these entries eats a lot time and needs a lot of testruns/finetuning. It was meant for my personal use only to speed up the updating orgy I've had in mind, but in the end it got better than expected, so I released it as helper.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: CCL_MaterialsFinder

Post by CommonSenseOTB »

Thankyou many many times. :D

This is going to save me a lot of time in future projects down the road.
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: CCL_MaterialsFinder

Post by Kaks »

Svengali wrote:
updating orgy
:mrgreen: :mrgreen: :mrgreen:


Oh, and impressive stuff! Wouldn't do a ship OXP without it! :)


PS: And I actually thought the first major use of ship.setMaterials() was going to be an OXP that switched ships textures between damaged & undamaged while in battle...
Oh well, what do I know... :P
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: CCL_MaterialsFinder

Post by Svengali »

Kaks wrote:
PS: And I actually thought the first major use of ship.setMaterials() was going to be an OXP that switched ships textures between damaged & undamaged while in battle...
Oh well, what do I know... :P
Not a bad idea .-)
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: CCL_MaterialsFinder

Post by Fatleaf »

A WIP that will be released soon does just that! :wink:
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: CCL_MaterialsFinder

Post by Thargoid »

I also did a trial of that, and it doesn't look so good (as damage just appears at a certain level, and then disappears again as energy levels are restored). A nicer effect can be had with a shader that mixes two textures together gradually, but of course requires a suitable machine set-up.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: CCL_MaterialsFinder

Post by Kaks »

One option could be that you just check if a suitable damage level is reached, then keep the damaged texture until out of scanner range for more than 10 seconds/docked somewhere - that could give the repair drones time to add spit & polish to the scuffed ship...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: CCL_MaterialsFinder

Post by Svengali »

v1.1 is online.

Changes:
- Adapted changes in Cabal_Common
- Various fixes
Post Reply