Jump to content

Can't get Air Convoy to run properly

Pending 1.0.0

Covfefe
Covfefe

Posted

It never shows back up again. I have to manually /airconvoy start

Quote


  "Time between events (minutes; set to -1 to disable scheduled events)": 5,
  "Event duration (minutes)": 60,
  "Patrol Helicopter count (0 - 4)": 0,
  "Custom chat prefix": ""
}

 

The_Kiiiing

Posted

Unfortunately I am unable to reproduce your problem on my test server. Are you getting any errors in the console when the event is over?

Covfefe

Posted

On 3/20/2025 at 10:58 AM, The_Kiiiing said:

Unfortunately I am unable to reproduce your problem on my test server. Are you getting any errors in the console when the event is over?

{
  "Patrol Helicopter options": {
    "Health multiplier": 1.0,
    "Crate count": 2,
    "Turret range": 80.0,
    "Time between homing missiles (seconds)": 5,
    "Time after which a player is not considered hostile anymore (seconds)": 60
  },
  "Pilot NPC configuration": {
    "name": "Air Convoy Pilot",
    "health": 100.0,
    "enableRadio": true,
    "roamRange": 10.0,
    "chaseRange": 20.0,
    "senseRange": 50.0,
    "visionCone": 135.0,
    "damageScale": 1.0,
    "memoryDuration": 60.0,
    "removeCorpseAfterDeath": false,
    "kit": "",
    "Clothing items": [
      {
        "shortName": "hazmatsuit_scientist",
        "amount": 1,
        "skinId": 0
      }
    ],
    "Belt items": [
      {
        "shortName": "pistol.prototype17",
        "amount": 1,
        "skinId": 0
      }
    ],
    "lootTable": {
      "Enabled": false,
      "Item list": [
        {
          "Short name": "scrap",
          "Min amount": 10,
          "Max amount": 20,
          "Chance (1 = 100%)": 1.0,
          "Skin id": 0,
          "Custom name": ""
        }
      ]
    }
  },
  "Soldier NPC configuration": {
    "name": "Air Convoy Soldier",
    "health": 200.0,
    "enableRadio": true,
    "roamRange": 40.0,
    "chaseRange": 40.0,
    "senseRange": 50.0,
    "visionCone": 135.0,
    "damageScale": 1.0,
    "memoryDuration": 60.0,
    "removeCorpseAfterDeath": false,
    "kit": "",
    "Clothing items": [
      {
        "shortName": "scientistsuit_heavy",
        "amount": 1,
        "skinId": 0
      }
    ],
    "Belt items": [
      {
        "shortName": "lmg.m249",
        "amount": 1,
        "skinId": 0
      }
    ],
    "lootTable": {
      "Enabled": false,
      "Item list": [
        {
          "Short name": "scrap",
          "Min amount": 10,
          "Max amount": 20,
          "Chance (1 = 100%)": 1.0,
          "Skin id": 0,
          "Custom name": ""
        }
      ]
    }
  },
  "Container Loot Configuration (Max. 6 Crates)": [
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Normal Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Military Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Locked Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Elite Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Ammo Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Normal Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    }
  ],
  "Time between events (minutes; set to -1 to disable scheduled events)": 10,
  "Event duration (minutes)": 60,
  "Patrol Helicopter count (0 - 4)": 4,
  "Ignored monuments": [
    "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_a.prefab",
    "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_b.prefab",
    "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_c.prefab",
    "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab",
    "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab"
  ],
  "Custom chat prefix": null,
  "Anti-Air Rocket loot options": {
    "Spawn anti-air rockets in loot": false,
    "Crates": {
      "crate_elite": {
        "Min item amount": 1,
        "Max item amount": 2,
        "Item spawn chance (1 = 100%)": 0.4
      },
      "bradley_crate": {
        "Min item amount": 1,
        "Max item amount": 3,
        "Item spawn chance (1 = 100%)": 0.8
      }
    }
  }
}

Still can't get the air convoy to restart after it finishes it's event. Is my config ok?

The_Kiiiing

Posted

