OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: FW200 on 22 Sep 2002, 18:03:24
-
[attachment deleted by admin]
-
Can you be more specific on the error?
What does it say in the error message?
-
class cfgammo
{
class Default {};
class AT3: Default {};
class Hellfire: AT3 {};
class CarlGustav: AT3 {};
class BulletSingle : Default {};
class Bullet7_6: BulletSingle {};
class ExplosiveBullet: BulletSingle {};
class Bullet30: ExplosiveBullet {};
class FW_FNMG_Bullet_76 : Bullet7_6
{
hit=12;indirectHit=4;indirectHitRange=0.2;
minRange=300; minRangeProbab=0.80;
midRange=800; midRangeProbab=0.95;
maxRange=1500; maxRangeProbab=0.50;
tracerColor[]={0,0,0,0};tracerColorR[]={0,0,0,0};
};
};
this looks totally wrong, im not sure what youve done here but it should be:
class Default {};
class BulletSingle : Default {};
class Bullet7_6: BulletSingle {};
class ExplosiveBullet: BulletSingle {};
class Bullet30: ExplosiveBullet {};
class FW_FNMG_Bullet_76 : Bullet7_6
-
Sry for not replying but i was busy sry :-\
Well ofp says:
Some input after EndofFile
And im sure my addon causes this...
I had some people look at it but they dont understand it either..
I got it working before but then ofp classed it as a cessna so i had 4 seats and the cessna's speed and sound.. When i changed that ofp saw it as a A10 and it had 8 mavericks , 30mm , sound and speed of the A10 ???
-
class cfgweapons
{
};
class Default {};
class MGun: Default {};
class MachineGun7_6: MGun {};
class MachineGun12_7: MachineGun7_6 {};
class FW_FNMG : MachineGun7_6
{
ammo=FW_FNMG_Bullet_76;
displayName = "4 x FN BROWNING 7,7";
displayNameMagazine = "4 x FN BROWNING 7,7";
shortNameMagazine = "MG";
sound[]={"\FW_D21\fire.wav",db+10,1};
soundcontinuous=1;
count = 800;
burst=4;
reloadTime=0.028;
dispersion = 0.01;
optics = 0;
};
};
ive found another problem, delete the bracket thing higlighted in bold it shouldnt be there, theres also another thing ive seen:
weapons[]={FW_FNMG};
magazines[]={FW_FNMG_Bullet_76};
should be:
weapons[]={FW_FNMG};
magazines[]={FW_FNMG};
-
Thanks Escivator!!! ;D
Thank you Thank you Thank you!! ;D
Just 2 planes to go and its beta test time ;)