Skip to content

Commit

Permalink
Compat SOG - Improve Racks and Attenuation configs (#1253)
Browse files Browse the repository at this point in the history
Co-authored-by: jonpas <[email protected]>
  • Loading branch information
veteran29 and jonpas authored Sep 27, 2023
1 parent dc5f679 commit c3f289a
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .hemtt/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ workshop = [
workshop = [
"450814997", # CBA_A3's Workshop ID
]

[hemtt.launch.vn]
workshop = [
"450814997", # CBA_A3's Workshop ID
"463939057", # ACE3's Workshop ID
"2369477168", # ADT Workshop ID
]
dlc = [
"S.O.G. Prairie Fire",
]
53 changes: 53 additions & 0 deletions addons/compat_sog/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
class CfgVehicles {
class vn_armor_tank_base;
class vn_armor_m48_base: vn_armor_tank_base {
class ACRE {
class attenuation {
class Compartment1 {
Compartment1 = 0;
Compartment2 = 0.8;
};
class Compartment2 {
Compartment1 = 0.8;
Compartment2 = 0;
};
};
class attenuationTurnedOut {
class Compartment1 {
Compartment1 = 0;
Compartment2 = 0;
};
class Compartment2 {
Compartment1 = 0;
Compartment2 = 0;
};
};
};
};

class vn_wheeled_truck_base;
class vn_wheeled_m54_base: vn_wheeled_truck_base {
class AcreRacks {
class Rack_1 {
allowedPositions[] = {"driver", {"ffv", {0}}};
};
};
};

class vn_wheeled_car_base;
class vn_wheeled_m151_base: vn_wheeled_car_base {
class AcreRacks {
class Rack_1 {
allowedPositions[] = {"driver", {"ffv", {0}}, "external"};
};
};
};
// Armored M151
class vn_wheeled_m151_mg_04_base: vn_wheeled_m151_base {
class AcreRacks: AcreRacks {
class Rack_1: Rack_1 {
allowedPositions[] = {"driver", {"cargo", 0}};
};
};
};
};
1 change: 1 addition & 0 deletions addons/compat_sog/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class CfgPatches {
};

#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"

class CfgAcreWorlds {
class cam_lao_nam {
Expand Down

0 comments on commit c3f289a

Please sign in to comment.