Here is my config
// some basic defines
#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
// type scope
#define private 0
#define protected 1
#define public 2
class CfgModels
{
class Default{};
class Weapon: Default{};
class m16a1: Weapon{};
};
class CfgPatches
{
class m16a1
{
units[] = {SoldierM16a1};
weapons[] = {m16a1};
requiredVersion = 1.30;
};
};
class CfgRecoils
{
SFSRecoil[]={0.1,0.02,0,001};
};
class CfgAmmo
{
class Default{};
class BulletSingle : Default {};
class BulletSniper: BulletSingle{};
class BulletSniperSFS: BulletSniper
{
hit=14;
indirectHit=5;
indirectHitRange=0.100000;
minRange=1;
minRangeProbab=0.100000;
midRange=400;
midRangeProbab=0.300000;
maxRange=1000;
maxRangeProbab=0.050000;
audibleFire=0.025000;
cost=6;
tracerColor[]={0,0,0,0};
};
};
class CfgWeapons
{
class Default {};
class MGun: Default {};
class Riffle: MGun {};
class m16a1: Riffle
{
scopeWeapon=2;
scopeMagazine=0;
model="\m16a1\m16a1";
modelOptics="optika_m16";
optics=1;
opticsZoomMin=0.350000;
opticsZoomMax=0.350000;
displayName="M16A1 (WWIII)";
displayNameMagazine="M16A1 Mag";
shortNameMagazine="M16A1";
reloadMagazineSound[]={"\m16a1\M16A1_reload.wav",0.010316,1};
drySound[]={"weapons\M16dry",0.010000,1};
magazines[]={"m16a1mag"};
picture="\m16a1\w_m16.paa";
modes[]={"Single","FullAuto"};
class Single
{
ammo="BulletSingleW";
multiplier=1;
burst=1;
displayName="M16A1 Single";
dispersion=0.000200;
sound[]={"\m16a1\commando.wav",1.000000,0.90};
soundContinuous=0;
reloadTime=0.150000;
ffCount=1;
recoil="riffleSingle";
autoFire=0;
aiRateOfFire=0.500000;
aiRateOfFireDistance=500;
useAction=0;
useActionTitle="";
};
class FullAuto
{
ammo="BulletFullAutoW";
multiplier=1;
burst=1;
displayName="M16A1 Full Auto";
dispersion=0.0004000;
sound[]={"\m16a1\commando.wav",1.000000,0.90};
soundContinuous=0;
reloadTime=0.1;
ffCount=20;
recoil="riffleBurst3";
autoFire=1;
aiRateOfFire=0.50000;
aiRateOfFireDistance=500;
useAction=0;
useActionTitle="";
};
};
class m16a1mag:m16a1
{
scopeWeapon=0;
scopeMagazine=2;
count = 20;
picture="\m16a1\m_m16.paa";
};
};
class CfgVehicles
{
class All{};
class AllVehicles:All{};
class Land:AllVehicles{};
class Man:Land{};
class Soldier:Man{};
class SoldierWB:Soldier{};
class soldierM16a1:SoldierWB{};
{
side=TWest;
displayName="Soldier (M16a1)";
weapons[]={M16a1,Binocular,Throw,Put};
magazines[]={M16a1mag,M16a1mag,M16a1mag,M16a1mag,Handgrenade,Handgrenade,Handgrenade};
camouflage=0.300000;
accuracy=1000;
};
};
Now can someone please find this bloody error!