Jump to content
Sign in to follow this  
Wumpel

Ofp crashes with my modells

Recommended Posts

Hey!

I've got some problems with importing my modells in ofp

I made a very nice 5 ton tracotr ...

so i wanted to import it into ofp!

what happened? just when i try to start a map with my vehicle on it (in the editor) ofp crashes and switches back to windows!

here's my config

class CfgModels

{

class default {};

class Vehicle: default {};

class Car: Vehicle {};

class Truck: Car {};

class Truck5t: Truck {};

class 5ton_tractor: Truck5t {};

};

class CfgPatches

{

class 5ton_tractor

{

units[] = {"5ton_tractor"};

weapons[] = {};

requiredVersion = 1.0;

};

};

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class LandVehicle: Land {};

class Car: LandVehicle {};

class Truck: Car {};

class Truck5t: Truck {};

class 5ton_tractor: Truck5t

{

displayName="5ton tractor";

model= "\5ton_tractor\5ton_tractor";

side=3;

crew="Civilian2";

maxSpeed=70;

transportSoldier=1;

};

}

please help me! whats wrong?

Share this post


Link to post
Share on other sites

side=3;

crew="Civilian2";

maxSpeed=70;

transportSoldier=1;

};

}

perhaps it's the missing semicola in the last line above?

If that's not the problem. Just make sure you're the path to your model is exact matching both, directory name where you're .p3d is held, and the same goes for the .p3d itself.

For example: If your .p3d is named "Truck" and held in the directory "5tTruck", you have to write -->

model="\5tTruck\Truck";

Hope that could help you out!

Regards

GM

Share this post


Link to post
Share on other sites

haha I was so damn sure I took the right name of the p3d file that I just didn't think about it smile.gif

well and it was exactly the name that was wrong, well well !

thanx general mortars!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×