class CfgPatches
{
class vag_nighthawk
{
units[]={};
weapons[]={"vag_nighthawk"};
requiredVersion=1.750000;
};
};
class CfgModels
{
class default {};
class Weapon: default {};
class vag_nighthawk: Weapon {};
class CfgRecoils
{
vag_nighthawkpistolRecoil[]={0.01,0.01,0.1,0.1,0,0};
};
class CfgAmmo
{
class default {};
class BulletSingle: default {}
class vag_nighthawkAmmo: BulletSingle
{
hit=7;
indirectHit=1;
indirectHitRange=0.050000;
minRange=1
minRangeProbab=0.100000;
midRange=50
midRangeProbab=0.900000;
maxRange=100
maxRangeProbab=0.050000;
cartridge="FxCartridgeSmall";
};
}
class CfgWeapons
{
class Default {};
class MGun: Default {};
class Riffle: MGun {};
class HandGunBase: Riffle {};
class vag_nighthawkBase: HandGunBase
{
access=2;
scopeWeapon=0;
scopeMagazine=0;
dexterity=2;
aiRateOfFire=0.500000;
aiRateOfFireDistance=50
model="\vag_nighthawk\nighthawk.p3d";
modelOptics="\O\Guns\optika_CZ75";
picture="\vag_nighthawk\hawk.paa";
displayName="Nighthawk";
displayNameMagazine="Nighthawk Mag";
shortNameMagazine="Nighthawk Mag";
count=15;
weaponType=2;
magazineType=32;
reloadTime=0.050000;
magazineReloadTime=1.2;
autoReload=0;
soundContinuous=0;
sound[]={"\vag_nighthawk\fire.wav",0.131623,0.95000};
drySound[]={"weapons\M16dry",0.003162,1};
magazines[]={"vag_nighthawkMag"};
burst=1
multiplier=1
autoFire=0
initSpeed=490;
dispersion=0.002400;
ammo="vag_nighthawkAmmo";
};
};
i keep getting the error
"No entry 'config.cpp/CfgWeapons.vag_nighthawkMag"