Page 2 of 2

Re: Distant Stars [Test release 0.0.5]

Posted: Sun May 22, 2016 8:00 pm
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.

Re: Distant Stars [Test release 0.0.3]

Posted: Wed Jun 08, 2016 5:43 am
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.

Re: Distant Stars [Test release 0.0.3]

Posted: Wed Jun 08, 2016 4:45 pm
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.