[Beta] Release of Station Options 1.0

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

Moderators: another_commander, winston

cag
Dangerous
Dangerous
Posts: 119
Joined: Fri Mar 17, 2017 1:49 am

Re: [Beta] Release of Station Options 1.0

Post by cag »

Cholmondely wrote: Mon Aug 30, 2021 8:28 am Oh! And does this mean that your Station Options will itself need options? :shock:
Ha, no, I just crippled the function to work on all systems.
Cholmondely wrote: Mon Aug 30, 2021 8:28 am 1) What are your thoughts on the matter?
I guess it comes down to language and interpretation. I agree with your in-game/out-game dichotomy and most oxp's follow it; look at how many entries are in Ship Systems. Telescope Options belongs there but I don't like the name. Telescope Settings? Telescope Configuration? Telescope Levers & Dials?

If we were starting fresh, Config for AddOns should probably go in the Game category but it's part of the game's lexicon and there's no changing it now.
Cholmondely wrote: Mon Aug 30, 2021 8:28 am 2) And as regards Wiki pages do you intend the final effort to be just the one .oxp or do your prefer a basic station options .oxp
with add-ons for the various other .oxp's?
There is just the one oxp, Station Options; it's totally generic. Other oxp's can 'register' to use it.

All an oxp needs to create an F4 entry is to create/add to entries in the Config/missiontext.plist file, add a call to _initStationOptions() in their StartUp() or StartUpComplete() function and add Station Options as a required oxp in their manifest. Along with the readme is a missiontext-template.plist file in Station Options with instructions & examples for the entries they will need.

The reason I created the telescope_StationOptions.oxp was to get you a working example for an existing oxp (Telescope 2.0 is currently in many pieces scattered over my workshop). The initial intent was to have an author flesh out the Config/missiontext.plist file and Station Options would do the heavy lifting. I never thought about creating Station Options for someone else's oxp until your offer to help.

