Skip to content

Commit

Permalink
WIP add Claymore Mine Frag and reduce Structure Damage
Browse files Browse the repository at this point in the history
  • Loading branch information
mrschick committed Sep 24, 2024
1 parent 2a331ec commit 73a8190
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addons/explosives/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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 APERSTripMine_Wire_Ammo: DirectionalBombBase {
Expand Down
9 changes: 8 additions & 1 deletion addons/frag/CfgAmmoFragParameters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,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 {
Expand Down

0 comments on commit 73a8190

Please sign in to comment.