London Studios Documentation
Our StoreSupport PanelYouTube Channel
  • General
    • Documentation
    • Resource Support
    • Downloading Resources
    • Installing Resources
    • Resource Transfers
    • Common Errors
    • Translating Resources
    • Inventory Icons
    • Resource Ideas
    • Integration Requests
  • Vehicles
    • American Rearmount Ladder
      • Setting up
      • Anticheat Issues
    • Advanced Recovery Truck
      • Setting up
      • Anticheat Issues
    • SWAT Vehicle
      • Setting up
      • Anticheat Issues
    • Police Water Cannon
      • Setting up
      • Anticheat Issues
    • British Ladder Truck
      • Setting up
      • Anticheat Issues
    • Tiller Ladder Truck
      • Setting up
      • Anticheat Issues
    • Scissor Lift
      • Setting up
      • Anticheat Issues
    • Car Transporter
      • Setting up
      • Anticheat Issues
    • Water Carrier & Command Unit
      • Setting up
      • Anticheat Issues
    • Water Spray Unit
      • Setting up
      • Anticheat Issues
    • Snow Loader Pack
      • Setting up
      • Anticheat Issues
  • Resources
    • Smart Tyre
      • Using the resource
      • Configuring the resource
      • Permissions, Notifications & Items
      • Item Support
    • Bike Hire
      • Using the resource
      • Configuring the resource
      • Configuring locations
    • Bomb Disposal Robot (EOD) v2
      • Using the resource
      • Configuring the resource
      • Permissions, Notifications & Items
      • Item Support
    • Car Sale Sign
      • Installation Video
      • Using the resource
      • Configuring the resource
      • Configuring permissions
      • Item Support
    • Congestion Charge
      • Configuring the resource
      • Modifying Zones & Adding Cameras
    • Custom Vinewood Sign
      • Installation Video
      • Sign Setup
    • Decontamination Tent
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Directional Spikes
      • Using the resource
      • Configuring the resource
    • Emergency Call Points
      • Using the resource
      • Configuring the resource
    • Fire Supply Line [v2]
      • Using the resource
      • Configuring Fire Supply Line
    • Fire Tools [v2]
      • Using the resource
      • Configuration
      • Permissions, Notifications and Items
      • Item Support
    • Helicopter Rescue
      • Using the resource
      • Configuring the resource
      • Configuring the permissions
      • Configuring locations
    • Mobile Spike
      • Setting up vehicles
      • Misc Configuration Values
      • Permission Checks
      • OX_Inventory Integration
      • Other Integrations
    • Police Grappler
      • Setting up vehicles
      • Misc Configuration Values
      • Permissions, Notifications & Items
      • Item Support
    • Police Shields
      • Using the resource
      • Permissions, Notifications & Items
      • Item Support
    • Rope Rescue Tripod & Basket
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Rescue Cushion
      • Using the resource
      • Permissions, Notifications & Items
      • Other Integrations
    • Smart Speed Signs
      • Configuring the resource
      • Adding new locations
    • Smart Airbags
      • Using this resource
      • Permissions & Notifications
    • Smart Bollards
      • Installation Video
      • Configuring the resource
      • Setting up a new set
    • Smart Clamp
      • Permissions, Notifications and Items
      • Item Support
      • Exports and Events
    • Smart Defib
      • Using the resource
      • Defib locations
      • Framework support
      • Setting up blips
      • Chance of success
      • Sound settings
      • Keybind configuration
      • Automatic reset
      • Custom Death Scripts
      • OX_Inventory Integration
      • Other Integrations
    • Smart Drone
      • Using the resource
      • Permission Checks, Notifications & Items
      • Keybinds
      • Item Support
      • Other Integrations
    • Smart Fires
      • Installation Video
      • Putting out fires
      • Fire Alerts
      • Remove Fires Automatically
      • Custom Notifications
      • Automatic Fires
        • Enabling automatic fires
        • Job / Permission Check
        • Adding locations
        • Automatic Fire Chances
        • Other automatic fire settings
      • Commands
      • Command permission checks
      • Editing fire types
      • Editing smoke types
      • Misc configuration values
      • Setting up weapons
      • Area of patrol settings
      • Clock on system
      • Lighter Item & Command
      • Server exports and events
      • Discord logging
      • Society Payments
    • Smart Hose [v2]
      • Using the resource
      • Configuring Smart Hose
    • Smart Matrix
      • Install & Configuration Video
      • OX_Inventory Integration
      • Other Integrations
    • Smart Motorways
      • Using the resource
      • Configuring the resource
    • Smart Signs
      • Configuring the resource
      • Configuring the permissions
    • Smart Speed Cameras
      • Configuring the resource
      • Adding new cameras
    • Smart Taser
      • Using the resource
      • Configuration
      • OX_Inventory Integration
      • Other Integrations
    • Smart Vehicle
      • Compatible Vehicles
      • Free Developer Copy
      • Permission Checks
      • Using a Smart Vehicle
      • Informations for Developers
      • Vehicle Control Menus
    • Police Tracker
      • Setting up vehicles
      • Resource Configuration & Usage
      • Item Support
    • Throw Bag
      • Resource Usage
      • OX_Inventory Integration
      • Other Integrations
    • Vehicle Rescue
      • Using the Resource
      • Permissions, Notifications & Items
      • Copy of Item Support
    • Water Monitor
      • Using the resource
      • Copy of Permissions, Notifications & Items
      • Copy of Item Support
    • Weapon Lanyard
      • Setting up weapons
      • Using the resource
      • Setting up clothing / EUP
