I do believe I have set everything up correctly.
However once I fire the weapon I get an error message
No Entry 'config.bin/CfgRecoils.USP_SOCOMRecoil'.]
Here is my Config CPP
I was planning on releasing the Addon today, so if anybody could please help me ASAP that would be great!Originally Posted by [b
Quote[/b] ]class CfgPatches
{
class USP_SOCOM
{
units[]={};
weapons[]={"USP_SOCOM"};
requiredVersion=1.7500000;
};
class OfficerUSP_SOCOM
{
units[]={};
weapons[]={};
requiredversion=1.750000;
};
};
class CfgModels
{
class default {};
class Weapon: default {}
class USP_SOCOM: Weapon {};
};
class CfgAmmo
{
class default {};
class BulletSingle: default {};
class USP_SOCOMAmmo: BulletSingle
{
access=2;
hit=7;
indirectHit=1;
indirectHitRange=0.050000;
visibleFire=14;
audibleFire=100;
visibleFireTime=2;
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 USP_SOCOMBase: HandGunBase
{
access=2;
scopeWeapon=0;
scopeMagazine=0;
dexterity=2;
model="\USP_SOCOM\USP_SOCOM.p3d";
modelOptics="\O\Guns\optika_CZ75";
picture="\USP_SOCOM\USP SOCOM1.pac";
optics=1;
opticsZoommin=0.350000;
opticsZoomMax=0.350000;
distanceZoomMin=300;
distanceZoomMax=300;
displayName="USP SOCOM";
displayNameMagazine="USP_SOCOM mag";
shortNameMagazine="USP_SOCOMmag";
weaponType=2;
magazineType=32;
count=15;
reloadTime=0.050000;
magazineReloadTime=1.2;
drySound[]={"weapons\M16dry"};
magazines[]={"USP_SOCOMMag"};
modes[]={"Single"};
class Single
{
ammo="USP_SOCOMAmmo";
multiplier=1;
burst=1;
displayName="USP SOCOM";
dispersion=0.002400;
initSpeed=369
sound[]={"\USP_SOCOM\usp1.wav",1.000000,1};
soundContinuous=0;
reloadTime=0.200000;
ffCount=1;
recoil="USP_SOCOMRecoil";
autoFire=0;
aiRateOfFire=0.500000;
aiRateOfFireDistance=50;
useAction=0;
useActionTitle="";
};
};
class USP_SOCOMMag: USP_SOCOMBase
{
scopeMagazine=2;
picture="\O\Guns\zasobnik.paa";
};
class USP_SOCOM: USP_SOCOMBase
{
scopeWeapon=2;
magazines[]={"USP_SOCOMMag"};
uiPicture="\misc\ipistole.paa";
};
};
class CfgVehicles
{
class All{};
class AllVehicles : All{};
class Land: AllVehicles{};
class Man : Land{};
class Soldier : Man{};
class SoldierWB : Soldier{};
class OfficerW : SoldierWB{};
class OfficerUSP_SOCOM : OfficerW
{
displayName="Officer (USP SOCOM)";
weapons[]={"G36a","Throw","Put","USP_SOCOM","Binocular&
quot;};
magazines[]={"G36amag","G36amag","G36amag","G36amag","Han
dGrenade","HandGrenade","HandGrenade","HandGrenade ",&qu
ot;SmokeShell","SmokeShell","USP_SOCOMmag","USP_SO COMMag&quo
t;,"USP_SOCOMMag","USP_SOCOMMag"};
};
};
class CfgNonAIVehicles
{
class ProxyWeapon {};
class ProxyUSP_SOCOMBase : ProxyWeapon {};
};
HOME
Reply With Quote
next time post it under the Breathe Config section thnxs
Wy?:
will get messy and i dont think we want that right?
