Arrivals and departures

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Arrivals and departures

Post by phkb »

Thanks for the encouragement, another_commander!
another_commander wrote:
The title Shipping News strikes me as somewhat weird
My original name for this was "Station Dock Info", which I thought was logical, but there were some comments further back in the thread that indicated "Shipping news" was more appropriate. I'm no expect in the issue of naval dockyard procedures, so I'm happy to switch to whatever makes more sense. For those who suggested "Shipping News", is this how dockyards refer to this sort of information?
another_commander wrote:
What about being able to display ETAs for the inbound vessels too?
As you say, that really might be tricky! I'll see what I can do.
another_commander wrote:
Number of pages shown: Indeed, too many.
I hear you! What I've now done is what I suggested above, is to limit the default view to three pages. There is an option to show everything if you want it.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Arrivals and departures

Post by Disembodied »

another_commander wrote:
- Number of pages shown: Indeed, too many. I believe you can make it look like an airport board. You don't need to show all flights of the day, just the ones that are, say, from now to six hours ahead. This is just an example - I don't know how much in the future you are currently looking at on page 20 or 25, but the idea is: queue everything, display only what's coming up in the near future.
Good idea, definitely. Unless there's a genuine (i.e. mission-related) reason to look, 90-95% of all that data will never get looked at.
another_commander wrote:
- The title Shipping News strikes me as somewhat weird. English is not my native language, but when I see Shipping News on the title I expect more something like a Snoopers article announcing something related to the world of Logistics rather than the arrivals and departures table. I would probably feel more at home with something like "In-System Traffic Status" or "[System Name] Traffic Control Monitoring".
Also a good idea. I hadn't really thought about the possible scale of ship traffic - keeping things to a relatively small time window would keep ship numbers to a less intimidating scale: "Traffic Control", or even just "Arrivals and Departures" would be a good title.
phkb wrote:
I've got plans for an OXP that would require you to search for a ship to see if it was docked at the station.
This sounds really interesting, but even so, detective work shouldn't get too onerous. The online data for New York harbour currently shows 10 ships, and allows for a bit of drilldown: I think requiring players to e.g. search for a named pilot among a dozen ships would be enough work, rather than page through 30+ screens looking for one ship name.

It's an amazing bit of work, though! The amount of extra life it adds to the game - the feeling of a living world carrying on with its own thing, regardless of what the player does - is fantastic.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Arrivals and departures

Post by Diziet Sma »

another_commander wrote:
- The title Shipping News strikes me as somewhat weird. English is not my native language, but when I see Shipping News on the title I expect more something like a Snoopers article announcing something related to the world of Logistics rather than the arrivals and departures table. I would probably feel more at home with something like "In-System Traffic Status" or "[System Name] Traffic Control Monitoring".
The section titled "Shipping News" in the back of my local newspaper has exactly the kind of info that phkb is building into his oxp. Arrivals, departures, cargoes, destinations, and so on.
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
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Arrivals and departures

Post by Norby »

phkb wrote:
limit the default view to three pages. There is an option to show everything if you want it.
In this case one page is enough and you can replace the "go to next/prev" items to a "next board" and a "show all ship". If there are dedicated boards to all nearby systems then I can see the list of ships going to my destination by pressing the "next board" a few times.

Personally I liked more the previous table with separaded ship type and name.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Arrivals and departures

Post by another_commander »

Norby wrote:
Personally I liked more the previous table with separaded ship type and name.
I liked that first table too, but that was assuming implicitly that RandomShipNames was installed, right? With the second table, if I don't have the OXP installed I will see at least the ship type only and not an empty column.
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: Arrivals and departures

Post by Cody »

another_commander wrote:
I liked that first table too, but that was assuming implicitly that RandomShipNames was installed, right?
I think RSN is the only OXP that I'd like to see incorporated into the core game. No chance of that, I know, but...
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
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Arrivals and departures

Post by Norby »

another_commander wrote:
not an empty column.
Can be filled in this case with Pilot name or Ship ID (ship.entityPersonality).
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Arrivals and departures

Post by Wildeblood »

I've a question: are you making this for 1.80, or does it require 1.81 features?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Arrivals and departures

Post by phkb »

Wildeblood wrote:
are you making this for 1.80, or does it require 1.81 features?
Working in 1.80 at the moment. I'm not using any 1.81 features (as yet - still early days!).
Disembodied wrote:
"Traffic Control", or even just "Arrivals and Departures" would be a good title.
I'm going to go with "Traffic Control" for the name of the OXP. I think that best describes what's taking place. The Interface screen will have "[station name] Traffic Control", and it will be in a section titled "Station Interfaces" to indicate this service is related to the station, rather than the ship. My apologies to those who preferred the "Shipping News" name!
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2453
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Arrivals and departures

Post by Wildeblood »

phkb wrote:
I'm going to go with "Traffic Control" for the name of the OXP. I think that best describes what's taking place. The Interface screen will have "[station name] Traffic Control", and it will be in a section titled "Station Interfaces" to indicate this service is related to the station, rather than the ship. My apologies to those who preferred the "Shipping News" name!
That's why all text strings get loaded from descriptions.plist or missiontext.plist* - so they are easy to over-ride.

* They do, don't they? :twisted: :mrgreen:

P.S. There's already a Traffic Control OXP, by Thargoid?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Arrivals and departures

Post by phkb »

Wildeblood wrote:
P.S. There's already a Traffic Control OXP, by Thargoid?
Aww, dang it. {Goes away to do more renaming}
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Arrivals and departures

Post by phkb »

Another general question: Do you think the bounty of a ship or pilot should be visible on the list? Maybe if a certain piece of equipment is purchased, maybe?

Edit: Also, should I indicate whether ships are part of a group or escort?
Edit2: Actually, that would probably be information the station would have, so it makes sense to display it.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Arrivals and departures

Post by Disembodied »

phkb wrote:
Another general question: Do you think the bounty of a ship or pilot should be visible on the list?
If you drill down, yes - probably not on the general listing though.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Arrivals and departures

Post by phkb »

Technical question this time: I'm trying to set the ship crew, and get it to match my data. So I'm doing this:

Code: Select all

ship.setCrew({name:shipData.pilotName, origin:shipData.pilotHomeSys, bounty:shipData.pilotLegalStatus, short_description:shipData.pilotDescription, species:shipData.pilotSpecies});
But often, when I check the species of the pilot in the ship, it's different to what I specified in my "shipData.pilotSpecies" value. How do I correctly set the species of the pilot?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Arrivals and departures

Post by cim »

You can't set directly species for crew at the moment. For compatibility with existing characters.plist entries, species is always generated based on the random seed and the home system.

If you set the random_seed property (a string containing 6 0-255 ints separated by spaces) so that its sixth number does not end '11' when expressed in binary (e.g. 0, 1, 2, 4, 5, 6, 8, etc), this will guarantee that the character's species will be the species of their home system.

If you set the random_seed property (a string containing 6 0-255 ints separated by spaces) so that its sixth number does end '11' when expressed in binary (e.g. 3, 7, 11, etc.), this will guarantee that the character's species will be the species of the system whose ID is the fifth number of the random seed. So for example setting the random seed "1 2 3 4 87 11" would return "Black Slimy Lizards" for species if you were in Galaxy 1.
Post Reply