Added more compatibility modules:

*hlcmods_ak
*hlcmods_aug
*rh_acc
*rh_de
*rh_m4
*rh_pdf
*rksl_pm_ii
This commit is contained in:
ulteq 2015-04-24 19:56:11 +02:00
parent afccc3a44b
commit 819b7af426
18 changed files with 659 additions and 0 deletions

View File

@ -1,7 +1,9 @@
class CfgWeapons
{
class optic_dms;
class hlc_ak_base;
class hlc_rifle_ak12;
class InventoryOpticsItem_Base_F;
class hlc_rifle_ak74: hlc_ak_base
{
ACE_barrelTwist=7.8699999;
@ -52,4 +54,23 @@ class CfgWeapons
ACE_twistDirection=0;
ACE_barrelLength=16.9;
};
class HLC_Optic_PSO1 : optic_dms {
ACE_ScopeAdjust_Vertical[] = { 0, 0 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_Increment = 0.5;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[]={100, 200, 300, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950, 1000};
discreteDistanceInitIndex=3;
};
};
};
};
class HLC_Optic_1p29 : HLC_Optic_PSO1 {
ACE_ScopeAdjust_Vertical[] = {};
ACE_ScopeAdjust_Horizontal[] = {};
ACE_ScopeAdjust_Increment = 0;
};
};

View File

@ -0,0 +1,51 @@
class CfgWeapons
{
class Rifle_Base_F;
class hlc_aug_base;
class hlc_rifle_aug: hlc_aug_base
{
ACE_barrelTwist=9;
ACE_barrelLength=20;
};
class hlc_rifle_auga1carb: hlc_rifle_aug
{
ACE_barrelTwist=9;
ACE_barrelLength=16;
};
class hlc_rifle_aughbar: hlc_rifle_aug
{
ACE_barrelTwist=9;
ACE_barrelLength=24;
};
class hlc_rifle_augpara: hlc_rifle_aug
{
ACE_barrelTwist=9;
ACE_barrelLength=16.5;
};
class hlc_rifle_auga2: hlc_rifle_aug
{
ACE_barrelTwist=9;
ACE_barrelLength=20;
};
class hlc_rifle_auga2para: hlc_rifle_auga2
{
ACE_barrelTwist=9;
ACE_barrelLength=16.5;
};
class hlc_rifle_auga2carb: hlc_rifle_auga2
{
ACE_barrelTwist=9;
ACE_barrelLength=18;
};
class hlc_rifle_auga2lsw: hlc_rifle_aughbar
{
ACE_barrelTwist=9;
ACE_barrelLength=24;
};
class hlc_rifle_auga3: hlc_rifle_aug
{
ACE_barrelTwist=9;
ACE_barrelLength=18;
};
};

View File

@ -0,0 +1,14 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"hlcweapons_AUG"};
author[]={"Ruthberg"};
VERSION_CONFIG;
};
};
#include "CfgWeapons.hpp"

View File

@ -0,0 +1,5 @@
#define COMPONENT hlcweapons_AUG_comp
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -0,0 +1,131 @@
class CfgWeapons {
class ItemCore;
class InventoryOpticsItem_Base_F;
class RH_accupoint : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class Accupoint {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_m3lr : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class m3lr {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_leu_mk4 : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class mk4 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_c79 : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class c79scope {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_c79_2d : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class c79scope {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_anpvs10 : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class pvs10 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_pas13cm : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class MTWS {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_pas13cmg : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class MTWSmg {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RH_pas13ch : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class HTWS {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
};

View File

@ -0,0 +1,14 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"RH_acc"};
author[]={"Ruthberg"};
VERSION_CONFIG;
};
};
#include "CfgWeapons.hpp"

View File

@ -0,0 +1,5 @@
#define COMPONENT RH_acc_comp
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -0,0 +1,161 @@
class CfgAmmo
{
class BulletBase;
class RH_50_AE_Ball: BulletBase
{
ACE_caliber=0.5;
ACE_bulletLength=1.110;
ACE_bulletMass=325;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.228};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={360, 398, 420};
ACE_barrelLengths[]={4, 6, 9};
};
class RH_454_Casull: BulletBase
{
ACE_caliber=0.452;
ACE_bulletLength=0.895;
ACE_bulletMass=325;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.171};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={450, 490, 500};
ACE_barrelLengths[]={4, 7.5, 9};
};
class RH_32ACP: BulletBase
{
ACE_caliber=0.3125;
ACE_bulletLength=0.610;
ACE_bulletMass=65;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.118};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={282, 300, 320};
ACE_barrelLengths[]={4, 5, 9};
};
class RH_45ACP: BulletBase
{
ACE_caliber=0.452;
ACE_bulletLength=0.68;
ACE_bulletMass=230;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.195};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={230, 250, 285};
ACE_barrelLengths[]={4, 5, 9};
};
class RH_B_40SW: BulletBase
{
ACE_caliber=0.4;
ACE_bulletLength=0.447;
ACE_bulletMass=135;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.105, 0.115, 0.120, 0.105};
ACE_velocityBoundaries[]={365, 305, 259};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={360, 380, 400};
ACE_barrelLengths[]={4, 6, 9};
};
class RH_44mag_ball: BulletBase
{
ACE_caliber=0.429;
ACE_bulletLength=0.804;
ACE_bulletMass=200;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.172};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={360, 390, 420};
ACE_barrelLengths[]={4, 7.5, 9};
};
class RH_357mag_ball: BulletBase
{
ACE_caliber=0.357;
ACE_bulletLength=0.541;
ACE_bulletMass=125;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.148};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={490, 510, 535};
ACE_barrelLengths[]={4, 6, 9};
};
class RH_762x25: BulletBase
{
ACE_caliber=0.310;
ACE_bulletLength=0.5455;
ACE_bulletMass=86;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.17};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={360, 380, 400};
ACE_barrelLengths[]={4, 6, 9};
};
class RH_9x18_Ball: BulletBase
{
ACE_caliber=0.365;
ACE_bulletLength=0.610;
ACE_bulletMass=92.6;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.125};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={298, 330, 350};
ACE_barrelLengths[]={3.8, 5, 9};
};
class RH_B_9x19_Ball: BulletBase
{
ACE_caliber=0.355;
ACE_bulletLength=0.610;
ACE_bulletMass=124;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.165};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={4, 5, 9};
};
class RH_B_22LR_SD: BulletBase
{
ACE_caliber=0.223;
ACE_bulletLength=0.45;
ACE_bulletMass=38;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.111};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={330, 340, 360};
ACE_barrelLengths[]={4, 6, 9};
};
class RH_57x28mm: BulletBase
{
ACE_caliber=0.224;
ACE_bulletLength=0.495;
ACE_bulletMass=28;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.144};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={550, 625, 720};
ACE_barrelLengths[]={4, 6, 10.35};
};
};

