About EMP Grenades
Special Launch Price Ends Soon!
This plugin allows players with permission to buy and use EMP Grenades, which emit an electromagnetic pulse when they detonate, and will disable electronic entities within the blast radius for a certain amount of time. There are many entities which it is effective against which is configurable within the plugin config file. For example, auto turrets, switches, batteries, electric generators, SAM sites, search lights, computer desk, CCTV cameras and more.
The plugin uses a custom skinned Flashbang grenade item within the game. There are cooldown options, as well as a lot of other 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.
NOTE: Once a EMP Grenades detonates, any disabled entities will not be affected by further grenades until they recover. Then they can be affected again by other grenades. Only electronic devices which are turned on at the time of detonation will be affected, aside from computer stations, which are always affected.
See a video demonstration here:
Default Item Skin: 3340157360
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
Default Config:
{ "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)": 0.5, "Velocity Modifier For Thrown Grenade (1 = Default)": 1.0, "Effective Blast Radius in Meters": 20.0, "EMP Blast Recovery Time": 60.0 }, "IO Entity Options": { "AutoTurret": true, "SAM Site": true, "Smart Switch": true, "Electric Switch": true, "PTZ CCTV Camers": true, "RF Broadcaster": true, "RF Receiver": true, "Smart Alarm": true, "Electric Generators": true, "Electric Bastteries": true, "Computer Station": true, "Search Light": true, "Seismic Sensor": true, "Laser Detector": true, "HBHF Sensor": true, "Tesla Coil": true }, "Version Number": { "Major": 1, "Minor": 0, "Patch": 1 } }
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