Home   Help Search Login Register  

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

0 Members and 1 Guest are viewing this topic.

swordfish

  • Guest
Need help with a jeep config
« on: 07 Jan 2003, 21:26:41 »
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;
           
       
};      
};
};

major asshole

  • Guest
Re:Need help with a jeep config
« Reply #1 on: 08 Jan 2003, 18:44:14 »

G'day

I dunno if a jeep can carry all that stuff. By the looks of it, they can only carry 3 soldiers. Also, I think crew= should be something like soldierwb etc. not a .pbo.

hth

L8R

major asshole

  • Guest
Re:Need help with a jeep config
« Reply #2 on: 08 Jan 2003, 18:45:31 »

G'day

I dunno if a jeep can carry all that stuff. By the looks of it, they can only carry 3 soldiers. Also, I think crew= should be something like soldierwb etc. not a .pbo.

hth

L8R

swordfish

  • Guest
Re:Need help with a jeep config
« Reply #3 on: 08 Jan 2003, 21:24:58 »
Hi
I'll try it with less stuff and a soldier as crew and say if it works.

swordfish

  • Guest
Re:Need help with a jeep config
« Reply #4 on: 08 Jan 2003, 21:25:40 »
Hi
I'll try it with less stuff and a soldier as crew and say if it works.