Add caliber and deflecting values for AP rounds

This commit is contained in:
LorenLuke 2019-08-05 11:10:15 -07:00 committed by GitHub
parent 344662e76c
commit 92e0d55ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,23 +51,25 @@ class CfgAmmo {
// adjust damage and splash damage, AP Rounds // adjust damage and splash damage, AP Rounds
class ACE_Gatling_30mm_AP_Plane_CAS_01_F: Gatling_30mm_HE_Plane_CAS_01_F { class ACE_Gatling_30mm_AP_Plane_CAS_01_F: Gatling_30mm_HE_Plane_CAS_01_F {
explosive = 0.05; // default: 0.4 explosive = 0.05; // default: 0.4
hit = 110; // default: 180 caliber = 5; // default: 5
indirectHit = 2.5; // default: 4 deflecting = 8; // default: 5
indirectHitRange = 1; // default: 3 hit = 110; // default: 180
fuseDistance = 0.2; // default: 10 indirectHit = 2.5; // default: 4
deflecting = 5; indirectHitRange = 1; // default: 3
fuseDistance = 0.2; // default: 10
deflecting = 5;
}; };
// adds submunition logic, enabling multiple rounds per frame // adds submunition logic, enabling multiple rounds per frame
class ACE_Gatling_30mm_Sub_HEI: SubmunitionBullet { class ACE_Gatling_30mm_Sub_HEI: SubmunitionBullet {
submunitionAmmo = "Gatling_30mm_HE_Plane_CAS_01_F"; submunitionAmmo = "Gatling_30mm_HE_Plane_CAS_01_F";
weaponType = "cannon"; weaponType = "cannon";
submunitionConeType[] = {"poissondisccenter", 3}; submunitionConeType[] = {"poissondisccenter", 3};
submunitionConeAngle = 0.056; // in degrees, 0.055 ~= 0.001 mils minute, but present submunitionConeAngle = 0.056; // in degrees, 0.055 ~= 0.001 mils minute, but present
model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d"; model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d";
triggerTime = 0.005; triggerTime = 0.005;
ACE_caliber = 1.4; ACE_caliber = 1.4;
}; };
class ACE_Gatling_30mm_Sub_AP: ACE_Gatling_30mm_Sub_HEI { class ACE_Gatling_30mm_Sub_AP: ACE_Gatling_30mm_Sub_HEI {