ACE3/addons/compat_rhs_usf3/CfgMagazines.hpp
Grim e5a49f3acf
Compat RHS - Make compats autoload if mod is present (#9294)
* autoload RHS USAF compat

* whoops

* fix filepatching builds

* pboProject pls

* add ONE semicolon.

* remove meta.cpp

* add AFRF, move stringtables

* add addon.toml

* stringtable validation

* change subconfig folder names for stringtables

* macros

* sigh

* macros

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* add SAF compat

* missing file

* config brackets

* Update addons/compat_rhs_afrf3/compat_rhs_afrf3_explosives/config.cpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Update addons/compat_rhs_usf3/compat_rhs_usf3_csw/CfgVehicles.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* capitalization

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* fix double class

* gref and fastroping

* fix functions

* Update CfgVehicles.hpp

---------

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-03 11:36:19 -05:00

59 lines
2.2 KiB
C++

class cfgMagazines {
class CA_Magazine;
class VehicleMagazine;
class rhsusf_mag_40Rnd_46x30_AP: CA_Magazine {
descriptionShort = "Caliber: 4.6x30 mm<br/>Rounds: 40<br/>Used in: MP7A2";
initSpeed = 680; // according with the ACE_muzzleVelocities at 15°C, default RHS value 680.1
};
class rhsusf_mag_40Rnd_46x30_FMJ: CA_Magazine {
descriptionShort = "Caliber: 4.6x30 mm<br/>Rounds: 40<br/>Used in: MP7A2";
initSpeed = 620; // default RHS value according with the ACE_muzzleVelocities at 15°C
lastRoundsTracer = 0;
picture = "\rhsusf\addons\rhsusf_weapons2\glock17g4\data\rhs_mag1_glock17g4_ca.paa";
tracersEvery = 0;
};
class rhsusf_mag_40Rnd_46x30_JHP: CA_Magazine {
descriptionShort = "Caliber: 4.6x30 mm<br/>Rounds: 40<br/>Used in: MP7A2";
initSpeed = 690; // according with the ACE_muzzleVelocities at 15°C, default RHS value 620
};
class rhs_mag_30Rnd_556x45_M855A1_Stanag;
class rhsusf_100Rnd_556x45_soft_pouch: rhs_mag_30Rnd_556x45_M855A1_Stanag {
ACE_isBelt = 1;
};
class rhsusf_50Rnd_762x51: CA_Magazine {
ACE_isBelt = 1;
};
class rhs_mag_100rnd_127x99_mag: VehicleMagazine {
ACE_isBelt = 1;
};
class RHS_48Rnd_40mm_MK19: VehicleMagazine {
ACE_isBelt = 1;
};
class CA_LauncherMagazine;
class rhs_mag_smaw_SR: CA_LauncherMagazine {
EGVAR(overpressure,priority) = 99;
EGVAR(overpressure,angle) = 0;
EGVAR(overpressure,range) = 0;
EGVAR(overpressure,damage) = 0;
};
class rhs_mag_AGM114K_2;
class GVAR(pylon_mag_2rnd_hellfire_k): rhs_mag_AGM114K_2 {
displayName = "2x AGM-114K [ACE]";
pylonWeapon = "ace_hellfire_launcher";
ammo = "ACE_Hellfire_AGM114K";
};
class GVAR(pylon_mag_2rnd_hellfire_n): rhs_mag_AGM114K_2 {
displayName = "2x AGM-114N [ACE]";
pylonWeapon = "ace_hellfire_launcher_N";
ammo = "ACE_Hellfire_AGM114N";
};
class GVAR(pylon_mag_2rnd_hellfire_l): rhs_mag_AGM114K_2 {
displayName = "2x AGM-114L [ACE]";
pylonWeapon = "ace_hellfire_launcher_L";
ammo = "ACE_Hellfire_AGM114L";
};
};