Difference between revisions of "Talk:Storage"

From Space Engineers Wiki
Jump to: navigation, search
(add todo)
 
(Reply to User:Akuukis)
Line 4: Line 4:
 
* cockpits & passanger seat
 
* cockpits & passanger seat
 
* DLC blocks
 
* DLC blocks
 +
 +
----
 +
 +
As usual, everything in the game files is highly inconsistent.
 +
 +
I've found that blocks' [[Property:InventoryVolume|inventory volume]] are be determined in this order:
 +
 +
# If InventoryMaxVolume is defined, this is the blocks' inventory volume in {{m3}}. (Inventory volume would presumably be smaller if InventorySize/Size was smaller, but I haven't tested for that.)
 +
# Otherwise, it is InventorySize X &times; Y &times; Z &times; 2.5<sup>3</sup> or 0.5<sup>3</sup> {{m3}} for large/small CubeSize.
 +
# If InventorySize doesn't exist, but the block still has an inventory (cargo containers), it uses the block's own Size instead of InventorySize.
 +
 +
If the block has two inventories (refineries and assemblers), both have this size.
 +
 +
[[Template:Calculate_InventoryVolume]] follows this procedure.
 +
 +
--[[User:Vox Serico|Vox Serico]] ([[User talk:Vox Serico|talk]]) 15:49, 24 April 2020 (UTC)

Revision as of 15:49, 24 April 2020

User:Akuukis: Please help me to find those values, e.g. [1] doesn't have "InventoryMaxVolume". I also can't find them in source files for those blocks. TODO:

  • drill, welder & grinder
  • cockpits & passanger seat
  • DLC blocks

As usual, everything in the game files is highly inconsistent.

I've found that blocks' inventory volume are be determined in this order:

  1. If InventoryMaxVolume is defined, this is the blocks' inventory volume in m3. (Inventory volume would presumably be smaller if InventorySize/Size was smaller, but I haven't tested for that.)
  2. Otherwise, it is InventorySize X × Y × Z × 2.53 or 0.53 m3 for large/small CubeSize.
  3. If InventorySize doesn't exist, but the block still has an inventory (cargo containers), it uses the block's own Size instead of InventorySize.

If the block has two inventories (refineries and assemblers), both have this size.

Template:Calculate_InventoryVolume follows this procedure.

--Vox Serico (talk) 15:49, 24 April 2020 (UTC)