sumghai / FusTek_StationParts

Parts Pack for Kerbal Space Program, featuring ISS-inspired habitation, science lab and other crew compartments for building space stations and planetary outposts.
Other
21 stars 8 forks source link

Basic Kerbal Inventory System (KIS) support #62

Open sumghai opened 9 years ago

sumghai commented 9 years ago

Inventory capacities for selected FusTek station modules

EVA retrofit of Node Covers / Docking Ports on Karmony Node modules (#59)

sumghai commented 9 years ago

After consulting the KIS changelog, I have determined that the volumes are measured in litres (L).

I've also determined that a standard internal locker has internal dimensions of 170 x 230 x 300 mm, giving a usable volume of 11.73 L (≈12 L)

I should now be able to adjust maxVolume and slotSize accordingly.

sumghai commented 9 years ago

Okay, just added a rudimentary implementation of KIS-powered retrofitting of Node Covers and 1.25m IACBM docking ports to Node module side recesses - this will most likely need lots of tweaking to work properly.

sumghai commented 9 years ago

User Space_Coyote claims that the slot size of 12 litres (calculated based on the actual physical internal volume of the locker props) is too small.

I'm temporarily bumping it up to 15 as a quick fix, but I suspect I will need to ask @KospY what slot size would be best for restricting the inventory to only hold small hand tools.

sumghai commented 9 years ago

As it turns out, slotSize represents the width & height (in px) of the GUI element representing each inventory slot. I suspect this was what Space_Coyote was actually talking about

I've changed it to the KIS default of 50, and so hopefully this'll fix it.

sumghai commented 9 years ago

goldenpsp has noted in the KIS thread that inventory slots are not segregated by volume, so there's not much point trying to implement that sort of restriction in FusTek.

Awaiting further feedback on how well the KIS patch performs in general.