Jump to content

Reduce Turrets

Can't Reproduce 1.0.4

robfruin

How can I reduce or change the stats on the Turrets that spawn for this heavy event? I removed the spawn locations for 5 out of 10 of the turrets and this seems to have broken the entire plugin lol. 

Link to comment

You should be able to reduce it by removing spawn locations from the config file and reloading the plugin. If you're having problems when doing that, then that's something I can take a look at. Can you explain what happens exactly when you try to reduce it to 5 and reload the plugin? 

 

Also as a side note, these turrets are exactly the same as the other events. I believe there's more of them though and they are strategically placed so it definitely can feel that way. 

Link to comment

That sounds like the plugin didn't reload to pickup the new config changes with the reduced turret locations. Did you reload the plugin and get confirmation back that it reloaded successfully? Also please send me your config file so I can confirm there's no issue with that. 

The turrets are just standard turrets the same as a player would place in a buildable area. Nothing is modified with their damage output or aiming. 

 

 

Link to comment

{
  "_Which loot table should this plugin use? 0 - Default, 1 - Alpha Loot, 2 - Other(Magic Loot, Better Loot)": 0,
  "Allow turrets to be looted after they are disabled. (Each turret has an AK and full stacks of ammo)": false,
  "Allow turrets to be looted if they are destroyed": false,
  "Broadcast start message to players?": true,
  "Controls how many NPCs will have the note on death (max 4).": 1,
  "How long should the event go on for?(minutes)": 50,
  "If this is true auto turrets will target and kill NPCs as well as players in the event area.": true,
  "Maximum time between events(minutes):": 180,
  "Minimum number of players before event will start": 2,
  "Minimum time between events(minutes):": 60,
  "Npc Settings": [
    {
      "NpcConfig": {
        "Aim Cone Scale": 0.8,
        "Attack Range Multiplier": 2.5,
        "Belt items": [
          {
            "Ammo": "",
            "Amount": 1,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "ShortName": "smg.mp5",
            "SkinID (0 - default)": 0
          },
          {
            "Ammo": "",
            "Amount": 3,
            "Mods": [],
            "ShortName": "syringe.medical",
            "SkinID (0 - default)": 0
          },
          {
            "Ammo": "",
            "Amount": 2,
            "Mods": [],
            "ShortName": "grenade.f1",
            "SkinID (0 - default)": 0
          }
        ],
        "Chase Range": 100,
        "Detect the target only in the NPC's viewing vision cone? [true/false]": false,
        "Disable radio effects? [true/false]": true,
        "Health": 125,
        "Kit (it is recommended to use the previous 2 settings to improve performance)": "",
        "Name": "Mercenary",
        "Roam Range": 0,
        "Scale damage": 1.5,
        "Sense Range": 40,
        "Should these NPCs still deploy if the codelock for the turrets is not enabled? [true/false]": false,
        "Should this NPC be allowed to move? [true/false]": false,
        "Should this NPC roam when not in combat? [true/false]": false,
        "Speed": 7.5,
        "Target Memory Duration [sec.]": 60,
        "Vision Cone": 135,
        "Wear items": [
          {
            "ShortName": "hazmatsuit_scientist",
            "SkinID (0 - default)": 0
          }
        ]
      },
      "Spawn Locations": [
        {
          "x": 3.9,
          "y": -0.1,
          "z": 4.2
        },
        {
          "x": 1.8,
          "y": -0.2,
          "z": 3.2
        },
        {
          "x": 9.6,
          "y": -0.1,
          "z": 3
        },
        {
          "x": -19.8,
          "y": -0.1,
          "z": -3
        },
        {
          "x": 20.3,
          "y": -0.1,
          "z": -14.2
        },
        {
          "x": -16.9,
          "y": 0,
          "z": -22.6
        },
        {
          "x": 0.5,
          "y": 0,
          "z": -20.9
        },
        {
          "x": 15.4,
          "y": -0.2,
          "z": -1.2
        },
        {
          "x": 22.3,
          "y": -0.3,
          "z": -57.1
        },
        {
          "x": 18.3,
          "y": -0.3,
          "z": -56.6
        },
        {
          "x": 19.2,
          "y": -0.1,
          "z": -60.8
        },
        {
          "x": 22.3,
          "y": -0.2,
          "z": -61.4
        },
        {
          "x": -27.6,
          "y": -0.1,
          "z": -58.1
        },
        {
          "x": -27.2,
          "y": -0.1,
          "z": -55
        },
        {
          "x": -27.5,
          "y": -0.1,
          "z": -52.8
        },
        {
          "x": -29.6,
          "y": -0.1,
          "z": -53.4
        }
      ]
    },
    {
      "NpcConfig": {
        "Aim Cone Scale": 0.8,
        "Attack Range Multiplier": 2.5,
        "Belt items": [
          {
            "Ammo": "",
            "Amount": 1,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "ShortName": "lmg.m249",
            "SkinID (0 - default)": 0
          },
          {
            "Ammo": "",
            "Amount": 3,
            "Mods": [],
            "ShortName": "syringe.medical",
            "SkinID (0 - default)": 0
          },
          {
            "Ammo": "",
            "Amount": 2,
            "Mods": [],
            "ShortName": "grenade.f1",
            "SkinID (0 - default)": 0
          }
        ],
        "Chase Range": 100,
        "Detect the target only in the NPC's viewing vision cone? [true/false]": false,
        "Disable radio effects? [true/false]": true,
        "Health": 125,
        "Kit (it is recommended to use the previous 2 settings to improve performance)": "",
        "Name": "Mercenary",
        "Roam Range": 0,
        "Scale damage": 1.5,
        "Sense Range": 40,
        "Should these NPCs still deploy if the codelock for the turrets is not enabled? [true/false]": false,
        "Should this NPC be allowed to move? [true/false]": true,
        "Should this NPC roam when not in combat? [true/false]": false,
        "Speed": 7.5,
        "Target Memory Duration [sec.]": 60,
        "Vision Cone": 135,
        "Wear items": [
          {
            "ShortName": "scientistsuit_heavy",
            "SkinID (0 - default)": 0
          }
        ]
      },
      "Spawn Locations": [
        {
          "x": 8.5,
          "y": 6,
          "z": -5.7
        },
        {
          "x": -0.4,
          "y": 6,
          "z": -14.6
        },
        {
          "x": -8.5,
          "y": 6,
          "z": -13.5
        },
        {
          "x": -14.5,
          "y": 3,
          "z": -3.8
        },
        {
          "x": -14.4,
          "y": 3,
          "z": -14.6
        },
        {
          "x": -11.1,
          "y": 3,
          "z": -17.4
        }
      ]
    },
    {
      "NpcConfig": {
        "Aim Cone Scale": 0.8,
        "Attack Range Multiplier": 2.5,
        "Belt items": [
          {
            "Ammo": "",
            "Amount": 1,
            "Mods": [
              "weapon.mod.flashlight",
              "weapon.mod.holosight"
            ],
            "ShortName": "smg.mp5",
            "SkinID (0 - default)": 0
          },
          {
            "Ammo": "",
            "Amount": 3,
            "Mods": [],
            "ShortName": "syringe.medical",
            "SkinID (0 - default)": 0
          },
          {
            "Ammo": "",
            "Amount": 2,
            "Mods": [],
            "ShortName": "grenade.f1",
            "SkinID (0 - default)": 0
          }
        ],
        "Chase Range": 100,
        "Detect the target only in the NPC's viewing vision cone? [true/false]": false,
        "Disable radio effects? [true/false]": true,
        "Health": 125,
        "Kit (it is recommended to use the previous 2 settings to improve performance)": "",
        "Name": "Mercenary",
        "Roam Range": 0,
        "Scale damage": 1.5,
        "Sense Range": 40,
        "Should these NPCs still deploy if the codelock for the turrets is not enabled? [true/false]": true,
        "Should this NPC be allowed to move? [true/false]": false,
        "Should this NPC roam when not in combat? [true/false]": false,
        "Speed": 7.5,
        "Target Memory Duration [sec.]": 60,
        "Vision Cone": 135,
        "Wear items": [
          {
            "ShortName": "hazmatsuit_scientist",
            "SkinID (0 - default)": 0
          }
        ]
      },
      "Spawn Locations": [
        {
          "x": 68.5,
          "y": 0,
          "z": 59
        },
        {
          "x": 79.4,
          "y": -0.2,
          "z": 58.5
        },
        {
          "x": 83.1,
          "y": 6,
          "z": 70.7
        },
        {
          "x": 69.6,
          "y": 6,
          "z": 59.3
        },
        {
          "x": 69,
          "y": 6,
          "z": 53.3
        },
        {
          "x": 73.2,
          "y": 2.9,
          "z": 47.9
        },
        {
          "x": 70.3,
          "y": 3,
          "z": 36.4
        }
      ]
    }
  ],
  "Remove code lock & Note code Drop(turrets can only be destroyed)": false,
  "Should the event start automatically(false if you only want manually start with HwtStart command": true,
  "Skip event if players are already at the Water Treatment Plant?": true,
  "Start locations for AutoTurrets": [
    {
      "x": -13.1,
      "y": 4.5,
      "z": -6.6
    },
    {
      "x": 35.5,
      "y": 5.2,
      "z": 14.3
    },
    {
      "x": -39.6,
      "y": 4.5,
      "z": 26.7
    }
  ],
  "Start locations for Bradleys": [
    {
      "x": 19.4,
      "y": -0.1,
      "z": -6.1
    },
    {
      "x": -24.7,
      "y": -0.1,
      "z": -7.8
    }
  ],
  "Start locations for hackable Crates": [
    {
      "x": 1.8,
      "y": 0,
      "z": -3.5
    },
    {
      "x": 2.5,
      "y": 0,
      "z": -9.8
    },
    {
      "x": -4.7,
      "y": 6,
      "z": -2.2
    }
  ],
  "This is for special items you want added to the hackable crates outside of loot tables": [
    {
      "itemData": {
        "Random amount maximum:": 1,
        "Random amount minimum:": 5,
        "skin id for the item": 0,
        "The Item Id:": 0
      },
      "percentage chance for it to appear in a hackable crate (IE 30 = 30% chance)": 50
    }
  ]
}

Link to comment

I just replaced my config with yours and it works fine. I see just the 3 turrets you have listed. Make sure you have reloaded the plugin again so it will detect config changes. You can also try to delete the .cs file out and add it back in which forces a reload as well. 

Edited by Cahnu
Link to comment
1.4m

Downloads

Total number of downloads.

6.7k

Customers

Total customers served.

99.6k

Files Sold

Total number of files sold.

2m

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.