Page 1 of 1
Allow creating space platforms at any space-location
Posted: Tue Dec 03, 2024 12:31 pm
by Sa.sa
At the moment, force.create_space_platform fails when the target location is just a space-location and not a planet. From the outside at least this seems arbitrary.
My use case is a space platform start mod. I'd like to start players in open space so reaching a planet can be the first challenge.
Re: Allow creating space platforms at any space-location
Posted: Fri Dec 06, 2024 12:23 am
by protocol_1903
The reason it fails is because a platform is in one of two states: orbiting a planet, or moving between two planets. It needs to have a planet to orbit when being created.
Your best bet right now is to generate nauvis as a planet, create the platform above nauvis, then hide nauvis.
Re: Allow creating space platforms at any space-location
Posted: Sat Dec 07, 2024 2:44 pm
by Sa.sa
I'll have to experiment with that then. Thank you!
Re: Allow creating space platforms at any space-location
Posted: Sat Dec 07, 2024 8:10 pm
by protocol_1903
It should also be noted that you can't delete the nauvis surface at all, so you're going to need to hide it somehow
Re: Allow creating space platforms at any space-location
Posted: Tue Dec 10, 2024 7:49 pm
by MaxAstro
Why not just create an "empty space" planet?
Re: Allow creating space platforms at any space-location
Posted: Fri Dec 13, 2024 1:02 am
by Sa.sa
MaxAstro wrote: ↑Tue Dec 10, 2024 7:49 pm
Why not just create an "empty space" planet?
That's what I've been doing so far. The main problem was that players were able to drop down to it, but when I next have time I'll try hiding it as suggested. I'm not sure what'll happen to the space route when I do, I'll have to see.
Re: Allow creating space platforms at any space-location
Posted: Sat Dec 14, 2024 3:07 pm
by MaxAstro
Sa.sa wrote: ↑Fri Dec 13, 2024 1:02 am
MaxAstro wrote: ↑Tue Dec 10, 2024 7:49 pm
Why not just create an "empty space" planet?
That's what I've been doing so far. The main problem was that players were able to drop down to it, but when I next have time I'll try hiding it as suggested. I'm not sure what'll happen to the space route when I do, I'll have to see.
Clearly what you do is name the planet "the void of space" and have a script that just kills any player that drops to it.