Beta Branch
Changes:
Fixed fix chinook not flying away after dropping off the guards.
Fixed npcs no roaming back to point when a target is lost.

Added NpcSpawn for better npc control.
Added ability to uuse the event at more monuments.
Added offset for roam position to prevent guards going inside bradley as much.
Added option to toggle gametip and chat notifications on and off.
Added better handling of flame damage to npcs.

Note:
Please make sure to read the update notes.

Example Lang:
{
  "EventStart": "Bradley reinforcements incoming at <color=#ffac70>{0}</color>.",
  "EventEnd": "Bradley reinforcements eliminated at <color=#ffac70>{0}</color>."
}


Example Config:
{
  "enable toast message": true,
  "enable chat message": false,
  "custom chat message icon (steam64)": 0,
  "enable auto unlock crates when guards are eliminated": true,
  "enable auto extingish crates when guards are eliminated": true,
  "bradley starting health": 1000.0,
  "crate spawn amount": 4
}​


Example Data:
{
  "BradleyEventEntries": {
    "assets/bundled/prefabs/autospawn/monument/xlarge/launch_site_1.prefab": {
      "display name": "Launch Site",
      "enabled": true,
      "bounds center": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "bounds size": {
        "x": 580.0,
        "y": 280.0,
        "z": 300.0
      },
      "landing position": {
        "x": 162.3,
        "y": 3.0,
        "z": 7.4
      },
      "landing rotation": {
        "x": 0.0,
        "y": 90.0,
        "z": 0.0
      },
      "chinook position": {
        "x": -195.0,
        "y": 150.0,
        "z": 25.0
      },
      "guard spawn amount": 10,
      "guard spawn profile": {
        "Name": "Bradley Guard",
        "Kit": "",
        "Health": 300.0,
        "RoamRange": 10.0,
        "ChaseRange": 25.0,
        "DamageScale": 1.0,
        "TurretDamageScale": 0.25,
        "AimConeScale": 1.0,
        "DisableRadio": true,
        "CanRunAwayWater": false,
        "Speed": 7.0,
        "AreaMask": 1,
        "AgentTypeID": -1372625422,
        "HomePosition": null,
        "States": [
          "RoamState",
          "ChaseState",
          "CombatState",
          "CombatStationaryState"
        ],
        "Sensory": {
          "AttackRangeMultiplier": 3.0,
          "SenseRange": 150.0,
          "MemoryDuration": 40.0,
          "CheckVisionCone": false,
          "VisionCone": 135.0
        },
        "WearItems": [
          {
            "ShortName": "hazmatsuit_scientist_peacekeeper",
            "SkinID": 0
          }
        ],
        "BeltItems": [
          {
            "ShortName": "rifle.ak",
            "Amount": 1,
            "SkinID": 0,
            "Ammo": null,
            "Mods": []
          },
          {
            "ShortName": "syringe.medical",
            "Amount": 10,
            "SkinID": 0,
            "Ammo": null,
            "Mods": []
          }
        ]
      }
    },
    "assets/bundled/prefabs/autospawn/monument/large/airfield_1.prefab": {
      "display name": "Airfield",
      "enabled": false,
      "bounds center": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "bounds size": {
        "x": 340.0,
        "y": 260.0,
        "z": 300.0
      },
      "landing position": {
        "x": 0.0,
        "y": 0.0,
        "z": -28.0
      },
      "landing rotation": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "chinook position": {
        "x": -195.0,
        "y": 150.0,
        "z": 25.0
      },
      "guard spawn amount": 10,
      "guard spawn profile": {
        "Name": "Bradley Guard",
        "Kit": "",
        "Health": 300.0,
        "RoamRange": 20.0,
        "ChaseRange": 35.0,
        "DamageScale": 1.0,
        "TurretDamageScale": 0.25,
        "AimConeScale": 1.0,
        "DisableRadio": true,
        "CanRunAwayWater": false,
        "Speed": 7.0,
        "AreaMask": 1,
        "AgentTypeID": -1372625422,
        "HomePosition": null,
        "States": [
          "RoamState",
          "ChaseState",
          "CombatState",
          "CombatStationaryState"
        ],
        "Sensory": {
          "AttackRangeMultiplier": 3.0,
          "SenseRange": 150.0,
          "MemoryDuration": 40.0,
          "CheckVisionCone": false,
          "VisionCone": 135.0
        },
        "WearItems": [
          {
            "ShortName": "hazmatsuit_scientist_peacekeeper",
            "SkinID": 0
          }
        ],
        "BeltItems": [
          {
            "ShortName": "rifle.ak",
            "Amount": 1,
            "SkinID": 0,
            "Ammo": null,
            "Mods": []
          },
          {
            "ShortName": "rifle.bolt",
            "Amount": 1,
            "SkinID": 0,
            "Ammo": null,
            "Mods": []
          },
          {
            "ShortName": "syringe.medical",
            "Amount": 10,
            "SkinID": 0,
            "Ammo": null,
            "Mods": []
          }
        ]
      }
    }
  }
}​
Hi Bazz3l,

with the new update of the Npc Spawn Plugin by Adem and co - this version no longer works as it should.
Can you adapt your plugin to it?
THX

After using the beta branch version the guards don't attack players at all. I deleted all the old files before downloading the beta version and everything seems to work besides the fact that the guards wont shoot a single bullet at me when I attack them.

BoundlessZeus

After using the beta branch version the guards don't attack players at all. I deleted all the old files before downloading the beta version and everything seems to work besides the fact that the guards wont shoot a single bullet at me when I attack them.

as I already wrote, the beta branch version has to be updated.
Bazz3l also uses that
NPC Spawn Plugin by KpucTaJl. This has changed!
Bazz3l must
now the beta branch version,
adapt to the change in the NPC spawn plugin.