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;
};
};
};