Setting Parent Body for a SpaceLocation
Posted: Sun Nov 17, 2024 12:49 am
For now we have :
distance :: double : Distance from the location's parent body in map coordinates.
orientation :: RealOrientation : Angle in relation to the parent body.
It would be interesting to add
parent :: string : Name of the parent SpaceLocation, optionnal, if not set it would work like in current version
What will it affect :
- Position of the SpaceLocation is now related to the indicated parent SpaceLocation using distance and orientation
- SpaceLocation Orbit is drawn around the parent SpaceLocation
What it will permit :
- adding another star system with his own set of planets with orbits correctly displaying around their suns
- adding moons to planets with orbits around planets instead of sun
- Ease creation of new SpaceLocation around others
- Rearanging the map by changing distance and orientation of one SpaceLocation would move their child body with them
What other modification is needed in the base game :
The Sun need to be a defined Space Location even if no path SpaceConnection goes to it.
It will "orbit" around the universe origin. it can even have distance=0 to be at the center of the universe
Planets need to have parent="sun"
Similar requests :
- Allow to set a space location's parent
Example of actual mods that would directly benefit :
- real-starry-universe
- space-exploration
- factorissimo-2-notnotmelon
- intercontinental-rocketry
distance :: double : Distance from the location's parent body in map coordinates.
orientation :: RealOrientation : Angle in relation to the parent body.
It would be interesting to add
parent :: string : Name of the parent SpaceLocation, optionnal, if not set it would work like in current version
What will it affect :
- Position of the SpaceLocation is now related to the indicated parent SpaceLocation using distance and orientation
- SpaceLocation Orbit is drawn around the parent SpaceLocation
What it will permit :
- adding another star system with his own set of planets with orbits correctly displaying around their suns
- adding moons to planets with orbits around planets instead of sun
- Ease creation of new SpaceLocation around others
- Rearanging the map by changing distance and orientation of one SpaceLocation would move their child body with them
What other modification is needed in the base game :
The Sun need to be a defined Space Location even if no path SpaceConnection goes to it.
It will "orbit" around the universe origin. it can even have distance=0 to be at the center of the universe
Planets need to have parent="sun"
Similar requests :
- Allow to set a space location's parent
Example of actual mods that would directly benefit :
- real-starry-universe
- space-exploration
- factorissimo-2-notnotmelon
- intercontinental-rocketry