Fixed configname conflict after merging spall & frag cfgAmmos

This commit is contained in:
lambdatiger 2024-01-08 16:05:46 -06:00
parent 42832aa95c
commit c95a8ca21b

View File

@ -362,21 +362,57 @@ class CfgAmmo {
airFriction = QUOTE(BASE_DRAG_HD*0.5); airFriction = QUOTE(BASE_DRAG_HD*0.5);
caliber = 2.8; caliber = 2.8;
}; };
class GVAR(spall_small): GVAR(small) { //////////////////
timeToLive = 0.2;
class GVAR(spallBase) : B_65x39_Caseless
{
access = 3;
submunitionAmmo[] = {"ace_frag_small_c",4,"ace_frag_medium_c",3,"ace_frag_large_c",2,"ace_frag_huge_c",1};
submunitionConeType[] = {"random", 20};
submunitionConeAngle = 40;
submunitionDirectionType = "SubmunitionModelDirection";
triggerTime = 0;
submunitionInitialOffset[] = {0,0,0};
submunitionInitSpeed = 0;
triggerSpeedCoef[] = {0.75,1.25};
deleteParentWhenTriggered = 1;
submunitionParentSpeedCoef = 1;
}; };
class GVAR(spall_medium): GVAR(medium) { class GVAR(spall_tiny) : GVAR(spallBase)
timeToLive = 0.2; {
submunitionAmmo[] = {"ace_frag_small_c", 4, "ace_frag_medium_c", 1};
submunitionConeType[] = {"poissondisccenter", 5};
submunitionConeAngle = 40;
}; };
class GVAR(spall_large): GVAR(large) { class GVAR(spall_small) : GVAR(spallBase)
timeToLive = 0.25; {
submunitionAmmo[] = {"ace_frag_small_c", 4,"ace_frag_medium_c", 1};
submunitionConeType[] = {"poissondisccenter", 10};
submunitionConeAngle = 40;
}; };
class GVAR(spall_huge): GVAR(huge) { class GVAR(spall_medium) : GVAR(spallBase)
timeToLive = 0.3; {
submunitionAmmo[] = {"ace_frag_small_c", 2, "ace_frag_small_HD_c", 1,"ace_frag_medium_c", 3, "ace_frag_medium_HD_c", 1, "ace_frag_large_c", 2};
submunitionConeType[] = {"poissondisccenter", 15};
submunitionConeAngle = 40;
};
class GVAR(spall_large) : GVAR(spallBase)
{
submunitionAmmo[] = {"ace_frag_tiny_c", 3, "ace_frag_tiny_HD_c", 3, "ace_frag_small_c", 4, "ace_frag_small_HD_c", 4, "ace_frag_medium_HD_c", 5, "ace_frag_large_c", 2, "ace_frag_large_HD_c", 2, "ace_frag_huge_c",1};
submunitionConeType[] = {"poissondisccenter", 15};
submunitionConeAngle = 40;
};
class GVAR(spall_huge) : GVAR(spallBase)
{
submunitionAmmo[] = {"ace_frag_tiny_c", 3, "ace_frag_tiny_HD_c", 3, "ace_frag_small_c", 4, "ace_frag_small_HD_c", 4, "ace_frag_medium_HD_c", 5, "ace_frag_large_c", 2, "ace_frag_large_HD_c", 2, "ace_frag_huge_c",1};
submunitionConeType[] = {"poissondisccenter", 20};
submunitionConeAngle = 40;
}; };