ACE3/addons/compat_spe/compat_spe_refuel/CfgVehicles.hpp

58 lines
3.0 KiB
C++
Raw 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 {
// Vehicle animation interactions
class SPE_Car_base;
class SPE_G503_MB_base: SPE_Car_base {
class EGVAR(interaction,anims) {
class hide_jerry_can_source {
positions[] = {"_target selectionPosition ['hide_jerry_can', 'ViewGeometry', 'AveragePoint']"};
items[] = {"Land_CanisterFuel_F"};
name = ECSTRING(refuel,TakeFuelCanister);
text = ECSTRING(refuel,TakeFuelCanisterAction);
};
};
};
class SPE_Truck_base;
class SPE_CCKW_353_Base: SPE_Truck_base {
class EGVAR(interaction,anims) {
class spare_fuel_hide_source {
positions[] = {{0.8, 1.8, -1}, {-0.8, 1.8, -1}, {0.8, 3.5, -1}, {-0.8, 3.5, -1}};
items[] = {"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F"};
name = ECSTRING(refuel,TakeFuelCanister);
text = ECSTRING(refuel,TakeFuelCanisterAction);
};
};
};
class SPE_CCKW_353_Ammo: SPE_CCKW_353_Base {
class EGVAR(interaction,anims): EGVAR(interaction,anims) {
class spare_fuel_hide_source: spare_fuel_hide_source {
positions[] = {{0.8, 1.8, -0.85}, {-0.8, 1.8, -0.85}, {0.8, 3.5, -0.85}, {-0.8, 3.5, -0.85}};
};
};
};
class SPE_CCKW_353_Repair: SPE_CCKW_353_Base {
class EGVAR(interaction,anims): EGVAR(interaction,anims) {
class spare_fuel_hide_source: spare_fuel_hide_source {
positions[] = {{0.8, 1.9, -0.85}, {-0.8, 1.9, -0.85}, {0.8, 3.6, -0.85}, {-0.8, 3.6, -0.85}};
};
};
};
class SPE_CCKW_353_Fuel: SPE_CCKW_353_Base {
class EGVAR(interaction,anims): EGVAR(interaction,anims) {
class spare_fuel_hide_source: spare_fuel_hide_source {
positions[] = {{0.8, 1.25, -0.8}, {-0.8, 1.25, -0.8}, {0.8, 2.95, -0.8}, {-0.8, 2.95, -0.8}, {0.8, -1, -0.3}, {-0.8, -1, -0.3}};
items[] = { // 32x
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F",
"Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F", "Land_CanisterFuel_F"
};
};
};
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
};
};