View File

@ -0,0 +1,140 @@
class CfgWeapons
{
class Pistol_Base_F;
class RH_Pistol_Base_F;
class RH_deagle: RH_Pistol_Base_F
{
ACE_barrelTwist=19;
ACE_barrelLength=6;
};
class RH_mateba: Pistol_Base_F
{
ACE_barrelTwist=14;
ACE_barrelLength=6;
};
class RH_mp412: Pistol_Base_F
{
ACE_barrelTwist=10;
ACE_barrelLength=6;
};
class RH_python: Pistol_Base_F
{
ACE_barrelTwist=14;
ACE_barrelLength=6;
};
class RH_bull: RH_python
{
ACE_barrelTwist=24;
ACE_barrelLength=6.5;
};
class RH_ttracker: Pistol_Base_F
{
ACE_barrelTwist=12;
ACE_barrelLength=4;
};
class RH_cz75: RH_Pistol_Base_F
{
ACE_barrelTwist=9.7;
ACE_barrelLength=4.7;
};
class RH_p226: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4.4;
};
class RH_sw659: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=7.44;
};
class RH_usp: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=4.41;
};
class RH_uspm: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=6;
};
class RH_kimber: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=5;
};
class RH_m1911: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=5;
};
class RH_tt33: RH_Pistol_Base_F
{
ACE_barrelTwist=9.45;
ACE_barrelLength=4.6;
};
class RH_mak: RH_Pistol_Base_F
{
ACE_barrelTwist=9.45;
ACE_barrelLength=3.68;
};
class RH_mk2: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=4;
};
class RH_m9: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4.9;
};
class RH_g18: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4.49;
};
class RH_g17: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4.49;
};
class RH_g19: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4;
};
class RH_gsh18: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4.1;
};
class RH_fnp45: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=4.5;
};
class RH_fn57: RH_fnp45
{
ACE_barrelTwist=9.1;
ACE_barrelLength=4.8;
};
class RH_vp70: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=4.6;
};
class RH_vz61: RH_Pistol_Base_F
{
ACE_barrelTwist=16;
ACE_barrelLength=4.5;
};
class RH_tec9: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=5;
};
class RH_muzi: RH_Pistol_Base_F
{
ACE_barrelTwist=9.8;
ACE_barrelLength=5;
};
};

View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"RH_de_cfg"};
author[]={"Ruthberg"};
VERSION_CONFIG;
};
};
#include "CfgAmmo.hpp"
#include "CfgWeapons.hpp"

View File

@ -0,0 +1,5 @@
#define COMPONENT RH_de_cfg_comp
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -0,0 +1,15 @@
class BulletBase;
class RH_B_6x35: BulletBase
{
ACE_caliber=0.224;
ACE_bulletLength=0.445;
ACE_bulletMass=65;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.26};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={730, 750, 760};
ACE_barrelLengths[]={8, 10, 12};
};

View File

@ -0,0 +1,10 @@
class CfgWeapons
{
class Rifle_Base_F;
class RH_PDW: Rifle_Base_F
{
ACE_barrelTwist=7;
ACE_barrelLength=10;
};
};

View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"RH_PDW"};
author[]={"Ruthberg"};
VERSION_CONFIG;
};
};
#include "CfgAmmo.hpp"
#include "CfgWeapons.hpp"

View File

@ -0,0 +1,5 @@
#define COMPONENT RH_PDW_comp
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -0,0 +1,33 @@
class CfgWeapons {
class ItemCore;
class InventoryOpticsItem_Base_F;
class RKSL_optic_PMII_312 : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class RKSL_optic_PMII_312_sunshade : ItemCore {
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_Increment = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
};

View File

@ -0,0 +1,14 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"RKSL_PMII"};
author[]={"Ruthberg"};
VERSION_CONFIG;
};
};
#include "CfgWeapons.hpp"

View File

@ -0,0 +1,5 @@
#define COMPONENT RKSL_PMII_comp
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"