EMP Grenades

EMP Grenades 1.0.0

About EMP Grenades​


Plugin Launch Sale Ends Soon!

This plugin allows players with permission to buy and use EMP Grenades, which when thrown emit an electromagnetic pulse which will disable all turrets within the blast radius for a certain amount of time.

The plugin uses a custom skinned Flashbang item within the game. There are cooldown options, as well as a bunch of other configurable options in the configuration file.

Very easy to set up and players will love it. It adds a whole new approach to raiding and base defence considerations.

Coming Soon:

EMP Grenades will work on other IO entities, such as SAM sites, CCTV cameras, heart beat sensors, lights, etc. If you have any other suggestions, let me know.


Default Item Skin: 3340157360
empNade.png


Permissions:

  • empgrenades.admin (required for clear and give commands)
  • empgrenades.use
  • empgrenades.buy
  • empgrenades.bypasscooldown
Commands (Prefix with / for in chat):
  • empgive <PlayerName/SteamID> <amount>
  • empbuy <amount>
  • empclear (clear all player cooldowns)
  • empclear <PlayerName/SteamID>
If you have any issues, please join my Discord for help: https://discord.gg/jnyg3FvDnc

JSON:
{
  "General Options": {
    "Chat Prefix": "<color=orange>[EMP Grenades]</color>",
    "Use Chat Prefix": true,
    "Custom Chat Icon (Default = 0)": 0,
    "Use This Plugin to Control Stacking/Combining of EMP Grenade Items": true,
    "Player Cooldown Time (seconds)": 300,
    "VIP/Custom Cooldowns (seconds)": {
      "empgrenades.example1": 240.0,
      "empgrenades.example2": 180.0,
      "empgrenades.example3": 120.0
    }
  },
  "Purchasing Options": {
    "Enable purchasing via chat or F1 console command": false,
    "Player Buy Command (Chat or F1 Console)": "empbuy",
    "Purchasing Currency (ServerRewards|Economics|Custom)": "Custom",
    "Currency Unit Displayed e.g: RP | $ (Not Used for Custom Currency)": "RP",
    "Cost Per EMP Grenade": 500,
    "Custom Currency": [
      {
        "ShortName": "scrap",
        "SkinID": 0,
        "Display Name": "Scrap"
      }
    ]
  },
  "Grenade Options": {
    "Skin ID": 3340157360,
    "Display Name": "EMP Grenade",
    "Grenades Stick on Impact": false,
    "Grenades Explode On Impact": false,
    "Grenade Fuse Length in Seconds (Default = 3)": 3.0,
    "Grenade Emits Repeating Beep Sound When Thrown": true,
    "Prefab Path For Beep Sound": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab",
    "Delay Between Beep Sounds (Seconds)": 1.0,
    "Velocity Modifier For Thrown Grenade (1 = Default)": 1.0,
    "Effective Blast Radius in Meters": 10.0,
    "EMP Blast Recovery Time": 60.0
  },
  "Version Number": {
    "Major": 1,
    "Minor": 0,
    "Patch": 0
  }
}

API:

The following hook is available to use in your plugins to check custom grenades to avoid conflict with your plugins:

object IsEmpGrenade(ulong skinID) // returns true if is a EMP Grenade, otherwise returns null
  • ss.jpg
    ss.jpg
    857.3 KB · Views: 6

Information

Author
ZEODE
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest Release v1.0.0

Released
Sep 29, 2024 at 10:15 PM
Rating
0.00 star(s) 0 ratings


More resources from ZEODE

  • Bradley Drops
    Bradley Drops
    Allows players with permission to call a Bradley APC to their location with a custom Supply Signal,
  • Heli Signals
    Heli Signals
    Call different difficulty Patrol Helicopters to your location with custom supply signals.
  • Fish Loot
    Fish Loot
    Adds a chance to get custom items when fishing and gutting Sharks.
  • Horse Lock
    Horse Lock
    Lock ridable horses to players to prevent unauthorised use.
  • Teleport Grenades
    Teleport Grenades
    Throw a custom smoke grenade and teleport to wherever it explodes.

EMP Grenades by ZEODE
© chaoscode.io Sep 29, 2024