Loading...
# Custom Scopes
Custom scopes allow modders to create custom scopes for weapons with scopes. This guide will show you how to create your own custom scopes.
Note that this feature is provided via configuration files which are checked by the anti-cheat. You may not be able to play in servers with a custom scopes file, unless approved by the server.
## Configuration
The custom scopes configuration file is located in the `Data` folder of your game directory. The file is named `scopes.cfg`.
Each line represents the scope for a specific weapon, and a line cannot exceed 100 characters.
### Format
`[Weapon Preset]=[Scope Texture]=[Minimum Zoom]=[Maximum Zoom]`
- `Weapon Preset` is the preset name of the weapon preset.
- `Scope Texture` is the texture file for the scope.
- `Minimum Zoom` is the minimum zoom level for the scope.
- `Maximum Zoom` is the maximum zoom level for the scope.
The recommended range for `Minimum Zoom` and `Maximum Zoom` parameters are 1 to 40. Other values than that range will still work, but may cause problems.
### Example
`Weapon_SniperRifle_Player=sniperscope.dds=1=40`