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.
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.
This section allows you to disable/enable the EOD command and also set the command name.
Wasabi Locking System Integration
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:
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
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.
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
This section allows you to translate the resource into another language.
Last updated
Was this helpful?