[Beta] Release of Station Options 1.0

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

Moderators: another_commander, winston

User avatar
Cholmondely
Archivist
Archivist
Posts: 5005
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Redspear wrote: Sat Dec 18, 2021 8:20 pm
Cholmondely wrote: Sat Dec 18, 2021 5:54 pm
Would it involve tampering with Weapon Laws?
OK, so here's the issue as I see it.

Weapon laws is supposed to prevent the sale of certain equipment in certain systems.
Weapon laws is not supposed to prevent the moving, awarding or swapping of pre-owned or non-GalCop/Station market weapons.

Unfortunately, it seems to be doing both.

The solution relates to the cause, namely the use of the condition script allowAwardEquipment being a blanket restriction.
The good news is that I can add context such as purchase or new ship limiting when the restictions are in place.

So this.allowAwardEquipment = function(purchase) might do it.
I'll give it a try and if all goes well provide an update soon.

Thanks for raising the issue.
But would it not be more realistic to have to fill out forms in quadruplicate, giving the name of the manufacturer's sainted great-grandmother and the exact dimensions of the laser mount in barleycorns? Think of the immersion.... :mrgreen:
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
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2644
Joined: Thu Jun 20, 2013 10:22 pm

Re: [Beta] Release of Station Options 1.0

Post by Redspear »

Cholmondely wrote: Sat Dec 18, 2021 8:39 pm
But would it not be more realistic to have to fill out forms in quadruplicate, giving the name of the manufacturer's sainted great-grandmother and the exact dimensions of the laser mount in barleycorns? Think of the immersion....
Dear Commander Jameson,

Congratulations!

After completing a total of one successful legal appeal, three official complaints proceedings, 5 virtual consultations and 8 licensing forms (in triplicate) we are happy to inform you that you are now the proud owner of the spacefaring vessel fittings that you had previously legally possessed prior to docking at this station.

You are also 9 planetary cycles older.

We do hope you enjoy your stay.

Teveri Weapons And Technical Services
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16063
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cody »

Redspear wrote: Sat Dec 18, 2021 10:57 pm
Teveri Weapons And Technical Services
<grins> Very good! My ED Cobra is parked at Teveri - and there it will probably remain!
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: 5005
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Redspear wrote: Sat Dec 18, 2021 10:57 pm
Cholmondely wrote: Sat Dec 18, 2021 8:39 pm
But would it not be more realistic to have to fill out forms in quadruplicate, giving the name of the manufacturer's sainted great-grandmother and the exact dimensions of the laser mount in barleycorns? Think of the immersion....
Dear Commander Jameson,

Congratulations!

After completing a total of one successful legal appeal, three official complaints proceedings, 5 virtual consultations and 8 licensing forms (in triplicate) we are happy to inform you that you are now the proud owner of the spacefaring vessel fittings that you had previously legally possessed prior to docking at this station.

You are also 9 planetary cycles older.

We do hope you enjoy your stay.

Teveri Weapons And Technical Services
Exactly! Wonderful, wonderful immersion...
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
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2644
Joined: Thu Jun 20, 2013 10:22 pm

Re: [Beta] Release of Station Options 1.0

Post by Redspear »

Cholmondely wrote: Sat Dec 18, 2021 11:44 pm
Exactly! Wonderful, wonderful immersion...
Thanks but I'd need to work out how to trigger it. My coding skill grows very slowly.

Maybe for a future incarnation (hopefully that will be of the oxp and not of myself :mrgreen: )
User avatar
Cholmondely
Archivist
Archivist
Posts: 5005
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Redspear wrote: Sun Dec 19, 2021 11:48 am
My coding skill grows very slowly.
[/quote]

At least yours grows!
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?
cag
Deadly
Deadly
Posts: 197
Joined: Fri Mar 17, 2017 1:49 am

Re: [Beta] Release of Station Options 1.0

Post by cag »

Cholmondely wrote: Mon Dec 13, 2021 12:10 am
...
Wondering: I never understood GravLock to mean anything in particular, and certainly not the way you defined it. I still don't really understand what the gravity scanner is supposed to do - or how it makes any difference to my game, other than funny sounds when I'm close to a Large Body...

