R3F/RHS Compat - Add Ace vehicle damage incendiary (#8537)

* ace_vehicle_damage_incendiary

* ace_vehicle_damage_incendiary
This commit is contained in:
Laid3acK 2021-10-17 04:14:13 +02:00 committed by GitHub
parent e1141cdd27
commit e6bc44225f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -74,6 +74,10 @@ class CfgAmmo {
ACE_dragModel = 1; ACE_dragModel = 1;
ACE_muzzleVelocities[] = {780}; ACE_muzzleVelocities[] = {780};
ACE_barrelLengths[] = {700}; ACE_barrelLengths[] = {700};
EGVAR(vehicle_damage,incendiary) = 0.2;
};
class R3F_127x99_PEI: R3F_127x99_Ball {
EGVAR(vehicle_damage,incendiary) = 1.0;
}; };
class R3F_127x99_Ball2: BulletBase { // BARRETT M107 M33 https://github.com/acemod/ACE3/blob/master/addons/ballistics/CfgAmmo.hpp#L635 class R3F_127x99_Ball2: BulletBase { // BARRETT M107 M33 https://github.com/acemod/ACE3/blob/master/addons/ballistics/CfgAmmo.hpp#L635
airFriction = -0.000618; // ACE3 value, default -0.00086 airFriction = -0.000618; // ACE3 value, default -0.00086
@ -88,6 +92,10 @@ class CfgAmmo {
ACE_dragModel = 1; ACE_dragModel = 1;
ACE_muzzleVelocities[] = {850}; ACE_muzzleVelocities[] = {850};
ACE_barrelLengths[] = {736.6}; ACE_barrelLengths[] = {736.6};
EGVAR(vehicle_damage,incendiary) = 0.2;
};
class R3F_127x99_PEI2: R3F_127x99_Ball2 {
EGVAR(vehicle_damage,incendiary) = 1.0;
}; };
class R3F_127x99_Ball3: BulletBase { // McMillan TAC-50 AMAX https://web.archive.org/web/20080527201619/http://mcmfamily.com/pdfs/Tac-50%20Technical%20Data.pdf class R3F_127x99_Ball3: BulletBase { // McMillan TAC-50 AMAX https://web.archive.org/web/20080527201619/http://mcmfamily.com/pdfs/Tac-50%20Technical%20Data.pdf
typicalSpeed = 823; // R3F default value 820 typicalSpeed = 823; // R3F default value 820
@ -103,5 +111,6 @@ class CfgAmmo {
ACE_dragModel = 1; ACE_dragModel = 1;
ACE_muzzleVelocities[] = {831}; // at 21°C, at 15°C 823 m/s (2700 fps) according with the R3F_TAC50 initSpeed ACE_muzzleVelocities[] = {831}; // at 21°C, at 15°C 823 m/s (2700 fps) according with the R3F_TAC50 initSpeed
ACE_barrelLengths[] = {736.6}; ACE_barrelLengths[] = {736.6};
EGVAR(vehicle_damage,incendiary) = 0.2;
}; };
}; };

View File

@ -26,6 +26,7 @@ class CfgAmmo {
ACE_dragModel = 1; ACE_dragModel = 1;
ACE_muzzleVelocities[] = {900}; ACE_muzzleVelocities[] = {900};
ACE_barrelLengths[] = {736.6}; ACE_barrelLengths[] = {736.6};
EGVAR(vehicle_damage,incendiary) = 1.0; // Raufoss Mk 211 HEIAP (high-explosive, incendiary, armor-piercing)
}; };
class B_762x54_Ball; class B_762x54_Ball;
class rhsusf_B_300winmag: B_762x54_Ball { // ACE_762x67_Ball_Mk248_Mod_1 (ballistics/CfgAmmo.hpp) class rhsusf_B_300winmag: B_762x54_Ball { // ACE_762x67_Ball_Mk248_Mod_1 (ballistics/CfgAmmo.hpp)