Configuration
Configuration files overview:
Config = {}
Config.Framework = 'ESX' -- Framework: ESX/QBCORE (if you don't use framework you can use the item as a command)
Config.claymoreObj = 'w_ex_apmine' -- Object name
Config.claymoreItemName = 'claymore' -- Item name
Config.laserJammerItemName = 'laser_jammer' -- Item name
Config.useCommand = false -- Enable/Disable command
Config.commandName = 'claymoreActivate' -- Command name
Config.useForwardLaser = true -- Enable/Disable the third (forward) laser
Config.spreadLeft = 60.0 -- The angle of the left laser (45.0 = 45deg left)
Config.spreadRight = 120.0 -- The angle of the right laser (135.0 = 45deg right)
Config.laserDistance = 3.0 -- The length of the laser
Config.forwardLengthDivider = 1.2 -- The value that changes the third (forward) laser length (2.0 = half length)
Config.laserColor = {r = 255, g = 0, b = 0, a = 150} -- Laser color
Config.useOutline = true -- Enable/Disable the outline of the claymore when placing down
Config.outlineColor = {r = 255, g = 0, b = 0, a = 255} -- Outline color
Config.objAlpha = 200 -- Object alpha when placing down
Config.laserActivity = 10 -- The laser activity (the higher the more it vibrates) (0 = smooth) (in ms)
Config.activateTimer = 500 -- The detonate time (the less the faster it activates) (0 = instantly) (in ms)
Config.explosionSensivity = 1.2 -- The value which makes the sensivity of checking distance between player and claymore
Config.destroyDistance = 1.5 -- The distance it check that the bullet destroy the claymore
Config.exitButton = 194
Config.placeDownButton = 22
Config.rotateRightButton = 38
Config.rotateLeftButton = 44
Config.distanceIncreaseButton = 10
Config.distanceReduceButton = 11
Config.maxDistance = 2.0 -- Place down max distance value
Config.minDistance = 0.5-- Place down min distance value
Config.soundVolume = 0.5 -- Sound volume
Config.disarmingTime = 1500 -- Disarming time (in ms)
Config.disarmingDistance = 3.0 -- Disarming distance
Config.destroyObjectTime = 1 -- Time to destroy item after disarming (in minutes)
Config.animTime = 1500 -- Animation time (in ms)
Config.animDict = 'amb@medic@standing@kneel@base' -- Animation library
Config.animDictSecondary = 'anim@gangops@facility@servers@bodysearch@' -- Animation library 2
Config.useSecondary = true -- Enable/Disable secondary animation
Config.animName = 'base' -- Animation name
Config.animNameSecondary = 'player_search' -- Animation name
Config.showHelpText = true -- Enable/Disable help text
-- Languages
Config.helpText = {
['exit'] = 'Exit',
['place_down'] = 'Place down claymore',
['rotate_left'] = 'Rotate left',
['rotate_right'] = 'Rotate right',
['increase_distance'] = 'Increase distance',
['reduce_distance'] = 'Reduce distance',
}
Last updated
Was this helpful?