2016-10-26 22:16:31 +00:00
|
|
|
#define BASE_DRAG -0.01
|
|
|
|
#define HD_MULT 5
|
|
|
|
#define BASE_DRAG_HD (BASE_DRAG * HD_MULT)
|
2016-05-30 16:37:03 +00:00
|
|
|
|
|
|
|
class CfgAmmo {
|
2024-01-13 06:11:37 +00:00
|
|
|
|
2024-07-18 23:55:46 +00:00
|
|
|
#include "CfgAmmoBaseClasses.hpp"
|
2024-01-13 06:11:37 +00:00
|
|
|
|
2024-07-30 02:04:11 +00:00
|
|
|
class B_65x39_Caseless: BulletBase {};
|
2024-01-11 00:51:38 +00:00
|
|
|
class GVAR(base): B_65x39_Caseless {
|
2023-06-22 07:06:52 +00:00
|
|
|
ACE_damageType = "grenade"; // compatibility with medical_damage, shrapnel should produce grenade wounds
|
2024-01-08 21:21:32 +00:00
|
|
|
timeToLive = 4;
|
|
|
|
typicalSpeed = 800;
|
2024-01-08 21:22:52 +00:00
|
|
|
maxSpeed = 1500;
|
2016-05-30 16:37:03 +00:00
|
|
|
deflecting = 65;
|
2024-07-17 02:07:50 +00:00
|
|
|
GVAR(skip) = 1;
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(tiny): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 6;
|
|
|
|
airFriction = BASE_DRAG;
|
|
|
|
caliber = 0.75;
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(tiny_HD): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 6;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG_HD);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 0.75;
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(small): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 12;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG*0.9);
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(small_HD): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 12;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG_HD*0.9);
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(medium): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 14;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG*0.75);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 1.2;
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(medium_HD): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 14;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG_HD*0.75);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 1.2;
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(large): GVAR(base) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 28;
|
|
|
|
indirectHit = 2;
|
|
|
|
indirectHitRange = 0.25;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG*0.65);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 2;
|
|
|
|
explosive = 0;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(large_HD): GVAR(large) {
|
2024-01-15 22:10:01 +00:00
|
|
|
hit = 28;
|
2016-05-30 16:37:03 +00:00
|
|
|
indirectHit = 2;
|
|
|
|
indirectHitRange = 0.25;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG_HD*0.65);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 2;
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(huge): GVAR(large) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 40;
|
|
|
|
indirectHit = 4;
|
|
|
|
indirectHitRange = 0.5;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG*0.5);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 2.8;
|
|
|
|
};
|
|
|
|
|
2016-07-20 04:15:18 +00:00
|
|
|
class GVAR(huge_HD): GVAR(large) {
|
2016-05-30 16:37:03 +00:00
|
|
|
hit = 40;
|
|
|
|
indirectHit = 4;
|
|
|
|
indirectHitRange = 0.5;
|
2023-02-02 05:28:55 +00:00
|
|
|
airFriction = QUOTE(BASE_DRAG_HD*0.5);
|
2016-05-30 16:37:03 +00:00
|
|
|
caliber = 2.8;
|
|
|
|
};
|
2024-01-09 23:25:09 +00:00
|
|
|
|
2024-01-15 21:36:58 +00:00
|
|
|
#include "CfgAmmoSpall.hpp"
|
|
|
|
#include "CfgAmmoFragParameters.hpp"
|
2024-01-15 20:09:20 +00:00
|
|
|
};
|