Page 6 of 7

Re: Library

Posted: Fri Dec 21, 2018 10:28 am
by Svengali
Lib_MatFinder1.1 is online.

Changes:
- Added note by a_c about gloss+specular
- Choices left aligned
- Handling for disallowed models via conditions
- Added Mode: Positions. Handling and logging for aft_eject_position, exhaust, missile_launch_position, scoop_position, view_position_aft, view_position_forward, view_position_port, view_position_starboard, weapon_position_aft, weapon_position_forward, weapon_position_port, weapon_position_starboard. The Positions mode requires shader support to visualize them.
- Testmode for view_positions
- Search for entity

Thanks to a_c and montana05.

Re: Library

Posted: Tue Jun 30, 2020 5:31 pm
by Milo
Please see here for an error report (Library version 1.7.1).

Re: Library

Posted: Wed May 26, 2021 11:44 pm
by Cholmondely
Just been looking at the Hyperradio stuff - and seen that it is now supposed to be supported by Library.

There is nothing written in clear understandable English on the wiki about what to do with Library and the Hyperradio files.

I downloaded the Library music "demo", but have no idea as to what to do with it! The F4 ship-station interface screen does not seem to allow me the option of playing the music in the demo.

Stuck!

Edited to add: the music orchestral demo worked - just play, and you get the music. Hyperradio doesn't (not on my AppleMac, at any rate. But since none of it is classical music...)

Re: Library

Posted: Mon Oct 11, 2021 3:00 pm
by Cholmondely
Still no idea how to use this!

But I've filleted this thread and tried to tie everything into the wiki page, to try and make things more usable!

Re: Library

Posted: Thu Nov 18, 2021 5:21 pm
by Cholmondely
Svengali wrote: Tue Nov 27, 2018 11:54 am
Lib_MatFinder will get a feature to visualize exhaust and weapon positions.
Unlike the old CCL_Matfinder no changes to scripts or shipdata declarations are necessary.

Image
The positions can be altered easily and can be written to Latest.log. User can cycle through
already existing exhaust and weapon positions.

Image
It's possible to add a size (corresponding to exhaust scale for x and y) to visualize exhausts positions.


This seems (to me) to be useful for people designing ships. There may be a few functions relevant to modelling, but most of it might be textures related.



Svengali seems to produce some quite incredible material. I can't pretend that I understand what much of it is supposed to do, which inhibits my popularising it on our wiki.



I've cut and pasted as much of this stuff as seems relevant to my ignorant self on the OXP howto model wiki page.

Please, can somebody who actually understands this stuff, edit it so that it makes sense (and, crucially, add in whatever is missing). We can then paste it onto the "OXP howto texture" wiki page too (which seems more relevant).

- Do you need library loaded to use Lib_MatFinder? Answer: Yes!
- How do you use Lib_MatFinder? Is it via the F4 screen? Do you need the Debug console? Answers: Yes. No (apparently, to me).

Here is a screen shot of what it does to my F4 screen once I've selected an object for it to interrogate.

Image

Re: Library

