Jump to content

Barges not spawning

Pending 1.1.4

chrisfps
chrisfps

Posted

Hi,

I don't see any errors being prompted, but barges aren't auto-spawning. Below is in my config. I have ensured the data folder items have been added to my oxide server. Any solutions, rather than spawning using admin commands? I have customised the locations for my harbour and ferry terminal using client.printpos command in f1. 

 

{
  "Version": {
    "Major": 1,
    "Minor": 1,
    "Patch": 4
  },
  "Chat Prefix": "[Barges]",
  "Spawn Config": {
    "Turn on the spawn of barges on the map? [true/false]": true,
    "Maximum number of automatically spawned barges": 6,
    "Minimum time between the spawning of barges": 3600,
    "Maximum time between the spawning of barges": 43200,
    "Barge Preset - probability": {
      "rect_10x5": 5.0,
      "round_3": 5.0,
      "rect_5x5": 10.0,
      "rect_6x3": 10.0,
      "rect_3x3": 20.0,
      "rect_3x2": 20.0,
      "round_2": 20.0
    },
    "List of monuments for spawn": [
      {
        "The name of the monument": "assets/bundled/prefabs/autospawn/monument/harbor/harbor_1.prefab",
        "Turn on spawn on this monument? [true/false]": true,
        "Spawn Locations": [
          {
            "Position": "(-1642.55, -0.00,845.36)",
            "Rotation": "(0, 0, 0)"
          }
        ]
      },
      {
        "The name of the monument": "assets/bundled/prefabs/autospawn/monument/harbor/ferry_terminal_1.prefab",
        "Turn on spawn on this monument? [true/false]": true,
        "Spawn Locations": [
          {
            "Position": "(1651.16,0.00,234.67)",
            "Rotation": "(0, 0, 0)"
          }
        ]
      }
    ]
  },
  "Performance Config": {
    "Automatically apply the most optimized skins to buildings (It is not recommended to change!) [true/false]": true,
    "Allow grade building in Wood [true/false]": true,
    "Allow grade building in Metal [true/false]": true,
    "Allow grade building in Stone (It is not recommended to change it!) [true/false]": false,
    "Allow grade building in HQM (It is not recommended to change it!) [true/false]": false,
    "The number of building blocks updated per tick (It is not recommended to increase!)": 15,
    "Do not anchor the barge automatically if it is connected to another barge or tugboat (disable if there are a large number of barges on the server)": true,
    "The time after which the barge is automatically anchored after stopping [sec]": 300
  },
  "General Setting": {
    "The distance outside the grid on the map that a barge can travel (-1 is not limited)": 600.0,
    "Prohibit barges from approaching fishing villages [true/false]": true,
    "Items whose installation is prohibited on the barge": [
      "samsite"
    ],
    "Commands that are prohibited on the barge": [
      "home add",
      "sethome"
    ]
  },
  "Presets of towed barges": [
    {
      "Preset name": "rect_10x5",
      "Data file path": "rect_10x5",
      "The maximum number of floors (-1 is not limited)": 3,
      "Weight": 17000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 1.5,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "ramp_1",
          "Position": "(0, 0, 15.7)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "cabine_1",
          "Position": "(-5.326, 0, 15.93)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "connector_1",
          "Position": "(0, 0, -15.93)",
          "Rotation": "(0, 180, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-8.225, 1, 17)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-8.1, 0, 7)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(8.1, 0, 7)",
          "Rotation": "(0, 180, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-8.1, 0, -7)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(8.1, 0, -7)",
          "Rotation": "(0, 180, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358067991,
        "Name (empty - default)": "Barge"
      }
    },
    {
      "Preset name": "rect_5x5",
      "Data file path": "rect_5x5",
      "The maximum number of floors (-1 is not limited)": 4,
      "Weight": 9000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 1.0,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "connector_1",
          "Position": "(0, 0, 8.75)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-8.225, 1, 8.225)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-8.1, 0, 0)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(8.1, 0, 0)",
          "Rotation": "(0, 180, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358067724,
        "Name (empty - default)": "Barge"
      }
    },
    {
      "Preset name": "rect_6x3",
      "Data file path": "rect_6x3",
      "The maximum number of floors (-1 is not limited)": 4,
      "Weight": 6000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 1.0,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "cabine_1",
          "Position": "(-3, 0, 10.12)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "ramp_1",
          "Position": "(0, 0, -9.5)",
          "Rotation": "(0, 180, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-5.35, 1, 9.8)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(5.1, 0, 0)",
          "Rotation": "(0, 180, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-5.1, 0, 0)",
          "Rotation": "(0, 0, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358067847,
        "Name (empty - default)": "Barge"
      }
    },
    {
      "Preset name": "rect_3x3",
      "Data file path": "rect_3x3",
      "The maximum number of floors (-1 is not limited)": 4,
      "Weight": 3000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 1.0,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "connector_1",
          "Position": "(0, 0, 5.55)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-5.35, 1, 5.3)",
          "Rotation": "(0, 0, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358064514,
        "Name (empty - default)": "Barge"
      }
    },
    {
      "Preset name": "rect_3x2",
      "Data file path": "rect_3x2",
      "The maximum number of floors (-1 is not limited)": 3,
      "Weight": 2000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 0.5,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "cabine_1",
          "Position": "(0, 0, 5.2)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-3.5, 1, 5.3)",
          "Rotation": "(0, 0, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358106980,
        "Name (empty - default)": "Barge"
      }
    },
    {
      "Preset name": "round_2",
      "Data file path": "round_2",
      "The maximum number of floors (-1 is not limited)": 5,
      "Weight": 7000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 1.0,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "connector_1",
          "Position": "(0, 0, 6.2)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-3.6, 1, 6)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-5.105, 0, 2.924)",
          "Rotation": "(0, 30, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(5.105, 0, 2.924)",
          "Rotation": "(0, 150, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(5.105, 0, -2.924)",
          "Rotation": "(0, 210, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-5.105, 0, -2.924)",
          "Rotation": "(0, 330, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358068089,
        "Name (empty - default)": "Barge"
      }
    },
    {
      "Preset name": "round_3",
      "Data file path": "round_3",
      "The maximum number of floors (-1 is not limited)": 6,
      "Weight": 12000,
      "Engine (Cab must be installed)": {
        "Engine Power Multiplier": 1.0,
        "Fuel consumption multiplier": 1.0,
        "Turning speed Multiplier": 1.0
      },
      "Modules": [
        {
          "Turn it on? [true/false]": true,
          "Preset name": "connector_1",
          "Position": "(0, 0, 9)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "anchor_1",
          "Position": "(-4.5, 1, 8.5)",
          "Rotation": "(0, 0, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-7.444, 0, -4.106)",
          "Rotation": "(0, 330, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(-7.315, 0, 4.248)",
          "Rotation": "(0, 30, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(7.376, 0, 4.186)",
          "Rotation": "(0, 150, 0)"
        },
        {
          "Turn it on? [true/false]": true,
          "Preset name": "dock_1",
          "Position": "(7.32, 0, -4.25)",
          "Rotation": "(0, 210, 0)"
        }
      ],
      "A flare for calling a barge": {
        "ShortName": "flare",
        "SkinID (0 - default)": 3358068268,
        "Name (empty - default)": "Barge"
      }
    }
  ],
  "Notification Settings": {
    "Chat Message setting": {
      "Use chat notifications? [true/false]": true
    },
    "Facepunch Game Tips setting": {
      "Use Facepunch Game Tips (notification bar above hotbar)? [true/false]": true,
      "Style (0 - Blue Normal, 1 - Red Normal, 2 - Blue Long, 3 - Blue Short, 4 - Server Event)": 1
    },
    "GUI Announcements setting (only for GUIAnnouncements plugin)": {
      "Do you use GUI Announcements integration? [true/false]": false,
      "Banner color": "Grey",
      "Text color": "White",
      "Adjust Vertical Position": 0.03
    },
    "Notify setting (only for Notify plugin)": {
      "Do you use Notify integration? [true/false]": false,
      "Type": 0
    },
    "Discord setting (only for DiscordMessages plugin)": {
      "Do you use DiscordMessages? [true/false]": false,
      "Webhook URL"",
      "Embed Color (DECIMAL)": 13516583,
      "Keys of required messages": []
    },
    "Redefined messages": [
      {
        "Enable this message? [true/false]": true,
        "Lang Key": "GotBarge",
        "Chat Message setting": {
          "Use chat notifications? [true/false]": false
        },
        "Facepunch Game Tips setting": {
          "Use Facepunch Game Tips (notification bar above hotbar)? [true/false]": true,
          "Style (0 - Blue Normal, 1 - Red Normal, 2 - Blue Long, 3 - Blue Short, 4 - Server Event)": 2
        },
        "GUI Announcements setting (only for GUIAnnouncements plugin)": {
          "Do you use GUI Announcements integration? [true/false]": false,
          "Banner color": "Grey",
          "Text color": "White",
          "Adjust Vertical Position": 0.03
        },
        "Notify setting (only for Notify plugin)": {
          "Do you use Notify integration? [true/false]": false,
          "Type": 0
        }
      }
    ]
  },
  "Map marker for unoccupied barges": {
    "Use a vending marker? [true/false]": true,
    "Use a circular marker? [true/false]": true,
    "The marker will only appear on barges that were spawned automatically? [true/false]": true,
    "Display Name": "Unoccupied Barge",
    "Radius": 0.2,
    "Alpha": 0.6,
    "Marker color": {
      "r": 0.2,
      "g": 0.8,
      "b": 0.1
    },
    "Outline color": {
      "r": 0.0,
      "g": 0.0,
      "b": 0.0
    }
  }
}

 

Adem

Posted

"Maximum number of automatically spawned barges": 6,
Hi. This may be the reason.

Adem

Posted

The number of spawned barges could exceed this limit.

chrisfps

Posted

Do you have a suitable recommendation? 

Adem

Posted

Increase this value by 2 times and check if the barges spawn

.

chrisfps

Posted

I have adjusted to 12. Just awaiting for barges to spawn.

Do i have to customise the "Position": "(100, 0, 145)", to reflect the habour locations and ferry terminal on map? 

1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.1k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.