Added optional hlcmods_ak compatibility pbo

This commit is contained in:
ulteq 2015-04-24 17:05:09 +02:00
parent f707ce3577
commit 87252c3a3e
3 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,54 @@
class CfgWeapons
{
class hlc_ak_base;
class hlc_rifle_ak74: hlc_ak_base
{
ACE_barrelTwist=7.8699999;
ACE_barrelLength=16.299999;
};
class hlc_rifle_aku12: hlc_rifle_ak12
{
ACE_barrelTwist=6.3000002;
ACE_barrelLength=8.3000002;
};
class hlc_rifle_RPK12: hlc_rifle_ak12
{
ACE_barrelLength=23.200001;
};
class hlc_rifle_aks74u: hlc_rifle_ak74
{
ACE_barrelTwist=6.3000002;
ACE_barrelLength=8.3000002;
};
class hlc_rifle_ak47: hlc_rifle_ak74
{
ACE_barrelTwist=9.4499998;
ACE_barrelLength=16.299999;
};
class hlc_rifle_akm: hlc_rifle_ak47
{
ACE_barrelTwist=7.8699999;
ACE_barrelLength=16.299999;
};
class hlc_rifle_rpk: hlc_rifle_ak47
{
ACE_barrelTwist=9.4499998;
ACE_barrelLength=23.200001;
};
class hlc_rifle_rpk74n: hlc_rifle_rpk
{
ACE_barrelTwist=9.4499998;
ACE_barrelLength=23.200001;
};
class hlc_rifle_aek971: hlc_rifle_ak74
{
ACE_barrelTwist=9.5;
ACE_barrelLength=17;
};
class hlc_rifle_saiga12k: hlc_rifle_ak47
{
ACE_barrelTwist=0;
ACE_twistDirection=0;
ACE_barrelLength=16.9;
};
};

View File

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

View File

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