Posted: Thu Nov 18, 2021 6:50 pm
by Cholmondely
Oh! And I also found "Library_devtools.oxp" here (look in Test OXP's).

- when run with Library it creates a Lib_MatEditor entry on the F4 page - maybe it lets you edit the materials of your ship?

It does seem to do other stuff too (testing GUI's, testing the player's ship, etc)

It seems not to be mentioned in this thread, or anywhere else I searched. One presumes that it is an unreleased "alpha" or some such.

Again, does anybody have any ideas about it?

Here are some screen shots of what it "does" which mean rather little to me!

On game start up: you get these switches, and can then move to values through the second (or middle) screen
Image
Image
Image


Once the game is running, you find these on the F4 screen (under the Lib_MatEditor entry) if you have Library installed too:
Image

Image

Re: Library

Posted: Wed Dec 08, 2021 9:02 pm
by tsoj
I have a suggestion regarding the Lib_Music part:

When a player is in a fight, it feels (in my opinion) better if there aren't longer pauses between the background music pieces if there is a special radio channel for fighting.

So if one is fighting, immediately after one song from the radio playlist stops, the next one should start to play, without some random amount of musical silence in between.

For this to work, the following changes in Lib_Music.js would be necessary (here you can download the Library OXP with these changes):
--------------------------------------------------------------
In the function _doPlay this:

Code: Select all

if(found) this._resetTimer(d.dur + this._aid.randXY(13,22););
needs to be replaced with this:

Code: Select all

if(found){
	var randomAddition = this._aid.randXY(13,22);
	if(d.radio === "fight") randomAddition = 0;
	this._resetTimer(d.dur + randomAddition);
}
--------------------------------------------------------------
In the function _performMedia this:

Code: Select all

if(!ent && d.radio==="fight" && player.alertHostiles && hand!=="killed") return 0;
needs to be replaced with this:

Code: Select all

if(!ent && d.radio==="fight" && (hand!=="alert" || spec!=="red") && player.alertHostiles && hand!=="killed") return 0;
--------------------------------------------------------------
In the function alertConditionChanged this:

Code: Select all

if(c>=d.lockAlert){
	d.kick = 1;
	d.lockAlert = c+this._performMedia("alert","red");
}
if(this.$media.radio.fight){
	d.radio = "fight";
	if(!this.$mediaTimer || !this.$media.alert.red.length) this._resetTimer(0);
}
needs to be replaced with this:

Code: Select all

if(this.$media.radio.fight)
	d.radio = "fight";
if(c>=d.lockAlert){
	d.kick = 1;
	d.lockAlert = c+this._performMedia("alert","red");
}
if(this.$media.radio.fight)
	if(!this.$mediaTimer || !this.$media.alert.red.length) this._resetTimer(0);
--------------------------------------------------------------

For example, for the Dangerous Background Music OXP these changes make a big difference.

Re: Library

Posted: Sun Dec 12, 2021 9:39 am
by Cholmondely
Trawling around the web last night I came across this: Olli Krienke Memorial Stream - YouTube

Lass uns über Olli reden. Live-Schnack per Facebook Messanger oder Facetime ist möglich.Wir freuen uns über eure Teilnahme.

Link: https://www.youtube.com/watch?v=Q-UH-WC8eNs

My skills at German match those at programming...

Is it the same Olli?

And is the Memorial Stream what I fear it is?

Re: Library

Posted: Sun Dec 12, 2021 10:07 am
by Cody
Cholmondely wrote: Sun Dec 12, 2021 9:39 am
Is it the same Olli?

And is the Memorial Stream what I fear it is?
That would be sad news - very sad!

Re: Library

Posted: Sun Dec 12, 2021 10:50 am
by montana05
Cholmondely wrote: Sun Dec 12, 2021 9:39 am
And is the Memorial Stream what I fear it is?
It is exactly what you fear, this video was taken one day after the funeral in Wolfsburg. However, if this musician and "our" Olli are the same is another question.

Re: Library

Posted: Sun Dec 12, 2021 10:53 am
by Cody
Do they talk of him working with stage lighting, and of his taste for malt whiskey? An email just failed to deliver.

Re: Library

Posted: Sun Dec 12, 2021 11:14 am
by montana05
Cody wrote: Sun Dec 12, 2021 10:53 am
Do they talk of him working with stage lighting, and of his taste for malt whiskey? An email just failed to deliver.
Yes, lightning and engineering is mentioned in the transcript. Malt whiskey, I would assume, from the bottles on the table.

Re: Library

Posted: Sun Dec 12, 2021 11:21 am
by Cody
Damn! Yeah, I saw the whiskey on the table. I've elevated his forum rank to Commander.

Re: Library

Posted: Sun Dec 12, 2021 11:58 am
by Cholmondely
Cody wrote: Sun Dec 12, 2021 11:21 am
Damn! Yeah, I saw the whiskey on the table. I've elevated his forum rank to Commander.
We have DAJT's Memorial to departed commanders. No license.

Maybe we could rewrite it and mention Svengali & Ironfist.

And should somebody put up a Svengali [RIP] thread like Smivs did for Ironfist?

Re: Library

Posted: Sun Dec 12, 2021 1:47 pm
by montana05
Cholmondely wrote: Sun Dec 12, 2021 11:58 am
Cody wrote: Sun Dec 12, 2021 11:21 am
Damn! Yeah, I saw the whiskey on the table. I've elevated his forum rank to Commander.
We have DAJT's Memorial to departed commanders. No license.

Maybe we could rewrite it and mention Svengali & Ironfist.

And should somebody put up a Svengali [RIP] thread like Smivs did for Ironfist?
Well, we do not have any confirmation, just some guesses from a video. However, rewriting DAJT's and mention at least Ironfist sounds like a good idea.