Might it be better to call AutoLock "Weapons-on Locking" and GravLock "Weapons-off Locking", or some such?
...
So I decided to rename the variable in my script & missiontext.plist. It was not fun. :(

So I've added a option naming feature, so the name of the option can be unrelated to the script's variable.

Code: Select all

"..._options" = "
...
    'AutoLock: targeting cone ',	// whitespace gets .trim'd off each end
    'GravLock: navigation cone ',
...
so on the config page, they appears as 'targeting cone', 'navigation cone' but the variables worldScripts.telescope.$AutoLock/GravLock still gets set.

All the related keys in missiontext.plist still use the variable name. That allow spaces and other characters not
suitable for variable names to be used in the option's name.

version 1.1
https://www.dropbox.com/s/dzz9ayq1e0jhv ... s.oxz?dl=0
(same link as 1st post)

NB: due to strict version numbering, you will also need to update Telescope v2 to the current (Dec.30/21) version.
Telescope: https://www.dropbox.com/s/swfwx5klha3dn ... e.oxz?dl=0
Extender: https://www.dropbox.com/s/oq331u061tucn ... r.oxz?dl=0
"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
Archivist
Archivist
Posts: 5005
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

cag wrote: Fri Dec 31, 2021 3:53 am
Cholmondely wrote: Mon Dec 13, 2021 12:10 am
...
Wondering: I never understood GravLock to mean anything in particular, and certainly not the way you defined it. I still don't really understand what the gravity scanner is supposed to do - or how it makes any difference to my game, other than funny sounds when I'm close to a Large Body...

Might it be better to call AutoLock "Weapons-on Locking" and GravLock "Weapons-off Locking", or some such?
...
So I decided to rename the variable in my script & missiontext.plist. It was not fun. :(
Sorry!
cag wrote: Fri Dec 31, 2021 3:53 am
So I've added a option naming feature, so the name of the option can be unrelated to the script's variable.

Code: Select all

"..._options" = "
...
    'AutoLock: targeting cone ',	// whitespace gets .trim'd off each end
    'GravLock: navigation cone ',
...
so on the config page, they appears as 'targeting cone', 'navigation cone' but the variables worldScripts.telescope.$AutoLock/GravLock still gets set.

All the related keys in missiontext.plist still use the variable name. That allow spaces and other characters not
suitable for variable names to be used in the option's name.

version 1.1
https://www.dropbox.com/s/dzz9ayq1e0jhv ... s.oxz?dl=0
(same link as 1st post)

NB: due to strict version numbering, you will also need to update Telescope v2 to the current (Dec.30/21) version.
Telescope: https://www.dropbox.com/s/swfwx5klha3dn ... e.oxz?dl=0
Extender: https://www.dropbox.com/s/oq331u061tucn ... r.oxz?dl=0
Sounds good, thank you! Will try it out... Done! Tried out!

It looks superb and is even an enjoyable read in places (...an enjoyable read for an options page!!!!)

Well done, sir!

There are one or two very minor nitpicks.

1) Use of the term "ident" key. Will everybody understand that you mean the "r" key? It is not referred to as the "ident" key anywhere else that I have seen in the Oolite literature - but I only know Oolite & Elite. I've never played anything else... And if everybody else blathers on about an "ident" key then my concern fades...

2) Personally speaking, I think that the full formatting on the GUI pages looks dreadful unless there are many short words on the line. That is only a personal opinion.
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: 5005
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: [Beta] Release of Station Options 1.0

Post by Cholmondely »

Another point prior to posting on the Expansions Manager:

Watching Arquebus's most recent films I notice that his Masslock rings no longer seem to work. And the in-flight controls seem too complex to work out what's what (see snippet starting at time:2:47, where it seems to me that his search for options gets diverted by an identical-looking targeting announcement which is possibly misinterpreted as being part of the Telescope options list).

I presume that the limitations of Oolite now prevent a simple on-off for masslock during flight if you are offering all those choices about red/yellow/green & weapons on/off.

Personally I prefer the first - and I would suspect Arquebus would too - I have no need to distinguish between the 6 conditions and would rather just have the simple on/off choice if the Oolite coding forces a choice between one and the other. I rather suspect that this will be true for most users of Telescope.

Notwithstanding the above issues of practicality, I do like the fact that you have offered these options (r/y/g & weapons on/off)... it seems more realistic and more immersive.

You have really added to Telescope and improved it (even your contract is fun!).
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?
cag
Deadly
Deadly
Posts: 197
Joined: Fri Mar 17, 2017 1:49 am

Re: [Beta] Release of Station Options 1.0

Post by cag »

Cholmondely wrote: Fri Jan 07, 2022 11:16 am
Watching Arquebus's most recent films I notice that his Masslock rings no longer seem to work. And the in-flight controls seem too complex to work out what's what (see snippet starting at time:2:47, where it seems to me that his search for options gets diverted by an identical-looking targeting announcement which is possibly misinterpreted as being part of the Telescope options list).
No masslock rings are visible beyond 2500 km and nothing in his field of view is less than 7000 km, so the Masslock rings are working as intended.

As for stepping through the telescope's list, there are more than 10 items, so once beyond those in the MFD, none are 'current' (enclosed in square brackets) until he steps back into the subset of sightings shown in the MFD.

Things get more complex with different filters on both MFDs and I've no idea what to do in those cases. As it stands, it mimics Telescope 1.15 in that it steps through all sightings (i.e. filters are ignored).
Cholmondely wrote: Fri Jan 07, 2022 11:16 am
I presume that the limitations of Oolite now prevent a simple on-off for masslock during flight if you are offering all those choices about red/yellow/green & weapons on/off.
No, all you get during flight is a simple on-off for your current state (which gets incorporated into the full set you can modify when docked). The message reads Masslock rings: <alert>/<weaps>: on/off, where <alert>/<weaps> always reads your current state.

Unfortunately, there is a single character typo that only comes into play if you're running with DebugMessages turned on when changing Masslock rings during flight so the message text may be incorrect. :oops:
"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.
Post Reply