mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
129 lines
4.1 KiB
C++
129 lines
4.1 KiB
C++
|
class cfgMagazines {
|
||
|
class CA_Magazine;
|
||
|
|
||
|
// MG3
|
||
|
class gm_120rnd_762x51mm_mg3_grn;
|
||
|
class gm_120Rnd_762x51mm_B_T_DM21_mg3_grn: gm_120rnd_762x51mm_mg3_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
class gm_120Rnd_762x51mm_B_T_DM21A1_mg3_grn: gm_120rnd_762x51mm_mg3_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
class gm_120Rnd_762x51mm_B_T_DM21A2_mg3_grn: gm_120rnd_762x51mm_mg3_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
|
||
|
// PK
|
||
|
class gm_100rnd_762x54mm_pk_grn;
|
||
|
class gm_100Rnd_762x54mm_API_b32_pk_grn: gm_100rnd_762x54mm_pk_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
class gm_100Rnd_762x54mm_B_T_t46_pk_grn: gm_100rnd_762x54mm_pk_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
class gm_100rnd_762x54mmR_pk_grn;
|
||
|
class gm_100Rnd_762x54mmR_API_7bz3_pk_grn: gm_100rnd_762x54mmR_pk_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
class gm_100Rnd_762x54mmR_B_T_7t2_pk_grn: gm_100rnd_762x54mmR_pk_grn {
|
||
|
ACE_isBelt = 1;
|
||
|
};
|
||
|
|
||
|
// Explosives
|
||
|
class gm_explosive_petn_charge: CA_Magazine {
|
||
|
EGVAR(explosive,DelayTime) = 1;
|
||
|
EGVAR(explosive,Placeable) = 1;
|
||
|
EGVAR(explosive,SetupObject) = "ACE_Explosives_Place_gm_explosive_petn";
|
||
|
useAction = 0;
|
||
|
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 gm_explosive_plnp_charge: gm_explosive_petn_charge {
|
||
|
EGVAR(explosive,SetupObject) = "ACE_Explosives_Place_gm_explosive_plnp";
|
||
|
};
|
||
|
|
||
|
class ATMine_Range_Mag;
|
||
|
class gm_mine_at_tm46: ATMine_Range_Mag {
|
||
|
EGVAR(explosive,SetupObject) = "ACE_Explosives_Place_gm_mine_tm46";
|
||
|
useAction = 0;
|
||
|
class ACE_Triggers {
|
||
|
SupportedTriggers[] = {"PressurePlate"};
|
||
|
class PressurePlate {
|
||
|
digDistance = 0.03;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
class gm_mine_at_dm21: ATMine_Range_Mag {
|
||
|
EGVAR(explosive,SetupObject) = "ACE_Explosives_Place_gm_explosive_dm21";
|
||
|
useAction = 0;
|
||
|
class ACE_Triggers {
|
||
|
SupportedTriggers[] = {"PressurePlate"};
|
||
|
class PressurePlate {
|
||
|
digDistance = 0.03;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
class gm_mine_at_mn111: ATMine_Range_Mag {
|
||
|
EGVAR(explosive,SetupObject) = "ACE_Explosives_Place_gm_explosive_m111";
|
||
|
useAction = 0;
|
||
|
class ACE_Triggers {
|
||
|
SupportedTriggers[] = {"PressurePlate"};
|
||
|
class PressurePlate {
|
||
|
digDistance = 0.03;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
// class ATMine_Range_Mag;
|
||
|
class gm_mine_ap_dm31: ATMine_Range_Mag {
|
||
|
EGVAR(explosive,SetupObject) = "ACE_Explosives_Place_gm_explosive_dm31";
|
||
|
useAction = 0;
|
||
|
class ACE_Triggers {
|
||
|
SupportedTriggers[] = {"Tripwire"};
|
||
|
class Tripwire {
|
||
|
digDistance = 0.125;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
|
||
|
// Vehicle Ammo
|
||
|
class gm_magazine_20x139mm_base;
|
||
|
class gme_320Rnd_20x139mm_hei_t_dm81: gm_magazine_20x139mm_base {
|
||
|
displayName = "20 mm 320Rnd HEI-T DM81";
|
||
|
descriptionShort = "Caliber: 20x139 mm HEI-T DM81<br />Rounds: 320<br />Used in: RH202";
|
||
|
displaynameshort = "HEI-T";
|
||
|
ammo = "gm_bullet_20x139mm_hei_t_dm81";
|
||
|
count = 320;
|
||
|
initSpeed = 1175;
|
||
|
tracersEvery = 1;
|
||
|
lastRoundsTracer = 1;
|
||
|
scope = 1;
|
||
|
scopeCurator = 2;
|
||
|
author = "Global Mobilization";
|
||
|
};
|
||
|
class gme_180Rnd_20x139mm_apds_t_dm63: gm_magazine_20x139mm_base {
|
||
|
displayName = "20 mm 180Rnd APDS-T DM63";
|
||
|
descriptionShort = "Caliber: 20x139 mm APDS-T DM63<br />Rounds: 120<br />Used in: RH202";
|
||
|
displaynameshort = "APDS-T";
|
||
|
ammo = "gm_bullet_20x139mm_apds_t_dm63";
|
||
|
count = 180;
|
||
|
initSpeed = 1175;
|
||
|
tracersEvery = 1;
|
||
|
lastRoundsTracer = 1;
|
||
|
scope = 1;
|
||
|
scopeCurator = 2;
|
||
|
author = "Global Mobilization";
|
||
|
};
|
||
|
};
|