ACE3/addons/compat_spe/compat_spe_explosives/CfgVehicles.hpp

174 lines
5.7 KiB
C++
Raw Permalink Normal View History

Spearhead 1944 Compatibility (#9292) * compat(spe): initial * --changed csw/turrets * disable spe disassemble * csw: all mortars done * more cleanup * add missing hearing protection * final cleanup * goofed and removed too much * ok all done * formatting * remove adt * -+ updated frameworks - Ballistics Framework Finished (Infantry Weapons) - Wirecutter & Trench Framework Finished (Vests/Backpacks) - Explosives Framework Finished (Added backward support for IFA3 Detonator/Firecord) - Crew Served Weapons Framework Finished (Fixed Assemble/Disassemble) * formatting * Require HEMTT v1.7.2 * cleanup tabs / formating * Apply suggestions from code review Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: ZluskeN <pontux@gmail.com> * split to subcomponents, fix ubcs * swap has_include for skipWhenMissingDependencies * fix explosives * add pdumies for ww2 * Apply suggestions from code review Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * cleanup sten duplicate configs * move hearing to macro * fix macro repaclement * Use `SUBADDON` * Move `addonRootClass` to bottom of CfgPatches * Relative includes * move config macro includes to config.cpp * comment off csw changes for now * Update .hemtt/project.toml --------- Co-authored-by: Coldfront15 <born2toot2@gmail.com> Co-authored-by: Brett Mayson <brett@joinoffstreet.com> Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: ZluskeN <pontux@gmail.com> Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
2023-09-25 20:37:59 +00:00
class CfgVehicles {
class Items_base_F;
class EGVAR(explosives,Place): Items_base_F {
class ACE_Actions {
class ACE_MainActions;
};
};
// 4 Pound TNT Charge
class EXPLOSIVES_PLACE(4LBTNT): EGVAR(explosives,Place) {
displayName = "4 Pound TNT Charge";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_TNT_4pound";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// Half Pound TNT Charge
class EXPLOSIVES_PLACE(halfLBTNT): EGVAR(explosives,Place) {
displayName = "Half Pound TNT Charge";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_TNT_Half_Pound";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// M1A1 Bangalore Torpedo
class EXPLOSIVES_PLACE(bangalore): EGVAR(explosives,Place) {
displayName = "M1A1 Bangalore Torpedo";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Bangalore";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// 1 Kg Charge
class EXPLOSIVES_PLACE(smallLadung): EGVAR(explosives,Place) {
displayName = "1 Kg Charge";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Ladung";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// 3 Kg Charge
class EXPLOSIVES_PLACE(bigLadung): EGVAR(explosives,Place) {
displayName = "3 Kg Charge";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Ladung_Big";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// M1A1 AT Mine
class EXPLOSIVES_PLACE(M1A1at): EGVAR(explosives,Place) {
displayName = "M1A1 AT Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_M1A1_AT";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// M1A1 AT Mine
class EXPLOSIVES_PLACE(Shg24x7): EGVAR(explosives,Place) {
displayName = "M1A1 AT Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_GER_Improvised_Mine";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// M1A1 AT Mine
class EXPLOSIVES_PLACE(TMI42): EGVAR(explosives,Place) {
displayName = "M1A1 AT Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Tmi42";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// M3 AP Tripwire Mine
class EXPLOSIVES_PLACE(M3ap): EGVAR(explosives,Place) {
displayName = "M3 AP Tripwire Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_M3_AP";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// M3 AP Mine
class EXPLOSIVES_PLACE(M3Pressure): EGVAR(explosives,Place) {
displayName = "M3 AP Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_M3_AP_Pressure";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// SMi-35 AP Mine
class EXPLOSIVES_PLACE(SMI35Pressure): EGVAR(explosives,Place) {
displayName = "SMi-35 AP Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Smi35";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// SMi-35 Tripwire Mine
class EXPLOSIVES_PLACE(SMI35): EGVAR(explosives,Place) {
displayName = "SMi-35 Tripwire Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Smi35_1";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// SMi-35 Tripwire (x2) Mine
class EXPLOSIVES_PLACE(SMI35_1): EGVAR(explosives,Place) {
displayName = "SMi-35 Tripwire (x2) Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Smi35_2";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// StMi Mine
class EXPLOSIVES_PLACE(STMI): EGVAR(explosives,Place) {
displayName = "StMi Mine";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Stmi";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
// Schuetzenmine 42
class EXPLOSIVES_PLACE(shumine42): EGVAR(explosives,Place) {
displayName = "Schuetzenmine 42";
model = "\WW2\SPE_Assets_m\Weapons\Mines_m\SPE_Shumine42";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[-0.002, 0.022, 0.02]";
};
};
};
};