mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
WS Compat - Use ACE MG for realistic name (#10252)
This commit is contained in:
parent
9cfdf3dc19
commit
8161e5ceed
27
addons/compat_ws/compat_ws_vehicles/CfgVehicles.hpp
Normal file
27
addons/compat_ws/compat_ws_vehicles/CfgVehicles.hpp
Normal 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
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
23
addons/compat_ws/compat_ws_vehicles/config.cpp
Normal file
23
addons/compat_ws/compat_ws_vehicles/config.cpp
Normal 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"
|
3
addons/compat_ws/compat_ws_vehicles/script_component.hpp
Normal file
3
addons/compat_ws/compat_ws_vehicles/script_component.hpp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#define SUBCOMPONENT vehicles
|
||||||
|
#define SUBCOMPONENT_BEAUTIFIED Vehicles
|
||||||
|
#include "..\script_component.hpp"
|
Loading…
Reference in New Issue
Block a user