-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.cpp
More file actions
546 lines (540 loc) · 23.2 KB
/
config.cpp
File metadata and controls
546 lines (540 loc) · 23.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
class CfgPatches
{
class ld3k_jca_m115a3_compat_ace3
{
requiredAddons[]=
{
"Weapons_F_JCA_AWM",
"Weapons_F_JCA_AWM_Accessories",
"weapons_f_JCA_AWM_LongRangeRifles_AWM"
};
requiredversion=0.1;
units[]={};
weapons[]={};
};
};
class CfgAmmo
{
// L115A3 twist rate 1:11" optimized for bullets around 250gr, for 300gr twist rate 1:10" or faster
class B_338_Ball;
/*class B_338_Ball: BulletBase // official BI tool All-in-one Config Arma3 2.19.152606 https://community.bistudio.com/wiki/Arma:_All-in-one_Config
{
hit=16; // 250gr 6417 Joules
indirectHit=0;
indirectHitRange=0;
cartridge="FxCartridge_338_Ball";
audibleFire=80;
visibleFireTime=3;
dangerRadiusBulletClose=10;
dangerRadiusHit=14;
suppressionRadiusBulletClose=8;
suppressionRadiusHit=10;
cost=6;
airLock=1;
caliber=2;
typicalSpeed=890; // 250gr 6417 Joules
timeToLive=10;
model="\A3\Weapons_f\Data\bullettracer\tracer_red";
tracerScale=1.2;
tracerStartTime=0.075000003;
tracerEndTime=1;
airFriction=-0.00060999999;
class CamShakeExplode
{
power=3.1622801;
duration=0.60000002;
frequency=20;
distance=9.4868298;
};
class CamShakeHit
{
power=10;
duration=0.40000001;
frequency=20;
distance=1;
};
};*/
class JCA_B_338LM_Ball: B_338_Ball // B_338_Ball, Lapua .338 LM Scenar 250gr GB488 https://www.lapua.com/product/338-lapua-mag-tactical-target-cartridge-scenar-162g-250gr-4318017/
{
ACE_caliber=8.61; // .338 LM CIP diameter https://bobp.cip-bobp.org/uploads/tdcc/tab-i/338-lapua-mag-en.pdf
ACE_bulletLength=39.4; // Strelok Pro .338 LM Lapua Scenar 250gr GB488, 1.551" https://jbmballistics.com
ACE_bulletMass=16.2; // Lapua .338 LM Scenar 250gr GB488 https://www.lapua.com/product/338-lapua-mag-tactical-target-cartridge-scenar-162g-250gr-4318017/
ACE_muzzleVelocityVariationSD=0.3; // ACE3 default value https://github.com/acemod/ACE3/blob/master/addons/advanced_ballistics/script_component.hpp#L32
ACE_ammoTempMuzzleVelocityShifts[]={-5.31,-5.094,-4.57,-4.024,-3.396,-2.56,-1.528,-0.306,1.192,3.034,5.238}; // default ACE_ammoTempMuzzleVelocityShifts values /5 (Ammo Temp MV Curve Tables by TiborasaurusRex). Muzzle velocity shift 0m/s 70°F (21°C), -2m/s 15°C
ACE_ballisticCoefficients[]={0.648}; // Lapua .338 LM Scenar 250gr GB488 https://www.lapua.com/product/338-lapua-mag-tactical-target-cartridge-scenar-162g-250gr-4318017/
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ICAO"; // ICAO: 15°C, 1013.25 hPa, 0%
ACE_dragModel=1; // Lapua .338 LM Scenar 250gr GB488 https://www.lapua.com/product/338-lapua-mag-tactical-target-cartridge-scenar-162g-250gr-4318017/
ACE_muzzleVelocities[]={908}; // Muzzle Velocities 70°F (21°C) +2m/s, 906m/s (27") ICAO conditions (15°C, 1013.25hPa, 0%) according to JCA_5Rnd_338LM_Mag initSpeed
ACE_barrelLengths[]={685.8}; // 27"
hit=20; // .338 LM 250gr destroys a ceramic Level IV w/o perforation short range, according to "Level IV" "armor" value, B_338_Ball 16, JCA 18. 16.2g 906m/s 6650 Joules. NIJ Type IV (Armor Piercing Rifle) and NIJ RF3: 30.06 M2 AP bullet 10.8g 878m/s (165.7gr 2880ft/s) 4163 Joules
caliber=0.45; // effective perforation in-game 5mm RHA "armour_plate_5mm.bisurf" 300m ~750m/s, B_338_Ball 2, JCA 1.8, should be Lapua Scenar penetration 3mm RHA 300m
typicalSpeed=906; // B_338_Ball 890
tracerScale=1.2; // no .338 LM tracer data, B_338_Ball, JCA 1.3
tracerStartTime=0.23; // no .338 LM tracer data, based on 12.7x99 Tracer visible 200m 1500m 43g MV 903m/s ICAO according to https://www.nammo.com, ToF 200m 0.23s (Strelok Pro), B_338_Ball 0.075
tracerEndTime=2.71; // no .338 LM tracer data, based on 12.7x99 Tracer visible 200m 1500m 43g MV 903m/s ICAO according to https://www.nammo.com, ToF 1500m 2.71s (Strelok Pro), B_338_Ball 1, JCA 3
airFriction=-0.00061662; // ICAO conditions (15°C, 1013.25hPa, 0%), airFrictionAnalysis.txt in docs folder
};
class JCA_B_338LM_AP_Ball: JCA_B_338LM_Ball // Lapua .338 LM 248gr AP485 Armor Piercing https://www.lapua.com/product/338-lapua-mag-tactical-cartridge-armor-piercing-161g-248gr-4318035/
{
ACE_bulletLength=35.5; // 1.398" 35.51mm https://jbmballistics.com
ACE_bulletMass=16.1; // Lapua .338 LM 248gr AP485 Armor Piercing https://www.lapua.com/product/338-lapua-mag-tactical-cartridge-armor-piercing-161g-248gr-4318035/
ACE_ballisticCoefficients[]={0.564}; // Lapua .338 LM 248gr AP485 Armor Piercing https://www.lapua.com/product/338-lapua-mag-tactical-cartridge-armor-piercing-161g-248gr-4318035/
ACE_muzzleVelocities[]={908}; // Muzzle Velocities 70°F (21°C) +2m/s, 906m/s (27") ICAO conditions (15°C, 1013.25hPa, 0%) according to JCA_5Rnd_338LM_AP_Mag initSpeed
caliber=1.35; // effective perforation in-game 12mm RHA "armour_plate_12mm.bisurf" 550m ~610m/s, B_338_Ball 2, should be 12mm 550m Steel plate 400 HB https://www.nammo.com
hit=20; // according to "Level IV" "armor" value, 16.1g 906m/s 6609 Joules. NIJ Type IV (Armor Piercing Rifle) and NIJ RF3: 30.06 M2 AP bullet 10.8g 878m/s (165.7gr 2880ft/s) 4163 Joules
typicalSpeed=906; // B_338_Ball 890
airFriction=-0.00070864; // ICAO conditions (15°C, 1013.25hPa, 0%), airFrictionAnalysis.txt in docs folder
};
class JCA_B_338LM_API_Ball: JCA_B_338LM_Ball // Lapua .338 LM 253gr API526 Armor Piercing Incendiary https://www.lapua.com/product/338-lapua-mag-tactical-cartridge-api526-164g-253gr-4318048/
{
ACE_bulletLength=39; // 1.535" 38.99mm https://jbmballistics.com
ACE_bulletMass=16.4; // Lapua .338 LM 253gr API526 Armor Piercing Incendiary https://www.lapua.com/product/338-lapua-mag-tactical-cartridge-api526-164g-253gr-4318048/
ACE_ballisticCoefficients[]={0.554}; // Lapua .338 LM 253gr API526 https://www.lapua.com/product/338-lapua-mag-tactical-cartridge-api526-164g-253gr-4318048/
ACE_muzzleVelocities[]={898}; // Muzzle Velocities 70°F (21°C) +2m/s, 896m/s (27") ICAO conditions (15°C, 1013.25hPa, 0%) according to JCA_5Rnd_338LM_API_Mag initSpeed
ace_vehicle_damage_incendiary=1; // observable flash at hard targets. Ignition of vaporized fuel https://www.nammo.comproduct/our-products/ammunition/small-caliber-ammunition/8-6mm-series-338/8-6-mm-x-70-338-lapua-armor-piercing-incendiary/
caliber=1.1; // effective perforation in-game 10mm RHA "armour.bisurf" thickness .p3d 10mm 500m ~620m/s, B_338_Ball 2, should be 10mm 500m Steel plate 400 HB https://www.nammo.com
hit=34.6; // anti-material, 20x1.69x1.024, average ratio anti-material/anti-personal B_127x99_SLAP/B_127x99_Ball and B_127x108_APDS/B_127x108_Ball "hit": 1.69. Energy ratio JCA_B_338LM_API_Ball/B_338_Ball: 1.024
indirectHit=8; // B_20mm_AP
indirectHitRange=0.2; // B_20mm_AP
typicalSpeed=896; // B_338_Ball 890
airFriction=-0.0007233; // ICAO conditions (15°C, 1013.25hPa, 0%), airFrictionAnalysis.txt in docs folder
CraterEffects="ExploAmmoCrater"; // ammo_Penetrator_Base
class HitEffects // B_30mm_APFSDS. Observable flash at hard targets. Ignition of vaporized fuel https://www.nammo.comproduct/our-products/ammunition/small-caliber-ammunition/8-6mm-series-338/8-6-mm-x-70-338-lapua-armor-piercing-incendiary/
{
hitMetal="ImpactMetalSabotSmall";
hitMetalPlate="ImpactMetalSabotSmall";
hitBuilding="ImpactConcreteSabotSmall";
hitConcrete="ImpactConcreteSabotSmall";
hitGroundSoft="ImpactEffectsGroundSabot";
hitGroundRed="ImpactEffectsGroundSabot"; // BulletBase ImpactEffectsRed
hitGroundHard="ImpactEffectsGroundSabot";
Hit_Foliage_green="ImpactLeavesGreen";
Hit_Foliage_Dead="ImpactLeavesDead";
Hit_Foliage_Green_big="ImpactLeavesGreenBig";
Hit_Foliage_Palm="ImpactLeavesPalm";
Hit_Foliage_Pine="ImpactLeavesPine";
hitFoliage="ImpactLeaves";
hitGlass="ImpactGlass";
hitGlassArmored="ImpactGlassThin";
hitWood="ImpactWood";
hitHay="ImpactHay";
hitPlastic="ImpactPlastic";
hitRubber="ImpactRubber";
hitTyre="ImpactTyre";
hitMan="ImpactEffectsBlood";
hitWater="ImpactEffectsWater";
hitVirtual="ImpactMetal"; // BulletBase
default_mat="ImpactEffectsGroundSabot";
};
};
class JCA_B_338LM_Ball_Tracer_Red: JCA_B_338LM_Ball
{
visibleFire=5; // B_338_Ball 3, B_762x51_Ball 3, B_762x51_Minigun_Tracer_Red 5, BulletBase 3, BulletCore 16
};
class JCA_B_338LM_Ball_Tracer_Green: JCA_B_338LM_Ball
{
visibleFire=5; // B_338_Ball 3, B_762x51_Ball 3, B_762x51_Minigun_Tracer_Red 5, BulletBase 3, BulletCore 16
};
class JCA_B_338LM_Ball_Tracer_Yellow: JCA_B_338LM_Ball
{
visibleFire=5; // B_338_Ball 3, B_762x51_Ball 3, B_762x51_Minigun_Tracer_Red 5, BulletBase 3, BulletCore 16
};
class JCA_B_338LM_Ball_Tracer_IR: JCA_B_338LM_Ball
{
tracerScale=0.6; // IR dim tracer
tracerStartTime=0.02; // no .338 LM tracer data, based on 7.62x51 IR Dim Tracer visible 13m 775m (typically 1250m) 9g 840m/s ICAO according to https://www.nammo.com, ToF 13m 0.02s (Strelok Pro), B_338_Ball 0.075
tracerEndTime=3.03; // no .338 LM tracer data, based on 7.62x51 IR Dim Tracer visible 13m 775m (typically 1250m) 9g 840m/s ICAO according to https://www.nammo.com, ToF 1250m 3.03s (Strelok Pro), B_338_Ball 1, JCA 3
};
};
class CfgMagazines
{
class CA_Magazine;
class JCA_5Rnd_338LM_AWM_Mag: CA_Magazine // JCA default config
{
mass=9.7; // magazine 219g + 5x 44.5g, JCA 8
initSpeed=906; // according to ACE_muzzleVelocities ICAO conditions (15°C, 1013.25 hPa, 0%)
};
class JCA_5Rnd_338LM_AWM_AP_Mag: JCA_5Rnd_338LM_AWM_Mag
{
author="Laid3acK";
displayName=".338 LM 5Rnd M115A3 AP Mag";
ammo="JCA_B_338LM_AP_Ball";
// mass=9.7; // magazine 219g + 5x 44.3g
// initSpeed=906; // according to ACE_muzzleVelocities ICAO conditions (15°C, 1013.25 hPa, 0%)
displaynameshort="AP";
};
class JCA_5Rnd_338LM_AWM_API_Mag: JCA_5Rnd_338LM_AWM_Mag
{
author="Laid3acK";
displayName=".338 LM 5Rnd M115A3 API Mag";
ammo="JCA_B_338LM_API_Ball";
// mass=9.7; // magazine 219g + 5x 44.4g
initSpeed=896; // according to ACE_muzzleVelocities ICAO conditions (15°C, 1013.25 hPa, 0%)
displaynameshort="API";
};
class JCA_5Rnd_338LM_AWM_Tracer_Red_Mag: JCA_5Rnd_338LM_AWM_Mag
{
displaynameshort="Tracer";
};
class JCA_5Rnd_338LM_AWM_Tracer_Green_Mag: JCA_5Rnd_338LM_AWM_Tracer_Red_Mag
{
};
class JCA_5Rnd_338LM_AWM_Tracer_Yellow_Mag: JCA_5Rnd_338LM_AWM_Tracer_Red_Mag
{
};
class JCA_5Rnd_338LM_AWM_Tracer_IR_Mag: JCA_5Rnd_338LM_AWM_Tracer_Red_Mag
{
displaynameshort="Tracer IR";
};
};
class CfgMagazineWells
{
class JCA_AWM_338LM // Weapon initSpeed -1 ACE_barrelLength 685.8mm (27"): 906, 896m/s ICAO conditions (15°C, 1013.25 hPa, 0%) according to JCA_5Rnd_338LM magazines initSpeed
{
JCA_Magazines[]=
{
"JCA_5Rnd_338LM_AWM_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_Red_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_Green_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_Yellow_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_IR_Mag",
"JCA_5Rnd_338LM_AWM_AP_Mag",
"JCA_5Rnd_338LM_AWM_API_Mag"
};
};
};
class Mode_SemiAuto;
class CfgWeapons
{
class InventoryOpticsItem_Base_F;
class InventoryUnderItem_Base_F;
class ItemCore;
class Rifle_Base_F;
class Rifle_Long_Base_F: Rifle_Base_F
{
class WeaponSlotsInfo;
};
class JCA_srifle_AWM_base_F: Rifle_Long_Base_F
{
ACE_barrelTwist=279.4; // 1:11" optimized for bullets around 250gr, for 300gr twist rate 1:10" or faster
ACE_barrelLength=685.8; // 27"
ACE_railHeightAboveBore=1.64895; // ACE3 checkScopes.sqf
ace_overheating_closedBolt=1;
maxZeroing=2300; // distance .338 LM GB528 300gr Mach 0.8 (272m/s) ICAO, srifle_DMR_02_F (MAR-10) 2000, JCA 2500
initSpeed=-1; // 906, 896m/s according to ACE_muzzleVelocities ICAO conditions (15°C, 1013.25 hPa, 0%)
descriptionShort="Sniper Rifle<br />Caliber: .338 Lapua Magnum";
magazines[]=
{
"JCA_5Rnd_338LM_AWM_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_Red_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_Green_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_Yellow_Mag",
"JCA_5Rnd_338LM_AWM_Tracer_IR_Mag",
"JCA_5Rnd_338LM_AWM_AP_Mag",
"JCA_5Rnd_338LM_AWM_API_Mag"
};
class Single: Mode_SemiAuto
{
dispersion=0.000209; // average dispersion .338 LM Scenar, AP and API https://www.nammo.com: 1.28 MOA (*0.562*0.000291), 0.562 value from https://github.com/acemod/ACE3/pull/5755, JCA 0.00022 (0.76 MOA)
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=149.9; // 6.8kg https://www.army.mod.uk/equipment/small-arms-and-support-weapons/, JCA 105
};
};
class JCA_optic_HPPO_base: ItemCore // S&B 5-25x56 PM II LP DT/ST https://www.schmidtundbender.de/en/5-25x56-PM-II-LP-P4FL-1cm-cw-DT-ST/689-911-972-94-67
{
ACE_ScopeZeroRange=100; // Always keep vanilla discreteDistance 100 same that Range Card zeroed distance, to increase eventually zeroing distance: Interaction Menu -> "Set zero adjustment" (AB enabled only)
ACE_ScopeHeightAboveRail=4.89867; // ACE3 checkScopes.sqf
ACE_ScopeAdjust_Vertical[]={0,34};
ACE_ScopeAdjust_Horizontal[]={-8,8};
ACE_ScopeAdjust_VerticalIncrement=0.1;
ACE_ScopeAdjust_HorizontalIncrement=0.1;
class ItemInfo: InventoryOpticsItem_Base_F
{
mass=24.8; // S&B 5-25x56 1125g, JCA 18
class OpticsModes
{
class HPPO
{
discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400,2500,2600,2700,2800}; // 2800m max distance at max elevation 34mRad M903/962 SLAP (zeroing 100m, ICAO conditions)
discreteDistanceInitIndex=0;
distanceZoomMin=100;
distanceZoomMax=2800; // JCA 2400
};
};
};
};
class JCA_optic_HPPO_RAD_base: ItemCore // S&B 5-25x56 PM II LP DT/ST https://www.schmidtundbender.de/en/5-25x56-PM-II-LP-P4FL-1cm-cw-DT-ST/689-911-972-94-67
{
ACE_ScopeZeroRange=100; // Always keep vanilla discreteDistance 100 same that Range Card zeroed distance, to increase eventually zeroing distance: Interaction Menu -> "Set zero adjustment" (AB enabled only)
ACE_ScopeHeightAboveRail=4.89867; // ACE3 checkScopes.sqf
ACE_ScopeAdjust_Vertical[]={0,34};
ACE_ScopeAdjust_Horizontal[]={-8,8};
ACE_ScopeAdjust_VerticalIncrement=0.1;
ACE_ScopeAdjust_HorizontalIncrement=0.1;
class ItemInfo: InventoryOpticsItem_Base_F
{
mass=34.1; // S&B 5-25x56 1125g + Wilcox RAPTAR-S 420g, JCA 24
class OpticsModes
{
class HPPO
{
discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400,2500,2600,2700,2800}; // 2800m max distance at max elevation 34mRad M903/962 SLAP (zeroing 100m, ICAO conditions)
discreteDistanceInitIndex=0;
distanceZoomMin=100;
distanceZoomMax=2800; // JCA 2400
};
};
};
};
class JCA_muzzle_snds_AWM_base: ItemCore
{
class ItemInfo;
};
class JCA_muzzle_snds_AWM_black: JCA_muzzle_snds_AWM_base // Sound Suppressor .338, muzzle_snds_338_black
{
class ItemInfo: ItemInfo
{
mass=10.5; // Accuracy International Tactical Moderator 475g, only compatible with the Accuracy International Tactical muzzle break, not the standard muzzle break, JCA 12
class MagazineCoef
{
initSpeed=1; // ACE3, JCA 1.05, muzzle_snds_338_black 1.1
};
class AmmoCoef
{
hit=1;
typicalSpeed=1;
airFriction=1;
visibleFire=0.3;
audibleFire=0.04;
visibleFireTime=0.5;
audibleFireTime=0.5;
cost=1;
};
class MuzzleCoef
{
dispersionCoef=1; // ACE3 0.95, JCA 0.8, muzzle_snds_338_black 0.8
artilleryDispersionCoef=1;
fireLightCoef=0.1;
recoilCoef=0.95; // ACE3, muzzle_snds_338_black 1
recoilProneCoef=0.95; // ACE3, muzzle_snds_338_black 1
minRangeCoef=1;
minRangeProbabCoef=1;
midRangeCoef=1;
midRangeProbabCoef=1;
maxRangeCoef=1;
maxRangeProbabCoef=1;
};
};
};
class JCA_muzzle_snds_AWM_sand: JCA_muzzle_snds_AWM_base // Sound Suppressor .338, muzzle_snds_338_black
{
class ItemInfo: ItemInfo // muzzle_snds_338_black
{
mass=10.5; // Accuracy International Tactical Moderator 475g, only compatible with the Accuracy International Tactical muzzle break, not the standard muzzle break, JCA 12
class MagazineCoef
{
initSpeed=1; // ACE3, JCA 1.05, muzzle_snds_338_black 1.1
};
class AmmoCoef
{
hit=1;
typicalSpeed=1;
airFriction=1;
visibleFire=0.3;
audibleFire=0.04;
visibleFireTime=0.5;
audibleFireTime=0.5;
cost=1;
};
class MuzzleCoef
{
dispersionCoef=1; // ACE3 0.95, JCA 0.8, muzzle_snds_338_black 0.8
artilleryDispersionCoef=1;
fireLightCoef=0.1;
recoilCoef=0.95; // ACE3, muzzle_snds_338_black 1
recoilProneCoef=0.95; // ACE3, muzzle_snds_338_black 1
minRangeCoef=1;
minRangeProbabCoef=1;
midRangeCoef=1;
midRangeProbabCoef=1;
maxRangeCoef=1;
maxRangeProbabCoef=1;
};
};
};
class JCA_muzzle_snds_AWM_olive: JCA_muzzle_snds_AWM_base // Sound Suppressor .338, muzzle_snds_338_black
{
class ItemInfo: ItemInfo // muzzle_snds_338_black
{
mass=10.5; // Accuracy International Tactical Moderator 475g, only compatible with the Accuracy International Tactical muzzle break, not the standard muzzle break, JCA 12
class MagazineCoef
{
initSpeed=1; // ACE3, JCA 1.05, muzzle_snds_338_black 1.1
};
class AmmoCoef
{
hit=1;
typicalSpeed=1;
airFriction=1;
visibleFire=0.3;
audibleFire=0.04;
visibleFireTime=0.5;
audibleFireTime=0.5;
cost=1;
};
class MuzzleCoef
{
dispersionCoef=1; // ACE3 0.95, JCA 0.8, muzzle_snds_338_black 0.8
artilleryDispersionCoef=1;
fireLightCoef=0.1;
recoilCoef=0.95; // ACE3, muzzle_snds_338_black 1
recoilProneCoef=0.95; // ACE3, muzzle_snds_338_black 1
minRangeCoef=1;
minRangeProbabCoef=1;
midRangeCoef=1;
midRangeProbabCoef=1;
maxRangeCoef=1;
maxRangeProbabCoef=1;
};
};
};
class JCA_bipod_AWM_base: ItemCore
{
class ItemInfo: InventoryUnderItem_Base_F
{
mass=13; // Accuracy International AW/AWM Steel Bipod 590g, JCA 10
};
};
};
class ACE_ATragMX_Presets
{
class ld3k_JCA_B_338LM_Ball
{
preset[]=
{
"JCA M115A3",
906,
100,
0.0732268,
-0.00061662,
6.55,
0,
2,
10,
120,
0,
0,
16.2,
8.95,
27.94,
0.648,
1,
"ICAO",
{
{-15,903},
{0,904},
{10,905},
{15,906},
{25,909},
{30,911},
{35,913}
},
{
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0}
}
};
};
class ld3k_JCA_B_338LM_AP_Ball
{
preset[]=
{
"JCA M115A3 AP",
906,
100,
0.0734488,
-0.00070864,
6.55,
0,
2,
10,
120,
0,
0,
16.1,
9.28,
27.94,
0.564,
1,
"ICAO",
{
{-15,903},
{0,904},
{10,905},
{15,906},
{25,909},
{30,911},
{35,913}
},
{
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0}
}
};
};
class ld3k_JCA_B_338LM_API_Ball
{
preset[]=
{
"JCA M115A3 API",
896,
100,
0.074292,
-0.0007233,
6.55,
0,
2,
10,
120,
0,
0,
16.4,
9.03,
27.94,
0.554,
1,
"ICAO",
{
{-15,893},
{0,894},
{10,895},
{15,896},
{25,899},
{30,901},
{35,903}
},
{
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0},
{0,0}
}
};
};
};