This isn't the original config, but if you replace some of the things in it, it should work perfectly. You will need to change things so that it loads the correct model etc, you need to locate the sounds, and i would appreciate it if my name appeared somewhere with this addon.
P.S. it only has the modes, Semi-Auto and Full Auto.
//Lt. Shitkilla's Config!
//For Wildo and Hotel-Echo_Fire-Mission
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
class CfgPatches
{
class AK74no2
{
units[] = {};
weapons[] = {WilAK74};
requiredVersion = 1.75;
};
};
class CfgModels
{
class default {};
class Weapon: default {};
class **YourModelName**: Weapon {};
};
class CfgAmmo
{
class Default {};
class BulletSingle: Default{};
class WilAK74mag: BulletSingle
{
hit= 14;
indirectHit= 1;
indirectHitRange= 0.40000;
minRange=0.5;
minRangeProbab=0.800000;
midRange=250;
midRangeProbab=0.350000;
maxRange=500;
maxRangeProbab=0.080000;
visibleFire= 16;
audibleFire= 16;
visibleFireTime= 10;
};
};
class CfgWeapons
{
class Default {};
class MGun: Default {};
class Riffle: Mgun {};
class WilAK74: Riffle
{
model="\**YourPBO**\**YourModel**.p3d";
displayName="AK74";
magazines[]={"WilAK74mag"};
modelOptics="\data3d\ak47.p3d";
picture="\**YourPBO**\gun.paa";
optics = true;
opticsZoomMin=0.100000;
opticsZoomMax=0.100000;
flash="zasleh";
flashSize=5;
initSpeed=938;
drySound[]={"weapons\M16dry",0.003162,1};
opticsFlare= true;
modes[]= {"Single","Full"};
class Single
{
ammo="WilAK74mag";
multiplier=1;
burst=1;
displayName="Semi-Auto";
dispersion=0.0020000;
sound[]={"**Your Sound Location**",+0.75,1};
soundContinuous=0
ffCount=1;
reloadTime=0.100000;
recoil="WilAK74RE";
autofire=0;
aiRateOfFire=5.0000;
aiRateOfFireDistance = 200;
UseAction=0;
useActionTitle="";
};
class Full
{
ammo="WilAK74mag";
multiplier= 1;
burst= 1;
displayName="Full Auto";
dispersion=0.0008000;
sound[]={"**Your Sound Location**",+0.75,1};
soundContinuous=0
reloadTime= 0.100000;
ffCount= 3;
recoil= "WilAK74RE";
autoFire= 1;
aiRateOfFire= 5.00000;
aiRateOfFireDistance= 200;
useAction = 0;
useActionTitle= "";
};
};
class WilAK74mag: WilAK74
{
scopeWeapon=0;
scopeMagazine=2;
count=30;
picture="\**YourPBO**\**magpic**.paa";
displayNameMagazine="AK74 Magazine";
shortNameMagazine="AK74 Mag";
};
};
class CfgRecoils
{
WilAK74RE[]= {0.04, 0.015,0.030, 0.040,0,0};
};
class CfgVehicles
{
};
class CfgNonAIVehicles
{
class ProxyWeapon {};
class ProxyWilAK74: ProxyWeapon {}; //Weapons
};
};