Frag/Medical Damage - Treat shrapnel as grenade damage (#9218)

* treat shrapnel as grenades

* switch to frag
This commit is contained in:
Grim 2023-06-22 04:06:52 -03:00 committed by GitHub
parent 626d886b3b
commit 34c5988333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -266,6 +266,7 @@ class CfgAmmo {
class B_65x39_Caseless; class B_65x39_Caseless;
class GVAR(base): B_65x39_Caseless { class GVAR(base): B_65x39_Caseless {
ACE_damageType = "grenade"; // compatibility with medical_damage, shrapnel should produce grenade wounds
timeToLive = 12; timeToLive = 12;
typicalSpeed = 1500; typicalSpeed = 1500;
deflecting = 65; deflecting = 65;

View File

@ -211,6 +211,13 @@ class CfgAmmo {
ACE_muzzleVelocities[] = {340, 370, 400}; ACE_muzzleVelocities[] = {340, 370, 400};
ACE_barrelLengths[] = {101.6, 127.0, 228.6}; ACE_barrelLengths[] = {101.6, 127.0, 228.6};
}; };
class rhs_ammo_he_fragments: BulletBase { // Shrapnel, compatibility with medical_damage
ACE_damageType = "grenade";
};
class B_12Gauge_Slug;
class rhs_ammo_12g_FRAG: B_12Gauge_Slug { // Frag rounds, compatibility with medical_damage
ACE_damageType = "grenade";
};
class Sh_125mm_APFSDS; class Sh_125mm_APFSDS;
class rhsusf_ammo_basic_penetrator: Sh_125mm_APFSDS { class rhsusf_ammo_basic_penetrator: Sh_125mm_APFSDS {