mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
d2f5c2de02
* 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>
241 lines
8.3 KiB
C++
241 lines
8.3 KiB
C++
class CfgVehicles {
|
|
class All {
|
|
class EventHandlers;
|
|
};
|
|
class AllVehicles: All {};
|
|
class Land: AllVehicles {};
|
|
class LandVehicle: Land {};
|
|
class StaticWeapon: LandVehicle {
|
|
class ACE_Actions {
|
|
class ACE_MainActions;
|
|
};
|
|
class Turrets {
|
|
class MainTurret;
|
|
};
|
|
class UserActions;
|
|
};
|
|
|
|
// --- Mortars -----------------------------------------------------------------
|
|
class StaticMortar: StaticWeapon {
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {};
|
|
};
|
|
};
|
|
class SPE_StaticMortar_base: StaticMortar {
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {};
|
|
};
|
|
class EventHandlers: EventHandlers {
|
|
class SPE_StaticWeaponsHandler {
|
|
init = "";
|
|
};
|
|
};
|
|
};
|
|
|
|
class SPE_US_Mortar_base: SPE_StaticMortar_base {};
|
|
class SPE_M1_81: SPE_US_Mortar_base {
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {
|
|
magazines[] = {};
|
|
};
|
|
};
|
|
class ACE_Actions: ACE_Actions {
|
|
class ACE_MainActions: ACE_MainActions {
|
|
position = "";
|
|
selection = "zamerny";
|
|
};
|
|
};
|
|
class UserActions {
|
|
delete Prepare_WP_Selected;
|
|
delete Prepare_WP;
|
|
delete Prepare_Smoke_Selected;
|
|
delete Prepare_Smoke;
|
|
delete Prepare_HE_Selected;
|
|
delete Prepare_HE;
|
|
delete Reload;
|
|
delete Unload;
|
|
};
|
|
class ACE_CSW {
|
|
enabled = 1;
|
|
proxyWeapon = "SPE_M1_81_proxy";
|
|
magazineLocation = "_target selectionPosition 'usti hlavne'";
|
|
disassembleWeapon = "SPE_M1_81_Barrel";
|
|
disassembleTurret = QGVAR(M1_81_baseplate);
|
|
ammoLoadTime = 3;
|
|
ammoUnloadTime = 3;
|
|
desiredAmmo = 1;
|
|
};
|
|
};
|
|
|
|
class SPE_FR_Mortar_base: SPE_StaticMortar_base {};
|
|
class SPE_MLE_27_31: SPE_FR_Mortar_base {
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {
|
|
magazines[] = {};
|
|
};
|
|
};
|
|
class ACE_Actions: ACE_Actions {
|
|
class ACE_MainActions: ACE_MainActions {
|
|
position = "";
|
|
selection = "zamerny";
|
|
};
|
|
};
|
|
class UserActions {
|
|
delete Prepare_Illu_Selected;
|
|
delete Prepare_Illu;
|
|
delete Prepare_Smoke_Selected;
|
|
delete Prepare_Smoke;
|
|
delete Prepare_HE_Selected;
|
|
delete Prepare_HE;
|
|
delete Reload;
|
|
delete Unload;
|
|
};
|
|
class ACE_CSW {
|
|
enabled = 1;
|
|
proxyWeapon = "SPE_MLE_27_31_proxy";
|
|
magazineLocation = "_target selectionPosition 'usti hlavne'";
|
|
disassembleWeapon = "SPE_MLE_27_31_Barrel";
|
|
disassembleTurret = QGVAR(MLE_27_31_baseplate);
|
|
ammoLoadTime = 3;
|
|
ammoUnloadTime = 3;
|
|
desiredAmmo = 1;
|
|
};
|
|
};
|
|
|
|
class SPE_GrW278_1: SPE_MLE_27_31 {
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {
|
|
magazines[] = {};
|
|
};
|
|
};
|
|
class ACE_Actions: ACE_Actions {
|
|
class ACE_MainActions: ACE_MainActions {
|
|
position = "";
|
|
selection = "zamerny";
|
|
};
|
|
};
|
|
class UserActions {
|
|
delete Prepare_Illu_Selected;
|
|
delete Prepare_Illu;
|
|
delete Prepare_Smoke_Selected;
|
|
delete Prepare_Smoke;
|
|
delete Prepare_HE_Selected;
|
|
delete Prepare_HE;
|
|
delete Reload;
|
|
delete Unload;
|
|
};
|
|
class ACE_CSW {
|
|
enabled = 1;
|
|
proxyWeapon = "SPE_GrW278_1_proxy";
|
|
magazineLocation = "_target selectionPosition 'usti hlavne'";
|
|
disassembleWeapon = "SPE_GrW278_1_Barrel";
|
|
disassembleTurret = QGVAR(GrW278_baseplate);
|
|
ammoLoadTime = 3;
|
|
ammoUnloadTime = 3;
|
|
desiredAmmo = 1;
|
|
};
|
|
};
|
|
|
|
|
|
class EGVAR(csw,baseTripod);
|
|
|
|
class GVAR(MLE_27_31_baseplate): EGVAR(csw,baseTripod) {
|
|
scope = 2;
|
|
displayName = "$STR_DN_SPE_MLE_27_31_STAND";
|
|
model = "\WW2\SPE_Assets_m\Weapons\Mortars_m\SPE_M1_Mortar_Stand_Deployed.p3d";
|
|
picture = "\WW2\SPE_Assets_t\Weapons\Equipment_t\Weapons\Launchers\Gear_MLE_27_31_Stand_X_ca.paa";
|
|
hiddenSelections[] = {"camo_0","camo_1"};
|
|
hiddenSelectionsTextures[] = {"ww2\spe_assets_t\weapons\mortars_t\m1_mortar\Brandt_81mm_Mortar_French_co.paa","WW2\SPE_Assets_t\Weapons\Mortars_t\M1_Mortar\Brandt_81mm_Sight_French_co.paa"};
|
|
class ACE_CSW {
|
|
disassembleTo = "SPE_MLE_27_31_Stand";
|
|
};
|
|
};
|
|
|
|
class GVAR(GrW278_baseplate): EGVAR(csw,baseTripod) {
|
|
scope = 2;
|
|
displayName = "$STR_DN_SPE_GrW278_1_STAND";
|
|
model = "\WW2\SPE_Assets_m\Weapons\Mortars_m\SPE_M1_Mortar_Stand_Deployed.p3d";
|
|
picture = "\WW2\SPE_Assets_t\Weapons\Equipment_t\Weapons\Launchers\Gear_GrW278_1_Stand_X_ca.paa";
|
|
hiddenSelections[] = {"camo_0"};
|
|
hiddenSelectionsTextures[] = {"ww2\spe_assets_t\weapons\mortars_t\m1_mortar\Brandt_81mm_Mortar_Gelb_co.paa"};
|
|
class ACE_CSW {
|
|
disassembleTo = "SPE_GrW278_1_Stand";
|
|
};
|
|
};
|
|
|
|
class GVAR(M1_81_baseplate): EGVAR(csw,baseTripod) {
|
|
scope = 2;
|
|
displayName = "$STR_DN_SPE_M1_81_STAND";
|
|
model = "\WW2\SPE_Assets_m\Weapons\Mortars_m\SPE_M1_Mortar_Stand_Deployed.p3d";
|
|
picture = "\WW2\SPE_Assets_t\Weapons\Equipment_t\Weapons\Launchers\Gear_M1_81_Stand_X_ca.paa";
|
|
class ACE_CSW {
|
|
disassembleTo = "SPE_M1_81_Stand";
|
|
};
|
|
};
|
|
|
|
|
|
class ACE_SPE_M1_81_Stand_Deployed: EGVAR(csw,baseTripod) {
|
|
author = "SPE";
|
|
scope = 2;
|
|
displayName = "$STR_DN_SPE_M1_81_STAND";
|
|
model = "\WW2\SPE_Assets_m\Weapons\Mortars_m\SPE_M1_Mortar_Stand_Deployed.p3d";
|
|
picture = "\WW2\SPE_Assets_t\Weapons\Equipment_t\Weapons\Launchers\Gear_M1_81_Stand_X_ca.paa";
|
|
class assembleInfo {
|
|
base = "";
|
|
primary = 0;
|
|
displayName = "";
|
|
assembleTo = "";
|
|
class SPE_M1_81_Barrel {
|
|
deployTime = 0;
|
|
assembleTo = "";
|
|
};
|
|
};
|
|
class ACE_CSW {
|
|
disassembleTo = "SPE_M1_81_Stand";
|
|
};
|
|
};
|
|
class ACE_SPE_GrW278_1_Stand_Deployed: EGVAR(csw,baseTripod) {
|
|
author = "SPE";
|
|
scope = 2;
|
|
displayName = "$STR_DN_SPE_GrW278_1_STAND";
|
|
model = "\WW2\SPE_Assets_m\Weapons\Mortars_m\SPE_M1_Mortar_Stand_Deployed.p3d";
|
|
picture = "\WW2\SPE_Assets_t\Weapons\Equipment_t\Weapons\Launchers\Gear_GrW278_1_Stand_X_ca.paa";
|
|
hiddenSelectionsTextures[] = {"ww2\spe_assets_t\weapons\mortars_t\m1_mortar\Brandt_81mm_Mortar_Gelb_co.paa","WW2\SPE_Assets_t\Weapons\Mortars_t\M1_Mortar\Brandt_81mm_Sight_Gelb_co.paa"};
|
|
class assembleInfo {
|
|
base = "";
|
|
primary = 0;
|
|
displayName = "";
|
|
assembleTo = "";
|
|
class SPE_GrW278_1_Barrel {
|
|
deployTime = 0;
|
|
assembleTo = "";
|
|
};
|
|
};
|
|
class ACE_CSW {
|
|
disassembleTo = "SPE_GrW278_1_Stand";
|
|
};
|
|
};
|
|
class ACE_SPE_MLE_27_31_Stand_Deployed: EGVAR(csw,baseTripod) {
|
|
author = "SPE";
|
|
scope = 2;
|
|
displayName = "$STR_DN_SPE_MLE_27_31_STAND";
|
|
model = "\WW2\SPE_Assets_m\Weapons\Mortars_m\SPE_M1_Mortar_Stand_Deployed.p3d";
|
|
picture = "\WW2\SPE_Assets_t\Weapons\Equipment_t\Weapons\Launchers\Gear_MLE_27_31_Stand_X_ca.paa";
|
|
hiddenSelections[] = {"camo_0","camo_1"};
|
|
hiddenSelectionsTextures[] = {"ww2\spe_assets_t\weapons\mortars_t\m1_mortar\Brandt_81mm_Mortar_French_co.paa","WW2\SPE_Assets_t\Weapons\Mortars_t\M1_Mortar\Brandt_81mm_Sight_French_co.paa"};
|
|
class assembleInfo {
|
|
base = "";
|
|
primary = 0;
|
|
displayName = "";
|
|
assembleTo = "";
|
|
class SPE_MLE_27_31_Barrel {
|
|
deployTime = 0;
|
|
assembleTo = "";
|
|
};
|
|
};
|
|
class ACE_CSW {
|
|
disassembleTo = "SPE_MLE_27_31_Stand";
|
|
};
|
|
};
|
|
};
|