mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1248 from jonpas/iedPressurePlates
IED pressure plates
This commit is contained in:
@ -98,3 +98,4 @@ adam3adam <br.ada@seznam.cz>
|
|||||||
Professor <lukas.trneny@wo.cz>
|
Professor <lukas.trneny@wo.cz>
|
||||||
Winter <simon@agius-muscat.net>
|
Winter <simon@agius-muscat.net>
|
||||||
Dharma Bellamkonda <dharma.bellamkonda@gmail.com>
|
Dharma Bellamkonda <dharma.bellamkonda@gmail.com>
|
||||||
|
legman <juicemelon@msn.com>
|
||||||
|
@ -66,21 +66,28 @@ class CfgAmmo {
|
|||||||
soundActivation[] = {"", 0, 0, 0};
|
soundActivation[] = {"", 0, 0, 0};
|
||||||
soundDeactivation[] = {"", 0, 0, 0};
|
soundDeactivation[] = {"", 0, 0, 0};
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
class DemoCharge_Remote_Ammo_Scripted:DemoCharge_Remote_Ammo;
|
|
||||||
class SatchelCharge_Remote_Ammo_Scripted:SatchelCharge_Remote_Ammo;
|
|
||||||
|
|
||||||
TODO: Configure IEDs to use the system.
|
/*class DemoCharge_Remote_Ammo_Scripted: DemoCharge_Remote_Ammo;
|
||||||
class IEDLandBig_Remote_Ammo:PipeBombBase{
|
class SatchelCharge_Remote_Ammo_Scripted: SatchelCharge_Remote_Ammo;*/
|
||||||
triggerWhenDestroyed = 1;
|
|
||||||
};
|
|
||||||
class IEDLandSmall_Remote_Ammo:PipeBombBase{
|
|
||||||
triggerWhenDestroyed = 1;
|
|
||||||
};
|
|
||||||
class IEDUrbanBig_Remote_Ammo: PipeBombBase {
|
class IEDUrbanBig_Remote_Ammo: PipeBombBase {
|
||||||
|
mineTrigger = "RangeTrigger";
|
||||||
triggerWhenDestroyed = 1;
|
triggerWhenDestroyed = 1;
|
||||||
|
soundTrigger[] = {"A3\Sounds_F\weapons\mines\mech_trigger_1", 0.562341, 1, 40};
|
||||||
|
};
|
||||||
|
class IEDLandBig_Remote_Ammo: IEDUrbanBig_Remote_Ammo {
|
||||||
|
mineTrigger = "RangeTrigger";
|
||||||
|
triggerWhenDestroyed = 1;
|
||||||
|
soundTrigger[] = {"A3\Sounds_F\weapons\mines\mech_trigger_1", 0.562341, 1, 40};
|
||||||
};
|
};
|
||||||
class IEDUrbanSmall_Remote_Ammo: PipeBombBase {
|
class IEDUrbanSmall_Remote_Ammo: PipeBombBase {
|
||||||
|
mineTrigger = "RangeTrigger";
|
||||||
triggerWhenDestroyed = 1;
|
triggerWhenDestroyed = 1;
|
||||||
};*/
|
soundTrigger[] = {"A3\Sounds_F\weapons\mines\mech_trigger_1", 0.562341, 1, 40};
|
||||||
|
};
|
||||||
|
class IEDLandSmall_Remote_Ammo: IEDUrbanSmall_Remote_Ammo {
|
||||||
|
mineTrigger = "RangeTrigger";
|
||||||
|
triggerWhenDestroyed = 1;
|
||||||
|
soundTrigger[] = {"A3\Sounds_F\weapons\mines\mech_trigger_1", 0.562341, 1, 40};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
@ -99,29 +99,51 @@ class CfgMagazines {
|
|||||||
class IEDUrbanBig_Remote_Mag: DemoCharge_Remote_Mag {
|
class IEDUrbanBig_Remote_Mag: DemoCharge_Remote_Mag {
|
||||||
ACE_SetupObject = "ACE_Explosives_Place_IEDUrbanBig";
|
ACE_SetupObject = "ACE_Explosives_Place_IEDUrbanBig";
|
||||||
class ACE_Triggers {
|
class ACE_Triggers {
|
||||||
SupportedTriggers[] = {"Command","DeadmanSwitch", "Cellphone"};
|
SupportedTriggers[] = {"Command","DeadmanSwitch", "Cellphone", "PressurePlate"};
|
||||||
class Command {
|
class Command {
|
||||||
FuseTime = 0.5;
|
FuseTime = 0.5;
|
||||||
};
|
};
|
||||||
class DeadmanSwitch:Command {};
|
class DeadmanSwitch:Command {};
|
||||||
class Cellphone:Command {};
|
class Cellphone:Command {};
|
||||||
|
class PressurePlate {
|
||||||
|
displayName = $STR_ACE_Explosives_SLAME_Magnetic;
|
||||||
|
digDistance = 0;
|
||||||
|
ammo = "IEDUrbanBig_Remote_Ammo";
|
||||||
|
pitch = 0;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class IEDLandBig_Remote_Mag: IEDUrbanBig_Remote_Mag {
|
class IEDLandBig_Remote_Mag: IEDUrbanBig_Remote_Mag {
|
||||||
ACE_SetupObject = "ACE_Explosives_Place_IEDLandBig";
|
ACE_SetupObject = "ACE_Explosives_Place_IEDLandBig";
|
||||||
|
class ACE_Triggers: ACE_Triggers {
|
||||||
|
class PressurePlate: PressurePlate {
|
||||||
|
ammo = "IEDLandBig_Remote_Ammo";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
class IEDUrbanSmall_Remote_Mag: DemoCharge_Remote_Mag {
|
class IEDUrbanSmall_Remote_Mag: DemoCharge_Remote_Mag {
|
||||||
ACE_SetupObject = "ACE_Explosives_Place_IEDUrbanSmall";
|
ACE_SetupObject = "ACE_Explosives_Place_IEDUrbanSmall";
|
||||||
class ACE_Triggers {
|
class ACE_Triggers {
|
||||||
SupportedTriggers[] = {"Command","DeadmanSwitch", "Cellphone"};
|
SupportedTriggers[] = {"Command","DeadmanSwitch", "Cellphone", "PressurePlate"};
|
||||||
class Command {
|
class Command {
|
||||||
FuseTime = 0.5;
|
FuseTime = 0.5;
|
||||||
};
|
};
|
||||||
class DeadmanSwitch: Command {};
|
class DeadmanSwitch: Command {};
|
||||||
class Cellphone: Command {};
|
class Cellphone: Command {};
|
||||||
|
class PressurePlate {
|
||||||
|
displayName = $STR_ACE_Explosives_SLAME_Magnetic;
|
||||||
|
digDistance = 0;
|
||||||
|
ammo = "IEDUrbanSmall_Remote_Ammo";
|
||||||
|
pitch = 0;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class IEDLandSmall_Remote_Mag: IEDUrbanSmall_Remote_Mag {
|
class IEDLandSmall_Remote_Mag: IEDUrbanSmall_Remote_Mag {
|
||||||
ACE_SetupObject = "ACE_Explosives_Place_IEDLandSmall";
|
ACE_SetupObject = "ACE_Explosives_Place_IEDLandSmall";
|
||||||
|
class ACE_Triggers: ACE_Triggers {
|
||||||
|
class PressurePlate: PressurePlate {
|
||||||
|
ammo = "IEDLandSmall_Remote_Ammo";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user