mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Scopes - Updated wiki framework (#4680)
* Update scopes-framework.md Documented the changes to the scopes framework in this pull request: https://github.com/acemod/ACE3/pull/4642 * Clarified the bore height component descriptions
This commit is contained in:
parent
ba097e719f
commit
db3b5d924c
@ -19,6 +19,8 @@ class CfgWeapons {
|
||||
class InventoryOpticsItem_Base_F; // ItemInfo base class
|
||||
|
||||
class YourScope {
|
||||
ace_scopeZeroRange = 100; // Overwrites the ace_setting default zero range
|
||||
ace_scopeHeightAboveRail = 3.8; // Distance between center of scope and rail in centimeters
|
||||
ace_scopeAdjust_vertical[] = {-4, 30}; // Maxmimum vertical adjustment limits
|
||||
ace_scopeAdjust_horizontal[] = {-6, 6}; // Maximum horizontal adjustment limits
|
||||
ace_scopeAdjust_verticalIncrement = 0.1; // Vertical increment
|
||||
@ -32,5 +34,11 @@ class CfgWeapons {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class YourWeapon {
|
||||
ace_railHeightAboveBore = 1.8; // Distance between center of bore and rail in centimeters
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
All scope config entries can also be applied directly to the weapon class, in case the weapon comes with an integrated scope.
|
||||
|
Loading…
Reference in New Issue
Block a user