Any Planet Start


Start on any of the first three planets: Vulcanus, Gleba, or Fulgora. Choose your planet in the startup mod settings before starting a new game. Compatible with many modded planets!

Content
15 days ago
2.0
25.8K
Planets Environment

g ✅ APS.startOn & enable mod Override

10 months ago
(updated 10 months ago)

Hey CodeGreen,
With finishing up the first pass of the Solar System++ mod pack, that I'll need to define the starting planet value outside of settings (Data/Control layer), and can't set setting in that layer, so I'll need a bit more control to either turn off APS start-up or hopefull call APS "startOn" wrapper around your code that invokes the logic you currently have.
i.e.

if settings.startup["aps-planet"].value ~= "none" then
APS.startOn(settings.startup["aps-planet"].value)
end

10 months ago

Currently nauvis is actually the "none" logic internally so getting APS to do nothing in data stage is as easy as setting the fixed choice to that (though I should probably rename it to none since that's much more clear as to what the setting is actually doing)

I think the best way to handle the rest of it is a remote interface to override what planet APS will actually teleport players to at runtime, which can be done in on_init. As a baseline it'll probably be something like remote.call("APS", "override_planet", "planet-name"). If that works for you, I'll do it after I'm done with work.

10 months ago

Thanks, I think that should work.

10 months ago

If its Nauvis or "none" either is fine.

10 months ago

I think I'm going to change it to "none" with the update, since I've seen a few people think the mod does something with nauvis selected.

10 months ago

Keeping an eye out for the change. Thanks

10 months ago

Sorry about that, got caught up with some stuff IRL and wasn't able to get around to it until today. Added in 1.1.9

10 months ago

control.lua:14 attempt to index field planet-discovery-nauvis a nil value

can you add a nil check before this, incase nauvis doesn't exist
if not force.technologies["planet-discovery-nauvis"].researched then

10 months ago

Sure, though I suggest not deleting prototypes, instead setting .hidden on them and removing all prerequisites (there's a function for that in utils.lua).
I'll add that in 1.1.12

10 months ago

Wait, I'm dumb, that's my own technology, don't mind me

New response