fezhub / DSP-Mods

Dyson Sphere Program Mods
GNU Lesser General Public License v2.1
43 stars 11 forks source link

Fixes the visual bugs #10

Closed daviscook477 closed 3 years ago

daviscook477 commented 3 years ago

Yeah turns out using a reverse patch pretty much does the trick. Just comparing the game's expected sorter poses with the copied positions to see which one matches the best. Has to do some trickery with keeping track of which slots in the building the cached sorters attached to in order to make sure they visually attach to the same place on the copied sorters.

So basically what it functionally does it copies the sorters and their associated slot in the building and then when it places/poses the sorter it ensures it ends up attached to the same slot in the new building.

fezhub commented 3 years ago

Just awesome