Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo/Dragging - Add Flexible Fuel Tanks cargo/dragging #8604

Merged
merged 3 commits into from
Oct 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -246,6 +246,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