Home   Help Search Login Register  

Author Topic: Need help with a jeep config  (Read 1178 times)

0 Members and 1 Guest are viewing this topic.

swordfish

  • Guest
Need help with a jeep config
« on: 07 Jan 2003, 21:20:37 »
Hi
I'm making a jeep to go with a unit of mine, but i keep getting errors with it.
Can anyone see what I need to change to make it work.

// Mercenary jeep by Swordfish
// 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 SWFmjeep
   {
      units[] = {SWFmjeep};
      weapons[] = {};
      requiredVersion = 1.05;
   };
};

class CfgVehicles
{
   class All {};
   class AllVehicles: All {};
   class Land: AllVehicles {};
   class LandVehicle: Land {};   
   class Car: LandVehicle {};   
   class GJeep: Car {};
   class SWFmjeep: GJeep
   {
      scope=public;
      crew=SWFmercenary.pbo;
      soundEngine[]={"\SWFmjeep\jeep.wav",1,1};
      maxSpeed=100;
      side=TCivilian;
      displayName="SWFmjeep";
      brakeDistance=3;
      sensitivity=0.600000;
      armor=100;
      accuracy=0.80;
      fuelCapacity=100;
      model="\SWFmjeep\SWFmjeep"
      type=VArmor;
      cost=100000;
      terrainCoef=0.200000;
      armorWheels=0.120000;
      weapons[]={SportCarHorn};
      magazines[]={};
   };
        class TransportWeapons
            {
                class SWFmjeep
                {
                Weapon="M16GrenadeLauncher";
                count=2;
                };
                class SWFmjeep
                {
                Weapon="XMS";
                count=2;
                };
                class SWFmjeep
                {
                Weapon="LawLauncher";
                count=1;
                };

      };
     
      class TransportMagazines
            {          
                  class SWFmjeep
                  {
                  magazine="M16";
                  count=10;
                  };  
                  class SWFmjeep
                  {
                  magazine="M4";
                  count=10;
                  };
                  class SWFmjeep
                  {
                  magazine="LawLauncher";
                  count=6;
                  };
                  class SWFmjeep
                  {
                  magazine="HandGrenade";
                  count=20;
             
       
};      
};
};


swordfish

  • Guest
Re:Need help with a jeep config
« Reply #1 on: 07 Jan 2003, 21:23:05 »
Sorry i posted it on the wrong board, moderators you can lock it.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Need help with a jeep config
« Reply #2 on: 07 Jan 2003, 21:35:18 »
ya can always press the "solve" button ;D.

I can write my classic for you, and all ya have to do is lock.

*Topic soon solved an locked*[/glow]
« Last Edit: 07 Jan 2003, 21:36:43 by The real Armstrong »