Jump to content

Cooldown not working

No Response 1.4.1

SlayersRust

Posted

For some reason my cooldown set in my config is not working for any of the Bradleys? As long as the players have the correct amount of RP they can still call.

Here is my configuration.

{
  "Displayname for Economisc": "Eco",
  "Displayname for ServerRewards": "RP",
  "Displayname for BankSystem": "CR",
  "Seller NPC": {
    "Seller name": "Bradley Seller",
    "Description in Shop": "Buy Tanks with RP to Fight!",
    "Local Position at Launchsite": {
      "x": 263.8,
      "y": 3.5,
      "z": 56.5
    },
    "Rotation": 0.8,
    "Clothing": [
      {
        "Shortname": "hoodie",
        "SkinID": 1362361447
      },
      {
        "Shortname": "pants",
        "SkinID": 1320611965
      },
      {
        "Shortname": "mask.balaclava",
        "SkinID": 1362511189
      },
      {
        "Shortname": "shoes.boots",
        "SkinID": 1132775378
      },
      {
        "Shortname": "burlap.gloves",
        "SkinID": 1438131479
      }
    ],
    "Tiers to sell": [
      {
        "DisplayName": "Vanilla Bradley",
        "Saleitem Image URL": "https://i.ibb.co/z6mr2kx/tanc01.png",
        "Description": "Always Moving Vanilla Bradley",
        "Permission": "",
        "ServerRewards costs": 100000,
        "BankSystem costs": 0,
        "Economics costs": 0.0,
        "Item displayname to pay with": "",
        "ItemID to pay with": 0,
        "Item costs": 0,
        "Profilename": "easy"
      },
      {
        "DisplayName": "Hardmode Destroyer Bradley",
        "Saleitem Image URL": "https://i.ibb.co/kcnMbPk/tanc02.png",
        "Description": "Always moving Bradley with Heat-Vision, Homing Rockets and way better Loot!",
        "Permission": "",
        "ServerRewards costs": 175000,
        "BankSystem costs": 0,
        "Economics costs": 0.0,
        "Item displayname to pay with": "",
        "ItemID to pay with": 0,
        "Item costs": 0,
        "Profilename": "normal"
      }
    ]
  },
  "Broadcast spawns": true,
  "Use Countdown Sound": false,
  "UI Settings": {
    "Display countdown on spawn": true,
    "Countdown in seconds": 60.0,
    "Countdown AnchorMin": "0 0.7694442",
    "Countdown AnchorMax": "1 0.8249997",
    "Timer AnchorMin": "0.3445 0.1435",
    "Timer AnchorMax": "0.49 0.167"
  }
}

And here is my profile Data File:

[
  {
    "Base": {
      "Profile name": "easy",
      "Display name in chat": "Vanilla Bradley",
      "Cooldown": 3600.0,
      "Cooldown modifier if failed to kill": 0.5,
      "Time to kill": 1800.0,
      "Time to loot after kill": 300.0,
      "HP": 1000.0,
      "Recieved Damage modifier": 1.0,
      "Accuracy": 1.0,
      "Lock for players Team": true,
      "Allow players with cooldown to damage bradley": false,
      "Destroy flame balls": true
    },
    "Behavior": {
      "Lock the door at entrance Control point": true,
      "Prevent Bradley from hunting Players": false,
      "Heat vision(ignore walls/buildings on targeting)": false
    },
    "Machinegun": {
      "Max. distance machine gun should shoot": 120.0,
      "Machinegun shots per burst": 10,
      "Delay between machinegun bursts": 1.0,
      "Delay between each shot in burst": 0.06667,
      "Bullet damage": 15.0
    },
    "Cannon": {
      "View distance": 120.0,
      "Can use basic rockets": false,
      "Rocket speed modifier": 1.0,
      "Delay between rocket bursts": 5.0,
      "Delay between each rocket in burst": 0.25,
      "Rockets amount per burst": 4,
      "Chance to launch homing missiles": 0.0,
      "Lock to one target per burst": true,
      "Time rockets fly up": 3.0
    },
    "Loot": {
      "Crate amount": 5,
      "Loot scale per Attacker": 0.0,
      "LootTable name": null
    }
  },
  {
    "Base": {
      "Profile name": "normal",
      "Display name in chat": "Hardmode Destroyer Bradley",
      "Cooldown": 3600.0,
      "Cooldown modifier if failed to kill": 0.5,
      "Time to kill": 1800.0,
      "Time to loot after kill": 300.0,
      "HP": 5000.0,
      "Recieved Damage modifier": 1.0,
      "Accuracy": 1.2,
      "Lock for players Team": false,
      "Allow players with cooldown to damage bradley": false,
      "Destroy flame balls": true
    },
    "Behavior": {
      "Lock the door at entrance Control point": true,
      "Prevent Bradley from hunting Players": false,
      "Heat vision(ignore walls/buildings on targeting)": true
    },
    "Machinegun": {
      "Max. distance machine gun should shoot": 120.0,
      "Machinegun shots per burst": 12,
      "Delay between machinegun bursts": 1.0,
      "Delay between each shot in burst": 0.06667,
      "Bullet damage": 20.0
    },
    "Cannon": {
      "View distance": 120.0,
      "Can use basic rockets": false,
      "Rocket speed modifier": 1.0,
      "Delay between rocket bursts": 5.0,
      "Delay between each rocket in burst": 0.25,
      "Rockets amount per burst": 4,
      "Chance to launch homing missiles": 0.5,
      "Lock to one target per burst": false,
      "Time rockets fly up": 4.0
    },
    "Loot": {
      "Crate amount": 12,
      "Loot scale per Attacker": 0.0,
      "LootTable name": null
    }
  }
]

shaitobu

Posted

Changed Status from Pending to No Response

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.