Jump to content

Anim Clip not found


lielkun

Recommended Posts

I'm trying to add a custom animation to a recipe, but I get the error "Anim Clip not found", but the files are in the correct folders. I tested putting the animation in the root folder of the game and it worked normally. 

 

 

The recipe code is: 

module BDK
{
    imports
	{
		Base
	}
    recipe Fazer Energético na Coqueteleira
   {
       SacheRoxxPinaColada=1,
       destroy CoqueteleiraRoxxPinaColadaVazia/CoqueteleiraRoxxPinaColadaWaterFull,
       Water=1,

       Result:                  CoqueteleiraRoxxPinaColada=1,         
       Time:                    70.0,
       Sound:                   BottleShake,
       Category:                Cooking,
       OnGiveXP:                NoXP_OnGiveXP,
       StopOnWalk:              true,
       CanBeDoneFromFloor:      false,      
       AnimNode:Shake1,   
    }
}

 

 

XML file: 

<?xml version="1.0" encoding="utf-8"?>
<animNode>
    <m_Name>Shake_Test</m_Name> <!-- File name (optional)-->
    <m_AnimName>ShakeTest</m_AnimName> <!-- Action name (Important!)-->
    <m_SpeedScale>1.00</m_SpeedScale> <!-- Speed animation -->
    <m_BlendTime>0.20</m_BlendTime> <!-- Transition between animations -->
    <m_Conditions> <!-- Condition to access this animation (Important!)-->
        <m_Name>PerformingAction</m_Name>
        <m_Type>STRING</m_Type>
        <m_StringValue>Shake1</m_StringValue>
    </m_Conditions>
</animNode>

 

 

Animation directory is: modname/media/anims_X/Bob/ShakeTest

 

Console: https://pastebin.com/rKDepNQ5

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...