From 5915e24f5d2e853a8179f9d654f1e01f7e680276 Mon Sep 17 00:00:00 2001 From: AKALegman Date: Sun, 14 Jun 2015 16:09:01 +0100 Subject: [PATCH] some fixes --- addons/explosives/CfgMagazines.hpp | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/addons/explosives/CfgMagazines.hpp b/addons/explosives/CfgMagazines.hpp index ee16c1ded6..39d08917c3 100644 --- a/addons/explosives/CfgMagazines.hpp +++ b/addons/explosives/CfgMagazines.hpp @@ -97,12 +97,13 @@ class CfgMagazines { }; }; - class IEDUrbanBig_Remote_Mag: DemoCharge_Remote_Mag { - class ACE_Triggers { + class IEDUrbanBig_Remote_Mag: DemoCharge_Remote_Mag { + ACE_SetupObject = "ACE_Explosives_Place_IEDUrbanBig"; + class ACE_Triggers { SupportedTriggers[] = {"Command", "DeadmanSwitch", "Cellphone", "PressurePlate"}; class Command { FuseTime = 0.5; - ammo = "IEDUrbanBig_Command_Ammo"; + ammo = "IEDUrbanBig_Command_Ammo"; }; class DeadmanSwitch:Command {}; class Cellphone:Command {}; @@ -113,14 +114,14 @@ class CfgMagazines { pitch = 0; }; }; - }; + }; class IEDLandBig_Remote_Mag: IEDUrbanBig_Remote_Mag { ACE_SetupObject = "ACE_Explosives_Place_IEDLandBig"; class ACE_Triggers: ACE_Triggers { - class Command: Command { - ammo = "IEDLandBig_Command_Ammo"; - }; + class Command: Command { + ammo = "IEDLandBig_Command_Ammo"; + }; class PressurePlate: PressurePlate { ammo = "IEDLandBig_Range_Ammo"; }; @@ -132,7 +133,7 @@ class CfgMagazines { SupportedTriggers[] = {"Command", "DeadmanSwitch", "Cellphone", "PressurePlate"}; class Command { FuseTime = 0.5; - ammo = "IEDUrbanSmall_Command_Ammo"; + ammo = "IEDUrbanSmall_Command_Ammo"; }; class DeadmanSwitch: Command {}; class Cellphone: Command {}; @@ -147,9 +148,9 @@ class CfgMagazines { class IEDLandSmall_Remote_Mag: IEDUrbanSmall_Remote_Mag { ACE_SetupObject = "ACE_Explosives_Place_IEDLandSmall"; class ACE_Triggers: ACE_Triggers { - class Command: Command { - ammo = "IEDLandSmall_Command_Ammo"; - }; + class Command: Command { + ammo = "IEDLandSmall_Command_Ammo"; + }; class PressurePlate: PressurePlate { ammo = "IEDLandSmall_Range_Ammo"; };