Redrawn Space Compatibility

by Kryzeth

Features several compatibility patches between Redrawn Space Connections, Cosmic Social Distancing, and various other planet/space age mods, including Asteroid Belt, Outer Rim, Dyson Sphere, Dea Dia System, Metal and Stars, Shattered Planet, Void Processing, and Nexus Endgame Extended.

Tweaks
a month ago
2.0
7.54K
Planets

i [Fixed by Other Mod] Support for Subterranio?

3 months ago

Subterranio adds some new surfaces underneath 3 of the vanilla planets, but Redrawn Space Connections seems to think they're actual planets and draws space connections to them - often times instead of to the actual planet. I'm not sure if that's something that would be best served by a compatibility patch from this mod, or if the Subterranio dev should be adding some kind of flag so other mods don't see the surfaces as planets... Thoughts?

3 months ago
(updated 3 months ago)

It's probably a missing exclusion flag, if it doesn't expect to be run alongside the base Redrawn Space Connections mod, but I can fix it from my end if necessary.

Worth reporting to them as well, if they are still in active development. It would likely just be one line of code setting redrawn_connections_exclude to true.

Though I would assume that hidden surfaces aren't taken into consideration either, since there's no special code for the Maraxsis Trench, and that one works just fine with RSC, without having the exclusion flag set (it's just marked as hidden).

EDIT: Just looking through their github code, and unless I missed something, it seems that they forgot to set the hidden flag on their surfaces. Pretty sure they don't want them appearing on the starmap, assuming there's a non-space travel way to get to those surfaces?

3 months ago

Roger that. I'll report to the author - it's under pretty active development lately. Thanks!

11 days ago

Is it possible to include a setting to list excluded surfaces? That way I could fix it on my end.

11 days ago

Hey, Subterranio dev here. Do you have an example of the redrawn_connections_exclude flag? I can take a look at adding support for this mod. Seem like Subterranio should support Redrawn Space Compatibility, not the other way around

11 days ago
(updated 11 days ago)

An example for planet and space-location (from within this mod's Metal and Stars compat code); this runs during data-updates, and prevents new connections from being drawn to these locations on the starmap:

data.raw["planet"]["ringworld"].redrawn_connections_exclude = true
data.raw["space-location"]["calidus-senestella-gate-calidus"].redrawn_connections_exclude = true

This is assuming these subterranean surfaces cannot be marked as hidden? Presumably, there should be a way to get to these surfaces from the planet itself, and probably shouldn't appear on the starmap to begin with? Since you likely won't be getting to them from the starmap

For example, the Maraxsis trench is a coded as a "planet" but is a distinct surface, separate from the main Maraxsis planet, and is entered by walking to certain points on the planet, and 'descending' into the trench, using some runtime scripting. The trench does not appear on the starmap, because it is marked as hidden; this also means it is ignored by Redrawn Space Connections.

EDIT:

Is it possible to include a setting to list excluded surfaces?

It should be theoretically possible to do this... but I don't know if I want to expose that functionality directly.

If something is a global issue, I would rather people report those here, so I can fix those issues for everyone. The only reason I didn't act on this one, is because I assumed the original dev would have done something about it. Until today, neither the OP nor the original dev got back to me, so I assumed it was either fixed or no longer an issue.

It also isn't too difficult to create a local patch mod that fixes it directly, without my intervention. Just copy a simple mod template and add a couple lines to data-updates, similar to the above, with the names tweaked. That's exactly how this mod came to be; I didn't like some of the connections being made by Redrawn Space Connections that seemed unintentional, so I wrote up a couple lines of code to fix it. Then I added support for a few more mods, and then a few more, until it became this

11 days ago

I’d rather keep the subterranean icons on the starmap if possible. They are underneath the individual planets.

I can probably just include the redrawn_connections_exclude flag and re-place them when this mod is present

11 days ago

Specifically, you need to check for the base mod, not mine. My mod is more of a patch mod that does this to fix other planets/space locations.

You also don't even need to check anything at all, since nothing will happen if you set the redrawn_connections_exclude flag, when the base mod doesn't exist, since that field isn't used by another mod.

11 days ago

Great, thanks! I will add that to the surface definitions

10 days ago

Sounds like the local patch is gonna be the best. And I hear factorio modding is actually good unlike stellaris.

10 days ago

Subterranio sub-mod versions 0.1.16 have had compatibility changes added for Redrawn Space Connections so that the underground surfaces stick with their parent planets and don't have space connections drawn!

New response