[WIP] Ship's library OXP

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

Moderators: another_commander, winston

User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: [WIP] Ship's library OXP

Post 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.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: [WIP] Ship's library OXP

Post by Diziet Sma »

pagroove wrote:
Just an idea.
Two very cool ideas!
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [WIP] Ship's library OXP

Post 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.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6874
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: [WIP] Ship's library OXP

Post 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?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [WIP] Ship's library OXP

Post 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.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: [WIP] Ship's library OXP

Post 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)
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [WIP] Ship's library OXP

Post 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.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [WIP] Ship's library OXP

Post 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.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: [WIP] Ship's library OXP

Post 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?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [WIP] Ship's library OXP

Post 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.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6874
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: [WIP] Ship's library OXP

Post 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.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16051
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [WIP] Ship's library OXP

Post 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.
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!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6545
Joined: Wed Feb 28, 2007 7:54 am

Re: [WIP] Ship's library OXP

Post 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.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16051
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [WIP] Ship's library OXP

Post 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).
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
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6874
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: [WIP] Ship's library OXP

Post 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?
Post Reply