Library

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

Moderators: winston, another_commander

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

Re: Library

Post 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.
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: Library

Post by Milo »

Please see here for an error report (Library version 1.7.1).
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Library

Post 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...)
Last edited by Cholmondely on Thu Dec 09, 2021 11:12 am, edited 1 time in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Library

Post 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!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Library

Post 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
Last edited by Cholmondely on Fri Nov 19, 2021 12:18 am, edited 2 times in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Library

Post 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
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
tsoj
Deadly
Deadly
Posts: 199
Joined: Wed May 18, 2016 8:19 pm
Location: Berlin
Contact:

Re: Library

Post 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.
Last edited by tsoj on Mon Feb 28, 2022 3:14 pm, edited 2 times in total.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Library

Post 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?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Library

Post 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!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Library

Post 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.
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Library

Post by Cody »

Do they talk of him working with stage lighting, and of his taste for malt whiskey? An email just failed to deliver.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Library

Post 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.
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Library

Post by Cody »

Damn! Yeah, I saw the whiskey on the table. I've elevated his forum rank to Commander.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5364
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Library

Post 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?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Library

Post 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.
Scars remind us where we've been. They don't have to dictate where we're going.
Post Reply