Home   Help Search Login Register  

Author Topic: ak74 cpp file  (Read 1876 times)

0 Members and 1 Guest are viewing this topic.

SHOT@RUSIANS

  • Guest
ak74 cpp file
« on: 09 Jan 2004, 17:06:03 »
i need the ak74 cpp file so could sum1 please send it here

mike

Offline MachoMan

  • Honoured
  • Former Staff
  • ****
  • KISS, Keep it Simple Stupid
Re:ak74 cpp file
« Reply #1 on: 11 Jan 2004, 16:07:35 »
Lol, i think u'll need to un-pbo them yourself, they're copyright protected u know.
Get those missions out there you morons!

SHOT@RUSIANS

  • Guest
Re:ak74 cpp file
« Reply #2 on: 11 Jan 2004, 16:54:00 »
oh i'd love to un'pbo them but where is the config cos i really can't do cpp or could u send me a plain ak74cpp so i can try out a gun wildo made otherwise i'm fooked
Mike
« Last Edit: 11 Jan 2004, 18:01:55 by Hotel-Echo_Fire-mission »

Offline MachoMan

  • Honoured
  • Former Staff
  • ****
  • KISS, Keep it Simple Stupid
Re:ak74 cpp file
« Reply #3 on: 11 Jan 2004, 17:10:35 »
try de-pbo-ing some other addon's pbo, that's usualy ok for personal use, or u could always ask the author if u can use his config.cpp, u will have too alter it to refer to your own models.
Get those missions out there you morons!

wildo

  • Guest
Re:ak74 cpp file
« Reply #4 on: 11 Jan 2004, 17:44:33 »
tho its not actually his model, its MINE

wildo

SHOT@RUSIANS

  • Guest
Re:ak74 cpp file
« Reply #5 on: 11 Jan 2004, 18:00:53 »
ok it ain't my model i just sed it it's wildo's gun. oh how wildo likes to correct me but we really need the cpp as we both can't do it and we're stuck!!!

wildo

  • Guest
Re:ak74 cpp file
« Reply #6 on: 11 Jan 2004, 18:02:02 »
o im full of paranoia **looks around nervosly**

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:ak74 cpp file
« Reply #7 on: 11 Jan 2004, 20:31:03 »
Try getting the Commented configs from the Editors Depot.

Here:

http://www.ofpec.com/editors/browse.php?category=1_5



Planck
I know a little about a lot, and a lot about a little.

Lt.Shitkilla

  • Guest
Re:ak74 cpp file
« Reply #8 on: 12 Jan 2004, 13:14:16 »
This isn't the original config, but if you replace some of the things in it, it should work perfectly. You will need to change things so that it loads the correct model etc, you need to locate the sounds, and i would appreciate it if my name appeared somewhere with this addon.

P.S. it only has the modes, Semi-Auto and Full Auto.

Code: [Select]
//Lt. Shitkilla's Config!
//For Wildo and Hotel-Echo_Fire-Mission

#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 AK74no2
     {
         units[] = {};
         weapons[] = {WilAK74};
         requiredVersion = 1.75;
     };
};

class CfgModels
{
   class default {};
   class Weapon: default {};
   class **YourModelName**: Weapon {};
};

class CfgAmmo
{
        class Default {};
        class BulletSingle: Default{};
        class WilAK74mag: BulletSingle
        {
                hit= 14;
                indirectHit= 1;
                indirectHitRange= 0.40000;
                minRange=0.5;
                minRangeProbab=0.800000;
                midRange=250;
                midRangeProbab=0.350000;
                maxRange=500;
                maxRangeProbab=0.080000;
                visibleFire= 16;
                audibleFire= 16;
                visibleFireTime= 10;
        };
};

class CfgWeapons
{
        class Default {};
        class MGun: Default {};
        class Riffle: Mgun {};
        class WilAK74: Riffle
        {
                model="\**YourPBO**\**YourModel**.p3d";
                displayName="AK74";
                magazines[]={"WilAK74mag"};
         modelOptics="\data3d\ak47.p3d";
      picture="\**YourPBO**\gun.paa";
          optics = true;
      opticsZoomMin=0.100000;
      opticsZoomMax=0.100000;
                flash="zasleh";
                flashSize=5;
                initSpeed=938;
      drySound[]={"weapons\M16dry",0.003162,1};
                opticsFlare= true;
                modes[]= {"Single","Full"};
                class Single
               {
                      ammo="WilAK74mag";
                      multiplier=1;
                      burst=1;
                      displayName="Semi-Auto";
                      dispersion=0.0020000;
                 sound[]={"**Your Sound Location**",+0.75,1};
                 soundContinuous=0
                      ffCount=1;
                      reloadTime=0.100000;
                      recoil="WilAK74RE";
                      autofire=0;
                      aiRateOfFire=5.0000;
                      aiRateOfFireDistance = 200;
                      UseAction=0;
                      useActionTitle="";
               };
               class Full
               {
                      ammo="WilAK74mag";
                      multiplier= 1;
                      burst= 1;
                      displayName="Full Auto";
                      dispersion=0.0008000;
                 sound[]={"**Your Sound Location**",+0.75,1};
                 soundContinuous=0
                      reloadTime= 0.100000;
                      ffCount= 3;
                      recoil= "WilAK74RE";
                      autoFire= 1;
                      aiRateOfFire= 5.00000;
                      aiRateOfFireDistance= 200;
                      useAction = 0;
                      useActionTitle= "";
                };

       };
        class WilAK74mag: WilAK74
        {
               scopeWeapon=0;
               scopeMagazine=2;
          count=30;
          picture="\**YourPBO**\**magpic**.paa";
               displayNameMagazine="AK74 Magazine";
               shortNameMagazine="AK74 Mag";
        };
};

class CfgRecoils
{
   WilAK74RE[]= {0.04, 0.015,0.030, 0.040,0,0};
};   

class CfgVehicles
{

};
class CfgNonAIVehicles
{
       class ProxyWeapon {};
       class ProxyWilAK74: ProxyWeapon {};      //Weapons
         };
};

wildo

  • Guest
Re:ak74 cpp file
« Reply #9 on: 13 Jan 2004, 13:31:26 »
thanks for that, ive changed all the stuff to my type 95 bits n bobs, BUT i still cant get it in game  >:( i dont know what im doing worng but its tizzing me off  :gunman:

wildo

Lt.Shitkilla

  • Guest
Re:ak74 cpp file
« Reply #10 on: 13 Jan 2004, 15:14:46 »
alright then, if you'd like you can send the whole pbo file to me, along with an editable model plz (incase the model is the prob) then i'll have a look at it

but it's up to you.

Lt. Shitkilla

a5hl3y_f15her@hotmail.com

Offline Pathy

  • Former Staff
  • ****
  • I'm not a F***in llama!
    • Volcbat.
Re:ak74 cpp file
« Reply #11 on: 13 Jan 2004, 15:47:46 »
Well if it doesnt go ingame, whats the error message or problem?