Jump to content

lielkun

Member
  • Posts

    3
  • Joined

  • Last visited

lielkun's Achievements

  1. 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
  2. I want to do something like in "Vac's Drinks", but i don't know if there is an easier way to do it. Something like what is at the end of this code. https://pastebin.com/Q6mRcLWu
  3. I'm making a drinks mod and would like to add an option to remove pop spawns. I know how to add the option to the "mods" menu but I don't know how to define a function for it. I know i can just remove the pop spawn in the distribution, but I would like to add an option for the player to decide how they want to play. Note: I'm using the "Mod Options" mod. This is the distribution code used: https://pastebin.com/1MMnvnbi
×
×
  • Create New...