Home   Help Search Login Register  

Author Topic: AHHH I hate Configs and theres a prob with mine  (Read 941 times)

0 Members and 1 Guest are viewing this topic.

cpt.Hawkeyez

  • Guest
AHHH I hate Configs and theres a prob with mine
« on: 30 Jan 2004, 01:57:27 »
Ok I geuss it needs to have the sound addons but I cant figure out any of the m16 sounds can anyone help me and please please add in the mi16 sounds and proofreed this and tell me whats going and it says something about, no singlesound sound our something like that can anyone look it over for me
 
Code: [Select]
//Config file written by OFPCW ofps.cncguild.net/configw
//g3 made by CMP
#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 g3
     {
         units[] = {};
         weapons[] = {g3};
         requiredVersion = 1.05;
     };
};
class CfgAmmo
{
        class Default {};
        class BulletSingle: Default{};
        class CMPG3mag: BulletSingle
        {
                hit= 8;
                indirectHit= 1;
                indirectHitRange= 0.40000;
                minRange=0.5;
                minRangeProbab=0.800000;
                midRange=50;
                midRangeProbab=0.350000;
                maxRange=109;
                maxRangeProbab=0.080000;
                visibleFire= 16;
                audibleFire= 16;
                visibleFireTime= 10;
        };
};

class CfgWeapons
{
        class Default {};
        class MGun: Default {};
        class Riffle: Mgun {};
        class g3: Riffle
        {
                model="\g3\g3";
                modelOptics="\g3\steyr_optika";
                displayName="g3";
                magazines[]={"g3mag"};
                flash="gunfire";
                flashSize=5;
                initSpeed=938;
                opticsFlare= true;
                modes[]= {"Single","Burst"};
                class Single
               {
                      ammo="CMPG3mag";
                      multiplier=1;
                      burst=1;
                      displayName="SINGLE FIRE";
                      dispersion=0.0002000;
                      ffCount=1;
                      reloadTime=0.100000;
                      recoil="g3RE";
                      autofire=0;
                      aiRateOfFire=5.0000;
                      aiRateOfFireDistance = 200;
                      UseAction=0;
                      useActionTitle="";
               };
               class Burst
               {
                      ammo="CMPG3mag";
                      multiplier=1;
                      burst=3;
                      displayName= "BURST FIRE";
                      dispersion= 0.0004000;
                      reloadtime=0.10000;
                      ffCount=3;
                      recoil= "g3RE";
                      autoFire=0;
                      aiRateofFire= 5.0000;
                      aiRateOfFireDistance= 200;
                                     useAction= 0;
                      useActionTitle= "";
               };
       };
        class g3mag: g3
        {
               scopeWeapon=0;
               scopeMagazine=2;
               displayNameMagazine="G3mag";
               shortNameMagazine="G3mag";
        };
};
class CfgRecoils
{
       g3RE[]= {0.04, 0.015,0.030, 0.040,0,0};
};

class CfgNonAIVehicles
{
       class ProxyWeapon {};
       class Proxyg3: ProxyWeapon {};
};
        };