Star/Planet Creation

Blue? Green? Red? Refuse? It's time to talk about rules for a new community edition of the VBAM rules!
Post Reply
User avatar
OneMadOgre
Commander
Commander
Posts: 188
Joined: Mon Jun 11, 2012 2:13 am
Location: Mpls, MN

Star/Planet Creation

Post by OneMadOgre »

I've built a quick little script to rapidly build out star systems according to the ruleset in the Galaxies document.

Couple of things I noticed.

1) Not sure how to call a system importance on the first star generated. There are certainly chances that the extra stars built will be much more attractive than the first star generated.

2) Also seems hard to make sure that the planets that generate will be according to the system importance guide.

3) Jump lanes looks like they are determined based on the first star's characteristics. Because each star is randomly spun up, is that how it should be done? I suppose we could compound the jump lane modifiers from the Luminosity Class Table for each star? (Note, the python script isn't doing jump lanes yet.)


For example, here's a sample output run from the Python script.

M:\python\sg>python initialstargeneration.py
How many star systems?" 10
Orion is a single star system located at (177,300,9) with 2 jumppoints.
Orion prime, a Class B Bright Blue Class IV Subgiant (Unimportant) with a planet.
outer: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1

Andromeda is a trinary star system located at (188,256,8) with 1 jumppoints.
Andromeda gamma, a Class M Red Class V Main Sequence (Unimportant) with a planet.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
Andromeda beta, a Class M Red Class III Giant (Minor) with 5 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
Andromeda prime, a Class G Yellow Class V Main Sequence (Minor) with 6 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Hothouse) size: 2, BIO: 0, RAW: 2
inner: planet(Hothouse) size: 2, BIO: 0, RAW: 2

Orion is a single star system located at (396,422,11) with 2 jumppoints.
Orion prime, a Class G Yellow Class V Main Sequence (Major) with 10 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
middle: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
inner: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Dead) size: 4, BIO: 0, RAW: 1
inner: planet(Dead) size: 4, BIO: 0, RAW: 1

Rana is a single star system located at (134,343,3) with 2 jumppoints.
Rana prime, a Class T Brown Class IV Subgiant (Unimportant) with 4 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
inner: planet(Dead) size: 4, BIO: 0, RAW: 1

Malus is a single star system located at (400,13,4) with 2 jumppoints.
Malus prime, a Class M Red Class V Main Sequence (Minor) with 6 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
inner: planet(Dead) size: 4, BIO: 0, RAW: 1
inner: planet(Hothouse) size: 2, BIO: 0, RAW: 2

Gallus is a binary star system located at (396,404,12) with 1 jumppoints.
Gallus beta, a Class K Orange Class I Supergiant (Minor) with 8 planets.
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Superterrestrial) size: 6, BIO: 1, RAW: 2
inner: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
Gallus prime, a Class K Orange Class V Main Sequence (Minor) with 6 planets.
outer: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
inner: planet(Gas Giant) size: 4, BIO: 0, RAW: 1

Centauri is a single star system located at (112,270,11) with 5 jumppoints.
Centauri prime, a Class D White Class VII White Dwarf (Unimportant) with 3 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Hothouse) size: 2, BIO: 0, RAW: 2

Leo is a single star system located at (424,53,15) with 3 jumppoints.
Leo prime, a Class K Orange Class V Main Sequence (Minor) with 7 planets.
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
outer: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
inner: planet(Superterrestrial) size: 6, BIO: 1, RAW: 2

Malus is a single star system located at (446,106,5) with 5 jumppoints.
Malus prime, a Class M Red Class VI Subdwarf (Unimportant) with a planet.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1

Draconis is a single star system located at (70,224,3) with 2 jumppoints.
Draconis prime, a Class K Orange Class V Main Sequence (Unimportant) with 2 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1


M:\python\sg>
Last edited by OneMadOgre on Sun Dec 04, 2016 11:26 pm, edited 1 time in total.
User avatar
OneMadOgre
Commander
Commander
Posts: 188
Joined: Mon Jun 11, 2012 2:13 am
Location: Mpls, MN

Re: Star/Planet Creation

Post by OneMadOgre »

Here's an example off the next run of the program. Got the six star system. Rolled like it was in a Firefly universe. (Which maybe is okay?) It rolled as Major, but with multiple stars, wow, 5 garden planets in one 6 star system.

(Note: Jumplanes aren't converted to VBAM-Galaxies yet.)

Rana is a sextenary star system located at (411,419,19) with 1 jumppoints.
Rana zeta, a Class M Red Class IV Subgiant (Unimportant) with 4 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Hothouse) size: 2, BIO: 0, RAW: 2
Rana epsilon, a Class M Red Class VI Subdwarf (Unimportant) with a planet.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
Rana delta, a Class M Red Class V Main Sequence (Minor) with 8 planets.
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
outer: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
inner: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
Rana gamma, a Class K Orange Class IV Subgiant (Major) with 9 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Barren) size: 6, BIO: 1, RAW: 2
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
inner: planet(Asteroid Belt) size: 2, BIO: 0, RAW: 1
Rana beta, a Class M Red Class V Main Sequence (Minor) with 5 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
Rana prime, a Class K Orange Class V Main Sequence (Major) with 9 planets.
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
outer: planet(Dead) size: 4, BIO: 0, RAW: 1
outer: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Dead) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
middle: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Gas Giant) size: 4, BIO: 0, RAW: 1
inner: planet(Dead) size: 4, BIO: 0, RAW: 1
inner: planet(Garden) size: 8, BIO: 3, RAW: 4
User avatar
OneMadOgre
Commander
Commander
Posts: 188
Joined: Mon Jun 11, 2012 2:13 am
Location: Mpls, MN

Re: Star/Planet Creation

Post by OneMadOgre »

Bumping this, because it's germane to the other thread where we're talking about system generation. I am doing it in C# instead of Python, but the problem is the same.

As I understand the sequence.

Roll for number of stars in the system.
Roll for star in system, determine system importance.
Roll for planets in Inner, Middle, Outer zone.
Each planet gets it's own Type, size/cap, Raw, (& optional Bio)

When I do it like that, it's possible, even fairly common, to get two or more stars in a system with widely difference system importance rolls. If, a system is lucky and it rolls a couple of stars and they all rolls major on the importance checks, it gets to be a VERY desirable system. Feels a little too spikey for me.

Options as I see them:
* Make all stars only use the first system importance roll. This keeps it pretty much static for planets regardless of number of stars. (All star+ systems assumed to be close neighbors.)
* Make stars in the middle and outer zone even less desirable from a raw/bio prospective. Here is where bio could potentially shine for me. If I only give BIO to systems in the inner zone, and say you can only place a colony where there is bio.... that might take away the spike enough in terms of desirable worlds. Could still get a stacker, where far neighbors all roll Yellow star and get good inner planets.

Part of me likes the idea of a Bespin Cloud City. Maybe colonies cost more in middle and outer zone planets? That would also take away some their appeal unless they totally were RAW rich.
Post Reply