Added optional hlc_ar15 compatibility pbo

This commit is contained in:
ulteq 2015-04-24 16:54:55 +02:00
parent f7ee7323b6
commit 7e491c95a5
3 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,65 @@
class CfgWeapons
{
class Rifle;
class Rifle_Base_F;
class hlc_ar15_base: Rifle_Base_F
{
ACE_barrelTwist=7;
ACE_barrelLength=11.5;
};
class hlc_rifle_RU556: hlc_ar15_base
{
ACE_barrelTwist=7;
ACE_barrelLength=10.3;
};
class hlc_rifle_RU5562: hlc_rifle_RU556
{
ACE_barrelTwist=7;
ACE_barrelLength=10.3;
};
class hlc_rifle_CQBR: hlc_rifle_RU556
{
ACE_barrelTwist=7;
ACE_barrelLength=10;
};
class hlc_rifle_M4: hlc_rifle_RU556
{
ACE_barrelTwist=7;
ACE_barrelLength=14.5;
};
class hlc_rifle_bcmjack: hlc_ar15_base
{
ACE_barrelTwist=7;
ACE_barrelLength=14.5;
};
class hlc_rifle_Colt727: hlc_ar15_base
{
ACE_barrelTwist=7;
ACE_barrelLength=14.5;
};
class hlc_rifle_Colt727_GL: hlc_rifle_Colt727
{
ACE_barrelTwist=7;
ACE_barrelLength=14.5;
};
class hlc_rifle_Bushmaster300: hlc_rifle_Colt727
{
ACE_barrelTwist=8;
ACE_barrelLength=14.5;
};
class hlc_rifle_vendimus: hlc_rifle_Bushmaster300
{
ACE_barrelTwist=8;
ACE_barrelLength=16;
};
class hlc_rifle_SAMR: hlc_rifle_RU556
{
ACE_barrelTwist=9;
ACE_barrelLength=16;
};
class hlc_rifle_honeybase: hlc_rifle_RU556
{
ACE_barrelTwist=8;
ACE_barrelLength=6;
};
};

View File

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

View File

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