mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed all inhertance issues
This commit is contained in:
parent
6257dd3ee2
commit
735d04e248
@ -18,7 +18,8 @@
|
||||
}
|
||||
|
||||
class CfgAmmo {
|
||||
class B_65x39_Caseless;
|
||||
// break EventHandlers inheritance on purpose to get it out of the frag & spall types
|
||||
class B_65x39_Caseless;
|
||||
|
||||
class GVAR(base): B_65x39_Caseless {
|
||||
ACE_damageType = "grenade"; // compatibility with medical_damage, shrapnel should produce grenade wounds
|
||||
|
@ -178,9 +178,10 @@ class SmokeShell: GrenadeHand {
|
||||
GVAR(skip) = 1;
|
||||
};
|
||||
class G_40mm_HE: GrenadeBase {
|
||||
class EventHandlers: EventHandlers;
|
||||
// Source: http://www.inetres.com/gp/military/infantry/grenade/40mm_ammo.html#M441
|
||||
GVAR(force) = 1;
|
||||
|
||||
GVAR(skip) = 1;
|
||||
GVAR(force) = 0;
|
||||
GVAR(classes)[] = {QGVAR(small)};
|
||||
GVAR(fragCount) = 800; // guess based on probability hit of 1%
|
||||
GVAR(metal) = 200;
|
||||
@ -189,6 +190,7 @@ class G_40mm_HE: GrenadeBase {
|
||||
GVAR(gurney_k) = "3/5"; // interior fragmenter/charge is a sphere
|
||||
};
|
||||
class G_40mm_HEDP: G_40mm_HE {
|
||||
class EventHandlers: EventHandlers;
|
||||
// Source: http://www.inetres.com/gp/military/infantry/grenade/40mm_ammo.html#M433
|
||||
GVAR(classes)[] = {QGVAR(small_HD)};
|
||||
GVAR(fragCount) = 270; // seems to have greater framentation ability, but lower range per source
|
||||
@ -198,9 +200,11 @@ class G_40mm_HEDP: G_40mm_HE {
|
||||
GVAR(gurney_k) = "1/2";
|
||||
};
|
||||
|
||||
class ACE_G_40mm_HEDP: G_40mm_HEDP {};
|
||||
class ACE_G_40mm_HEDP: G_40mm_HEDP {
|
||||
class EventHandlers: EventHandlers;
|
||||
};
|
||||
class ACE_G_40mm_HE: G_40mm_HE {
|
||||
class EventHandlers;
|
||||
class EventHandlers: EventHandlers;
|
||||
};
|
||||
class ACE_G_40mm_Practice: ACE_G_40mm_HE {
|
||||
ACE_FRAG_RM_EH;
|
||||
|
Loading…
Reference in New Issue
Block a user