SpclFrcsSnpr
Sep 16 2002, 00:06
Yes I am making a prairie dog target like the Human Silouet target ingame But whenever I try to put my dog ingame I get this ("{" encountered instead of "="} Any help. And here is my cpp.
//PrairieDog by SpclFrcsSnpr
#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 PrairieDog
{
units[] = {PrairieDog};
weapons[] = {};
requiredVersion = 1.10;
};
};
class CfgVehicles
{
class All {};
class AllVehicles : All {};
class Land : AllVehicles {};
class Static : Land {};
class Building : Static {};
class NonStrategic : Building {};
class TargetTraining : NonStrategic {};
class TargetGrenade: TargetTraining {};
class PrairieDog: TargetGrenade
{
model="\PrairieDog\PrairieDog";
armor=2;
scope=2;
displayName="Prairie Dog";
}
}
//PrairieDog by SpclFrcsSnpr
#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 PrairieDog
{
units[] = {PrairieDog};
weapons[] = {};
requiredVersion = 1.10;
};
};
class CfgVehicles
{
class All {};
class AllVehicles : All {};
class Land : AllVehicles {};
class Static : Land {};
class Building : Static {};
class NonStrategic : Building {};
class TargetTraining : NonStrategic {};
class TargetGrenade: TargetTraining {};
class PrairieDog: TargetGrenade
{
model="\PrairieDog\PrairieDog";
armor=2;
scope=2;
displayName="Prairie Dog";
}
}