Thineboot wrote: Wed Aug 24, 2022 8:36 pm
Since it started with moon-packing and a few pn's I'm glad you've started a MOD thread dedicated to Orbs
I did some tests today with Einstein-universe values for star diameters (1/200) and no Super Giants as they are just too big (5-20x Red Giants).
image_2022-08-24_211623546.png
These packed together red giants can be easily separated when zooming in.
I've also tried to add a "star" to a "star", namely a Red Giant to a Black Hole, which isn't uncommon.
image_2022-08-24_213423316.png
While Black Holes have a single child in this case, a single Red Giant, it's up to 8 children were somehow interpreted as children of the Black Hole, it ended up with 7, 1-5 and 7 are planets, while the No 6, the Red Giant, ended up with 7 moons of it's won. See orb sizes at the bottom. To see the orbits you'll have to zoom in.
Obviously that's not who it should work. But by copying stars (OrbType) without own children (ChildTypes) we should be able to create Block Holes with stars in orbit, binary neutron stars (also common), aso.
As of now inner planets can end up near or even within Red Giants, which should be solvable by tuning OrbitalDistanceFromSunRatioMinimum (probably).
When done carefully, at least Races.xml refers to OrbTypeId, we could copy Orbs and adjust distances aso for specific stars.
Binary star systems are possible, too. An invisible barycenter and handcrafted two innermost planets being stars (without own planets).
Next test will be adjusting planet sizes, than moon distances, and finally all the hulls have to fit, too. Giant stations around tiny planets would contradict the whole effort
So, finally I answer your post
Yes, you are right with everything, as I have also found out and written above.
I started about with the same tests, and yes, red giants are too big to fit into the small galaxy..
As said, the orbits for suns and planets are the same, but if a planet is a moon, that value 0.00x to 0.0x is to small.
therefore I took some planets only for moon usage and others only for planets usage.
So, the factor for "moons" in a Main sequence star is 0.00001
<OrbTypeFactor>
<OrbTypeId>13</OrbTypeId>
<Factor>0.00001</Factor>
</OrbTypeFactor>
<OrbTypeFactor>
Or Type ID says it is a Rocky Silicon (planet or moon).
At the place where the Type 13 Rocky Silicon (Planet) is described
he gets a Diameter that fits for a moon, and the orbit is close to 1. Therefore he will be in an outmost orbit, especially neeed for gas planets, which are the biggest.
<OrbitalDistanceFromSunRatioMinimum>0.802</OrbitalDistanceFromSunRatioMinimum>
<OrbitalDistanceFromSunRatioMaximum>0.9544</OrbitalDistanceFromSunRatioMaximum>
<DiameterMinimum>40</DiameterMinimum>
<DiameterMaximum>65</DiameterMaximum>
Here the sheet to know what is what:
Code: Select all
7 continental -P
8 swamp -P
9 ocean -P
10 sandy desert -P
11 ice -P
12 volcanic -P
13 rocky silicon -M
14 gas giant ---
15 frozen gas giant
16 rocky asteroid
17 forest -P
18 grasslands -P
19 rocky desert -M
20 desert savanna -M
21 ice tundra -M
22 frozen ice -P
23 deep ocean -P
24 brown dwarf -P
25 rocky metallic -M
26 rocky ice -M
27 mangrove -P
28 star blue giant
29 carbonaceous -M
30 sulphur volcanic -P
31 ice asteroid
32 metallic asteroid
Now I wrote P for those that are in my orbittype.xml planets and an M for moons.
Those "Moon" Planets get then a great orbit and a small diameter (a 10th trom a planet),
the Planets have a bigger diameter and a fitting orbit for star orbit.
So vulcans are close, ice are outside, continental and such are in the middle, kind of.
So that is where I am right now.
The problem I had, was, that the game crashes when I go with the orbit size over 1, MOST of the time, not always.
Also, the game generates planets that are bigger than the orbit types allows, so I do not know where that is set.
It would also be helpful to know where the distances for the suns is set.
Like you said above
When done carefully, at least Races.xml refers to OrbTypeId, we could copy Orbs and adjust distances aso for specific stars.
there is a reference to the OrbTypeID of the Planets, but the rest is hidden und unrechable for us.
The game gives that OrbType than a Diameter of 5000 but my continental is only 500 in size.
And then, it is places as a moon close to a gas planet, that is in my orbType then the same size.
That is the problem right now.
So, here my approx sizes comparisons:
Code: Select all
Sun 1 392 500 km
Jupiter 143 000 km
Earth 12 742
Moon 3474
Asteroid 240 - 1000
Distance Sun Earth 149 600 000km
For the game it is about
Red Giant 80000-120000 (out of memory, and this is still too big (I downsize actually the Sizes of the planets to have a better distance to size ratio). There are way bigger stars, but lets not talk about this here)
Sun 13 000
Gas 1 300
Planets 120
Moons 30
Asteroid 2 - 10
And with that size, the distance is about the correct scale.
So if the sun is on the screen 1mm in Diameter, the Planets like earth should have a distance of 100 to 140mm