Modding Help Help with Dungeon Spawning (Solved)

Discussion in 'Starbound Modding' started by Humorous Husky, Jan 26, 2021.

  1. Humorous Husky

    Humorous Husky Void-Bound Voyager

    So I've been trying to get a village like dungeon to spawn using the /placedungeon command. The dungeon is currently made up of 4 separate tiled maps, but when I spawn it only one random part appears. I've looked at multiple guides and tried copying one of the vanilla dungeons, but nothing I've tried has worked. If someone could help me out or link a tutorial that would be great. Here is the current .dungeon file and tiled maps:
    Code:
    {
      "metadata" : {
        "name" : "lombaxrogueoutpost",
        "species" : "lombax_striped",
        "rules" : [
        ],
        "anchor" : [ "outposttowerleft", "outposttowerright" ],
        "gravity" : 80,
        "maxRadius" : 1000000,
        "maxParts" : 4,
        "extendSurfaceFreeSpace" : 100,
        "protected" : true
      },
    
      "parts" : [
        {
          "name" : "outpostbarracks1",
          "rules" : [
            [ "maxSpawnCount", [1] ],
            [ "doNotConnectToPart", [ "outpostbarracks1" ] ]
          ],
          "def" : [ "tmx", "outpostbarracks1.json" ]
        },
        {
          "name" : "outpostcommand1",
          "rules" : [
            [ "maxSpawnCount", [1] ],
            [ "doNotConnectToPart", [ "outpostcommand1" ] ]
          ],
          "def" : [ "tmx", "outpostcommand1.json" ]
        },
        {
          "name" : "outposttowerleft",
          "rules" : [
            [ "maxSpawnCount", [1] ],
            [ "ignorePartMaximumRule" ],
            [ "doNotConnectToPart", [ "outposttowerleft" ] ]
          ],
          "def" : [ "tmx", "outposttowerleft.json" ],
          "chance" : 0
        },
        {
          "name" : "outposttowerright",
          "rules" : [
            [ "maxSpawnCount", [1] ],
            [ "ignorePartMaximumRule" ],
            [ "doNotConnectToPart", [ "outposttowerright" ] ]
          ],
          "def" : [ "tmx", "outposttowerright.json" ],
          "chance" : 0
        }
      ]
    }
    
    upload_2021-1-25_20-30-17.png
    upload_2021-1-25_20-30-39.png
    upload_2021-1-25_20-31-11.png
     
  2. Humorous Husky

    Humorous Husky Void-Bound Voyager

    Well after many hours of experimenting I managed to figure it out - I needed to move the connectors over farther toward the edge of the map. Things are working fine now.
     

Share This Page