Jump to content
jAMDup

No Entry Error - Model Cfg

Recommended Posts

Error: No entry 'model.cfg/CfgModels.MyTestPlane_Bones_Base'.

 

I've been looking at this config for half a day already, so long that "Base" no longer looks like a word.

 

I don't know, maybe I need fresh set of eyes to point out the inevitable simple error.

 

Cheers

class CfgSkeletons
{
	class Default
	{
		isDiscrete = 1;
		skeletonInherit = "";
		skeletonBones[] = {};
	};
	class MyTestPlane_Bones_Base : Default
	{
		skeletonInherit = "Default";
		skeletonBones[] = {...};
	};
	class MyTestPlane_Bones_Ramp : MyTestPlane_Bones_Base
	{
		skeletonInherit = "MyTestPlane_Bones_Base";
		skeletonBones[] = {...};
	};
	class MyTestPlaneA_Bones : MyTestPlane_Bones_Ramp
	{
		skeletonInherit = "MyTestPlane_Bones_Ramp";
		skeletonBones[] = {...};
	};
};
class Rotation;
class CfgModels
{
	class Default
	{
		sectionsInherit = "";
		sections[] = {};
		skeletonName = "";
	};
	class MyTestPlane_Base : Default
	{
		sectionsInherit = "Default";
		sections[] = {};
		skeletonName = MyTestPlane_Bones_Base;
		class Animations {...};
	};
	class MyTestPlane_Ramp : MyTestPlane_Base
	{
		sectionsInherit = MyTestPlane_Base;
		sections[] = {};
		skeletonName = "MyTestPlane_Bones_Ramp";
		class Animations : Animations {...};
	};
	class MyTestPlaneA : MyTestPlane_Ramp
	{
		sectionsInherit = MyTestPlane_Ramp;
		sections[] = {};
		skeletonName = "MyTestPlaneA_Bones";
		class Animations : Animations {...};
	};
	class MyTestPlaneB : MyTestPlane_Base
	{
		sectionsInherit = "MyTestPlane_Bones_Base";
		sections[] = {};
		skeletonName = "MyTestPlane_Bones_Base";
		class Animations : Animations {...};
	};
};

 

Share this post


Link to post
Share on other sites

I expect a mod will move this thread to the Editing forums for you...

 

In class MyTestPlaneB you incorrectly have:

 

sectionsInherit = "MyTestPlane_Bones_Base";

 

You can't inherit sections from a CfgSkeleton class.

Share this post


Link to post
Share on other sites

I swear I posted this in the Config section, just got so many tabs open.

 

But that was it it, cheers for pointing that out.

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

×