Home   Help Search Login Register  

Author Topic: why my car doesn't apear in game?  (Read 1391 times)

0 Members and 1 Guest are viewing this topic.

US-Marine

  • Guest
why my car doesn't apear in game?
« on: 08 Jun 2004, 04:44:26 »
here is my config file


// Delta FAV by US-Marine

// some basic defines
#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

// type scope
#define private 0
#define protected 1
#define public 2

class CfgPatches
{
        class DeltaFAV
        {
                units[] = {DeltaFAV};
                weapons[]={};
                requiredVersion = 1.30;
        };
};

class CfgWeapons
 {
       class Default{}
       class MGun: Default{};
       class MachineGun7_6: MGun{};
       class MachineGun12_7: MachineGun7_6{};
       class 50cal: MachineGun12_7
       class LAWLauncher : default {};
       class BLDC90Launcher : LAWLauncher
       {
          ammo="Bullet12_7";
          count=500;
          initSpeed=1000;
          reloadTime=0.07;
          Burst=2;
          sound[]={"\DeltaFAV\50cal.wav",1,1};
          flashSize=1.500000;
          ffFrequency=1;
          ffCount=1;
          dispersion=0.040000;
          recoil="mgunBurst3";
          maxLeadSpeed=350;
          aiRateOfFire=0.500000;
          aiRateOfFireDistance=1000;
          optics=1;
          autoFire=1;
          };

          ammo = "BLDc90";
          count = 2;
          initspeed=130;
          reloadTime=0.07;
          sound[]={"\DeltaFAV\Missile_6.wav",1,1};
          maxLeadSpeed=250;
          aiRateOfFire=0.400000;
       aiRateOfFireDistance=1000;
          };

};

class CfgVehicles
{      
        class All {};
   class AllVehicles: All {};
   class Land: AllVehicles {};   
   class LandVehicle : Land {};   
   class Car: LandVehicle {};   
   class Jeep: Car {};   
   class FAV3: Jeep
        {
      side=TWest;
               displayName="Delta Buggy";
               model="\DeltaFAV\DeltaFAV.p3d";
               picture="\FAV3\iFAV.paa";
               crew="SoldierW";
               //transportSoldier=5; //'alw'
               maxSpeed=250;
               armor=100;
      soundEngine[]={\DeltaFAV\Engine.wav",db-15,1};
               

                  };

      };

          dammageHalf[]=
               {
                        \Data\jeep_kab_sklo1.paa,
                        \Data\jeep_kab_sklo1B.paa,
                        \Data\jeep_kab_sklo2.paa,
         \Data\jeep_kab_sklo2B.paa
           };
               dammageFull[]=
               {
         \Data\jeep_kab_sklo1.paa,
                        \Data\jeep_kab_sklo1C.paa,
                        \Data\jeep_kab_sklo2.paa,
         \Data\jeep_kab_sklo2C.paa
           };
                     class IndicatorSpeed
          {
         selection="ukaz_rychlo";
         axis="osa_rychlo";
         angle=-240;
         min=0;
         max=40;
          };
               armorGlass=1;
               armorWheels=1.0;
                  // experimental addendum 'alw'
                  // check 'JeppMG' class for original BIStudio example (car with turret)
                  // add/change/remove what else necessary
      gunnerAction="ManActM1A1Gunner";
      hasGunner=1;
      castGunnerShadow=1;
      castDriverShadow=1;
      driverIsCommander=1;
      scope=2;
      weapons[]={"50cal","BLDC90Launcher"};
      magazines[]={"50cal","BLDC90Launcher"};
      gunnerOpticsModel="optika_empty";
      transportSoldier=1;
      class Turret
      {
         gunAxis="OsaHlavne";
         turretAxis="OsaVeze";
         soundServo[]={};
         gunBeg="usti hlavne";
         gunEnd="konec hlavne";
         minElev=-12;
         maxElev=40;
         minTurn=-40;
         maxTurn=40;
         body="OtocVez";
         gun="OtocHlaven";
      };
      class ViewGunner
      {
         initAngleX=5;
         minAngleX=-30;
         maxAngleX=30;
         initAngleY=0;
         minAngleY=0;
         maxAngleY=0;
         initFov=0.700000;
         minFov=0.420000;
         maxFov=0.850000;
      };      
       
};


