OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: SHOT@RUSIANS on 09 Jan 2004, 17:06:03
-
i need the ak74 cpp file so could sum1 please send it here
(http://smileys.smileycentral.com/cat/12/12_9_11.gif)
mike
-
Lol, i think u'll need to un-pbo them yourself, they're copyright protected u know.
-
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
-
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.
-
tho its not actually his model, its MINE
wildo
-
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!!!
-
o im full of paranoia **looks around nervosly**
-
Try getting the Commented configs from the Editors Depot.
Here:
http://www.ofpec.com/editors/browse.php?category=1_5
Planck
-
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.
//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
};
};
-
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
-
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
-
Well if it doesnt go ingame, whats the error message or problem?