You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had a LENGTHY discussion on the modding discord about the workarounds to prevent this (reference to #7281) and it's either bugged or unintuitive
Possible Solutions:
Set all vanilla hallways to 0 commonness (currently 10). In theory they should still generate if there are no other options, but this should prevent them from generating at custom locations if custom hallways are set up.
I've tested this by modifying vanilla files and got no error. Rolled a bunch of vanilla and modded outposts, no issues there so it should be the simplest solution
Version
Unstable
The text was updated successfully, but these errors were encountered:
1 Go to leveleditor
2 Generate coldcavernsoutpost + miningoutpost a bunch of times
3 Increase hallway length if needed
Regalis11
added
Bug
Something isn't working
Code
Programming task
Modding
Modding-related feature request or issue, or a bug that only occurs with mods
labels
Mar 14, 2024
Disclaimers
What happened?
Vanilla hallways will force themselves on modded outposts, no matter if you specify allowed location types.
Here the hallway has
allowedlocationtypes
defined to the intended locations:I assume this is the relevant part of the code that says modules configured with locations/flags should take priority:
Barotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/Outposts/OutpostGenerator.cs
Line 882 in 3b722fa
Barotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/Outposts/OutpostGenerator.cs
Line 1212 in 3b722fa
We had a LENGTHY discussion on the modding discord about the workarounds to prevent this (reference to #7281) and it's either bugged or unintuitive
Possible Solutions:
Set all vanilla hallways to 0 commonness (currently 10). In theory they should still generate if there are no other options, but this should prevent them from generating at custom locations if custom hallways are set up.
I've tested this by modifying vanilla files and got no error. Rolled a bunch of vanilla and modded outposts, no issues there so it should be the simplest solution
Version
Unstable
The text was updated successfully, but these errors were encountered: