Skip to content

Commit

Permalink
SOG Compat - Add water sources to M149 (#10615)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 authored Jan 13, 2025
1 parent 36f7afc commit a4ffaab
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions addons/compat_sog/CfgVehicles/land.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,10 @@ class Land_vn_fuelcan: Land_vn_object_c_base {
EGVAR(cargo,canLoad) = 1;
EGVAR(cargo,noRename) = 1;
};

// M149
class Land_vn_b_prop_m149: Land_vn_object_b_base {
XEH_INHERITED;
EXGVAR(field_rations,waterSupply) = 1514.16; // 400 US gallons
EXGVAR(field_rations,offset)[] = {0, -0.3, -0.3};
};
17 changes: 17 additions & 0 deletions addons/compat_sog/CfgVehicles/wheeled.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@ class vn_wheeled_m151_base: vn_wheeled_car_base {
EGVAR(refuel,fuelCapacity) = 65;
};

// M149
class Slingload_01_Base_F;
class Land_vn_b_prop_m149_01: Slingload_01_Base_F {
EXGVAR(field_rations,waterSupply) = 1514.16; // 400 US gallons
EXGVAR(field_rations,offset)[] = {0, -0.3, -0.3};
};
class vn_object_b_base_02;
class Land_vn_b_prop_m149_02: vn_object_b_base_02 {
EXGVAR(field_rations,waterSupply) = 1514.16; // 400 US gallons
EXGVAR(field_rations,offset)[] = {0, -0.3, -0.3};
};
class vn_object_b_base;
class Land_vn_b_prop_m149_03: vn_object_b_base {
EXGVAR(field_rations,waterSupply) = 1514.16; // 400 US gallons
EXGVAR(field_rations,offset)[] = {0, -0.3, -0.3};
};

// ZIL-157
class vn_wheeled_z157_base: vn_wheeled_truck_base {
EGVAR(refuel,fuelCapacity) = 150;
Expand Down

0 comments on commit a4ffaab

Please sign in to comment.