ACE3/addons/frag/cfgAmmoSpall.hpp

158 lines
5.6 KiB
C++
Raw Normal View History

class GVAR(spallBase): B_65x39_Caseless {
submunitionAmmo[] = {QGVAR(small),4,QGVAR(medium),3,QGVAR(large),2,QGVAR(huge),1};
2024-01-09 00:06:30 +00:00
submunitionConeType[] = {"random", 20};
submunitionConeAngle = 40;
submunitionDirectionType = "SubmunitionModelDirection";
triggerTime = 0;
submunitionInitialOffset[] = {0,0,0};
submunitionInitSpeed = 0;
2024-01-09 00:06:30 +00:00
triggerSpeedCoef[] = {0.75,1.25};
deleteParentWhenTriggered = 1;
submunitionParentSpeedCoef = 1;
2024-01-11 00:51:38 +00:00
ACE_FRAG_RM_EH;
2024-01-09 00:06:30 +00:00
};
2024-01-10 03:07:01 +00:00
2024-01-11 01:02:07 +00:00
/*
* ground
*/
class GVAR(ground_spall_tiny): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 9, QGVAR(small), 1};
submunitionConeType[] = {"poissondisccenter", 4};
2024-01-09 00:06:30 +00:00
};
class GVAR(ground_spall_small): GVAR(spallBase) {
submunitionAmmo[] = {QGVAR(small), 4,QGVAR(medium), 1};
2024-01-10 03:07:01 +00:00
submunitionConeType[] = {"poissondisccenter", 6};
2024-01-09 00:06:30 +00:00
};
class GVAR(ground_spall_medium): GVAR(spallBase) {
submunitionAmmo[] = {QGVAR(small), 2, QGVAR(small_HD), 1,QGVAR(medium), 3, QGVAR(medium_HD), 1, QGVAR(large), 2};
2024-01-09 00:06:30 +00:00
submunitionConeType[] = {"poissondisccenter", 15};
};
class GVAR(ground_spall_large): GVAR(spallBase) {
2024-01-09 06:24:48 +00:00
submunitionAmmo[] = {QGVAR(tiny), 3, QGVAR(tiny_HD), 3, QGVAR(small), 4, QGVAR(small_HD), 4, QGVAR(medium_HD), 5, QGVAR(large), 1, QGVAR(large_HD), 2};
2024-01-09 00:06:30 +00:00
submunitionConeType[] = {"poissondisccenter", 15};
};
class GVAR(ground_spall_huge): GVAR(spallBase) {
2024-01-09 06:24:48 +00:00
submunitionAmmo[] = {QGVAR(tiny), 3, QGVAR(tiny_HD), 3, QGVAR(small), 4, QGVAR(small_HD), 4, QGVAR(medium), 5, QGVAR(large), 1, QGVAR(large_HD), 2};
2024-01-09 00:06:30 +00:00
submunitionConeType[] = {"poissondisccenter", 20};
2024-01-10 03:07:01 +00:00
};
2024-01-11 01:02:07 +00:00
/*
* rock
*/
class GVAR(rock_spall_tiny): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(small), 4, QGVAR(medium_HD), 1};
submunitionConeType[] = {"poissondisccenter", 4};
};
class GVAR(rock_spall_small): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(small), 4, QGVAR(medium), 1};
submunitionConeType[] = {"poissondisccenter", 5};
};
class GVAR(rock_spall_medium): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(small), 4, QGVAR(medium), 1, QGVAR(medium_HD), 2, QGVAR(large_HD), 1};
submunitionConeType[] = {"poissondisccenter", 7};
};
class GVAR(rock_spall_large): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(small), 5, QGVAR(medium), 2, QGVAR(large), 1};
submunitionConeType[] = {"poissondisccenter", 10};
};
class GVAR(rock_spall_huge): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(small), 5, QGVAR(medium), 2, QGVAR(large), 1, QGVAR(huge_HD), 1};
submunitionConeType[] = {"poissondisccenter", 13};
};
2024-01-11 01:02:07 +00:00
/*
* wood
*/
class GVAR(wood_spall_tiny): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 2, QGVAR(small), 4};
submunitionConeType[] = {"poissondisccenter", 4};
};
class GVAR(wood_spall_small): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 2, QGVAR(small), 4, QGVAR(medium), 1};
submunitionConeType[] = {"poissondisccenter", 6};
};
class GVAR(wood_spall_medium): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 2, QGVAR(small), 2, QGVAR(medium), 2, QGVAR(medium_HD), 1, QGVAR(large_HD), 1};
submunitionConeType[] = {"poissondisccenter", 8};
};
class GVAR(wood_spall_large): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 1, QGVAR(small), 3, QGVAR(medium), 2, QGVAR(large_HD), 2, QGVAR(huge_HD), 1};
submunitionConeType[] = {"poissondisccenter", 10};
};
class GVAR(wood_spall_huge): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 1, QGVAR(small), 3, QGVAR(medium), 2, QGVAR(large_HD), 2, QGVAR(huge_HD), 1};
submunitionConeType[] = {"poissondisccenter", 12};
};
2024-01-11 01:02:07 +00:00
/*
* concrete
*/
class GVAR(concrete_spall_tiny): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 6, QGVAR(tiny_HD), 3, QGVAR(small), 1};
submunitionConeType[] = {"poissondisccenter", 4};
};
class GVAR(concrete_spall_small): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 4, QGVAR(tiny_HD), 2, QGVAR(small), 2, QGVAR(medium), 1};
submunitionConeType[] = {"poissondisccenter", 6};
};
class GVAR(concrete_spall_medium): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 6, QGVAR(tiny_HD), 1, QGVAR(small), 4, QGVAR(medium), 5, QGVAR(large_HD), 1};
submunitionConeType[] = {"poissondisccenter", 9};
};
class GVAR(concrete_spall_large): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 6, QGVAR(small), 4, QGVAR(medium), 3, QGVAR(large), 1, QGVAR(large_HD), 2};
submunitionConeType[] = {"poissondisccenter", 12};
};
class GVAR(concrete_spall_huge): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 8, QGVAR(small), 4, QGVAR(medium), 3, QGVAR(large), 1, QGVAR(large_HD), 1, QGVAR(huge_HD), 1};
submunitionConeType[] = {"poissondisccenter", 18};
};
2024-01-11 01:02:07 +00:00
/*
* metal
*/
class GVAR(metal_spall_tiny): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 9, QGVAR(small), 1};
submunitionConeType[] = {"poissondisccenter", 4};
};
class GVAR(metal_spall_small): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 4, QGVAR(small), 2, QGVAR(medium), 1};
submunitionConeType[] = {"poissondisccenter", 6};
};
class GVAR(metal_spall_medium): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 5, QGVAR(small), 4, QGVAR(medium), 2, QGVAR(large), 1};
submunitionConeType[] = {"poissondisccenter", 8};
};
class GVAR(metal_spall_large): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 4, QGVAR(small), 3, QGVAR(medium), 2, QGVAR(large), 1, QGVAR(huge), 1};
submunitionConeType[] = {"poissondisccenter", 12};
};
class GVAR(metal_spall_huge): GVAR(spallBase) {
2024-01-10 03:07:01 +00:00
submunitionAmmo[] = {QGVAR(tiny), 8, QGVAR(small), 3, QGVAR(medium), 2, QGVAR(large), 3, QGVAR(huge), 1};
submunitionConeType[] = {"poissondisccenter", 18};
2024-01-09 00:06:30 +00:00
};