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

Compat SOG - Improve Racks and Attenuation configs #1253

Merged
merged 13 commits into from
Sep 27, 2023
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