Results 1 to 10 of 10

Thread: Usp socom recoil problem

  1. #1
    Sergeant Major SpecOp9's Avatar
    Join Date
    Nov 21 2002
    Location
    Cary, North Carolina
    Posts
    1,737
    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

    Quote 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 {};
    };
    I was planning on releasing the Addon today, so if anybody could please help me ASAP that would be great!
    BIS is the only game studio I know that would put a half naked chick covering her rack on their main page, and I applaud them for it.

  2. #2
    i havnt read through the whole thing, cant b arsed to :P but:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Weapon&#58; default {}[/QUOTE]

    needs a ; after it

  3. #3
    Sergeant Major SpecOp9's Avatar
    Join Date
    Nov 21 2002
    Location
    Cary, North Carolina
    Posts
    1,737
    Author of the Thread
    Thanks for pointing that out,

    but my main problem still exists

    -cries-

  4. #4
    i think i found ur problem:

    u have the following:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> recoil=&#34;USP_SOCOMRecoil&#34;;[/QUOTE]

    but USP_SOCOMRecoil is not defined anywhere so thats y it can&#39;t find it.

  5. #5
    Addons done, Specop Happy, and the MOD&#39;s can close it because its placed wrong next time post it under the Breathe Config section thnxs
    \"Impossible\" is like \"infinity\" - you can&#39;t reach it, but you can be very close to it.

  6. #6
    Sergeant Major SpecOp9's Avatar
    Join Date
    Nov 21 2002
    Location
    Cary, North Carolina
    Posts
    1,737
    Author of the Thread
    lol,

    yes..
    -------

    Only one thing...

    why post in the Breathe forum when my prob had nothing to do with it?


    hhahaaaaaaaaaaaaaaa
    gottcha




  7. #7
    No mate you laughed to fast because: i Got you Wy?:
    The ADDON CONFIG & SCRIPTING is specialy for the Confi ( .CPP ) so evry thing thats related to the .CPP must be puted there or else that forum will not be there right?

    dont believe me? check the link:
    The link


  8. #8
    talk about wannabe moderators......

  9. #9
    No i dont wannabe a Moderator i want to keep the forums just clean because if things like this continue then the whole AM will get messy and i dont think we want that right?

  10. #10

    Talking

    wrong section
    Argh the Evil Pink Pirat Bunny, BE afraid be very afraid

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •