Skip to content

Commit

Permalink
Cargo/Dragging - Add Flexible Fuel Tanks cargo/dragging (#8604)
Browse files Browse the repository at this point in the history
* Add flexible fueltanks cargo/dragging

* Use proper macros in cargo

* Enable carrying
  • Loading branch information
dedmen committed Oct 25, 2021
1 parent b36dac7 commit 2ff27d8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addons/cargo/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
9 changes: 9 additions & 0 deletions addons/dragging/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2ff27d8

Please sign in to comment.