ItemInfo Config Reference – Arma 3
Jump to navigation
Jump to search
Freddo3000 (talk | contribs) m (Typo) |
Freddo3000 (talk | contribs) |
||
Line 100: | Line 100: | ||
==== deployedPivot ==== | ==== deployedPivot ==== | ||
;Used with: Bipod attachments | |||
;Type: [[TokenNameValueTypes|String]] | |||
;Default: "bipod" | |||
=== F === | === F === |
Revision as of 11:21, 30 October 2020
Template:Cfg ref Template:Cfg ref
ItemInfo
A
allowedSlots[]
- Used with
- All items other than Weapons
- Type
- Array
- Default
- {}
- Description
- Parameter which defines which cargo slots an item is allowed in. [citation needed]
allowedSlots[] =
{
605, // Headgear
701, // Uniform
801, // Vest
901 // Backpack
};
alternativeFire
- Used with
- Muzzle attachments
- Type
- String
- Default
- "Zasleh2"
AmmoCoef
- Used with
- Muzzle attachments
- Type
- Class
- Description
- Contains a number coefficients applied when firing with the muzzle attached
artilleryDispersionCoef =
- Type
- Float
- Default
- 1.0
- Description
- Coefficient applied to weaponMode artilleryDispersion property
dispersionCoef
- Type
- Float
- Default
- 1.0
- Description
- Coefficient applied to ModeClass dispersion property
fireLightCoef
- Type
- Float
- Default
- 1.0
- Description
- Coefficient applied to fireLightIntensity weapon property
min/mid/maxRange...Coef
- Type
- Float
- Default
- 1.0
- Description
- Coefficients applied to corresponding weapon properties
minRangeCoef = 1.0;
minRangeProbabCoef = 1.0;
midRangeCoef = 1.0;
midRangeProbabCoef = 1.0;
maxRangeCoef = 1.0;
maxRangeProbabCoef = 1.0;
recoilCoef
- Type
- Float
- Default
- 1.0
- Description
- Coefficient applied to weapon recoil
recoilProneCoef
- Type
- Float
- Default
- 1.0
- Description
- Coefficient applied to weapon recoil when prone
C
containerClass
- Used with
- Uniforms, Vests, Backpacks
- Type
- String
- Default
- "Supply0"
- Description
- Capacity of a container, corresponding to SupplyXX CfgVehicles classes.
The classes for various capacity are already defined in the game config, so in most cases, SupplyXX can be used with XX replaced by the desired capacity value. The defined capacities are 0–10, then 10–250 with an increment of 10, then 300, 350, 380, 400, 420, 440, 450, 480, and 500. Should another value be needed, it is defined in cfgVehicles as follows:
/// New Supply definition ///
class cfgVehicles
{
class ContainerSupply;
class SupplyXX: ContainerSupply // The class name does not really matter, but for clarity, it should be SupplyXX, where XX is the desired capacity value.
{
maximumLoad = XX; // Replace XX with the desired capacity value.
};
};
D
deployedPivot
- Used with
- Bipod attachments
- Type
- String
- Default
- "bipod"
F
FlashLight
H
hasBipod
HitpointsProtectionInfo
M
magazineCoef
mass
modelOptics
modelSides[]
mountAction
MuzzleCoef
muzzleEnd
O
opticType
- Used with
- Optics
- Type
- Integer
- Default
- 0
- Description
- Parameter which defines opticType of given optics. It is used together requiredOpticType to create additional fire modes with higher engagement ranges
opticType = 1 is typically assigned for optics with magnification level between 2.5 - 5x
opticType = 2 is typically used for scopes with high magnification (>5x)