From 2ff27d86fbf7e00008a07297e4e88b1f2030fb9b Mon Sep 17 00:00:00 2001 From: Dedmen Miller Date: Tue, 26 Oct 2021 01:26:58 +0200 Subject: [PATCH] Cargo/Dragging - Add Flexible Fuel Tanks cargo/dragging (#8604) * Add flexible fueltanks cargo/dragging * Use proper macros in cargo * Enable carrying --- addons/cargo/CfgVehicles.hpp | 6 ++++++ addons/dragging/CfgVehicles.hpp | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/addons/cargo/CfgVehicles.hpp b/addons/cargo/CfgVehicles.hpp index 1cbe96833b9..8fef05297b1 100644 --- a/addons/cargo/CfgVehicles.hpp +++ b/addons/cargo/CfgVehicles.hpp @@ -428,6 +428,12 @@ class CfgVehicles { GVAR(canLoad) = 1; }; + // Flexible Fuel tanks, 300L + class FlexibleTank_base_F: ThingX { + GVAR(size) = 3; + GVAR(canLoad) = 1; + }; + // objects class RoadCone_F: ThingX { GVAR(size) = 1; diff --git a/addons/dragging/CfgVehicles.hpp b/addons/dragging/CfgVehicles.hpp index 076c5fb640c..42a7d4c3d87 100644 --- a/addons/dragging/CfgVehicles.hpp +++ b/addons/dragging/CfgVehicles.hpp @@ -247,6 +247,15 @@ class CfgVehicles { GVAR(dragPosition)[] = {0,0.7,0}; }; + // Flexible Fuel tanks, 300L + class FlexibleTank_base_F: ThingX { + GVAR(canCarry) = 1; + GVAR(carryPosition)[] = {0,0.65,0}; + + GVAR(canDrag) = 1; + GVAR(dragPosition)[] = {0,1,0}; + }; + // some terrain objects class Land_CampingTable_F: ThingX {