Jump to content

My duplicants are flying in space farts


Notecja
  • Branch: Live Branch Version: Windows Fixed

image.png.71e171c7f55aa802e11e9dd21fd81e2f.pngimage.png.8ac8f12428e7dc2897b8b16c0cf24866.png

They better not try opening any windows...


Steps to Reproduce

Dunno, but it seems there is something below that stops stinky stuff from diappearing. The liquid is "not on the floor".
It's my third interior rocket.




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

its that old bug where spacefarer modules space exposure doesnt work because the zonetype is set to zonetype.space instead of byte.max (255)

On 1/28/2024 at 12:11 AM, SGT_Imalas said:

this is caused by a bug that doesnt properly initialize the space exposure on newly constructed rocket interiors.

will fix itself on game load.

 

To fix this, the method "WorldContainer.PlaceInteriorTemplate()" needs to be adjusted from

SimMessages.ModifyCellWorldZone(num2, 7);
World.Instance.zoneRenderData.worldZoneTypes[num2] = SubWorld.ZoneType.Space;

to 

SimMessages.ModifyCellWorldZone(num2, 255);
World.Instance.zoneRenderData.worldZoneTypes[num2] = SubWorld.ZoneType.Space;

as 255 is the sim zone type that enables space exposure

 

(I assume the "7" from the decompiled code here is an inlined

(int)SubWorld.ZoneType.Space

)

  • Thanks 1
  • Big Ups 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...