ACE3/addons/explosives/CfgMagazines.hpp

199 lines
7.0 KiB
C++
Raw Normal View History

class CfgMagazines {
class CA_Magazine;
class ATMine_Range_Mag: CA_Magazine {
2016-01-14 22:05:56 +00:00
GVAR(Placeable) = 1;
useAction = 0;
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_ATMine"; // CfgVehicle class for setup object.
GVAR(DelayTime) = 2.5;
class ACE_Triggers {
SupportedTriggers[] = {"PressurePlate"};
class PressurePlate {
digDistance = 0.06;
};
};
};
class APERSBoundingMine_Range_Mag: ATMine_Range_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_APERSBoundingMine";
class ACE_Triggers {
SupportedTriggers[] = {"PressurePlate"};
class PressurePlate {
digDistance = 0.08;
};
};
};
class APERSMine_Range_Mag: ATMine_Range_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_APERSMine";
class ACE_Triggers {
SupportedTriggers[] = {"PressurePlate"};
class PressurePlate {
2015-08-16 07:05:34 +00:00
digDistance = 0.02;
};
};
};
class APERSTripMine_Wire_Mag: ATMine_Range_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_APERSTripwireMine";
class ACE_Triggers {
SupportedTriggers[] = {"Tripwire"};
class Tripwire;
};
};
2016-08-13 09:29:01 +00:00
class ACE_FlareTripMine_Mag: APERSTripMine_Wire_Mag {
author = ECSTRING(common,aceteam);
ammo = "ACE_FlareTripMine_Wire_Ammo";
GVAR(SetupObject) = "ACE_Explosives_Place_APERSTripwireMine";
displayName = CSTRING(TripFlare_Name);
descriptionShort = CSTRING(TripFlare_Description);
class Library {libTextDesc = CSTRING(TripFlare_Description);};
};
class ClaymoreDirectionalMine_Remote_Mag: CA_Magazine {
2016-01-14 22:05:56 +00:00
GVAR(Placeable) = 1;
useAction = 0;
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_Claymore";
GVAR(DelayTime) = 1.5;
class ACE_Triggers {
SupportedTriggers[] = {"Command", "MK16_Transmitter"};
class Command {
FuseTime = 0.5;
};
class MK16_Transmitter: Command {};
};
};
class SatchelCharge_Remote_Mag: CA_Magazine {
2016-01-14 22:05:56 +00:00
GVAR(Placeable) = 1;
useAction = 0;
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_SatchelCharge";
GVAR(DelayTime) = 1;
class ACE_Triggers {
SupportedTriggers[] = {"Timer", "Command", "MK16_Transmitter", "DeadmanSwitch"};
class Timer {
FuseTime = 0.5;
};
class Command {
FuseTime = 0.5;
};
class MK16_Transmitter: Command {};
class DeadmanSwitch: Command {};
};
};
class DemoCharge_Remote_Mag: SatchelCharge_Remote_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_DemoCharge";
model = "\A3\Weapons_F\explosives\c4_charge_small_d";
};
class SLAMDirectionalMine_Wire_Mag: ATMine_Range_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_SLAM";
class ACE_Triggers {
SupportedTriggers[] = {"IRSensor", "PressurePlate", "Timer", "Command", "MK16_Transmitter"};
class PressurePlate {
2015-06-06 02:02:24 +00:00
displayName = CSTRING(SLAME_Magnetic);
digDistance = 0;
2016-01-12 22:16:49 +00:00
ammo = "ACE_SLAMDirectionalMine_Magnetic_Ammo";
pitch = 90;
};
class IRSensor {
2015-06-06 02:02:24 +00:00
displayName = CSTRING(SLAME_IRSensor);
};
class Timer {
2016-01-12 22:16:49 +00:00
ammo = "ACE_SLAMDirectionalMine_Timer_Ammo";
};
class Command {
2016-01-12 22:16:49 +00:00
ammo = "ACE_SLAMDirectionalMine_Command_Ammo";
fuseTime = 0.5;
};
class MK16_Transmitter: Command {};
};
};
2015-07-15 07:54:38 +00:00
2015-06-14 15:09:01 +00:00
class IEDUrbanBig_Remote_Mag: DemoCharge_Remote_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_IEDUrbanBig";
2015-06-14 15:09:01 +00:00
class ACE_Triggers {
2015-05-30 15:57:50 +00:00
SupportedTriggers[] = {"Command", "DeadmanSwitch", "Cellphone", "PressurePlate"};
class Command {
FuseTime = 0.5;
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDUrbanBig_Command_Ammo";
};
class DeadmanSwitch: Command {};
class Cellphone: Command {};
class PressurePlate {
2015-06-14 08:36:03 +00:00
displayName = CSTRING(PressurePlate);
digDistance = 0;
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDUrbanBig_Range_Ammo";
pitch = 0;
};
2015-07-15 07:54:38 +00:00
};
2015-06-14 15:09:01 +00:00
};
class IEDLandBig_Remote_Mag: IEDUrbanBig_Remote_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_IEDLandBig";
picture = "\A3\Weapons_F\Data\UI\gear_mine_AT_CA.paa"; // Fix inconsistent picture
class ACE_Triggers: ACE_Triggers {
2015-06-14 15:09:01 +00:00
class Command: Command {
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDLandBig_Command_Ammo";
2015-06-14 15:09:01 +00:00
};
class DeadmanSwitch: Command {};
class Cellphone: Command {};
class PressurePlate: PressurePlate {
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDLandBig_Range_Ammo";
};
};
};
class IEDUrbanSmall_Remote_Mag: DemoCharge_Remote_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_IEDUrbanSmall";
picture = "\A3\Weapons_F\Data\UI\gear_mine_AP_bouncing_CA.paa"; // Fix inconsistent picture
class ACE_Triggers {
2015-06-14 08:36:03 +00:00
SupportedTriggers[] = {"Command", "DeadmanSwitch", "Cellphone", "PressurePlate"};
class Command {
FuseTime = 0.5;
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDUrbanSmall_Command_Ammo";
};
class DeadmanSwitch: Command {};
class Cellphone: Command {};
class PressurePlate {
2015-06-14 08:36:03 +00:00
displayName = CSTRING(PressurePlate);
digDistance = 0;
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDUrbanSmall_Range_Ammo";
pitch = 0;
};
};
};
class IEDLandSmall_Remote_Mag: IEDUrbanSmall_Remote_Mag {
2016-01-14 22:05:56 +00:00
GVAR(SetupObject) = "ACE_Explosives_Place_IEDLandSmall";
class ACE_Triggers: ACE_Triggers {
2015-06-14 15:09:01 +00:00
class Command: Command {
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDLandSmall_Command_Ammo";
2015-06-14 15:09:01 +00:00
};
class DeadmanSwitch: Command {};
class Cellphone: Command {};
class PressurePlate: PressurePlate {
2016-01-12 22:16:49 +00:00
ammo = "ACE_IEDLandSmall_Range_Ammo";
};
};
};
// Orange DLC:
class APERSMineDispenser_Mag: SatchelCharge_Remote_Mag {
GVAR(SetupObject) = "ACE_Explosives_Place_APERSMineDispenser";
class ACE_Triggers {
SupportedTriggers[] = {"Timer", "Command", "MK16_Transmitter"};
class Timer {
FuseTime = 0.5;
};
class Command {
FuseTime = 0.5;
};
class MK16_Transmitter: Command {};
};
};
class TrainingMine_Mag: APERSMine_Range_Mag {
GVAR(SetupObject) = "ACE_Explosives_Place_TrainingMine";
class ACE_Triggers {
SupportedTriggers[] = {"PressurePlate"};
class PressurePlate {
digDistance = 0.02;
};
};
};
};