ACE3/addons/compat_spe/CfgVehicles/spe_boxes.hpp

48 lines
1.6 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
// dragging carrying items
class ReammoBox_F;
class SPE_ReammoBox_base: ReammoBox_F {
EGVAR(cargo,size) = 1;
EGVAR(cargo,canLoad) = 1;
EGVAR(dragging,canCarry) = 1;
EGVAR(dragging,carryPosition)[] = {0,1,1};
EGVAR(dragging,carryDirection) = 0;
EGVAR(dragging,canDrag) = 1;
EGVAR(dragging,dragPosition)[] = {0,1.2,0};
EGVAR(dragging,dragDirection) = 0;
};
class SPE_Fuel_Barrel_base;
class SPE_Fuel_Barrel_US_01: SPE_Fuel_Barrel_base {
EGVAR(cargo,size) = 2;
EGVAR(cargo,canLoad) = 1;
EGVAR(dragging,canCarry) = 1;
EGVAR(dragging,carryPosition)[] = {0,1,1};
EGVAR(dragging,carryDirection) = 0;
EGVAR(dragging,canDrag) = 1;
EGVAR(dragging,dragPosition)[] = {0,1.2,0};
EGVAR(dragging,dragDirection) = 0;
EGVAR(refuel,fuelCargo) = 208;
EGVAR(refuel,hooks)[] = {{0.2,0,0.22}};
};
class SPE_Fuel_Barrel_German_01: SPE_Fuel_Barrel_base {
EGVAR(cargo,size) = 2; //reference SPE_Fuel_Barrel_US_01
EGVAR(cargo,canLoad) = 1; //reference SPE_Fuel_Barrel_US_01
EGVAR(dragging,canCarry) = 1; //reference SPE_Fuel_Barrel_US_01
EGVAR(dragging,carryPosition)[] = {0,1,1}; //reference SPE_Fuel_Barrel_US_01
EGVAR(dragging,carryDirection) = 0; //reference SPE_Fuel_Barrel_US_01
EGVAR(dragging,canDrag) = 1; //reference SPE_Fuel_Barrel_US_01
EGVAR(dragging,dragPosition)[] = {0,1.2,0}; //reference SPE_Fuel_Barrel_US_01
EGVAR(dragging,dragDirection) = 0; //reference SPE_Fuel_Barrel_US_01
EGVAR(refuel,fuelCargo) = 208; //reference SPE_Fuel_Barrel_US_01
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
EGVAR(refuel,hooks)[] = {{0.32,0,-0.3}};
};