Powered by GitBook
On this page
  • EOD Command
  • Wasabi Locking System Integration
  • Editing Controls
  • Spawn Package Command
  • Translations

Was this helpful?

  1. Resources
  2. Bomb Disposal Robot (EOD) v2

Configuring the resource

This document will show you how to configure the Bomb Disposal Robot.

To begin configuring Bomb Disposal Robot, open the config.lua file. This document will not discuss permissions, items or notifications and will be shown in the next document.

main = {
    spawnOffSet = {0.0, 4.0, 0.0},
    cameraPosition = {-0.1, -0.1, 1.0},
    cameraRotation = {-25.0, 0.0, 0.0},

    -- If set to false then the lines which move across the screen while using the EOD will be disabled
    cctvEffect = true,

    maximumDistance = 200.0,

    enableNightVision = true,
    enableThermalVision = true,

    explosionType = 4,
    explosionSize = 4.0,
    explosionCameraShake = 6.0,
}

The spawnOffSet value is the position relative to you at which the Bomb Disposal Robot will spawn when the command/item is used. By default, this is 4.0 metres in front of you.

The cameraPosition and cameraRotation values are relative to the Bomb Disposal Robot, which provides the position at which we will spawn the camera for the live stream.

The cctvEffect value determines whether the CCTV filter will be applied to the live stream.

The enableNightVision and enableThermalVision values determine whether players will be able to activate night vision and thermal imaging when controlling the Bomb Disposal Robot.

The explosionSize is the size of the explosion that will be used for the controlled explosion, along with the explosionCameraShake which sets the scale of the effect that will be imposed on surrounding players.

EOD Command

This section will show you how to enable the EOD command. Permissions will be discussed in the next document.

eodCommand = {
    commandName = "eod",
    commandEnabled = true,

This section allows you to disable/enable the EOD command and also set the command name.

Wasabi Locking System Integration

lockingSystems = {
    wasabiCarlock = {
        enabled = false,
        resourceName = "wasabi_carlock",
    }
}

We've added support for Wasabi Locking system. If you want to integrate your own locking system, head to the cl_utils.lua file and add the relevant code into the following function:

-- Used to integrate vehicle locking resources
-- Listen for created EOD vehicles
function eodCreated(vehicleHandle)

end

This function is triggered whenever an EOD vehicle is created, with the vehicleHandle passed as an argument. This will allow you to trigger an export/event and register/unlock the vehicle with a third party vehicle locking resource.

Editing Controls

controls = {
    controlKey = {0, 19}, -- https://docs.fivem.net/docs/game-references/controls/ -- default Left ALT
    nightVisionKey = {0, 212},   
    thermalImagingKey = {0, 214},
    explosion = {0, 208},
    cancelExplosion = {0, 207},
    toggleWater = {0, 45},
    attachProp = 44,
    rotatingArmRight = 124,
    rotatingArmLeft = 123,
    rotatingArmBack = 0,
    rotatingArmForwards = 47,
    rotatingTopArmBack = 110,
    rotatingTopArmForwards = 111,
    rotatingTopArmUp = 117,
    rotatingTopArmDown = 118,
    rotateGrabberRight = 189,
    rotateGrabberLeft = 190,
    closeGrabber = 172,
    openGrabber = 173,
}

Spawn Package Command

The /spawnpackage command allows players to spawn an item from a list of pre-configured items in-game. By default, we have configured 5 different props - bomb, bag, package, briefcase, suitcase.

SpawnPackageCommand = {
    Enabled = true,
    CommandName = "spawnpackage",
    CommandHelp = "Spawn a package for the EOD robot.",
    
    PackageTypes = {
        ["bomb"] = {
            model = `prop_bomb_01_s`,
        },
        ["bag"] = {
            model = `prop_cs_heist_bag_01`,
        },
        ["package"] = {
            model = `prop_mp_drug_package`,
        },
        ["briefcase"] = {
            model = `prop_ld_case_01`,
        },
        ["suitcase"] = {
            model = `prop_ld_suitcase_02`,
        },
    },

This command is enabled by default, however this section allows you to disable it.

The PackageTypes section allows you to add additional items or remove them. The ["name"] is in square brackets followed by the model within the curly brackets.

The model name must be in backticks to allow runtime hashing: ``

Translations

    setup = "setup",
    remove = "remove",
    invalidArgument = "Use /eod [setup/remove]",
    noPackageType = "You must select a package type",
    noItem = "You must have the EOD item",
    noPermission = "You lack the required permission",
    commandHelp = "Setup or remove an EOD robot.",
    bombVehicleName = "Bomb Robot",
    argumentHelp = "setup/remove",
    noneFound = "No EOD found to remove",
    inVehicle = "You must not be in a vehicle",
    tooFar = "EOD removed as you have moved too far away",
    loosingConnection = "You are loosing connection to the EOD",
    eodSetup = "~r~Info~w~: EOD Setup",
    eodRemoved = "~r~Info~w~: EOD Removed",
    cancelExplosion = "Press ~INPUT_FRONTEND_LT~ to cancel.",
    explosionCancelled = "Explosion Cancelled",
    explosionStarted = "Explosion Started - Leave The Area",
    packageType = "Package Type",
    spawnPackage = "Spawn a Package",
}

This section allows you to translate the resource into another language.

PreviousUsing the resourceNextPermissions, Notifications & Items

Last updated 1 day ago

Was this helpful?

The explosionType is the type of explosion that will be used for the controlled explosion, from the list .

The controls section of the config allows you to edit the various controls. For a list of controls, see .

here
here