Exo Landmine Script

A script by Exo_7536

No reviews yet.
Exo Landmine Script main image

Full Description

Exo Landmine Script

OUR STORE:

Purchase this product as well as others here, https://store.exo7536.co.uk

Rundown:

By using the /placemine command your character will place a landmine down on the ground, which will blow up upon detecting players/vehicles, watch the preview video below to see it in the works.

(Video is outdated, and doesn’t show the latest version) https://youtu.be/U2HR75GYuRE

  • Custom Landmine Prop:

This script includes a custom landmine prop developed by our team. You can also use your own model for the landmine, which can be easily edited via the configuration file. The landmine prop can be placed anywhere on the map and will explode when triggered.

  • Discord Integration:

This script includes a Discord logging via webhook that is perfect for staff teams. When a landmine is placed or triggered, the script will automatically send a message to a designated Discord channel, letting staff know where the explosion occurred. Furthermore we’ve recently added AcePerm so you can limit who can use the command via discord roles.

  • Ability to Define Mine Sweepers:

With this, you can define which vehicles are designated as mine sweepers. These vehicles will be able to detect landmines before they are triggered and can defuse them before they explode. This feature adds an extra layer of strategy to your gameplay and makes your server more engaging for your players.

  • Fully Editable Script:

This script is fully customizable, allowing you to edit nearly everything in the script. You can adjust the landmine placement rules, the explosion effects, the mine sweeper definitions, and more. This flexibility makes it easy to tailor the script to your server’s specific needs and preferences.

Config:

-- BASIC SETTINGS

armtime = 5 -- Time in seconds it takes till the bomb is armed.
minetimer = 10 -- How long in seconds people must wait between placing mines.
progressbar = true -- Should the player get a progress bar appear when placing the mine down.

-- PLAYER EXPLOSION SETTINGS

playerdistance = 1.4 -- At what distance should the mine detect a PLAYER
pexplosiontype = 44 -- What type of explosion the mine is, you can find a list at https://docs.fivem.net/natives/?_0xE3AD2BDBAEE269AC
pdamagescale = 20.0 -- How much damage the mine should deal, MUST HAVE DECIMAL more info at https://docs.fivem.net/natives/?_0xE3AD2BDBAEE269AC 

-- VEHICLE EXPLOSION SETTINGS

vehicledistance = 3 -- At what distance should them ine detect a VEHICLE, with a player inside.
vexplosiontype = 44 -- What type of explosion the mine is, you can find a list at https://docs.fivem.net/natives/?_0xE3AD2BDBAEE269AC
vdamagescale = 20.0 -- How much damage the mine should deal, MUST HAVE DECIMAL more info at https://docs.fivem.net/natives/?_0xE3AD2BDBAEE269AC 
destroyengine = true -- Should if a vehicle drive over the engine be instantly destroyed, true = engine is destroyed instantly.
immunetomine = {"rhino", "adder"} -- Vehicle that should act as "mine sweepers" - if you've none replace with anything.

-- MISC SETTINGS

modelHash = "prop_ld_binbag_01" -- The mine model
pickupAnim = "machinic_loop_mechandplayer" -- Changes the animation when planting the mine.
animDict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@" -- Ignore this unless you know what your doing.

-- DISCORD LOGGING

discordintegration = false -- true = Enabled, false = Disabled.
discordWebhook = "" -- Discord Webhook, you can find out how to do it here: https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks

-- ACEPERMS

aceperms = true -- Use aceperms, 
permcmd = "placemine" -- If you change permcmd you must change it in the server.cfg
-- You will need to add 
-- 'add_ace group.yourgroup placemine allow'
-- to your server.cfg. You could use DiscordAcePerms or any other perm system to achieve this.

-- NOTIFCATIONS (MULTI-LANGUAGE SUPPORT)

placingmine = "Mine is being placed, " .. armtime .. " seconds till armed!"

plswait = "Please wait "
timebefore = "seconds before placing another mine."

activatedmine = "~r~A mine has been activated!"

cantplacedead = "You can't place mines while you're dead."

cantplacevehicle = "You can't place mines while you're in a vehicle."

mineisarmed = "Mine is now ~r~armed!"

progressmsg = "Placing Mine" -- This is the text displayed inside the progress bar.

Update Logs:

15/03/2023

  • Added Aceperms
  • Improved folder layout
  • Changed default animation
  • Improved HTML, CSS and JS layout, makes it easier to edit!
  • Added ability to customize notifications in the config!
  • Updated Progress bar

TBC

Code is accessible No
Subscription-based No
Lines (approximately) 286
Requirements N/A
Support Yes