Hope you can help  :-\

BoNeCoLLeCToR

  • Guest
Re:why my car doesn't apear in game?
« Reply #1 on: 08 Jun 2004, 12:32:06 »
any errors you get ???
Try to name the:
class CfgVehicles
{      
        class All {};
   class AllVehicles: All {};
   class Land: AllVehicles {};  
   class LandVehicle : Land {};  
   class Car: LandVehicle {};  
   class Jeep: Car {};  
   class FAV3: Jeep

FAV3 to Delta_FAV

Also look first in empty vehicle section ;)

andersgrim

  • Guest
Re:why my car doesn't apear in game?
« Reply #2 on: 08 Jun 2004, 14:52:00 »
And it might be smart to include your OFPEC tag to avoid those old classname-collitions!  :P

US-Marine

  • Guest
Re:why my car doesn't apear in game?
« Reply #3 on: 08 Jun 2004, 15:06:35 »
I have change it but my Jeep in not aviable in the game could someone make a config file for me ??? :-\

andersgrim

  • Guest
Re:why my car doesn't apear in game?
« Reply #4 on: 08 Jun 2004, 15:08:50 »
Not right now sorry, but try to replace your model with, let's say the BISjeep, and see if the bug still occurs. If so, you might have to rework the actual model.

Offline oyman

  • Members
  • *
  • king of pings
Re:why my car doesn't apear in game?
« Reply #5 on: 08 Jun 2004, 16:48:09 »
this is the only problem i could spot for now, you have defined some things twice in the cfg weapons so it should look like this, also your classed arent inherting from the class before, o ya and cars cant have rocket launchers but thats what project Mcar is for
Code: [Select]
class CfgWeapons
{
      class Default{}
      class MGun: Default{};
      class MachineGun7_6: MGun{};
      class MachineGun12_7: MachineGun7_6{};
      class 50cal: MachineGun12_7
      {
          ammo="Bullet12_7";
          count=500;
          initSpeed=1000;
          reloadTime=0.07;
          Burst=2;
          sound[]={"\DeltaFAV\50cal.wav",1,1};
          flashSize=1.500000;
          ffFrequency=1;
          ffCount=1;
          dispersion=0.040000;
          recoil="mgunBurst3";
          maxLeadSpeed=350;
          aiRateOfFire=0.500000;
          aiRateOfFireDistance=1000;
          optics=1;
          autoFire=1;
          };

};
« Last Edit: 08 Jun 2004, 16:52:24 by oyman »

Offline oyman

  • Members
  • *
  • king of pings
Re:why my car doesn't apear in game?
« Reply #6 on: 08 Jun 2004, 17:02:23 »
or maybe we should just start all over by using this config, use the config and see if it works
Code: [Select]
#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

class CfgPatches
{
        class DeltaFAV
        {
                units[] = {DeltaFAV};
                weapons[] = {};
                requiredVersion = 1.85;
        };
};

class CfgVehicles
{
        class All {};
        class AllVehicles: All {};
        class Land: AllVehicles {};
        class LandVehicle: Land {};
        class Car: LandVehicle {};
        class Jeep : Car {};
     class jeepMG : Jeep {};
     class DeltaFAV: JeepMG
        {
                scope=public;
                maxSpeed=100;
                side=TWest;
                displayName=DeltaFAV;
                brakeDistance=3;
                sensitivity=0.600000;
                armor=100;
                accuracy=0.80;
                fuelCapacity=100;
                model="\DeltaFAV\DeltaFAV";
                type=VArmor;
                cost=100000;
           };
};

« Last Edit: 08 Jun 2004, 17:03:50 by oyman »

US-Marine

  • Guest
Re:why my car doesn't apear in game?
« Reply #7 on: 08 Jun 2004, 17:10:16 »
hm i have try this too , but the car is still not aviable  :-\ :'(