Home   Help Search Login Register  

Author Topic: Fokker D.XXI + Cpp problems  (Read 1425 times)

0 Members and 1 Guest are viewing this topic.

FW200

  • Guest
Fokker D.XXI + Cpp problems
« on: 22 Sep 2002, 18:03:24 »


[attachment deleted by admin]
« Last Edit: 22 Sep 2002, 18:06:55 by FW200 »

CrunchyFrog

  • Guest
Re:Fokker D.XXI + Cpp problems
« Reply #1 on: 23 Sep 2002, 00:11:54 »
Can you be more specific on the error?

What does it say in the error message?
« Last Edit: 23 Sep 2002, 00:12:34 by CrunchyFrog »

Eviscerator

  • Guest
Re:Fokker D.XXI + Cpp problems
« Reply #2 on: 23 Sep 2002, 01:05:02 »
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

FW200

  • Guest
Re:Fokker D.XXI + Cpp problems
« Reply #3 on: 24 Sep 2002, 20:11:13 »
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  ???

Eviscerator

  • Guest
Re:Fokker D.XXI + Cpp problems
« Reply #4 on: 24 Sep 2002, 20:33:12 »
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};

FW200

  • Guest
Re:Fokker D.XXI + Cpp problems
« Reply #5 on: 24 Sep 2002, 21:54:40 »
Thanks Escivator!!! ;D
Thank you Thank you Thank you!! ;D

Just 2 planes to go and its beta test time ;)