1 hour ago, Covfefe said:
{
  "Patrol Helicopter options": {
    "Health multiplier": 1.0,
    "Crate count": 2,
    "Turret range": 80.0,
    "Time between homing missiles (seconds)": 5,
    "Time after which a player is not considered hostile anymore (seconds)": 60
  },
  "Pilot NPC configuration": {
    "name": "Air Convoy Pilot",
    "health": 100.0,
    "enableRadio": true,
    "roamRange": 10.0,
    "chaseRange": 20.0,
    "senseRange": 50.0,
    "visionCone": 135.0,
    "damageScale": 1.0,
    "memoryDuration": 60.0,
    "removeCorpseAfterDeath": false,
    "kit": "",
    "Clothing items": [
      {
        "shortName": "hazmatsuit_scientist",
        "amount": 1,
        "skinId": 0
      }
    ],
    "Belt items": [
      {
        "shortName": "pistol.prototype17",
        "amount": 1,
        "skinId": 0
      }
    ],
    "lootTable": {
      "Enabled": false,
      "Item list": [
        {
          "Short name": "scrap",
          "Min amount": 10,
          "Max amount": 20,
          "Chance (1 = 100%)": 1.0,
          "Skin id": 0,
          "Custom name": ""
        }
      ]
    }
  },
  "Soldier NPC configuration": {
    "name": "Air Convoy Soldier",
    "health": 200.0,
    "enableRadio": true,
    "roamRange": 40.0,
    "chaseRange": 40.0,
    "senseRange": 50.0,
    "visionCone": 135.0,
    "damageScale": 1.0,
    "memoryDuration": 60.0,
    "removeCorpseAfterDeath": false,
    "kit": "",
    "Clothing items": [
      {
        "shortName": "scientistsuit_heavy",
        "amount": 1,
        "skinId": 0
      }
    ],
    "Belt items": [
      {
        "shortName": "lmg.m249",
        "amount": 1,
        "skinId": 0
      }
    ],
    "lootTable": {
      "Enabled": false,
      "Item list": [
        {
          "Short name": "scrap",
          "Min amount": 10,
          "Max amount": 20,
          "Chance (1 = 100%)": 1.0,
          "Skin id": 0,
          "Custom name": ""
        }
      ]
    }
  },
  "Container Loot Configuration (Max. 6 Crates)": [
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Normal Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Military Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Locked Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Elite Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Ammo Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    },
    {
      "Crate prefab": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "Loot preset name (requires Loottable plugin)": "Container Normal Crate",
      "Custom loot table": {
        "Enabled": false,
        "Item list": [
          {
            "Short name": "scrap",
            "Min amount": 10,
            "Max amount": 20,
            "Chance (1 = 100%)": 1.0,
            "Skin id": 0,
            "Custom name": ""
          }
        ]
      }
    }
  ],
  "Time between events (minutes; set to -1 to disable scheduled events)": 10,
  "Event duration (minutes)": 60,
  "Patrol Helicopter count (0 - 4)": 4,
  "Ignored monuments": [
    "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_a.prefab",
    "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_b.prefab",
    "assets/bundled/prefabs/autospawn/monument/fishing_village/fishing_village_c.prefab",
    "assets/bundled/prefabs/autospawn/monument/medium/bandit_town.prefab",
    "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab"
  ],
  "Custom chat prefix": null,
  "Anti-Air Rocket loot options": {
    "Spawn anti-air rockets in loot": false,
    "Crates": {
      "crate_elite": {
        "Min item amount": 1,
        "Max item amount": 2,
        "Item spawn chance (1 = 100%)": 0.4
      },
      "bradley_crate": {
        "Min item amount": 1,
        "Max item amount": 3,
        "Item spawn chance (1 = 100%)": 0.8
      }
    }
  }
}

Still can't get the air convoy to restart after it finishes it's event. Is my config ok?

Is this the same config that you already sent above?

Because I already tested this one.

Covfefe

Posted

almost, you think maybe it's all the locked crates?

The_Kiiiing

Posted

I don't think the crates are causing this problem. There is probably an error somewhere that prevents a new timer from starting after the event has finished. Please check your logs, an error message would be extremely helpful.

1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

120k

Files Sold

Total number of files sold.

2.5m

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.