Re: [nbos] [AS] Sector Generation
"Richard K"
Thu Jul 9th, 2009
Ed? do I remember seeing a "flatten" script a while back in the betas? One where it would take the stars and squish them towards the 0, 0. plane.

Creating "disk" shapes would be easier using a flatten script over a spherical generated star map.

----- Original Message -----
From: Shade Tree
Sent: Wednesday, July 08, 2009 3:33 PM
Subject: Re: [nbos] [AS] Sector Generation

Summary at the bottom.

The milky way is ~100,000 light years across in diameter and ~2,000 ly high on average (10k at the core, 3k near the sun, less as you get further). If we figure it as a cylinder that gives a volume of 15,707,963,267,949 cubic lightyears.
there is an estimated 200,000,000,000 to 400,000,000,000 stars in the galaxy. If we consider an equal spread that gives us something near to each cubic lightyear having a (2-4) in 157 chance of containing a star. So if you check each x,y,z and give each coordinate a 1.27%-2.54% chance of having a system of some sort you should get a pretty good distribution.

If a star is born take those x,y,z coords and displace them + or - a random bit between .0 and .9 in each direction and you should be okay. I'd move them to the center of the 'cube' (add .5 to each coord) and then displace them +/- .5, but I'm funny like that.

Now the MW is neither a cylinder nor are the stars evenly distributed within it, but it's quick and dirty and it should work out decently. for anything not in the core or on the rim.

Reverse checking the maths. A 1000 ly cube is about 0.006% of our false, evenly dispersed, cylindrical galaxy. 0.006% of 400billion stars is 25.5 million stars.

The cubic area of a 1000ly is 1bil ly which gives us 25.5m stars distributed over it or 2.55% which jiggers with the high end of the percentage I posted above.

I'm not going to show the math but that averages out to about 4ly between stars so making a 5ly autoroute should connect the majority of them. Or you could use my Traderoutes script on Nox for more control. (shameless plug).

Each cubic lightyear has between a 1.3% to 2.5% chance of containing a star within it. Less near the rim and more near the core.

> From:
> To:
> Date: Tue, 7 Jul 2009 19:24:54 -0500
> Subject: Re: [nbos] [AS] Sector Generation
> ----- Original Message -----
> =================================
> From: Eric Schulte
> To:
> Sent: Tuesday, July 07, 2009 3:06 PM
> Subject: Re: [nbos] [AS] Sector Generation
> For the rather technically inept among us (me) can you elaborate on the
> process of creating the stars you need? Can you assign the star type in
> access? I'm thinking this may make the generation of 'space opera' highly
> hospitable / terraformed universes easier..
> =================================
> Well, for local stars, I have a star catalog called 'HYG.' I also have the
> Hipparcos set, but that's a tiny bit smaller than the HYG. Also, the
> Hipparcos provides only RA and Declination, whereas the HYG set has the data
> already translated from polar to rectangular coords along with the proper
> motion data as annual vectors applied to each axis.
> I've imported each set to Access as tables and I just make a query set up in
> AS's format - found from the import section of the help file - and fill in
> the blanks. Using the query, I can also adjust each star for its true
> location, not its perceived location. This is important for a map, since not
> all the action is on Earth.
> For the star type - assuming you mean like A2V, G4III, etc. - I've written a
> routine that uses the star generation tables from Traveller in VBasic and
> included this as a module in Access.
> This works fine for systems local to Sol - I think within 1000 ly, if I
> recall correctly - but the data leaves off some stars; typically those of
> high magnitudes and I think they leave off O and B class stars, too.
> But, if I want stars further out, I need a routine to create them and -
> hopefully - place them in realistic, though fictional, locations. An earlier
> response made me consider that any placement routine would probable suffice,
> given the scales used, so this may not be a problem anymore.
> If you - or anyone else - have any other questions, let me know and I'll do
> my best to answer them.
> _______________________________________________
> Nbossoftware mailing list

Lauren found her dream laptop. Find the PC thatís right for you.


Nbossoftware mailing list

Nbossoftware mailing list

Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.
Member contributed resources