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.
Allow creating space platforms at any space-location
-
- Fast Inserter
- Posts: 134
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Allow creating space platforms at any space-location
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.
Your best bet right now is to generate nauvis as a planet, create the platform above nauvis, then hide nauvis.
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Re: Allow creating space platforms at any space-location
I'll have to experiment with that then. Thank you!
-
- Fast Inserter
- Posts: 134
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Allow creating space platforms at any space-location
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
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Re: Allow creating space platforms at any space-location
Why not just create an "empty space" planet?
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain
"True friends stab you in the front." - Oscar Wilde
"True friends stab you in the front." - Oscar Wilde
Re: Allow creating space platforms at any space-location
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
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.
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain
"True friends stab you in the front." - Oscar Wilde
"True friends stab you in the front." - Oscar Wilde