Starbound

Starbound

Advanced Logistics Frigate
Aikiro42 9 月 20 日 上午 7:35
Missing Metal Railings and Ship Lights Fix
To anyone having a problem with the metal railings and ship lights not appearing in the ship, I found an incompatibility with the Starbound Patch Project.

SBPP patches the 24th block key in blockKey.config by changing its 'backgroundBlock' property to "false". This was intended to be a fix for the vanilla captain chairs, but with this mod, SBPP affects the block key for the metal railings:

// Starbound Patch Project: /ships/<race>/blockKey.config.patch //[0, 255, 255, 255] n | humancaptainschair [ { "op" : "test", "path" : "/blockKey/24/backgroundBlock", "value" : true }, { "op" : "replace", "path" : "/blockKey/24/backgroundBlock", "value" : false } ]

To fix this, the block key for the captain's chair should be moved specifically to the 24th index. You can make the fix yourself by unpacking the mod, opening the blockkey.config of your chosen race, and moving the entry

{ "value" : [0, 255, 255, 255], "foregroundBlock" : false, "backgroundBlock" : true, "object" : "humancaptainschair", "objectDirection" : "right", "objectParameters" : { "unbreakable" : true } },

to the space between the following two entries:

{ "value" : [255, 117, 144], "foregroundBlock" : false, "backgroundBlock" : true, "backgroundMat" : "apexshipdetails" }, // block key for captain's chair goes here { "value" : [255, 255, 220], "foregroundBlock" : true, "backgroundBlock" : false, "foregroundMat" : "hazard", "foregroundResidual" : true },

I love this mod, so the lack of ship lights has been bugging me for a while now. I feel happy to have found a fix!