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