CfgWeapons Config Reference: Difference between revisions
(Added a page for cfgWeapon value descriptions. Comments and review appreciated.) |
m (small fix) |
||
Line 587: | Line 587: | ||
=Y= | =Y= | ||
= | =Z= | ||
[[category:Operation Flashpoint: Editing]] | [[category:Operation Flashpoint: Editing]] | ||
[[Category:ArmA: Addon Configuration]] | [[Category:ArmA: Addon Configuration]] |
Revision as of 15:28, 25 July 2007
Introduction
A
access
Integer
Description:
access = 3;
aiDispersionCoefX
Float
Description:
aiDispersionCoefX = 7.1;
aiDispersionCoefY
Float
Description:
aiDispersionCoefY = 2.1;
aiRateOfFire
Float
Description:
aiRateOfFire = 0.3;
aiRateOfFireDistance
Integer
Description:
aiRateOfFireDistance = 600;
ammo
String
Description:
ammo = "TimeBomb";
autoAimEnabled
Boolean
Description:
autoAimEnabled = 1;
autoFire
Boolean
Description:
autoFire = 1;
autoReload
Boolean
Description:
autoReload = 1;
B
backgroundReload
Boolean
Description:
backgroundReload = 1;
burst
Integer
Description:
burst = 5;
C
cameraDir
String
Description:
cameraDir = "GL look";
canDrop
Boolean
Description:
canDrop = 1;
canLock
Integer
Description: Valid values: 0, 1, 2
canLock = 2;
cartridgePos
String
Description:
cartridgePos = "nabojnicestart";
cartridgeVel
String
Description:
cartridgeVel = "nabojniceend";
count
Integer
Description:
count = 8;
cursor
String
Description:
cursor = "\ca\Weapons\Data\w_weapon_S";
cursorAim
String
Description:
cursorAim = "\ca\Weapons\Data\cursor_target_locked_ca.paa";
cursorSize
Float
Description:
cursorSize = 4;
D
dexterity
Float
Description: Ingame weapon handling value, lower value = takes more time to traverse a weapon
dexterity = 3.1;
dispersion
Float
Description:
dispersion = 0.015;
displayName
String
Description:
displayName = "$STR_DN_VIKHR";
distanceZoomMax
Integer
Description:
distanceZoomMax = 100;
distanceZoomMin
Integer
Description:
distanceZoomMin = 500;
drySound[]
Array
Description:
drySound[] = {"\ca\Weapons\Data\Sound\XMS_dry_v2",0.000316228,1};
E
enableAttack
Boolean
Description:
enableAttack = 1;
F
ffCount
Integer
Description:
ffCount = 6;
ffFrequency
Float
Description:
ffFrequency = 11;
ffMagnitude
Float
Description:
ffMagnitude = 0.5;
fireLightDuration
Float
Description:
fireLightDuration = 0.05;
flash
String
Description:
flash = "gunfire";
flashSize
Float
Description:
flashSize = 1.2;
forceOptics
Boolean
Description: Valid values: 0, 1, 2
forceOptics = 2;
G
H
I
initSpeed
Integer
Description:
initSpeed = 900;
J
K
L
laser
Boolean
Description:
laser = 0;
libTextDesc
String
Description:
libTextDesc = "$STR_LIB_SVD";
M
magazineReloadTime
Float
Description:
magazineReloadTime = 0.1;
magazines[]
Array
Description:
magazines[] = {"100Rnd_127x99_M2"};
maxLeadSpeed
Integer
Description:
maxLeadSpeed = 600;
maxRange
Float
Description:
maxRange = 70;
maxRangeProbab
Float
Description:
maxRangeProbab = 0.1;
memoryPointCamera
String
Description:
memoryPointCamera = "GL eye";
midRange
Integer
Description:
midRange = 500;
midRangeProbab
Float
Description:
midRangeProbab = 0.2;
minRange
Integer
Description:
minRange = 50;
minRangeProbab
Float
Description:
minRangeProbab = 0.1;
model
String
Description:
model = "\ca\a10\AGM65";
modelMagazine
String
Description:
modelMagazine = "";
modelOptics
String
Description:
modelOptics = "\ca\Weapons\G36_optics";
modes[]
Array
Description:
modes[] = {"manual","close","short","medium","far"};
multiplier
Integer
Description:
multiplier = 5;
muzzleEnd
String
Description:
muzzleEnd = "konec hlavne";
muzzlePos
String
Description:
muzzlePos = "usti hlavne";
muzzles[]
Array
Description:
muzzles[] = {"TimeBombMuzzle","PipeBombMuzzle","MineMuzzle","MineEMuzzle"};
N
nameSound
String
Description:
nameSound = "smokeshell";
O
optics
Boolean
Description:
optics = 1;
opticsDisablePeripherialVision
Boolean
Description:
opticsDisablePeripherialVision = 1;
opticsFlare
Boolean
Description:
opticsFlare = 1;
opticsZoomInit
Float
Description:
opticsZoomInit = 0.35;
opticsZoomMax
Float
Description:
opticsZoomMax = 0.0625;
opticsZoomMin
Float
Description:
opticsZoomMin = 0.0625;
P
picture
String
Description:
picture = "smokeshell";
primary
Integer
Description:
primary = 10;
Q
R
recoil
String
Description:
recoil = "AK74Recoil";
recoilProne
String
Description:
recoilProne = "AK74Recoil";
reloadAction
String
Description:
reloadAction = "ManActReloadMagazine";
reloadMagazineSound[]
Array
Description:
reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\flare_reload",0.000316228,1};
reloadSound[]
Array
Description:
reloadSound[] = {"\ca\Weapons\Data\Sound\gun125reload",1,1};
reloadTime
Float
Description:
reloadTime = 0.007;
S
scope
Integer
Description:
scope = 2;
selectionFireAnim
String
Description:
selectionFireAnim = "zasleh";
shotFromTurret
Boolean
Description:
shotFromTurret = 1;
showAimCursorInternal
Boolean
Description:
showAimCursorInternal = 1;
showEmpty
Boolean
Description:
showEmpty = 1;
showSwitchAction
Boolean
Description:
showSwitchAction = 1;
showToPlayer
Boolean
Description:
showToPlayer = 1;
simulation
String
Description:
simulation = "maverickweapon";
sound[]
Array
Description:
sound[] = {"\ca\Weapons\Data\Sound\AGS30_shot1",10,1};
soundBurst
Boolean
Description:
soundBurst = 1;
soundContinuous
Boolean
Description:
soundContinuous = 1;
soundFly[]
Array
Description:
soundFly[] = {"\ca\Weapons\Data\Sound\rocket_fly1",25.1189,0.8};
soundServo[]
Array
Description:
soundServo[] = {"",0.0001,1};
T
type
Integer
Description:
type = 65536;
U
UiPicture
String
Description:
UiPicture = "\CA\weapons\data\Ico\i_aa_CA.paa";
useAction
Boolean
Description:
useAction = 1;
useActionTitle
String
Description:
useActionTitle = "$STR_ACTION_PUTBOMB";
useAsBinocular
Boolean
Description:
useAsBinocular = 0;
V
value
Integer
Description:
value = 0;