WIP add Claymore Mine Frag and reduce Structure Damage

This commit is contained in:
mrschick 2024-07-02 14:32:31 +02:00
parent ded9caf25a
commit 4d5a22275a
2 changed files with 12 additions and 1 deletions

View File

@ -32,6 +32,10 @@ class CfgAmmo {
GVAR(defuseObjectPosition)[] = {0, 0, 0.038};
soundActivation[] = {"", 0, 0, 0};
soundDeactivation[] = {"", 0, 0, 0};
// Reduce vanilla damage, so that it doesn't destroy buildings
hit = 20;
indirectHit = 20;
};
// class ClaymoreDirectionalMine_Remote_Ammo_Scripted: ClaymoreDirectionalMine_Remote_Ammo {};

View File

@ -368,7 +368,14 @@ class APERSMineDispenser_Mine_Ammo: APERSMine_Range_Ammo {
class UXO_deploy_base_f: SubmunitionBase {};
class ClaymoreDirectionalMine_Remote_Ammo: DirectionalBombBase {
GVAR(skip) = 1;
GVAR(skip) = 0;
GVAR(force) = 0;
GVAR(classes)[] = {QGVAR(tiny), QGVAR(small)};
GVAR(fragCount) = 700;
GVAR(metal) = 700;
GVAR(charge) = 680;
GVAR(gurney_c) = 2700;
GVAR(gurney_k) = "3/5";
};
class SatchelCharge_Remote_Ammo: PipeBombBase {