PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : config fehlermeldung


Virility92
18.05.2009, 15:46
hi,
ich habe da ein addon. in der pbo ist aber keine config vorhanden, deshalb hab ich mal selber versucht eine zu machen.
also vorlage hab ich einfach mal die config von dem NSX genommen und entsprechend geändert. so weit so gut. ich kann das addon in arma benutzen, bloß die räder drehen sich beim fahren nicht^^
naja der NSX hat 4 räder und dieses hat 6. (es handelt sich um das Malp von stargate:D)
wenn ich arma starte bekomm ich diese fehlermeldung:
http://img36.imageshack.us/img36/9974/unbenannt3t.jpg

hier die config:
#define private 0
#define protected 1
#define public 2
#define true 1
#define false 0
#define LockNo 0
#define LockCadet 1
#define LockYes 2
#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 VSoft 0
#define VArmor 1
#define VAir 2

class CfgModels {
class Car; // External class reference
class SkodaBase : Car {};
class Malp : SkodaBase {
sectionsInherit = "";
sections[] = {"brzdove svetlo", "levy predni", "pravy predni", "pravy zadni", "levy zadni", "levy prostredni", "pravy prostredni", "L svetlo", "P svetlo", "clan","light_back","light_brake"};
skeletonName = "MalpBones";

class Animations {
class MalpFrontWheelR {
type = "rotationX";
source = "wheel";
selection = "pravy predni";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";

};

class MalpFrontWheelL {
type = "rotationX";
source = "wheel";
selection = "levy predni";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};

class MalpFrontWheelRTurn {
type = "rotationY"; //hier ist zeile 61
source = "drivingWheel";
selection = "pravy predni";
axis = "";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 25";
angle1 = "rad -25";
};

class MalpFrontWheelLTurn {
type = "rotationY";
source = "drivingWheel";
selection = "levy predni";
axis = "";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 25";
angle1 = "rad -25";
};
Class MalpMezzoWheelR {
type = "rotationX";
source = "wheel";
selection = "pravy prostredni";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
Class MalpMezzoWheelL {
type = "rotationX";
source = "wheel";
selection = "levy prostredni";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};

class MalpRearWheelR {
type = "rotationX";
source = "wheel";
selection = "pravy zadni";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};

class MalpRearWheelL {
type = "rotationX";
source = "wheel";
selection = "levy zadni";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};

class MalpDrivingWheel {
type = "rotationZ";
source = "drivingWheel";
selection = "volant";
axis = "osavolantkon";
memory = 1;
sourceAddress = "mirror";
minValue = -1;
maxValue = 1;
angle0 = "rad -70";
angle1 = "rad 70";
};
};
};
};

class CfgSkeletons {
class Car; // External class reference
class MalpBones : Car {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {"pravy predni", "", "pravy dalsi", "", "pravy zadni", "", "pravy prostredni", "", "levy predni", "", "levy dalsi", "", "levy zadni", "", "levy prostredni", "", "dvere1", "", "ukaz_fuel", "", "ukaz_rpm", "", "ukaz_rychlo", "", "volant", "", "lights", ""};
};
};
class CfgVehicles {
class Car;
class SkodaBase : Car{};
class Skoda : SkodaBase {};
class Malp : Skoda {
cargoAction[] = {"HMMWV_Cargo01"};
driverAction = "HMMWV_Driver";
armor = 30;
brakeDistance = 6; // vehicle movement precision
crew = "Civilian";
displayName = "Malp";
displayNameShort = "Malp";
extCameraPosition[] = {0, 1, -8};
maxSpeed = 20; // max speed on level road, km/h
model = "\malp\malp.p3d";
Picture = "\malp\malpico.paa";
soundEngine[] = {"\nsx\nsx_engine.ogg", "db+30", 0.8};
soundGear[] = {"\ca\wheeled\Data\Sound\shifter_v2", db-75, 1};
soundGetIn[] = {"\ca\wheeled\Data\Sounds\Humvee_doors", "db-20", 1};
soundGetOut[] = {"\ca\wheeled\Data\Sounds\Humvee_doors", "db-20", 1};
soundServo[] = {"\ca\wheeled\Data\Sounds\servo3", "db-40", 1};
selectionBackLights = "light_back";
selectionBrakeLights = "light_brake";
side = TCivilian;
transportSoldier = 0;
turnCoef = 7;
weapons[] = {"SportCarhorn"};
vehicleclass = "Car";
class Reflectors {
class Left {
color[] = {0.9, 0.8, 0.8, 1};
ambient[] = {0.1, 0.1, 0.1, 1};
position = "L svetlo";
direction = "konec L svetla";
hitpoint = "L svetlo";
selection = "L svetlo";
size = 0.5;
brightness = 0.25;
};

class Right {
color[] = {0.9, 0.8, 0.8, 1};
ambient[] = {0.1, 0.1, 0.1, 1};
position = "P svetlo";
direction = "konec P svetla";
hitpoint = "P svetlo";
selection = "P svetlo";
size = 0.5;
brightness = 0.25;
};
};
};
};

Virility92
20.05.2009, 10:11
ok thema hat sich erledigt. ich habe "class" bei mezzowheel groß geschrieben und somit wurde es nicht als class erkannt.
kann geschlossen werden...

//edit: hab mal ein video von dem malp gemacht im SGC. http://de.xfire.com/video/bd7d5/