Syntax for granting subsystems in the starting fleets?

I’d like to give the mothership and the shipyards cap ship facilities to start with, but I can’t get the syntax right:

Here’s the file:


PersistantData = {
  StrikeGroups = {
  },
  Squadrons = {
    {
      type = "Hgn_MotherShip",
      subsystems = {name=“Hgn_MS_Production_CapShip”,progress=1,},
      shiphold = {
      },
      name = "",
      size = 1,
    },

    {
      type = "Hgn_Carrier",
      subsystems = {
      },
      shiphold = {
      },
      name = "",
      size = 1,
      number = 1, 
    },

    {
      type = "Hgn_Shipyard",
      subsystems = {Hgn_SY_Production_CapShip},
      shiphold = {
      },
      name = "",
      size = 1,
      number = 2, 
    },

     {
      type = "tai_gravwellgenerator",
      subsystems = {
      },
      shiphold = {
      },
      name = "",
      size = 1,
      number = 2, 
    },

--normal res= 44 55 71

    {
      type = "Hgn_ResourceCollector",
      subsystems = {
      },
      shiphold = {
      },
      name = "",
      size = 1,
      number = 6,
    },

 

  },
	Research = {
	},
}

I also tried everything else I can think of like, all caps, quotes, commas etc.

Anybody know how this has to be set up?

Thanks for the help!

got it! This one works:

 PersistantData = {
  StrikeGroups = {
  },
  Squadrons = {
    {
      type = "Hgn_MotherShip",
      subsystems = {
       {
          index = 0,
          name = "HGN_MS_PRODUCTION_CAPSHIP",
        },
},
      shiphold = {
      },
      name = "",
      size = 1,
    },

    {
      type = "Hgn_Carrier",
      subsystems = {
      },
      shiphold = {
      },
      name = "",
      size = 1,
      number = 1, 
    },

    {
      type = "Hgn_Shipyard",
      subsystems = {
       {
          index = 0,
          name = "HGN_SY_PRODUCTION_CAPSHIP",
        },
},
      shiphold = {
      },
      name = "",
      size = 1,
      number = 2, 
    },

     {
      type = "tai_gravwellgenerator",
      subsystems = {
      },
      shiphold = {
      },
      name = "",
      size = 1,
      number = 2, 
    },

--normal res= 44 55 71

    {
      type = "Hgn_ResourceCollector",
      subsystems = {
      },
      shiphold = {
      },
      name = "",
      size = 1,
      number = 6,
    },

 

  },
	Research = {
	},
}
2 Likes