[WIP] Distant Stars v0.0.7

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

Moderators: another_commander, winston

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: Distant Stars [Test release 0.0.5]

Post by Norby »

After this report I made a fix in Distant Stars for [wiki]The Collector[/wiki].
Rustem accepted in pm that I uploaded the fixed v0.0.5 into the manager.
Last edited by Norby on Wed Jun 08, 2016 10:59 am, edited 1 time in total.
User avatar
Dr Beeb
Dangerous
Dangerous
Posts: 127
Joined: Sun Mar 23, 2008 10:28 pm
Location: Mt. Vista, Oosa, Biarge System, Galaxy 1

Re: Distant Stars [Test release 0.0.3]

Post by Dr Beeb »

Hello Rustem

nice work, another scheme you can consider is for the sun size/colour to be 'almost orthogonal' to the other system parameters by using the highest nibble of the sixth system seed, discussed under Default Suns, which would make it mostly independent of the planet radius, economy, name etc.

In Oolite I believe the sixth seed is the last integer in the string system.info.random_seed. For Galaxy 1 the first planet Tibedied has seeds "74 90 72 2 83 183". For Lave you should find the seeds change to "56 173 156 20 29 21". The last integer divided by 16 then gives the range 0x0 to 0xF used in Elite-B to index into the list
  • 0x0 Red Dwarf
    0x1 Orange Dwarf
    0x2 Orange Dwarf
    0x3 Orange Dwarf
    0x4 Orange Dwarf
    0x5 Yellow Dwarf
    0x6 Yellow Dwarf
    0x7 Yellow Dwarf
    0x8 Yellow Dwarf
    0x9 Yellow-white
    0xA Yellow-white
    0xB Blue-white
    0xC Blue-white
    0xD Red Giant
    0xE Red Giant
    0xF Blue Giant
So you would need some code along the lines of

Code: Select all

parseInt(system.info.random_seed.match(/\d+$/), 10)/16
(apologies if my javascript is not up to it) to match this list (Lave orbits an Orange dwarf etc.) and add more detail.

In Elite-B there is a certain dread to visiting systems with large stars on the short range chart - both the sun to planet distance is large and difficult to sun-skim at.
White dots were so much easier to hit
Rustem
Deadly
Deadly
Posts: 170
Joined: Mon May 25, 2015 5:23 pm
Location: Russia

Re: Distant Stars [Test release 0.0.3]

Post by Rustem »

Hi, Dr Beeb!

I do not know that can make the distribution of stars with random_seed. Thanks! Maybe need to develop other OXP. I think about how can apply it.
Post Reply