/
CfgAmmo.hpp
214 lines (204 loc) · 8.83 KB
/
CfgAmmo.hpp
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
class CfgAmmo {
class B_556x45_Ball_Tracer_Red;
class BWA3_B_556x45_Ball: B_556x45_Ball_Tracer_Red { // B_556x45_Ball, AtragMx GunList: "5.56x45mm M855"
ACE_caliber = 5.69;
ACE_bulletLength = 23.012;
ACE_bulletMass = 4.0176;
ACE_ammoTempMuzzleVelocityShifts[] = {-27.20, -26.44, -23.76, -21.00, -17.54, -13.10, -7.95, -1.62, 6.24, 15.48, 27.75};
ACE_ballisticCoefficients[] = {0.151};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 7;
ACE_muzzleVelocities[] = {723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900};
ACE_barrelLengths[] = {210.82, 238.76, 269.24, 299.72, 330.2, 360.68, 391.16, 419.1, 449.58, 480.06, 508.0, 609.6};
};
class BWA3_B_556x45_Ball_SD: BWA3_B_556x45_Ball { // CfgAmmoReference.hpp: VTN_556x45_Ball_SS
ACE_caliber = 5.69;
ACE_bulletLength = 23.012;
ACE_bulletMass = 4.0176;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[] = {0.151};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 7;
ACE_muzzleVelocities[] = {300, 320, 340};
ACE_barrelLengths[] = {254.0, 508.0, 609.6};
};
class BWA3_B_556x45_Ball_AP: BWA3_B_556x45_Ball { // ACE_556x45_Ball_M995_AP, AtragMx GunList: "5.56x45mm M995"
ACE_caliber = 5.69;
ACE_bulletLength = 23.012;
ACE_bulletMass = 4.5359237;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.310};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {820, 865, 880};
ACE_barrelLengths[] = {254.0, 393.7, 508.0};
};
class B_762x51_Tracer_Red;
class BWA3_B_762x51_Ball: B_762x51_Tracer_Red { // class B_762x51_Ball, AtragMx GunList: "7.62x51mm M80"
ACE_caliber = 7.823;
ACE_bulletLength = 28.956;
ACE_bulletMass = 9.4608;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.2};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ICAO";
ACE_dragModel = 7;
ACE_muzzleVelocities[] = {700, 800, 820, 833, 845};
ACE_barrelLengths[] = {254.0, 406.4, 508.0, 609.6, 660.4};
};
class BWA3_B_762x51_Ball_SD: BWA3_B_762x51_Ball { // ACE_762x51_Ball_Subsonic, AtragMx GunList: "7.62x51mm Subsonic"
ACE_caliber = 7.823;
ACE_bulletLength = 34.036;
ACE_bulletMass = 12.96;
ACE_ammoTempMuzzleVelocityShifts[] = {-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[] = {0.235};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ICAO";
ACE_dragModel = 7;
ACE_muzzleVelocities[] = {305, 325, 335, 340};
ACE_barrelLengths[] = {406.4, 508.0, 609.6, 660.4};
};
class BWA3_B_762x51_Ball_AP: BWA3_B_762x51_Ball { // ACE_762x51_Ball_M993_AP, AtragMx GunList: "7.62x51mm M993"
ACE_caliber = 7.823;
ACE_bulletLength = 31.496;
ACE_bulletMass = 8.22946157;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.359};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ICAO";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {875, 910, 930};
ACE_barrelLengths[] = {330.2, 406.4, 508.0};
};
class BWA3_B_762x51_Ball_LR: BWA3_B_762x51_Ball { // ACE_762x51_Ball_M118LR, AtragMx GunList: "7.62x51mm M118LR"
ACE_caliber = 7.823;
ACE_bulletLength = 31.496;
ACE_bulletMass = 11.34;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.243};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ICAO";
ACE_dragModel = 7;
ACE_muzzleVelocities[] = {750, 780, 790, 794};
ACE_barrelLengths[] = {406.4, 508.0, 609.6, 660.4};
};
class B_127x99_Ball_Tracer_Red;
class BWA3_B_127x99_Ball: B_127x99_Ball_Tracer_Red { // B_127x99_Ball, AtragMx GunList: "12.7x99mm"
ACE_caliber = 12.954;
ACE_bulletLength = 58.674;
ACE_bulletMass = 41.9256;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.670};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {900};
ACE_barrelLengths[] = {736.6};
};
class BWA3_B_127x99_Ball_SD: BWA3_B_127x99_Ball {
ACE_caliber = 12.954;
ACE_bulletLength = 58.674;
ACE_bulletMass = 41.9256;
ACE_ammoTempMuzzleVelocityShifts[] = {-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[] = {0.670};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {330};
ACE_barrelLengths[] = {736.6};
};
class BWA3_B_127x99_Ball_AP: BWA3_B_127x99_Ball { // ACE_127x99_API, AtragMx GunList: "12.7x99mm"
ACE_caliber = 12.954;
ACE_bulletLength = 58.674;
ACE_bulletMass = 41.9904;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.670};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {900};
ACE_barrelLengths[] = {736.6};
};
class BWA3_B_127x99_Ball_Raufoss: BWA3_B_127x99_Ball {
// HE gren with less metal parts
ACE_frag_enabled = 1;
ACE_frag_force = 1;
ace_frag_metal = 180;
ace_frag_charge = 180;
ace_frag_gurney_c = 2930; // Gurney velocity constant for PETN
ace_frag_gurney_k = 1/2; // shape factor for a cylinder
ACE_frag_classes[] = {"ACE_Frag_tiny_HD"};
}; // B_127x99_Ball, AtragMx GunList: "12.7x99mm"
class BulletBase;
class BWA3_B_46x30_Ball: BulletBase {
ACE_caliber = 4.902;
ACE_bulletLength = 13.005;
ACE_bulletMass = 2.0088;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.1455};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ICAO";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {680, 720, 730, 740};
ACE_barrelLengths[] = {101.6, 177.8, 228.6, 304.8};
};
class BWA3_B_46x30_Ball_SD: BWA3_B_46x30_Ball {
// Reference?
ACE_ballisticCoefficients[] = {};
ACE_velocityBoundaries[] = {};
ACE_muzzleVelocities[] = {};
ACE_barrelLengths[] = {};
};
class MineBase;
class BWA3_DM31AT_Range_Ammo: MineBase {
mineTrigger = "ACE_MagneticTrigger";
ACE_explosives_explodeOnDefuseChance = 0.06;
};
class GrenadeHand;
class BWA3_G_DM51A1: GrenadeHand {
ace_frag_metal = 296;
ace_frag_charge = 180;
ace_frag_gurney_c = 2930; // Gurney velocity constant for PETN
ace_frag_gurney_k = 1/2; // shape factor for a cylinder
};
class RocketBase;
class BWA3_R_RGW90_HH: RocketBase {
ACE_frag_enabled = 1;
ACE_frag_force = 1;
ACE_frag_metal = 400;
ACE_frag_charge = 210;
ACE_frag_gurney_c = 2800;
ACE_frag_gurney_k = "3/5";
ACE_frag_classes[] = {"ACE_frag_medium_HD"};
};
class BWA3_R_Pzf3_IT: RocketBase {
ACE_frag_skip = 1;
};
class BWA3_R_CarlGustaf_HEAT: RocketBase {
ACE_frag_skip = 1;
};
class BWA3_R_CarlGustaf_HE: BWA3_R_CarlGustaf_HEAT {
ACE_frag_skip = 0;
ACE_frag_enabled = 1;
ACE_frag_force = 1;
ACE_frag_metal = 400;
ACE_frag_charge = 210;
ACE_frag_gurney_c = 2800;
ACE_frag_gurney_k = "3/5";
ACE_frag_classes[] = {"ACE_frag_medium_HD"};
};
class B_30mm_MP_Tracer_Red;
class BWA3_B_30mm_HE: B_30mm_MP_Tracer_Red {
// 40mm HE gren with less metal parts
ACE_frag_enabled = 1;
ACE_frag_force = 1;
ACE_frag_classes[] = {"ACE_Frag_tiny_HD"};
ACE_frag_metal = 120;
ACE_frag_charge = 32;
ACE_frag_gurney_c = 2700;
ACE_frag_gurney_k = 1/2;
};
};