Search the Community
Showing results for tags 'custom grenades'.
-
Version 1.1.2
25 downloads
This plugin allows users with permission to throw a custom grenade, which when it explodes, teleports the player to its location. The time between throwing the grenade and teleporting to it can be configured to whatever times you like. You can have as many different grenades as you want, all with different fuse lengths if you would like. In the config file, you can control whether players can use while mounted, while building blocked and also set a maximum range (meters) which they work. It's a lot of fun, and players will find all sorts of fun ways to use them to their advantage. For example, imagine setting the fuse length (if allowed in the config) to several minutes, then dropping it on the floor of your base before going out for a roam or farm and then after fuse time expires, you instantly teleport back to the safety of your base. Or, if allowed within building blocked zones, players could use them to exploit weaknesses in other players bases, any open windows or roof access could quite literally now become a portal into their base! The possibilities are endless, only limited by your players imagination (and your configuration! :D) Teleport Grenade SkinID: 3338854123 Permissions: teleportgrenades.admin (to use give & clear cooldown commands) teleportgrenades.buy (to use /tpgbuy command) teleportgrenades.bypasscooldown teleportgrenades.use Default Commands (Prefix with / for chat command): tpgbuy <FuseLength> <Amount> (Buy a TP Grenade - requires buy perm) tpggive <PlayerName> <Amount> <FuseLength> (Give a TP Grenade - requires admin perm) tpgclearcd <Playername> (Clear cooldown for a player - requires admin perm) tpgclearcd (Clears all cooldowns - requires admin perm) tpgfuse <FuseLength> (Change the fuse length of the item you are holding) How it works: Server owners can place TP Grenades in their loot tables using the smoke grenade item (ItemID: 1263920163) and the SkinID above, then they must use a custom name. By default, the plugin issues grenades using the name "Teleport Grenade", but the way this plugin works, players can choose to buy TP Grenades with whatever fuse length they want. For example, if a player wants a 3 second fuse, they purchase using the command "tpgbuy 3". The item which appears in their inventory will be called "Teleport Grenade (3 sec)". The display name is IMPORTANT, since the plugin uses the value within the brackets to determine the fuse length. If server owners are placing these items in the loot table, they must consider this and use the same naming format, with the time within brackets exactly as above. If server owners want to issue grenades to players with a command, they can do so using the syntax "tpggive PlayerName Amount FuseLength" Players Can Set The Fuse Length of a Held Teleport Grenade item: Simply set the active item in the hot bar to the grenade you want to se, then use the SetFuse command, "tpgfuse" by default. e.g. "tpgfuse 3" sets a 3 second fuse etc. If you have any issues, please join my Discord for help: https://discord.gg/jnyg3FvDnc Help: FuseLength must be in seconds. tpgclearcd clears all players cooldowns tpgclearcd PlayerName clears cooldown for that player only Default Config: { "General Options": { "Chat Prefix": "<color=orange>[Teleport Grenades]</color>", "Use Chat Prefix": true, "Custom Chat Icon (Default = 0)": 0, "Use This Plugin to Control Stacking/Combining of TP Grenade Items": true, "Use NoEscape to Prevent TP Grenade Use": true, "Player Cooldown Time (seconds)": 600, "VIP/Custom Cooldowns (seconds)": { "teleportgrenades.example1": 480.0, "teleportgrenades.example2": 360.0, "teleportgrenades.example3": 240.0 } }, "Purchasing Options": { "Enable purchasing via chat or F1 console command": false, "Player Buy Command (Chat or F1 Console)": "tpgbuy", "Purchasing Currency (ServerRewards|Economics|Custom)": "Custom", "Currency Unit Displayed e.g: RP | $ (Not Used for Custom Currency)": "RP", "Cost Per Teleport Grenade": 500, "Custom Currency": [ { "ShortName": "scrap", "SkinID": 0, "Display Name": "Scrap" } ] }, "Grenade Options": { "Skin ID": 3338854123, "Display Name": "Teleport Grenade", "Set Fuse Command (Chat or F1 Console)": "tpgfuse", "Allow Use in Building Blocked Zone": false, "Allow Use While Mounted": false, "Dud if Thrown While Mounted or Building Blocked (false = Refunded)": false, "Maximum Fuse Length Allowed (Seconds)": 30, "Grenade Emits Repeating Beep Sound When Armed": true, "Prefab Path to Use For Beeping Sound": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab", "Delay Between Beep Sounds (Seconds)": 1.0, "Velocity Modifier For Thrown Grenade (0 = Default)": 1.0, "Maximum Range (meters) That TP Grenade Will Work (0 = Unlimited)": 0.0, "Teleport Appear Effect (Prefab Path)": "assets/prefabs/missions/portal/proceduraldungeon/effects/appear.prefab", "Teleport Disappear Effect (Prefab Path)": "assets/prefabs/missions/portal/proceduraldungeon/effects/disappear.prefab" }, "Version Number": { "Major": 1, "Minor": 1, "Patch": 1 } } API: The following hook is available to use in your plugins to check custom Smoke Grenades to avoid conflict with your plugins: object IsTpGrenade(ulong skinID) // returns true if is a TP Grenade, otherwise returns null Call it directly without referencing the plugin: if (Interface.CallHook("IsTpGrenade", skinID) != null) return true; // Is a TP Grenade Or reference my plugin and call like this: [PluginReference] Plugin TeleportGrenades; if (TeleportGrenades.CallHook("IsTpGrenade", skinID) != null) return true; // Is TP Grenade$4.99- 1 review
-
- #custom grenades
- #tp
-
(and 5 more)
Tagged with:
-
Version 1.2.7
1,339 downloads
Simple plugin to turn F1 Grenades into throwable NPC spawners! Spawn Bears, Wolves, Scientists, Murderers, Scarecrows, Heavy Scientists, Bradley APC and more wherever the grenade lands and explodes! Features: Optional support for Teams, Clans, Friends (Spawned NPC wont target) Enable/Disable different types Optional permissions for greater control Support for Server Rewards, Economics etc MANY configurable options via the config and data file Configure number to spawn, radius, aggression range, kits, option to strip corpse loot or not etc... Set spawned NPCs as Turret, Bradley, NPC & Animal safe Optional Sleeper Safe setting Compatible with NPC plugins such as Zombie Horde, BotReSpawn etc. Permissions: npcgrenades.bear npcgrenades.polarbear npcgrenades.wolf npcgrenades.boar npcgrenades.stag npcgrenades.chicken npcgrenades.scientist npcgrenades.heavy npcgrenades.juggernaut npcgrenades.tunnel npcgrenades.underwater npcgrenades.murderer npcgrenades.scarecrow npcgrenades.mummy npcgrenades.bradley npcgrenades.admin (required to use give command) Universal Commands (Prefix with / when using in chat): npcnade.give <NPCType> <PlayerName/SteamID> (NPCType is the same as the permission but without prefix "npcgrenades.") Information: There are many configurable options within the data file ("/oxide/data/NPCGrenades.json"). Below is an explanation of the different variables: Name - The display name of the NPC (and corpse/backpack for human NPC). Prefab - The path to the prefab for that NPC (Do not change!). Health - The starting health (HP) of the NPC. MaxRoamRange: Maximum distance the NPC will roam from spawn point. SenseRange: Max distance (m) NPC can sense threats. ListenRange: Max distance (m) NPC can hear. AggroRange: Distance NPC will become hostile to threats. DeAggroRange: Distance NPC will stop becoming hostile towards a previously hostile target. TargetLostRange: Distance at which a NPC will stop looking for a target. MemoryDuration: Memory time of NPC in seconds. VisionCone: FOV in degrees of the NPCs line of sight. CheckVisionCone: NPC only becomes aggro on threats within it's VisionCone. CheckLOS: NPC only attacks if has line of sight. IgnoreNonVisionSneakers: Threats crouch-walking outside of the NPC VisionCone are ignored. DamageScale: Damage scale as a percentage. PeaceKeeper: NPC only attacks hostile targets. IgnoreSafeZonePlayers: Players in Safe Zones are ignored. RadioChatter: Scientist radio chatter enabled or not. DeathSound: Scientist death sound enabled or not. NumberToSpawn: Number of NPC to spawn. SpawnRadius: Radius in which NPCs spawn if NumberToSpawn is greater than 1. DespawnTime: How long before the NPCs are despawned if not killed. KillInSafeZone - Kills NPC spawned in any safe zone StripCorpseLoot: Strip corpse of all loot when killed if true. If false, bots will keep their loot/kits. KitList: List of all kits which this NPC can use. If more than 1 kit, they are chosen at random. Speed: Overall maximum speed of NPC (default = 6.2). Acceleration: How quickly the NPC can get up to speed (default = 12.0). FastSpeedFraction: Running speed of the NPC between 0.1 - 1.0 (default = 1.0). NormalSpeedFraction: Normal walking speed of the NPC between 0.1 - 1.0 (default = 0.5). SlowSpeedFraction: Slower walking speed of the NPC between 0.1 - 1.0 (default = 0.3). SlowestSpeedFraction: Slowest walking speed of the NPC between 0.1 - 1.0 (default = 0.1). LowHealthMaxSpeedFraction: Walking speed of NPC when health is critical (default = 0.5). TurnSpeed: How quickly the NPC can turn around (default = 120.0). GrenadeSkinID - The item skin ID for the custom grenades (Do not change!) ExplosionSound - Path to the explosions sound played when the NPC spawns DefaultLoadout - The default items the NPC should spawn with if no Kits specified Bradley Specific: ViewDistance - How far the Bradley can see targets SearchRange - How far the Bradley will search for targets PatrolRange - The size of the area the Bradley will travel within when spawns PatrolPathNodes - When a grenade spawns a Bradley, it will add this many patrol points within the PatrolRange ThrottleResponse - How quickly the Bradley will accelerate CratesToSpawn - How many crates to spawn when destroyed Item SkinIDs (For Shops): Scientist: 2640541557 Heavy Scientist: 2640541496 Juggernaut: 2647297156 Tunnel Dweller: 2676146196 Underwater Dweller: 2676146329 Murderer: 2643502595 Scarecrow: 2647297210 Mummy: 2643385137 Bear: 2647301111 Polar Bear: 2868239755 Wolf: 2647303718 Boar: 2643502513 Stag: 2647297256 Chicken: 2647297056 Bradley APC: 2643385052 Example for Bradley APC Grenade in ServerRewards Shop: "grenade.f1_2643385052": { "shortname": "grenade.f1", "customIcon": null, "amount": 1, "skinId": 2643385052, "isBp": false, "category": 6, "displayName": "Bradley Grenade", "cost": 2500, "cooldown": 0 }, For other grenade types, copy the above but change the relevant SkinID to what type of NPC you want from the list above. If you get stuck, open a Support request.Free- 31 comments
- 6 reviews
-
- 3