About Smart Weapon
Automatically lock down the opponent if you have permission.
It is recommended to use it on the PVE server.
It is recommended to use adminflag = true
It is recommeded to use "Hit Distance": 300
If it exceeds 300, it will cause a lot of burden on the server, the target may not be found, and the server console may be spamed.
(Adjust according to server specifications)
Commands:
/sw
/smartweapon
Permissions:
smartweapon.use.admin
smartweapon.use.3
smartweapon.use.2
smartweapon.use.1
Config:
QuoteTip.
The higher the angle, the greater the nearby range.
{
"General Settings": {
"Prefix": "[Smart-Weapon]",
"SteamID": "0",
"Commands": [
"sw",
"smartweapon"
],
"Head Bonus Damage": 1.5,
"Damage Weapon (Fired Only)": {
"rifle.ak": 50.0,
"rifle.ak.ice": 50.0,
"rifle.lr300": 40.0,
"smg.2": 30.0,
"lmg.m249": 65.0,
"hmlmg": 57.0,
"rifle.m39": 50.0,
"pistol.m92": 45.0,
"smg.mp5": 35.0,
"pistol.python": 55.0,
"rifle.semiauto": 40.0,
"smg.thompson": 37.0,
"pistol.semiauto": 40.0,
"pistol.revolver": 35.0
},
"Disable Smart Weapon Zones": [],
"Debug": false
},
"Smart Weapon Settings": {
"smartweapon.use.admin": {
"Angle": 30.0,
"Hit Distance": 300,
"Hit Chance [0 - 100]": 100,
"Head Chance [0 - 100]": 100,
"Bypass Wall": true,
"Can Target Player": true,
"Can Target Animal": true,
"Flag Admin? (true - Text | false - UI)": true
},
"smartweapon.use.3": {
"Angle": 30.0,
"Hit Distance": 300,
"Hit Chance [0 - 100]": 100,
"Head Chance [0 - 100]": 100,
"Bypass Wall": false,
"Can Target Player": true,
"Can Target Animal": false,
"Flag Admin? (true - Text | false - UI)": false
},
"smartweapon.use.2": {
"Angle": 30.0,
"Hit Distance": 300,
"Hit Chance [0 - 100]": 100,
"Head Chance [0 - 100]": 100,
"Bypass Wall": false,
"Can Target Player": true,
"Can Target Animal": false,
"Flag Admin? (true - Text | false - UI)": false
},
"smartweapon.use.1": {
"Angle": 30.0,
"Hit Distance": 100,
"Hit Chance [0 - 100]": 80,
"Head Chance [0 - 100]": 50,
"Bypass Wall": false,
"Can Target Player": false,
"Can Target Animal": false,
"Flag Admin? (true - Text | false - UI)": false
}
},
"Version": {
"Major": 1,
"Minor": 0,
"Patch": 0
}
}
Lang:
{ "NoPermission": "<color=red>You are have not permission</color>", "Active": "<color=#00ff00>Active Smart Weapon</color>", "DeActive": "<color=red>Disable Smart Weapon</color>", "LockDown": "<size=20>[ Target Locked ] \n{0} | {1} | {2}</size>" }