Jump to content
fingolfin

Error message model config [solved, please delete]

Recommended Posts

Hey guys,

I’m having a problem with a model config (it seems). When I start bulldozer to check the animations, I get this error message:

 

No entry ‘model.cfg/CfgModels/G19_Urban/Animations/magazine_reloadmag_move_1.begin’.

 

Problem solved, I forgot to define the axes. Duh...

 

In game the magazine won’t move during the reload animation.

This is the model config and I just can’t find my mistake:

 

class CfgSkeletons
{
	class Default
	{
		isDiscrete=1;
		skeletonInherit="";
		skeletonBones[]={};
	};
    class G19_Skeleton: Default
    {
        isDiscrete=1;
        skeletonInherit="";
        skeletonBones[]=
		{
			"recoil", "",
			"slide", "recoil",
			"magazine", "recoil",
			"trigger", "recoil",
			"safe", "trigger",
			"catch", "recoil",
			"barrel", "recoil",
			"ammo", "recoil",
			"zasleh", ""
		};
    };
};
class CfgModels
{
	class Default
	{
		sectionsInherit="";
		sections[]={};
		skeletonName="";
	};
    class G19_Urban: Default
    {
		htMin=60;
		htMax=1800;
		afMax=200;
		mfMax=100;
		mFact=0;
		tBody=0;
        skeletonName="G19_Skeleton";
        sections[]={"zasleh"};
		
        class Animations
        {
            class magazine_hasmag_hide
            {
                type="hide";
                source="hasmagazine.0";
                selection="magazine";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.5;
                unHideValue=-1;
            };
            class magazine_reloadmag_hide
            {
                type="hide";
                source="reloadmagazine.0";
                selection="magazine";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.248;
                unHideValue=0.64;
            };
            class magazine_reloadmag_move_1
            {
                type="translation";
                source="reloadmagazine.0";
                selection="magazine";
                sourceAddress="clamp";
                minPhase=0.2;
                maxPhase=0.248;
                minValue=0.2;
                maxValue=0.248;
                memory=0;
                offset0=0;
                offset1=-1.5;
            };
            class magazine_reloadmag_move_2
            {
                type="translation";
                source="reloadmagazine.0";
                selection="magazine";
                sourceAddress="clamp";
                minPhase=0.62;
                maxPhase=0.68;
                minValue=0.62;
                maxValue=0.68;
                memory=0;
                offset0=0;
                offset1=1.5;
            };
            class trigger_reload_rot
            {
                type="rotation";
                source="trigger.0";
                selection="trigger";
                sourceAddress="clamp";
                minPhase=0.5;
                maxPhase=1;
                minValue=0.5;
                maxValue=1;
                memory=0;
                angle0=0;
                angle1=-0.2617994;
            };
            class trigger_prefiring_rot
            {
                type="rotation";
                source="trigger.0";
                selection="trigger";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=0.2;
                minValue=0;
                maxValue=0.2;
                memory=0;
                angle0=0;
                angle1=-0.01745329;
            };
            class trigger_safety_rot
            {
                type="rotation";
                source="trigger.0";
                selection="safe";
                sourceAddress="clamp";
                minPhase=0.2;
                maxPhase=0.3;
                minValue=0.2;
                maxValue=0.3;
                memory=0;
                angle0=0;
                angle1=-0.1745329;
            };
            class slide_reload_move
            {
                type="translation";
                source="reload.0";
                selection="slide";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                offset0=0;
                offset1=0.22;
            };
            class barrel_reload_move
            {
                type="translation";
                source="reload.0";
                selection="barrel";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=0.1;
                minValue=0;
                maxValue=0.1;
                memory=0;
                offset0=0;
                offset1=-0.1;
            };
            class barrel_reload_rot
            {
                type="rotation";
                source="reload.0";
                selection="barrel";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=0.2;
                minValue=0;
                maxValue=0.2;
                memory=0;
                angle0=0;
                angle1=-0.03490659;
            };
            class slide_empty_move
            {
                type="translation";
                source="isempty.0";
                selection="slide";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                offset0=0;
                offset1=0.22;
            };
            class catch_empty_move
            {
                type="translation";
                source="isempty.0";
                selection="catch";
                sourceAddress="clamp";
                minPhase=0.9;
                maxPhase=1;
                minValue=0.9;
                maxValue=1;
                memory=0;
                offset0=0;
                offset1=-0.15;
            };
            class barrel_empty_move
            {
                type="translation";
                source="isempty.0";
                selection="barrel";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=0.1;
                minValue=0;
                maxValue=0.1;
                memory=0;
                offset0=0;
                offset1=-0.1;
            };
            class barrel_empty_rot
            {
                type="rotation";
                source="isempty.0";
                selection="barrel";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=0.2;
                minValue=0;
                maxValue=0.2;
                memory=0;
                angle0=0;
                angle1=-0.03490659;
            };
            class ammo_empty_hide
            {
                type="hide";
                source="isempty.0";
                selection="ammo";
                sourceAddress="clamp";
                minPhase=0;
                maxPhase=1;
                minValue=0;
                maxValue=1;
                memory=0;
                hideValue=0.1;
                unHideValue=-1;
            };
            class zaslehrot
            {
                type="rotationx";
                source="ammorandom";
                selection="zasleh";
                sourceAddress="loop";
                minPhase=0;
                maxPhase=4;
                minValue=0;
                maxValue=4;
                memory=0;
                angle0=0;
                angle1=6.283185;
            };
        };
    };
};

 

I’m thankful for any advice!

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

×