Note: 'weapon_accuracy_nospread' ConVar is working normally, if it's set to 1 all weapons have no-spread but the weapons settings aren't getting overridden!
The plugin will cancel the weapon no-spread if it shouldn't get no-spread (according to the settings you set in the plugin config for the weapon).
Weapon Options:
"mid-air" - Checks if the client is not touching the ground.
"scoped" - Checks if the weapon is scoped (will check even if the weapon doesn't have a scope).
"velocity_min" / "velocity_max" - range of velocity to apply the no-spread.
If you want to suggest other options, please open an issue on GitHub so I can organize it better than here
Options Values:
Default value is -1, this means it will skip the check.
-1 - skip check.
0 - only when the option is false.
1 - only when the option is true.
value > 0 - range for velocity.
Example:
The following example will enable the no-spread for the AWP only when the player is scoped, standing on the ground and his velocity is between 0 to 350.
*no-spread will be canceled when 'weapon_accuracy_nospread' is set to 1 and any of the player conditions does not meet with the weapon settings from the plugin config.
Config path: 'sourcemod/configs/Lq_NoSpread/Lq_NoSpread.cfg'"weapon_awp"
{
"scoped" "1"
"mid-air" "0"
"velocity_min" "0"
"velocity_max" "350"
}
github