Realistic Names - Add optics & vehicles compats (#10201)

Add optics & vehicles compats to realistic names
This commit is contained in:
johnb432 2024-08-13 13:28:24 +02:00 committed by GitHub
parent 62ba5ffe24
commit a2be42ba57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 126 additions and 63 deletions

View File

@ -19,12 +19,6 @@ class optic_Hamr: ItemCore {
class optic_Hamr_khk_F: optic_Hamr {
displayName = CSTRING(optic_hamr_khk);
};
class ACE_optic_Hamr_2D: optic_Hamr {
displayName = CSTRING(optic_hamr_2d);
};
class ACE_optic_Hamr_PIP: ACE_optic_Hamr_2D {
displayName = CSTRING(optic_hamr_pip);
};
class optic_Arco: ItemCore {
displayName = CSTRING(optic_arco);
@ -35,12 +29,6 @@ class optic_Arco_blk_F: optic_Arco {
class optic_Arco_ghex_F: optic_Arco {
displayName = CSTRING(optic_arco_ghex);
};
class ACE_optic_Arco_2D: optic_Arco {
displayName = CSTRING(optic_arco_2d);
};
class ACE_optic_Arco_PIP: ACE_optic_Arco_2D {
displayName = CSTRING(optic_arco_pip);
};
class optic_Arco_lush_F: optic_Arco {
displayName = CSTRING(optic_arco_lush);
};
@ -76,12 +64,6 @@ class optic_LRPS_ghex_F: optic_LRPS {
class optic_LRPS_tna_F: optic_LRPS {
displayName = CSTRING(optic_lrps_tna);
};
class ACE_optic_LRPS_2D: optic_LRPS {
displayName = CSTRING(optic_lrps_2d);
};
class ACE_optic_LRPS_PIP: ACE_optic_LRPS_2D {
displayName = CSTRING(optic_lrps_pip);
};
class optic_AMS_base;
class optic_AMS: optic_AMS_base {
@ -149,12 +131,6 @@ class optic_Holosight_smg_khk_F: optic_Holosight_smg {
class optic_MRCO: ItemCore {
displayName = CSTRING(optic_MRCO);
};
class ACE_optic_MRCO_2D: optic_MRCO {
displayName = CSTRING(optic_MRCO_2d);
};
class ACE_optic_MRCO_PIP: ACE_optic_MRCO_2D {
displayName = CSTRING(optic_MRCO_pip);
};
class optic_Yorris: ItemCore {
displayName = CSTRING(optic_Yorris);

View File

@ -532,11 +532,6 @@ class CfgWeapons {
};
};
class HMG_127_APC: HMG_127 {};
class ACE_HMG_127_KORD: HMG_127_APC {
displayName = "6P49 Kord";
};
class HMG_01: HMG_127 {
displayName = "XM312";
};
@ -605,10 +600,6 @@ class CfgWeapons {
class player: player {};
};
class ACE_cannon_120mm_GT12: cannon_120mm {
displayName = "GT12";
};
class cannon_105mm: CannonCore {
displayName = "M68";
class player: Mode_SemiAuto {
@ -628,22 +619,6 @@ class CfgWeapons {
class LMG_coax: LMG_RCWS {
displayName = "PKT";
};
class LMG_coax_ext: LMG_coax {};
class ACE_LMG_coax_ext_MAG58: LMG_coax_ext {
displayName = "MAG 58M";
};
class ACE_LMG_coax_MAG58_mem3: LMG_coax {
displayName = "MAG 58M";
};
class ACE_LMG_coax_L94A1_mem3: LMG_coax {
displayName = "L94A1";
};
class ACE_LMG_coax_ext_MG3: LMG_coax_ext {
displayName = "Rheinmetall MG3";
};
class ACE_LMG_coax_DenelMG4: LMG_coax {
displayName = "Denel MG4";
};
// more autocannons
class autocannon_Base_F;
@ -694,20 +669,6 @@ class CfgWeapons {
displayName = "2A42";
};
class cannon_20mm: autocannon_Base_F {
class AP: autocannon_Base_F {};
class HE: autocannon_Base_F {};
};
class ACE_cannon_20mm_Rh202: cannon_20mm {
displayName = "MK20 Rh 202";
class AP: AP {
displayName = "MK20 Rh 202";
};
class HE: HE {
displayName = "MK20 Rh 202";
};
};
// APEX/Tanoa
// Type 115

View File

@ -0,0 +1,33 @@
class CfgWeapons {
class optic_Hamr;
class ACE_optic_Hamr_2D: optic_Hamr {
displayName = CSTRING(optic_hamr_2d);
};
class ACE_optic_Hamr_PIP: ACE_optic_Hamr_2D {
displayName = CSTRING(optic_hamr_pip);
};
class optic_Arco;
class ACE_optic_Arco_2D: optic_Arco {
displayName = CSTRING(optic_arco_2d);
};
class ACE_optic_Arco_PIP: ACE_optic_Arco_2D {
displayName = CSTRING(optic_arco_pip);
};
class optic_LRPS;
class ACE_optic_LRPS_2D: optic_LRPS {
displayName = CSTRING(optic_lrps_2d);
};
class ACE_optic_LRPS_PIP: ACE_optic_LRPS_2D {
displayName = CSTRING(optic_lrps_pip);
};
class optic_MRCO;
class ACE_optic_MRCO_2D: optic_MRCO {
displayName = CSTRING(optic_MRCO_2d);
};
class ACE_optic_MRCO_PIP: ACE_optic_MRCO_2D {
displayName = CSTRING(optic_MRCO_pip);
};
};

View File

@ -0,0 +1,21 @@
#include "script_component.hpp"
class CfgPatches {
class SUBADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {QUOTE(ADDON), "ace_optics"};
skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam);
authors[] = {};
url = ECSTRING(main,URL);
VERSION_CONFIG;
// this prevents any patched class from requiring this addon
addonRootClass = "A3_Characters_F";
};
};
#include "CfgWeapons.hpp"

View File

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

View File

@ -0,0 +1,45 @@
class CfgWeapons {
class HMG_127_APC;
class ACE_HMG_127_KORD: HMG_127_APC {
displayName = "6P49 Kord";
};
class cannon_120mm;
class ACE_cannon_120mm_GT12: cannon_120mm {
displayName = "GT12";
};
class LMG_coax_ext;
class ACE_LMG_coax_ext_MG3: LMG_coax_ext {
displayName = "Rheinmetall MG3";
};
class ACE_LMG_coax_ext_MAG58: LMG_coax_ext {
displayName = "MAG 58M";
};
class LMG_coax;
class ACE_LMG_coax_MAG58_mem3: LMG_coax {
displayName = "MAG 58M";
};
class ACE_LMG_coax_L94A1_mem3: LMG_coax {
displayName = "L94A1";
};
class ACE_LMG_coax_DenelMG4: LMG_coax {
displayName = "Denel MG4";
};
class autocannon_Base_F;
class cannon_20mm: autocannon_Base_F {
class AP: autocannon_Base_F {};
class HE: autocannon_Base_F {};
};
class ACE_cannon_20mm_Rh202: cannon_20mm {
displayName = "MK20 Rh 202";
class AP: AP {
displayName = "MK20 Rh 202";
};
class HE: HE {
displayName = "MK20 Rh 202";
};
};
};

View File

@ -0,0 +1,21 @@
#include "script_component.hpp"
class CfgPatches {
class SUBADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {QUOTE(ADDON), "ace_vehicles"};
skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam);
authors[] = {};
url = ECSTRING(main,URL);
VERSION_CONFIG;
// this prevents any patched class from requiring this addon
addonRootClass = "A3_Characters_F";
};
};
#include "CfgWeapons.hpp"

View File

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