WS Compat - Use ACE MG for realistic name (#10252)

This commit is contained in:
johnb432 2024-08-24 19:56:38 +02:00 committed by GitHub
parent 9cfdf3dc19
commit 8161e5ceed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,27 @@
class CfgVehicles {
class Car_F;
class Wheeled_APC_F: Car_F {
class Turrets {
class MainTurret;
};
};
class APC_Wheeled_01_base_F: Wheeled_APC_F {
class Turrets: Turrets {
class MainTurret: MainTurret {};
};
};
class APC_Wheeled_01_atgm_base_lxWS: APC_Wheeled_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"autocannon_40mm_CTWS", "ACE_LMG_coax_MAG58_mem3", "missiles_titan"}; // For realistic MG name
};
};
};
class APC_Wheeled_01_command_base_lxWS: APC_Wheeled_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"HMG_127_lxWS", "ACE_LMG_coax_MAG58_mem3"}; // For realistic MG name
};
};
};
};

View File

@ -0,0 +1,23 @@
#include "script_component.hpp"
class CfgPatches {
class SUBADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"data_f_lxWS_Loadorder",
"ace_vehicles"
};
skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam);
authors[] = {"johnb43"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
addonRootClass = QUOTE(ADDON);
};
};
#include "CfgVehicles.hpp"

View File

@ -0,0 +1,3 @@
#define SUBCOMPONENT vehicles
#define SUBCOMPONENT_BEAUTIFIED Vehicles
#include "..\script_component.hpp"