If I may suggest a plan of attack, examine telescope_StationOptions.oxp to see how it was done. There are only a handful of code lines (you can ignore both _loadSavedOptions() & playerWillSaveGame() as that's specific to Telescope) and the missiontext was mostly cut/paste from the readme. As you're new to coding, you are well suited to find the places I skip relevant details. The missiontext-template.plist can be a template for the wiki; you're job is to make it comprehensible. The more questions you ask the better!
"Better to be thought a fool, boy, than to open your trap and remove all doubt." - Grandma [over time, just "Shut your trap... fool"]
"The only stupid questions are the ones you fail to ask." - Dad
How do I...? Nevermind.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1880
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Cody wrote: Mon Aug 30, 2021 8:59 am
Cholmondely wrote: Mon Aug 30, 2021 8:28 am... a decent cup of first flush darjeeling in the station café...
<sips organic Colombian arabica - ponders the mysteries of the universe>

Why is it that tea never smells as good as it tastes, whereas coffee never tastes as good as it smells?
You need cag's Station Options - than you can opt for the coffee or tea of your choice! If you will insist in shopping at Tescoo's....

So you select the Distinguished Digebitian Tea Maker, and using cag's all-singing all-dancing addon, then decide if you want service with white gloves or mandibles, select either Chinese or Indian, choose black, white or green, select the tea of your choice, then go for sugar, sweetener or unadulterated, then milk or lemon, then jersey milk or guernsey milk, et cetera, et cetera...
Quite simple, really.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 14825
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cody »

And to quote the great DNA: you end up with a liquid that is almost, but not quite, entirely unlike tea!
The light at the end of the tunnel
Is the light of an oncoming train
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1880
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Cody wrote: Wed Sep 01, 2021 12:01 pm And to quote the great DNA: you end up with a liquid that is almost, but not quite, entirely unlike tea!
So you're selecting the mandibles option, then?
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
cag
Dangerous
Dangerous
Posts: 119
Joined: Fri Mar 17, 2017 1:49 am

Re: [Beta] Release of Station Options 1.0

Post by cag »

new version 1.01 with bug fixes (same link as initial post)
https://www.dropbox.com/s/zpjhpz38dxpb ... .oxz?dl=0
- fixed bug with unprintable characters on MacOS
- fixed missing F4 entry on a subsequently loaded game
"Better to be thought a fool, boy, than to open your trap and remove all doubt." - Grandma [over time, just "Shut your trap... fool"]
"The only stupid questions are the ones you fail to ask." - Dad
How do I...? Nevermind.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1880
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1880
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Image

Buggy!

Full of Bugs!

In fact, this marvellous oxp infests my AppleMac with bugs! Oodles and Ooodles and Oooodles of them.

When I launch from the station! When I jump! When I arrive at a new station!

Everywhere is Thargoid-riddled!

I removed all my oxp's but Telescope. No problems. I added these two (Station Options & Telescope Options) and bingo! Bugs galore!

What next?

Update: Only get the infestation when start game from a saved neophyte Jameson (have tried 5 so far!). But not when starting from a more experienced Jameson (even one who did not buy Telescope) - have tried 3 so far of varying vintages. Odd.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
cag
Dangerous
Dangerous
Posts: 119
Joined: Fri Mar 17, 2017 1:49 am

Re: [Beta] Release of Station Options 1.0

Post by cag »

Cholmondely wrote: Tue Sep 14, 2021 2:42 pm Wiki page now up: http://wiki.alioth.net/index.php/Station_Options

"It currently only works with Telescope."
Players will also need to download the oxp I created for you in order to use Station Options with the version of Telescope (1.15) currently in the manager:

https://www.dropbox.com/s/vusqo0pwx3ck ... .oxz?dl=0

It contains stuff specific to Telescope, namely, the missiontext.plist and a small script.js to register Telescope for use as a station option 'user' and to load/save these options.
Cholmondely wrote: Tue Sep 14, 2021 8:29 pm ...
Update: Only get the infestation when start game from a saved neophyte Jameson (have tried 5 so far!). But not when starting from a more experienced Jameson (even one who did not buy Telescope) - have tried 3 so far of varying vintages. Odd.
Lacking further details, I can only guess. Did you alter the TelescopeThargoids option for that Jameson? Its description reads

Code: Select all

"you will get some aliens right after undock to test Telescope"
Search the save file for TelescopeThargoids. Otherwise, send me links to download the save file & Latest.log.
"Better to be thought a fool, boy, than to open your trap and remove all doubt." - Grandma [over time, just "Shut your trap... fool"]
"The only stupid questions are the ones you fail to ask." - Dad
How do I...? Nevermind.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1880
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

cag wrote: Thu Sep 16, 2021 2:28 am
Cholmondely wrote: Tue Sep 14, 2021 2:42 pm Wiki page now up: http://wiki.alioth.net/index.php/Station_Options

"It currently only works with Telescope."
Players will also need to download the oxp I created for you in order to use Station Options with the version of Telescope (1.15) currently in the manager:

https://www.dropbox.com/s/vusqo0pwx3ck ... .oxz?dl=0

It contains stuff specific to Telescope, namely, the missiontext.plist and a small script.js to register Telescope for use as a station option 'user' and to load/save these options.
Cholmondely wrote: Tue Sep 14, 2021 8:29 pm ...
Update: Only get the infestation when start game from a saved neophyte Jameson (have tried 5 so far!). But not when starting from a more experienced Jameson (even one who did not buy Telescope) - have tried 3 so far of varying vintages. Odd.
Lacking further details, I can only guess. Did you alter the TelescopeThargoids option for that Jameson? Its description reads

Code: Select all

"you will get some aliens right after undock to test Telescope"
Search the save file for TelescopeThargoids. Otherwise, send me links to download the save file & Latest.log.
Hah! I never even realised that the option existed!

Now that I know, I can sort myself out - and the wiki page!

But I was getting the Thargoids without having bought Telescope and getting access to Telescope Options...
And I never knowingly altered that option either.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
Post Reply