Freighter Inventory Code for save: Whats wrong? Displays 0 slots:

No Man’s Sky Mods Forums Modding Talk Freighter Inventory Code for save: Whats wrong? Displays 0 slots:

Viewing 1 reply thread
  • Author
    Posts
    • #172100
      Zunkey
      Participant

       

      <style type="text/css">.fctbNone{ color:#000000; }
      .fctbStyle0{ color:#a52a2a;font-style:oblique; }
      .fctbStyle3{ color:#0000ff; }
      .fctbStyle0Style2{ color:#a52a2a;font-style:oblique; }
      .fctbStyle2{ color:#ff00ff; }
      </style>
      
      _________________________________________________________________________________________________________________
          "CurrentFreighter": {
            "Filename": "MODELS/COMMON/SPACECRAFT/INDUSTRIAL/CAPITALFREIGHTER_PROC.SCENE.MBIN",
            "Seed": [
              true,
              "0x7726E130BE81D6FF"
            ],
            "AltId": "",
            "ProceduralTexture": {
              "Samplers": []
            }
          },
          "FreighterLayout": {
            "Slots": 48,
            "Seed": [
              true,
              "0xDB7004BBF980ADCB"
            ],
            "Level": 1
          },
          "FreighterInventory": {
            "Slots": [
              {
                "Type": {
                  "InventoryType": "Substance"
                },
                "Id": "^SUBSHIP",
                "Amount": 356,
                "MaxAmount": 1000,
                "DamageFactor": 0.0,
                "Index": {
                  "X": 0,
                  "Y": 0
                }
              },
              {
                "Type": {
                  "InventoryType": "Product"
                },
                "Id": "^ALLOY4",
                "Amount": 2,
                "MaxAmount": 10,
                "DamageFactor": 0.0,
                "Index": {
                  "X": 1,
                  "Y": 0
                }
              },
              {
                "Type": {
                  "InventoryType": "Product"
                },
                "Id": "^COMMODITY5",
                "Amount": 1,
                "MaxAmount": 10,
                "DamageFactor": 0.0,
                "Index": {
                  "X": 3,
                  "Y": 0
                }
              }
            ],
            "ValidSlotIndices": [
              {
                "X": 0,
                "Y": 0
              },
              {
                "X": 1,
                "Y": 0
              },
              {
                "X": 2,
                "Y": 0
              },
              {
                "X": 3,
                "Y": 0
              },
              {
                "X": 4,
                "Y": 0
              },
              {
                "X": 5,
                "Y": 0
              },
              {
                "X": 6,
                "Y": 0
              },
              {
                "X": 7,
                "Y": 0
              },
              {
                "X": 0,
                "Y": 1
              },
              {
                "X": 1,
                "Y": 1
              },
              {
                "X": 2,
                "Y": 1
              },
              {
                "X": 3,
                "Y": 1
              },
              {
                "X": 4,
                "Y": 1
              },
              {
                "X": 5,
                "Y": 1
              },
              {
                "X": 6,
                "Y": 1
              },
              {
                "X": 7,
                "Y": 1
              },
              {
                "X": 0,
                "Y": 2
              },
              {
                "X": 1,
                "Y": 2
              },
              {
                "X": 2,
                "Y": 2
              },
              {
                "X": 3,
                "Y": 2
              },
              {
                "X": 4,
                "Y": 2
              },
              {
                "X": 5,
                "Y": 2
              },
              {
                "X": 6,
                "Y": 2
              },
              {
                "X": 7,
                "Y": 2
              },
              {
                "X": 0,
                "Y": 3
              },
              {
                "X": 1,
                "Y": 3
              },
              {
                "X": 2,
                "Y": 3
              },
              {
                "X": 3,
                "Y": 3
              },
              {
                "X": 4,
                "Y": 3
              },
              {
                "X": 5,
                "Y": 3
              },
              {
                "X": 6,
                "Y": 3
              },
              {
                "X": 7,
                "Y": 3
              },
              {
                "X": 0,
                "Y": 4
              },
              {
                "X": 1,
                "Y": 4
              },
              {
                "X": 2,
                "Y": 4
              },
              {
                "X": 3,
                "Y": 4
              },
              {
                "X": 4,
                "Y": 4
              },
              {
                "X": 5,
                "Y": 4
              },
              {
                "X": 6,
                "Y": 4
              },
              {
                "X": 7,
                "Y": 4
              },
              {
                "X": 0,
                "Y": 5
              },
              {
                "X": 1,
                "Y": 5
              },
              {
                "X": 2,
                "Y": 5
              },
              {
                "X": 3,
                "Y": 5
              },
              {
                "X": 4,
                "Y": 5
              },
              {
                "X": 5,
                "Y": 5
              },
              {
                "X": 6,
                "Y": 5
              },
              {
                "X": 7,
                "Y": 5
              }
            ],
            "Class": {
            "InventoryClass": "C"
            },
            "SubstanceMaxStorageMultiplier": 4,
            "ProductMaxStorageMultiplier": 10,
            "BaseStatValues": [
              {
                "BaseStatID": "^SHIP_DAMAGE",
                "Value": 0.0
              },
              {
                "BaseStatID": "^SHIP_SHIELD",
                "Value": 0.0
              },
              {
                "BaseStatID": "^SHIP_HYPERDRIVE",
                "Value": 13.987568855285645
              }
            ],
            "SpecialSlots": [],
            "Width": 8,
            "Height": 6,
            "IsCool": false,
            "Version": 1
          },
          "FreighterUniverseAddress": {
            "RealityIndex": 0,
            "GalacticAddress": {
              "VoxelX": 1266,
              "VoxelY": 1,
              "VoxelZ": 1022,
              "SolarSystemIndex": 221,
              "PlanetIndex": 0
            }
          },
      
      No idea why, I have been trying different things for the last 2 days. I really wanna make my freighter 48 slots. It just displays 2x2 slots and says there is 0.
    • #172465
      devrossik43
      Participant

      The “Slots” value under “FreighterLayout” does not define the number of inventory slots.  I don’t know exactly what it does, but in my save, it has a value of “10”.  I suggest you try that.  I’m a little concerned about the “Seed” value in that section, too.  The one above under “CurrentFreighter” is the seed for the ship.  I don’t know what that second one does.  Did you set that?  Did it come with the ship?  Mine is set to “0x1”, you might try that.

          "CurrentFreighter": {
            "Filename": "MODELS/COMMON/SPACECRAFT/INDUSTRIAL/CAPITALFREIGHTER_PROC.SCENE.MBIN",
            "Seed": [
              true,
              "0x7726E130BE81D6FF"
            ],
            "AltId": "",
            "ProceduralTexture": {
              "Samplers": []
            }
          },
          "FreighterLayout": {
            "Slots": 48,                 <<< change to 10
            "Seed": [
              true,
              "0xDB7004BBF980ADCB"       <<< I'm concerned about this, mine is set to 0x1
            ],
            "Level": 1
          },

      The actual number of inventory slots is set by two things.  Both of them look correct to me:

            "SpecialSlots": [],
            "Width": 8,                  <<< These values define the potential slot grid.
            "Height": 6,                 <<< Thus, 8 x 6 = 48 potential slots.
            "IsCool": false,
            "Version": 1

       

            "ValidSlotIndices": [        <<< This section defines the active slots, so there should be 48 entries here.
              {
                "X": 0,
                "Y": 0
              },
      

       

Viewing 1 reply thread
  • You must be logged in to reply to this topic.