Traffic generation by Hub count

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

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

Traffic generation by Hub count

Post by pagroove »

Is it possible to let the traffic per system to be generated by the hub count parameter of a system so that systems with a high hub count also get the highest amount of traffic? That would be a nice feature and it is also natural I think.

BTW I got this idea this weekend by standing on the arc the triumph in Paris.
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
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Traffic generation by Hub count

Post by Smivs »

pagroove wrote:
standing on the arc the triumph in Paris.
The wind nearly blew me off when I did that :shock:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Traffic generation by Hub count

Post by Smivs »

Nice idea, by the way. :D
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Traffic generation by Hub count

Post by Commander McLane »

Stupid question: what is hub count, and how is it a parameter of Oolite systems?

General answer: if it is a property which has different values for different systems, you can of course add more or less additional ships, depending on the value of that property in any given system.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Traffic generation by Hub count

Post by Smivs »

I think it's the number of other systems you can reach from where you are.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Traffic generation by Hub count

Post by Commander McLane »

Smivs wrote:
I think it's the number of other systems you can reach from where you are.
Ah!

Okay, in JS-terms this would be system.info.systemsInRange().length, ranging from 0 to whatever the most systems in range in Oolite are, preferably in a dense cluster of systems.

So a very straightforward way would be to have your script add one additional trader per system in range. Or you could add two per system, or five, or even 1.3 (the end result would be rounded, of course). Still fairly straightforward would be a quadratic, cubic, or even exponential increase.
User avatar
CheeseRedux
---- E L I T E ----
---- E L I T E ----
Posts: 827
Joined: Fri Oct 02, 2009 6:50 pm

Re: Traffic generation by Hub count

Post by CheeseRedux »

Mandatory derailment (well, sortof):
If the game can be made to recognize hub count, it could also affect the likelihood of cargo/passenger contracts.
Logic dictates it's harder to get stuff to & fro a low-hub system, resulting in them being more likely candidates for special runs.
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Traffic generation by Hub count

Post by DaddyHoggy »

CheeseRedux wrote:
Mandatory derailment (well, sortof):
If the game can be made to recognize hub count, it could also affect the likelihood of cargo/passenger contracts.
Logic dictates it's harder to get stuff to & fro a low-hub system, resulting in them being more likely candidates for special runs.
I like that (and the idea which spawned this idea...)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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: Traffic generation by Hub count

Post by pagroove »

DaddyHoggy wrote:
CheeseRedux wrote:
Mandatory derailment (well, sortof):
If the game can be made to recognize hub count, it could also affect the likelihood of cargo/passenger contracts.
Logic dictates it's harder to get stuff to & fro a low-hub system, resulting in them being more likely candidates for special runs.
I like that (and the idea which spawned this idea...)
Like I said. I got this idea while standing on top of the Arc the Triumph which is of course in the center of Place de L'Etoile http://maps.google.nl/maps?q=map&oe=utf ... 9&t=h&z=17 You can compare this place to a system with a high hub count (for example ingame Xexedi is such a place). Also what CheeseRedux says makes sense. With such a system in place backwater of the Ooniverse (end of line systems) become more lonely while systems with a high hub count are (over)crowded.
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
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2278
Joined: Tue Jan 02, 2007 12:38 pm

Re: Traffic generation by Hub count

Post by Killer Wolf »

CheeseRedux wrote:
Mandatory derailment (well, sortof):
If the game can be made to recognize hub count, it could also affect the likelihood of cargo/passenger contracts.
Logic dictates it's harder to get stuff to & fro a low-hub system, resulting in them being more likely candidates for special runs.
it could also affect pirate possibility - if it's harder to get to, it should mean the price for scavenged goods is better.
User avatar
PhantorGorth
---- E L I T E ----
---- E L I T E ----
Posts: 647
Joined: Wed May 20, 2009 6:48 pm
Location: Somewhere off the top left of Galaxy 1 map

Re: Traffic generation by Hub count

Post by PhantorGorth »

I was a while back looking at changing the weightings on what systems ships jump too when leaving the current system. This was to be able to make systems out of bounds for reasons such as war or disease quarantine. Currently the weightings are even.
Chat and relax with other commanders in the [url=irc://irc.oftc.net/oolite]DS's Seedy Space Bar[/url]. The Coolest Bar in the Eight.

Phantor's OXPs: [EliteWiki] GalCop Rewards and [EliteWiki] Safe Docking
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Traffic generation by Hub count

Post by Switeck »

High TL worlds with stable governments should draw considerable trader traffic even if not a hub...though if they have 0 connected systems they should have very low trader traffic -- assumed to come in either by Gal. Hyper. or misjump tricks.
Post Reply