Page 3 of 5

Re: [WIP] Ship's library OXP

Posted: Mon May 13, 2013 10:05 pm
by pagroove
This is such an excellent OXP. Reading the Tre Clan now. But I wondered. Could it be made so that:
Imagination mode on>

Imagine you are on Lave. You go to the bar (via ship interfaces). You hear that there is a 'legendary book' in the Zadies Library that provides more information on a secret Rock hermit around a planet in G5 where you can get a secret equipment etc...

So now you actually have to go to Zadies. Make planetfall and actually read the book.

Imagination mode of>

In other words could this made so that location specific books are possible?
Then books also could be put into missions etc. etc. or just be an unique book so that you have a reason to travel somewhere just to add the book to your collection?

Also it would be just cool if the current fiction library of this board could be put in the Oolite Reader :D

Just an idea.

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 2:23 am
by Diziet Sma
pagroove wrote:
Just an idea.
Two very cool ideas!

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 6:11 am
by cim
pagroove wrote:
In other words could this made so that location specific books are possible?
Already is - there's an API to register the books with the reader, but you don't have to do that at startUp, you can do it at any time to add a new book.
pagroove wrote:
Also it would be just cool if the current fiction library of this board could be put in the Oolite Reader
I'm happy to do the work if there are any authors who want their books included but don't have the time or knowledge to do the OXP conversion.

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 8:37 am
by Disembodied
cim wrote:
I'm happy to do the work if there are any authors who want their books included but don't have the time or knowledge to do the OXP conversion.
What sort of file would be best for you to work from? Word .doc, EPUB ... I assume not PDF?

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 9:13 am
by cim
Disembodied wrote:
cim wrote:
I'm happy to do the work if there are any authors who want their books included but don't have the time or knowledge to do the OXP conversion.
What sort of file would be best for you to work from? Word .doc, EPUB ... I assume not PDF?
PDF probably is usable, actually, since I have a PDF-to-text conversion program. Ultimately I need it in plain text format, so anything which can be converted to that with common tools (Word is fine, EPUB probably fine though I've never tried) is okay.

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 10:32 am
by pagroove
cim wrote:
pagroove wrote:
In other words could this made so that location specific books are possible?
Already is - there's an API to register the books with the reader, but you don't have to do that at startUp, you can do it at any time to add a new book.
pagroove wrote:
Also it would be just cool if the current fiction library of this board could be put in the Oolite Reader
I'm happy to do the work if there are any authors who want their books included but don't have the time or knowledge to do the OXP conversion.
Nice! :D

So let's say I make an Zaonce Tourist brochure that can only be read at Zaonce Main. How excactly does this work?
Can books also made an item that you buy or scoop without adding it to the main equipment list?

Sorry for the questions but the possibilities make me curious. 8)

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 10:51 am
by cim
pagroove wrote:
So let's say I make an Zaonce Tourist brochure that can only be read at Zaonce Main. How excactly does this work?
I'll need to add a "remove book" function to get that to work, but basically you'd use "add book" in shipWillDockWithStation and startUp (when at Zaonce Main), and "remove book" in shipWillLaunchFromStation.

I have a few other things which need adding for 0.6 ("save place in book" needs to work over save/load and not lose your place because you change book) so I'll add "remove book" at the same time.
pagroove wrote:
Can books also made an item that you buy or scoop without adding it to the main equipment list?
Yes - probably easiest to set a mission variable when the book has been obtained (however that occurs), add it at that point, and then also add it at startUp if the mission variable is set. Scoop you'd use a scripted cargo pod, and buy you'd use a mission screen of some sort, I guess.

Re: [WIP] Ship's library OXP

Posted: Tue May 14, 2013 8:16 pm
by cim
cim wrote:
I have a few other things which need adding for 0.6 ("save place in book" needs to work over save/load and not lose your place because you change book) so I'll add "remove book" at the same time.
And, done. Your place in each book is now saved independently even if you change books, save/load, etc. OXPs can also remove books provided that the player isn't looking at that book right then.

Re: [WIP] Ship's library OXP

Posted: Tue Oct 29, 2013 10:39 am
by JazHaz
I've not installed this OXP, as I'm not a beginner by a long shot, but was just wondering... is Mr Gimlet included in the manual?

Re: [WIP] Ship's library OXP

Posted: Tue Oct 29, 2013 5:17 pm
by cim
JazHaz wrote:
I've not installed this OXP, as I'm not a beginner by a long shot, but was just wondering... is Mr Gimlet included in the manual?
No - they don't really fit in with the writing style. It would be straightforward to add a separate book with their advice, though.

Re: [WIP] Ship's library OXP

Posted: Tue Oct 29, 2013 5:35 pm
by Disembodied
Ol' Gimlet really needs a bit of a rewrite, I think ... references to specific OXPs should probably come out, and it would help if he addressed some of the more recent changes to NPC behaviours.

Re: [WIP] Ship's library OXP

Posted: Tue Oct 29, 2013 8:02 pm
by Cody
Disembodied wrote:
Ol' Gimlet really needs a bit of a rewrite, I think ... references to specific OXPs should probably come out...
<nods> I'd never read Ol' Gimlet before... those OXP references should definitely disappear.

Re: [WIP] Ship's library OXP

Posted: Tue Oct 29, 2013 10:55 pm
by another_commander
Cody wrote:
Disembodied wrote:
Ol' Gimlet really needs a bit of a rewrite, I think ... references to specific OXPs should probably come out...
<nods> I'd never read Ol' Gimlet before... those OXP references should definitely disappear.
The Advice for New Commanders document distributed with the game has, as far as I can recall, the OXP references already removed.

Re: [WIP] Ship's library OXP

Posted: Wed Oct 30, 2013 12:33 am
by Cody
another_commander wrote:
The Advice for New Commanders document distributed with the game has, as far as I can recall, the OXP references already removed.
<nods> The contracts being on F8-F8 needs revising though (and mention of parcel contracts might be good).

Re: [WIP] Ship's library OXP

Posted: Sat Nov 02, 2013 2:31 pm
by Disembodied
Cody wrote:
another_commander wrote:
The Advice for New Commanders document distributed with the game has, as far as I can recall, the OXP references already removed.
<nods> The contracts being on F8-F8 needs revising though (and mention of parcel contracts might be good).
OK, I've updated [wiki]Mr Gimlet[/wiki] on the wiki: he doesn't talk about anything that's not in the core game, he mentions F4 and parcel contracts, and has a little advice on how to throw off pirates by dropping cargo. Suggestions welcome for further emendation ...

Does anyone have KZ9999's original OpenOffice files for the document distributed with the game?