From 3b252fed00bbb8501c64e03ebe7a72a0f3f59bf2 Mon Sep 17 00:00:00 2001 From: Jerzykv Date: Tue, 1 Dec 2026 19:36:28 +0100 Subject: [PATCH] Implemented Trapinch and Vibrava animations --- .../blockbench/pokemon/gen3/TrapinchModel.kt | 70 - .../blockbench/pokemon/gen3/VibravaModel.kt | 104 -- .../repository/VaryingModelRepository.kt | 2 - .../0328_trapinch/trapinch.animation.json | 1007 ++++++++++- .../0329_vibrava/vibrava.animation.json | 1472 ++++++++++++++++- .../posers/0328_trapinch/trapinch.json | 61 + .../pokemon/posers/0329_vibrava/vibrava.json | 60 + .../species/generation3/trapinch.json | 2 +- .../species/generation3/vibrava.json | 3 + 9 files changed, 2557 insertions(+), 224 deletions(-) delete mode 100644 common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/TrapinchModel.kt delete mode 100644 common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/VibravaModel.kt create mode 100644 common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0328_trapinch/trapinch.json create mode 100644 common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0329_vibrava/vibrava.json diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/TrapinchModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/TrapinchModel.kt deleted file mode 100644 index d856c0639e..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/TrapinchModel.kt +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2023 Cobblemon Contributors - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - */ - -package com.cobblemon.mod.common.client.render.models.blockbench.pokemon.gen3 - -import com.cobblemon.mod.common.client.render.models.blockbench.animation.QuadrupedWalkAnimation -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -import com.cobblemon.mod.common.client.render.models.blockbench.frame.QuadrupedFrame -import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.CryProvider -import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.PokemonPosableModel -import com.cobblemon.mod.common.client.render.models.blockbench.pose.CobblemonPose -import com.cobblemon.mod.common.entity.PoseType -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class TrapinchModel (root: ModelPart) : PokemonPosableModel(root), HeadedFrame, QuadrupedFrame { - override val rootPart = root.registerChildWithAllChildren("trapinch") - override val head = getPart("head") - - override val foreLeftLeg = getPart("leg_front_left") - override val foreRightLeg = getPart("leg_front_right") - override val hindLeftLeg = getPart("leg_back_left") - override val hindRightLeg = getPart("leg_back_right") - - override var portraitScale = 1.44F - override var portraitTranslation = Vec3(-0.4, -0.6, 0.0) - - override var profileScale = 0.9F - override var profileTranslation = Vec3(0.12, 0.33, 0.0) - - lateinit var standing: CobblemonPose - lateinit var walk: CobblemonPose - - override val cryAnimation = CryProvider { bedrockStateful("trapinch", "cry") } - - override fun registerPoses() { - val blink = quirk { bedrockStateful("trapinch", "blink") } - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.UI_POSES + PoseType.STATIONARY_POSES, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(), - bedrock("trapinch", "ground_idle") - ) - ) - - walk = registerPose( - poseName = "walk", - poseTypes = PoseType.MOVING_POSES, - quirks = arrayOf(blink), - animations = arrayOf( - QuadrupedWalkAnimation(this, periodMultiplier = 1.1F), - singleBoneLook(), - bedrock("trapinch", "ground_idle") - ) - ) - } - -// override fun getFaintAnimation( -// pokemonEntity: PokemonEntity, -// state: PosableState -// ) = if (state.isPosedIn(standing, walk)) bedrockStateful("trapinch", "faint") else null -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/VibravaModel.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/VibravaModel.kt deleted file mode 100644 index f282625553..0000000000 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/pokemon/gen3/VibravaModel.kt +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright (C) 2023 Cobblemon Contributors - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - */ - -package com.cobblemon.mod.common.client.render.models.blockbench.pokemon.gen3 - -import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.PokemonPosableModel -import com.cobblemon.mod.common.client.render.models.blockbench.createTransformation -import com.cobblemon.mod.common.client.render.models.blockbench.frame.BiWingedFrame -import com.cobblemon.mod.common.client.render.models.blockbench.frame.HeadedFrame -import com.cobblemon.mod.common.client.render.models.blockbench.frame.QuadrupedFrame -import com.cobblemon.mod.common.client.render.models.blockbench.pokemon.CryProvider -import com.cobblemon.mod.common.client.render.models.blockbench.pose.CobblemonPose -import com.cobblemon.mod.common.client.render.models.blockbench.pose.ModelPartTransformation -import com.cobblemon.mod.common.client.render.models.blockbench.wavefunction.triangleFunction -import com.cobblemon.mod.common.entity.PoseType -import net.minecraft.client.model.geom.ModelPart -import net.minecraft.world.phys.Vec3 - -class VibravaModel (root: ModelPart) : PokemonPosableModel(root), QuadrupedFrame, HeadedFrame { - override val rootPart = root.registerChildWithAllChildren("vibrava") - override val head = getPart("head") - - override val foreLeftLeg= getPart("leg_front_left") - override val foreRightLeg = getPart("leg_front_right") - override val hindLeftLeg = getPart("leg_back_left") - override val hindRightLeg = getPart("leg_back_right") - - override var portraitScale = 1.36F - override var portraitTranslation = Vec3(-0.37, -0.55, 0.0) - - override var profileScale = 0.54F - override var profileTranslation = Vec3(-0.01, 0.71, 0.0) - - lateinit var standing: CobblemonPose - lateinit var walk: CobblemonPose - - override val cryAnimation = CryProvider { bedrockStateful("vibrava", "cry") } - - val wing_front_left = getPart("wing_front_left") - val wing_front_right = getPart("wing_front_right") - - override fun registerPoses() { - val blink = quirk { bedrockStateful("vibrava", "blink") } - - val wingFrame1 = object : BiWingedFrame { - override val rootPart = this@VibravaModel.rootPart - override val leftWing = getPart("wing_front_left") - override val rightWing = getPart("wing_front_right") - } - - val wingFrame2 = object : BiWingedFrame { - override val rootPart = this@VibravaModel.rootPart - override val leftWing = getPart("wing_back_left") - override val rightWing = getPart("wing_back_right") - } - - standing = registerPose( - poseName = "standing", - poseTypes = PoseType.STATIONARY_POSES + PoseType.UI_POSES - PoseType.HOVER, - transformTicks = 30, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(pitchMultiplier = 0.6F, yawMultiplier = 0.3F), - bedrock("vibrava", "ground_idle") - ), - transformedParts = arrayOf( - wing_front_left.createTransformation().addRotationDegrees(ModelPartTransformation.Y_AXIS, -75), - wing_front_right.createTransformation().addRotationDegrees(ModelPartTransformation.Y_AXIS, 75) - ) - ) - - walk = registerPose( - poseName = "walk", - poseTypes = PoseType.MOVING_POSES + PoseType.HOVER, - transformTicks = 10, - quirks = arrayOf(blink), - animations = arrayOf( - singleBoneLook(pitchMultiplier = 0.6F, yawMultiplier = 0.3F), - bedrock("vibrava", "ground_idle"), - wingFrame1.wingFlap( - flapFunction = triangleFunction(period = 0.08F, amplitude = 0.6F), - timeVariable = { state, _, _ -> state.animationSeconds }, - axis = ModelPartTransformation.Z_AXIS - ), - wingFrame2.wingFlap( - flapFunction = triangleFunction(period = 0.1F, amplitude = 0.4F), - timeVariable = { state, _, _ -> 0.01F + state.animationSeconds }, - axis = ModelPartTransformation.Z_AXIS - ) - ), - transformedParts = arrayOf( - rootPart.createTransformation().addPosition(ModelPartTransformation.Y_AXIS, -4), - wing_front_left.createTransformation().addRotationDegrees(ModelPartTransformation.Z_AXIS, -30), - wing_front_right.createTransformation().addRotationDegrees(ModelPartTransformation.Z_AXIS, 30) - - ) - ) - } -} \ No newline at end of file diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt index 8112da0709..74c95cf25a 100644 --- a/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt +++ b/common/src/main/kotlin/com/cobblemon/mod/common/client/render/models/blockbench/repository/VaryingModelRepository.kt @@ -507,8 +507,6 @@ object VaryingModelRepository { inbuilt("jangmo-o", ::JangmoOModel) inbuilt("hakamo-o", ::HakamoOModel) inbuilt("kommo-o", ::KommoOModel) - inbuilt("trapinch", ::TrapinchModel) - inbuilt("vibrava", ::VibravaModel) inbuilt("larvitar", ::LarvitarModel) inbuilt("pupitar", ::PupitarModel) inbuilt("impidimp", ::ImpidimpModel) diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0328_trapinch/trapinch.animation.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0328_trapinch/trapinch.animation.json index 6883549616..23b3fa2a2c 100644 --- a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0328_trapinch/trapinch.animation.json +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0328_trapinch/trapinch.animation.json @@ -1,20 +1,6 @@ { "format_version": "1.8.0", "animations": { - "animation.trapinch.ground_idle": { - "loop": true, - "bones": { - "head": { - "rotation": [0, 0, 0] - }, - "upper_head": { - "rotation": [-7.5, 0, 0] - }, - "lower_head": { - "rotation": [10, 0, 0] - } - } - }, "animation.trapinch.blink": { "animation_length": 0.1667, "bones": { @@ -35,12 +21,1001 @@ } }, "animation.trapinch.cry": { - "animation_length": 1.2, + "animation_length": 1.5, + "bones": { + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [9.66, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [-18.46, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [-27.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [7.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "upper_head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": ["math.sin(q.anim_time*90*20)*1", 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": ["math.sin(q.anim_time*90*40)*-4", 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5417": { + "post": [-30, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [-30.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [7, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2917": { + "post": [0, 0, 0.1], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0, 0.25, 0.1], + "lerp_mode": "catmullrom" + }, + "0.5417": { + "post": [0, 1.8, -0.64], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [0, 1.64, -0.29], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [0, 1.19, -0.19], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, 0.72, 0], + "lerp_mode": "catmullrom" + }, + "0.8333": { + "post": [0, 0.44, 0.15], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [0, 0.1, 0.125], + "lerp_mode": "catmullrom" + }, + "1.4167": { + "post": [0, 0, 0.05], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "lower_head": { + "rotation": { + "0.0": { + "post": [0, "math.sin(q.anim_time*90*40)*-0", 0], + "lerp_mode": "catmullrom" + }, + "0.1667": { + "post": [-7.75, "math.sin(q.anim_time*90*20)*0", 0], + "lerp_mode": "catmullrom" + }, + "0.2917": { + "post": ["math.sin(q.anim_time*90*20)*-8", "math.sin(q.anim_time*90*20)*-4", 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": ["-5+math.sin(q.anim_time*90*40)*1", "math.sin(q.anim_time*90*40)*-0.5", 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [24, "math.sin(q.anim_time*90*40)*-0", 0], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [54.47, "math.sin(q.anim_time*90*40)*-0", 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [46.58, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [2, "math.sin(q.anim_time*90*40)*-0", 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [-5, "math.sin(q.anim_time*90*40)*-0", 0], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": ["math.sin(q.anim_time*90*20)*0", 0, "math.sin(q.anim_time*90*20)*0"], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": ["math.sin(q.anim_time*90*20)*0", 0, "math.sin(q.anim_time*90*20)*0"], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": ["math.sin(q.anim_time*90*20)*0.3", 0, "-0.2+math.sin(q.anim_time*90*20)*-0.3"], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": ["math.sin(q.anim_time*90*40)*0", -1, "0.25+math.sin(q.anim_time*90*40)*0"], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": ["math.sin(q.anim_time*90*40)*0", -0.25, "math.sin(q.anim_time*90*40)*0"], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": ["math.sin(q.anim_time*90*40)*0", 0, "math.sin(q.anim_time*90*40)*0"], + "lerp_mode": "catmullrom" + } + }, + "scale": { + "0.0": [1, 1, 1], + "0.0833": [1.02, 1, 1], + "0.4167": [1, 1, 1] + } + }, + "eyelid_left": { + "position": { + "0.0": [0, 0, 0], + "0.4167": {"pre": [0, 0, 0], "post": [0, 0, 0]}, + "0.75": {"pre": [0, 0, 0], "post": [0.1, 0, 0]}, + "0.9167": {"pre": [0.1, 0, 0], "post": [0, 0, 0]} + } + }, + "eyelid_recoil_left": { + "position": { + "0.0": [0, 0, 0], + "0.1667": {"pre": [0, 0, 0], "post": [0.1, 0, 0]}, + "0.4167": {"pre": [0.1, 0, 0], "post": [0, 0, 0]} + } + }, + "eyelid_right": { + "position": { + "0.0": [0, 0, 0], + "0.4167": {"pre": [0, 0, 0], "post": [0, 0, 0]}, + "0.75": {"pre": [0, 0, 0], "post": [-0.1, 0, 0]}, + "0.9167": {"pre": [-0.1, 0, 0], "post": [0, 0, 0]} + } + }, + "eyelid_recoil_right": { + "position": { + "0.0": [0, 0, 0], + "0.1667": {"pre": [0, 0, 0], "post": [-0.1, 0, 0]}, + "0.4167": {"pre": [-0.1, 0, 0], "post": [0, 0, 0]} + } + } + }, "sound_effects": { - "0.04": { + "0.2083": { "effect": "pokemon.trapinch.cry" } } + }, + "animation.trapinch.movement_test": { + "loop": true, + "bones": { + "trapinch": { + "position": [0, 0, "-q.anim_time*4"] + } + } + }, + "animation.trapinch.ground_idle": { + "loop": true, + "bones": { + "torso": { + "rotation": ["math.sin(q.anim_time*90*2)*1", 0, "math.sin(q.anim_time*90*1-30)*4"], + "position": ["math.sin(q.anim_time*90*1-30)*-0.1", 0, 0.15] + }, + "neck": { + "rotation": ["math.sin(q.anim_time*90*2-30)*-2", 0, "math.sin(q.anim_time*90*1-60)*-2"] + }, + "head": { + "rotation": ["math.sin(q.anim_time*90*2-60)*2", 0, "math.sin(q.anim_time*90*1-90)*-1.5"] + }, + "leg_front_left_rotation": { + "rotation": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"], + "position": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"] + }, + "leg_front_left2": { + "rotation": [0, 0, "math.sin(q.anim_time*90*1-30)*6"] + }, + "leg_front_right_rotation": { + "rotation": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"], + "position": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"] + }, + "leg_front_right2": { + "rotation": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"] + }, + "leg_back_left_rotation": { + "rotation": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"], + "position": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"] + }, + "leg_back_left2": { + "rotation": [0, 0, "math.sin(q.anim_time*90*1-30)*6"] + }, + "leg_back_right_rotation": { + "rotation": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"], + "position": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"] + }, + "leg_back_right2": { + "rotation": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"] + } + } + }, + "animation.trapinch.ground_walk": { + "loop": true, + "animation_length": 1, + "bones": { + "torso": { + "rotation": ["math.cos(q.anim_time*90*8)*5", "math.cos(q.anim_time*90*4)*5", "-math.cos(q.anim_time*90*4+20)*6"], + "position": [0, 0, "0.1+math.cos(q.anim_time*90*8)*0.5"] + }, + "neck": { + "rotation": ["math.cos(q.anim_time*90*8-30)*3", "math.cos(q.anim_time*90*4)*-5", 0] + }, + "head": { + "rotation": ["math.cos(q.anim_time*90*8-0)*-5", "math.cos(q.anim_time*90*4)*-5", "math.cos(q.anim_time*90*4)*3"] + }, + "upper_head": { + "rotation": ["-5+math.cos(q.anim_time*90*8)*-1", 0, 0] + }, + "lower_head": { + "rotation": ["1+math.cos(q.anim_time*90*8)*0.5", 0, 0], + "position": [0, "0.1+math.cos(q.anim_time*90*8)*-0.1", 0] + }, + "leg_front_left": { + "rotation": [0, -20, 0] + }, + "leg_front_left_rotation": { + "rotation": { + "0.0": [0, "math.cos(q.anim_time*90*4)*20", "-10+math.sin(q.anim_time*90*4)*10"], + "0.25": [0, "math.cos(q.anim_time*90*4)*20", 0], + "0.5": [0, "math.cos(q.anim_time*90*4)*20", 0], + "0.625": [0, "math.cos(q.anim_time*90*4)*20", "-10+math.sin(q.anim_time*90*4)*20"], + "0.75": [0, "math.cos(q.anim_time*90*4)*20", "-10+math.sin(q.anim_time*90*4)*20"], + "1.0": [0, "math.cos(q.anim_time*90*4)*20", "-10+math.sin(q.anim_time*90*4)*10"] + }, + "position": { + "0.0": [ + "(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5)", + "(math.sin(q.anim_time*90*4-110)*0.4)" + ], + "0.25": [ + "(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5", + "(math.sin(q.anim_time*90*4-110)*0.4)" + ], + "0.375": [ + "(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5", + "(-0.5+math.sin(q.anim_time*90*4-110)*0.4)" + ], + "0.4583": [ + "(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5", + "(-0.575+math.sin(q.anim_time*90*4-110)*0.4)" + ], + "0.5": ["(-math.abs(math.cos(q.anim_time*90*4))*0.25)", "0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5", "(-0.08)"], + "0.6667": [ + "(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5)", + "(math.sin(q.anim_time*90*4-110)*0.4)" + ], + "1.0": [ + "(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60)*-0.5,-0.2,1)*0.5)", + "(math.sin(q.anim_time*90*4-110)*0.4)" + ] + } + }, + "leg_front_left2": { + "rotation": { + "0.0": [0, 0, "-10+math.sin(q.anim_time*90*4)*20"], + "0.0833": [0, 0, 0], + "0.25": [6.25, 0, 0], + "0.5": [12.75, 7.5, 0], + "0.625": [0, 3.75, 5.93], + "0.75": [0, 0, "-0+math.sin(q.anim_time*90*4)*20"], + "1.0": [0, 0, "-10+math.sin(q.anim_time*90*4)*20"] + }, + "position": { + "0.0": [0, 0, 0], + "0.25": [0, 0, 0], + "0.3333": [0.01, -0.05, -0.11], + "0.4167": [0.03, -0.1, -0.145], + "0.4583": [0.08186, -0.09456, -0.08505], + "0.5": [0.11227, -0.11155, -0.11641], + "0.75": [0, 0, 0], + "1.0": [0, 0, 0] + } + }, + "leg_front_right": { + "rotation": { + "0.0": [0, 20, 0], + "0.5": [0, 20, 0], + "1.0": [0, 20, 0] + } + }, + "leg_front_right_rotation": { + "rotation": { + "0.0": [0, "-(math.cos(q.anim_time*90*4-180)*20)", 0], + "0.125": [0, "-(math.cos(q.anim_time*90*4-180)*20)", "10+math.sin(q.anim_time*90*4)*20"], + "0.25": [0, "-(math.cos(q.anim_time*90*4-180)*20)", "10+math.sin(q.anim_time*90*4)*20"], + "0.5": [0, "-(math.cos(q.anim_time*90*4-180)*20)", "10+math.sin(q.anim_time*90*4)*10"], + "0.75": [0, "-(math.cos(q.anim_time*90*4-180)*20)", 0], + "1.0": [0, "-(math.cos(q.anim_time*90*4-180)*20)", 0] + }, + "position": { + "0.0": ["-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", "(0.1+math.clamp(math.sin(q.anim_time*90*4+180-60)*-0.5,-0.2,1)*0.5)", "(-0.08)"], + "0.1667": [ + "-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.5)", + "(math.sin(q.anim_time*90*4-110-180)*0.4)" + ], + "0.5": [ + "-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.5)", + "(math.sin(q.anim_time*90*4-110-180)*0.4)" + ], + "0.75": [ + "-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.5)", + "(math.sin(q.anim_time*90*4-110-180)*0.4)" + ], + "0.875": [ + "-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.5)", + "(-0.5+math.sin(q.anim_time*90*4-110-180)*0.4)" + ], + "0.9583": [ + "-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.1+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.5)", + "(-0.575+math.sin(q.anim_time*90*4-110-180)*0.4)" + ], + "1.0": ["-((-math.abs(math.cos(q.anim_time*90*4))*0.25))", "(0.1+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.5)", "(-0.08)"] + } + }, + "leg_front_right2": { + "rotation": { + "0.0": [12.75, -7.5, 0], + "0.125": [0, -3.75, 5.93], + "0.25": [0, 0, "-0+math.sin(q.anim_time*90*4)*20"], + "0.5": [0, 0, "-10+math.sin(q.anim_time*90*4)*20"], + "0.5833": [0, 0, 0], + "0.75": [6.25, 0, 0], + "1.0": [12.75, -7.5, 0] + }, + "position": { + "0.0": [-0.11227, -0.11155, -0.11641], + "0.25": [0, 0, 0], + "0.5": [0, 0, 0], + "0.75": [0, 0, 0], + "0.8333": [-0.01, -0.05, -0.11], + "0.9167": [-0.03, -0.1, -0.145], + "0.9583": [-0.08186, -0.09456, -0.08505], + "1.0": [-0.11227, -0.11155, -0.11641] + } + }, + "leg_back_left": { + "rotation": { + "0.0": [0, 20, 0], + "0.5": [0, 20, 0], + "1.0": [0, 20, 0] + } + }, + "leg_back_left_rotation": { + "rotation": { + "0.0": [0, "(math.cos(q.anim_time*90*4-180)*10)", 0], + "0.125": [0, "(math.cos(q.anim_time*90*4-180)*10)", "(-10-math.sin(q.anim_time*90*4)*20)"], + "0.25": [0, "(math.cos(q.anim_time*90*4-180+30)*10)", "(-10-math.sin(q.anim_time*90*4)*20)"], + "0.5": [0, "(math.cos(q.anim_time*90*4-180)*10)", "(-10-math.sin(q.anim_time*90*4)*10)"], + "0.75": [0, "(math.cos(q.anim_time*90*4-180)*10)", 0], + "1.0": [0, "(math.cos(q.anim_time*90*4-180)*10)", 0] + }, + "position": { + "0.0": ["((-math.abs(math.cos(q.anim_time*90*4))*0.25))", "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", 0.47], + "0.1667": [ + "((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "(math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.5": [ + "((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "(math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.75": [ + "((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "(math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.875": [ + "((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "(0.075+math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.9583": [ + "((-math.abs(math.cos(q.anim_time*90*4))*0.25))", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "(0.275+math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "1.0": ["((-math.abs(math.cos(q.anim_time*90*4))*0.25))", "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", 0.47] + } + }, + "leg_back_left2": { + "rotation": { + "0.0": [0, 7.5, 0], + "0.125": [0, 3.75, "(0+math.sin(q.anim_time*90*4-180)*5)"], + "0.25": [0, 0, "(0+math.sin(q.anim_time*90*4-180)*5)"], + "0.5": [0, 0, "(0+math.sin(q.anim_time*90*4-180)*5)"], + "0.5833": [0, 0, 0], + "0.75": [0, 0, 0], + "1.0": [0, 7.5, 0] + }, + "position": { + "0.0": [-0.05, -0.15, 0], + "0.25": [0, 0, 0], + "0.75": [0, 0, 0], + "1.0": [-0.05, -0.15, 0] + } + }, + "leg_back_right": { + "rotation": { + "0.0": [0, -20, 0], + "0.5": [0, -20, 0], + "1.0": [0, -20, 0] + } + }, + "leg_back_right_rotation": { + "rotation": { + "0.0": [0, "(math.cos(q.anim_time*90*4-180)*10)", "-(-10-math.sin(q.anim_time*90*4-180)*10)"], + "0.25": [0, "(math.cos(q.anim_time*90*4-180)*10)", 0], + "0.5": [0, "(math.cos(q.anim_time*90*4-180)*10)", 0], + "0.625": [0, "(math.cos(q.anim_time*90*4-180)*10)", "-(-10-math.sin(q.anim_time*90*4-180)*20)"], + "0.75": [0, "(math.cos(q.anim_time*90*4-180+30)*10)", "-(-10-math.sin(q.anim_time*90*4-180)*20)"], + "1.0": [0, "(math.cos(q.anim_time*90*4-180)*10)", "-(-10-math.sin(q.anim_time*90*4-180)*10)"] + }, + "position": { + "0.0": [ + "-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "-(math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.25": [ + "-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "-(math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.375": [ + "-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "-(0.075+math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.4583": [ + "-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "-(0.275+math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "0.5": ["-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", -0.47], + "0.6667": [ + "-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "-(math.sin(q.anim_time*90*4-110-180)*0.1)" + ], + "1.0": [ + "-(-math.abs(math.cos(q.anim_time*90*4))*0.25)", + "(0.+math.clamp(math.sin(q.anim_time*90*4-60-180)*-0.5,-0.2,1)*0.1)", + "-(math.sin(q.anim_time*90*4-110-180)*0.1)" + ] + } + }, + "leg_back_right2": { + "rotation": { + "0.0": [0, 0, "-(0+math.sin(q.anim_time*90*4-180)*5)"], + "0.0833": [0, 0, 0], + "0.25": [0, 0, 0], + "0.5": [0, -7.5, 0], + "0.75": [0, 0, "-(0+math.sin(q.anim_time*90*4-180)*5)"], + "1.0": [0, 0, "-(0+math.sin(q.anim_time*90*4-180)*5)"] + }, + "position": { + "0.25": [0, 0, 0], + "0.5": [-0.05, -0.15, 0], + "0.75": [0, 0, 0] + } + } + } + }, + "animation.trapinch.battle_idle": { + "loop": true, + "bones": { + "torso": { + "rotation": ["-8+math.sin(q.anim_time*90*2)*1", 0, "math.sin(q.anim_time*90*1-30)*4"], + "position": ["math.sin(q.anim_time*90*1-30)*-0.1", 0.2, -0.15] + }, + "neck": { + "rotation": ["-5+math.sin(q.anim_time*90*2*1.5-30)*-2", 0, "math.sin(q.anim_time*90*1*1.5-60)*-2"], + "position": [0, 0, -0.75] + }, + "head": { + "rotation": ["10+math.sin(q.anim_time*90*2*1.5-60)*2", 0, "math.sin(q.anim_time*90*1*1.5-90)*-1.5"], + "position": [0, 0, -0.25] + }, + "upper_head": { + "rotation": ["-15+math.sin(q.anim_time*90*2*1.5-90)*-3", 0, 0] + }, + "lower_head": { + "rotation": ["5-math.sin(q.anim_time*90*2*1.5-70)*-2", 0, 0], + "position": [0, -0.25, 0] + }, + "leg_front_left_rotation": { + "rotation": [0, 0, "15+math.sin(q.anim_time*90*1.5-30)*-6"], + "position": ["math.sin(q.anim_time*90*1.5-30)*-0.22", "0.6+math.sin(q.anim_time*90*1.5-30)*-0.22", "math.sin(q.anim_time*90*1.5-30)*0.01"] + }, + "leg_front_left2": { + "rotation": [0, 0, "-15+math.sin(q.anim_time*90*1.5-30)*6"] + }, + "leg_front_right_rotation": { + "rotation": [0, 0, "-15-(math.sin(q.anim_time*90*1.5-30-180)*-6)"], + "position": [ + "-(math.sin(q.anim_time*90*1.5-30-180)*-0.22)", + "0.6+math.sin(q.anim_time*90*1.5-30-180)*-0.22", + "math.sin(q.anim_time*90*1.5-30-180)*0.01" + ] + }, + "leg_front_right2": { + "rotation": [0, 0, "15-(math.sin(q.anim_time*90*1.5-30-180)*6)"] + }, + "leg_back_left_rotation": { + "rotation": [0, 0, "math.sin(q.anim_time*90*1.5-30)*-6"], + "position": ["math.sin(q.anim_time*90*1.5-30)*-0.145", "math.sin(q.anim_time*90*1.5-30)*-0.28", "math.sin(q.anim_time*90*1.5-30)*0.01"] + }, + "leg_back_left2": { + "rotation": [0, 0, "math.sin(q.anim_time*90*1.5-30)*6"] + }, + "leg_back_right_rotation": { + "rotation": [0, 0, "-(math.sin(q.anim_time*90*1.5-30-180)*-6)"], + "position": ["-(math.sin(q.anim_time*90*1.5-30-180)*-0.145)", "math.sin(q.anim_time*90*1.5-30-180)*-0.28", "math.sin(q.anim_time*90*1.5-30-180)*0.01"] + }, + "leg_back_right2": { + "rotation": [0, 0, "-(math.sin(q.anim_time*90*1.5-30-180)*6)"] + } + } + }, + "animation.trapinch.sleep": { + "loop": true, + "bones": { + "body": { + "rotation": [-45, 0, 0], + "position": [0, -11.5, -2] + }, + "neck": { + "rotation": [-25, 0, 0] + }, + "head": { + "rotation": [-17.5, 0, 0] + }, + "upper_head": { + "rotation": ["-20-math.sin(q.anim_time*90/3-30)*1", 0, 0], + "position": [0, 0.325, 0] + }, + "eyelid_left": { + "position": [0.1, 0, 0] + }, + "eyelid_right": { + "position": [-0.1, 0, 0] + }, + "lower_head": { + "rotation": ["22.5+math.sin(q.anim_time*90/3)*2", 0, 0], + "position": [0, -0.875, 0] + }, + "leg_front_left_rotation": { + "rotation": [45, 20, 20], + "position": [0.3, -0.8, -1.1] + }, + "leg_front_right_rotation": { + "rotation": [45, -20, -20], + "position": [-0.3, -0.8, -1.1] + }, + "leg_back_left_rotation": { + "rotation": [90, 45, 0], + "position": [-0.38763, -1.35355, -0.29289] + }, + "leg_back_left2": { + "rotation": [0, 0, 30], + "position": [0.1, 0, 0] + }, + "leg_back_right_rotation": { + "rotation": [90, -45, 0], + "position": [0.38763, -1.35355, -0.29289] + }, + "leg_back_right2": { + "rotation": [0, 0, -30], + "position": [-0.1, 0, 0] + } + } + }, + "animation.trapinch.battle_sleep": { + "loop": true, + "bones": { + "body": { + "position": [0, -2, 0] + }, + "torso": { + "scale": [1, "1+math.sin(q.anim_time*90)*0.01", 1] + }, + "neck": { + "rotation": [12.5, 0, 0], + "scale": [1, "1-math.sin(q.anim_time*90)*0.01", 1] + }, + "head": { + "rotation": [-12.5, 0, 0], + "position": [0, -1, 0.5] + }, + "upper_head": { + "rotation": ["-5-math.sin(q.anim_time*90-30)*1", 0, 0] + }, + "eyelid_left": { + "position": [0.11, 0, 0] + }, + "eyelid_right": { + "position": [-0.11, 0, 0] + }, + "leg_front_left_rotation": { + "rotation": [0, 10, "-30+math.sin(q.anim_time*90)*1"], + "position": [0, "math.sin(q.anim_time*90)*0.05", 0] + }, + "leg_front_left2": { + "rotation": [0, 0, -47.5] + }, + "leg_front_right_rotation": { + "rotation": [0, -10, "30+math.sin(q.anim_time*90)*-1"], + "position": [0, "math.sin(q.anim_time*90)*0.05", 0] + }, + "leg_front_right2": { + "rotation": [0, 0, "47.5+math.sin(q.anim_time*90)*0.5"] + }, + "leg_back_left_rotation": { + "rotation": [0, 0, "-35+math.sin(q.anim_time*90)*1"], + "position": [0, "math.sin(q.anim_time*90)*0.05", 0] + }, + "leg_back_left2": { + "rotation": [0, 0, "-37.5+math.sin(q.anim_time*90)*-0.5"] + }, + "leg_back_right_rotation": { + "rotation": [0, 0, "35+math.sin(q.anim_time*90)*-1"], + "position": [0, "math.sin(q.anim_time*90)*0.05", 0] + }, + "leg_back_right2": { + "rotation": [0, 0, "37.5+math.sin(q.anim_time*90)*0.5"] + } + } + }, + "animation.trapinch.bite_test": { + "loop": true, + "animation_length": 4, + "bones": { + "torso": { + "rotation": { + "0.0": ["math.sin(q.anim_time*90*2)*1", 0, "math.sin(q.anim_time*90*1-30)*4"], + "1.0": ["math.sin(q.anim_time*90*2)*1", 0, "math.sin(q.anim_time*90*1-30)*4"], + "2.0": ["math.sin(q.anim_time*90*2)*1", 0, "math.sin(q.anim_time*90*1-30)*4"] + }, + "position": { + "0.0": ["math.sin(q.anim_time*90*1-30)*-0.1", 0, 0.15], + "1.0": ["math.sin(q.anim_time*90*1-30)*-0.1", 0, 0.15], + "2.0": ["math.sin(q.anim_time*90*1-30)*-0.1", 0, 0.15] + } + }, + "neck": { + "rotation": { + "0.0": ["math.sin(q.anim_time*90*2-30)*-2", 0, "math.sin(q.anim_time*90*1-60)*-2"], + "1.0": ["math.sin(q.anim_time*90*2-30)*-2", 0, "math.sin(q.anim_time*90*1-60)*-2"], + "2.0": ["math.sin(q.anim_time*90*2-30)*-2", 0, "math.sin(q.anim_time*90*1-60)*-2"] + } + }, + "head": { + "rotation": { + "0.0": ["math.sin(q.anim_time*90*2-60)*2", 0, "math.sin(q.anim_time*90*1-90)*-1.5"], + "1.0": ["math.sin(q.anim_time*90*2-60)*2", 0, "math.sin(q.anim_time*90*1-90)*-1.5"], + "2.0": ["math.sin(q.anim_time*90*2-60)*2", 0, "math.sin(q.anim_time*90*1-90)*-1.5"] + }, + "scale": { + "0.3333": [1, 1, 1], + "0.375": [1, 1.1, 0.9], + "0.4167": [1, 1.05, 1.55], + "0.4583": [1, 0.9, 1.325], + "0.5": [1, 0.9, 1.1], + "0.5417": [1, 1, 1] + } + }, + "upper_head": { + "rotation": { + "0.0": ["-5+math.sin(q.anim_time*90*2-90)*-3", 0, 0], + "0.1667": [-3.275, 0, 0], + "0.25": [-1.64, 0, 0], + "0.2917": { + "pre": [-14.5, 0, 0], + "post": [-14.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [-58.37, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [-89.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": [0, 0, 0], + "0.5833": [0, 0, 0], + "0.8333": ["-5+math.sin(q.anim_time*90*2-90)*-3", 0, 0], + "1.0": ["-5+math.sin(q.anim_time*90*2-90)*-3", 0, 0], + "2.0": ["-5+math.sin(q.anim_time*90*2-90)*-3", 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.1667": [0, 0, 0], + "0.25": [0, 0, 0], + "0.2917": [0, 0, 0], + "0.375": { + "pre": [0, 3, 1], + "post": [0, 3, 1], + "lerp_mode": "catmullrom" + }, + "0.5": [0, 0, 0], + "0.5833": [0, 0, 0], + "0.8333": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "lower_head": { + "rotation": { + "0.0": [5, 0, 0], + "0.1667": [4.005, 0, 0], + "0.25": [2, 0, 0], + "0.2917": { + "pre": [17.5, 0, 0], + "post": [17.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": [0, 0, 0], + "0.5833": [0, 0, 0], + "0.8333": [5, 0, 0], + "1.0": [5, 0, 0], + "2.0": [5, 0, 0] + }, + "position": { + "0.0": [0, -0.1, "-0.05-math.cos(q.anim_time*90*2-180)*0.05"], + "0.1667": [0, -0.1, 0], + "0.25": [0, -0.05, 0], + "0.2917": [0, -0.1, 0], + "0.375": { + "pre": [0, -0.1, 2], + "post": [0, -0.1, 2], + "lerp_mode": "catmullrom" + }, + "0.5": [0, 0, 0], + "0.5833": [0, 0, 0], + "0.8333": [0, -0.1, -0.0933], + "1.0": [0, -0.1, "-0.05-math.cos(q.anim_time*90*2-180)*0.05"], + "2.0": [0, -0.1, "-0.05-math.cos(q.anim_time*90*2-180)*0.05"] + } + }, + "leg_front_left_rotation": { + "rotation": { + "0.0": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"], + "1.0": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"], + "2.0": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"] + }, + "position": { + "0.0": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"], + "1.0": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"], + "2.0": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"] + } + }, + "leg_front_left2": { + "rotation": { + "0.0": [0, 0, "math.sin(q.anim_time*90*1-30)*6"], + "1.0": [0, 0, "math.sin(q.anim_time*90*1-30)*6"], + "2.0": [0, 0, "math.sin(q.anim_time*90*1-30)*6"] + } + }, + "leg_front_right_rotation": { + "rotation": { + "0.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"], + "1.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"], + "2.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"] + }, + "position": { + "0.0": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"], + "1.0": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"], + "2.0": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"] + } + }, + "leg_front_right2": { + "rotation": { + "0.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"], + "1.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"], + "2.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"] + } + }, + "leg_back_left_rotation": { + "rotation": { + "0.0": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"], + "1.0": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"], + "2.0": [0, 0, "math.sin(q.anim_time*90*1-30)*-6"] + }, + "position": { + "0.0": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"], + "1.0": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"], + "2.0": ["math.sin(q.anim_time*90*1-30)*-0.145", "math.sin(q.anim_time*90*1-30)*-0.28", "math.sin(q.anim_time*90*1-30)*0.01"] + } + }, + "leg_back_left2": { + "rotation": { + "0.0": [0, 0, "math.sin(q.anim_time*90*1-30)*6"], + "1.0": [0, 0, "math.sin(q.anim_time*90*1-30)*6"], + "2.0": [0, 0, "math.sin(q.anim_time*90*1-30)*6"] + } + }, + "leg_back_right_rotation": { + "rotation": { + "0.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"], + "1.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"], + "2.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*-6)"] + }, + "position": { + "0.0": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"], + "1.0": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"], + "2.0": ["-(math.sin(q.anim_time*90*1-30-180)*-0.145)", "math.sin(q.anim_time*90*1-30-180)*-0.28", "math.sin(q.anim_time*90*1-30-180)*0.01"] + } + }, + "leg_back_right2": { + "rotation": { + "0.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"], + "1.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"], + "2.0": [0, 0, "-(math.sin(q.anim_time*90*1-30-180)*6)"] + } + } + } + }, + "animation.trapinch.shock": { + "loop": true, + "bones": { + "upper_head": { + "rotation": [-10, 0, 0] + }, + "pupil_left": { + "scale": [1, 0.6, 0.6] + }, + "pupil_right": { + "scale": [1, 0.6, 0.6] + }, + "lower_head": { + "rotation": [15, 0, 0] + } + } + }, + "animation.trapinch.angry": { + "loop": true, + "bones": { + "eye_angry_left": { + "position": [0.1, 0, 0] + }, + "eye_angry_right": { + "position": [-0.1, 0, 0] + } + } + }, + "animation.trapinch.sad": { + "loop": true, + "bones": { + "eye_sad_left": { + "position": [0.1, 0, 0] + }, + "eye_sad_right": { + "position": [-0.1, 0, 0] + } + } + }, + "animation.trapinch.happy": { + "loop": true, + "bones": { + "upper_head": { + "rotation": [-10, 0, 0] + }, + "lower_head": { + "rotation": [15, 0, 0] + }, + "eyelid_happy_left": { + "position": [0.1, 0, 0] + }, + "eyelid_happy_right": { + "position": [-0.1, 0, 0] + } + } + }, + "animation.trapinch.hurt": { + "loop": true, + "bones": { + "eyelid_recoil_left": { + "position": [0.1, 0, 0] + }, + "eyelid_recoil_right": { + "position": [-0.1, 0, 0] + } + } } } } \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0329_vibrava/vibrava.animation.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0329_vibrava/vibrava.animation.json index 038618009e..2e7d7a69f3 100644 --- a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0329_vibrava/vibrava.animation.json +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/animations/0329_vibrava/vibrava.animation.json @@ -3,71 +3,138 @@ "animations": { "animation.vibrava.ground_idle": { "loop": true, + "animation_length": 4, "bones": { "body": { - "position": [0, -0.75, 0] + "position": [0, -1.5, 0] }, "head": { - "rotation": [7.5, 0, 0] + "rotation": ["2.5+math.sin(q.anim_time*90*6-60)*2", "0+math.sin(q.anim_time*90*3+90)*2", 0] }, "wing_base_left": { - "rotation": [0, -22.5, 0] + "rotation": [15, -65, -7.5] }, "leg_front_left": { - "rotation": [0, 20, 0] + "rotation": [-5, 15, -15], + "position": ["math.sin(q.anim_time*90*3+30)*0.25", 0, 0] }, "leg_back_left": { - "rotation": [0, -15, 0] + "rotation": [5, -15, -15], + "position": ["math.sin(q.anim_time*90*3+10)*0.25", 0, 0] }, "leg_front_right": { - "rotation": [-0.00002, -15, 0] + "rotation": [-5, -15, 15], + "position": ["(math.sin(q.anim_time*90*3+30)*0.25)", 0, 0] }, "leg_back_right": { - "rotation": [0, 15, 0] + "rotation": [5, 15, 15], + "position": ["(math.sin(q.anim_time*90*3+10)*0.25)", 0, 0] }, "wing_front_left": { - "rotation": [0, 55, 0] - }, - "wing_front_left_rotation": { - "rotation": [0, 0, 15] + "rotation": [0, 0, "-2.5+math.sin(q.anim_time*90*6)*-1"] }, "wing_back_left": { - "rotation": [0, -25, 0] - }, - "wing_back_left_rotation": { - "rotation": [0, 0, -15] + "rotation": [0, 0, "-15+math.sin(q.anim_time*90*6-30)*-1"] }, "wing_base_right": { - "rotation": [0, 20, 0] + "rotation": [15, 65, 7.5] }, "wing_front_right": { - "rotation": [0, -55, 0] - }, - "wing_front_right_rotation": { - "rotation": [0, 0, -15] + "rotation": [0, 0, "2.5+math.sin(q.anim_time*90*6)*1"] }, "wing_back_right": { - "rotation": [0, 25, 0] - }, - "wing_back_right_rotation": { - "rotation": [0, 0, 15] + "rotation": [0, 0, "15+math.sin(q.anim_time*90*6-30)*1"] }, "antenna_left": { - "rotation": [0, -7.5, 0] + "rotation": ["-5+math.sin(q.anim_time*90*6-120)*1", -10, 0] }, "antenna_left2": { - "rotation": [-5, 0, 0] + "rotation": ["-22.5+math.sin(q.anim_time*90*6-180)*3", 0, 0] }, "antenna_right": { - "rotation": [0, 5, 0] + "rotation": ["-5+math.sin(q.anim_time*90*6-120)*1", 10, 0] }, "antenna_right2": { - "rotation": [-5, 0, 0] + "rotation": ["-22.5+math.sin(q.anim_time*90*6-180)*3", 0, 0] + }, + "torso": { + "rotation": ["-2.5+math.sin(q.anim_time*90*6+90)*1", "math.sin(q.anim_time*90*3+120)*-1", "math.sin(q.anim_time*90*3+120)*-1"], + "position": ["math.sin(q.anim_time*90*3+30)*0.3", "math.sin(q.anim_time*90*6)*0.1", 0] + }, + "tail": { + "rotation": ["5+math.sin(q.anim_time*90*6+30)*1", 0, 0] + }, + "tail2": { + "rotation": ["5+math.sin(q.anim_time*90*6-30)*2", 0, 0] + }, + "tail3": { + "rotation": ["2.5+math.sin(q.anim_time*90*6-90)*2", 0, 0] + }, + "tail4": { + "rotation": ["5+math.sin(q.anim_time*90*6-120)*3", 0, 0] + }, + "tail_fin_left": { + "rotation": ["2+math.sin(q.anim_time*90*6-150)*4", 0, 0] + }, + "tail_fin_right": { + "rotation": ["2+math.sin(q.anim_time*90*6-150)*4", 0, 0] + }, + "leg_front_left2": { + "rotation": [0, 0, "(math.sin(q.anim_time*90*3+30)*3)"], + "position": [0.25, -0.25, 0] + }, + "toes_front_left": { + "rotation": [0, 0, "(15+math.sin(q.anim_time*90*3+30)*-4)"] + }, + "toe_inner_front_left": { + "rotation": [0, 0, "(-15+math.sin(q.anim_time*90*3+30)*3)"] + }, + "toe_outer_front_left": { + "rotation": [0, 0, 22.5] + }, + "leg_back_left2": { + "rotation": [0, 0, "(math.sin(q.anim_time*90*3+10)*3)"], + "position": [0, 0, 0] + }, + "toes_back_left": { + "rotation": [0, 0, "(15+math.sin(q.anim_time*90*3+10)*-4)"] + }, + "toe_inner_back_left": { + "rotation": [0, 0, "(-15+math.sin(q.anim_time*90*3+10)*3)"] + }, + "toe_outer_back_left": { + "rotation": [0, 0, 22.5] + }, + "leg_front_right2": { + "rotation": [0, 0, "(math.sin(q.anim_time*90*3+30)*3)"], + "position": [-0.25, -0.25, 0] + }, + "toes_front_right": { + "rotation": [0, 0, "(-15+math.sin(q.anim_time*90*3+30)*-4)"] + }, + "toe_inner_front_right": { + "rotation": [0, 0, "(15+math.sin(q.anim_time*90*3+30)*3)"] + }, + "toe_outer_front_right": { + "rotation": [0, 0, -22.5] + }, + "leg_back_right2": { + "rotation": [0, 0, "(math.sin(q.anim_time*90*3+10)*3)"], + "position": [0, 0, 0] + }, + "toes_back_right": { + "rotation": [0, 0, "(-15+math.sin(q.anim_time*90*3+10)*-4)"] + }, + "toe_inner_back_right": { + "rotation": [0, 0, "(15+math.sin(q.anim_time*90*3+10)*3)"] + }, + "toe_outer_back_right": { + "rotation": [0, 0, -22.5] } } }, "animation.vibrava.blink": { - "animation_length": 0.16667, + "animation_length": 0.1667, "bones": { "eyelid_left": { "position": { @@ -85,13 +152,1356 @@ } } }, + "animation.vibrava.air_idle": { + "loop": true, + "animation_length": 4, + "bones": { + "body": { + "rotation": ["math.sin(q.anim_time*90*3)*-2", 0, "math.sin(q.anim_time*90*1)*1"], + "position": ["math.sin(q.anim_time*90*1-60)*1", "math.sin(q.anim_time*90*3-60)*0.5+math.sin(q.anim_time*90*18-60)*0.1", 0] + }, + "torso": { + "rotation": [-1.5, -0.86603, -0.86603], + "position": [0.15, 0, 0] + }, + "tail": { + "rotation": ["5.5+math.sin(q.anim_time*90*3-30)*-1", 0, 0] + }, + "tail2": { + "rotation": ["4+math.sin(q.anim_time*90*3-90)*-2", 0, 0] + }, + "tail3": { + "rotation": ["0.5+math.sin(q.anim_time*90*3-120)*-2", 0, 0] + }, + "tail4": { + "rotation": ["4+math.sin(q.anim_time*90*3-150)*-2", 0, 0] + }, + "tail_fin_left": { + "rotation": ["0+math.sin(q.anim_time*90*3-180)*-5", 0, 0] + }, + "tail_fin_right": { + "rotation": ["0+math.sin(q.anim_time*90*3-180)*-5", 0, 0] + }, + "head": { + "rotation": ["math.sin(q.anim_time*90*3-30)*3", 0, 0] + }, + "antenna_left": { + "rotation": ["-5+math.sin(q.anim_time*90*3-60)*3", -10, 0] + }, + "antenna_left2": { + "rotation": ["-22.5+math.sin(q.anim_time*90*3-60)*5", 0, 0] + }, + "antenna_right": { + "rotation": ["-5+math.sin(q.anim_time*90*3)*3", 10, 0] + }, + "antenna_right2": { + "rotation": ["-22.5+math.sin(q.anim_time*90*3-60)*5", 0, 0] + }, + "wing_front_left": { + "rotation": [0, 30, "-(math.sin(q.anim_time*90*18-30)*-20)"] + }, + "wing_back_left": { + "rotation": [0, -30, "-(math.sin(q.anim_time*90*18-30)*20)"] + }, + "wing_front_right": { + "rotation": [0, -30, "math.sin(q.anim_time*90*18-30)*-20"] + }, + "wing_back_right": { + "rotation": [0, 30, "math.sin(q.anim_time*90*18-30)*20"] + }, + "leg_front_left": { + "rotation": [8, 12, "30+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_front_left2": { + "rotation": [0, 0, "-90+72.5+math.sin(q.anim_time*90*3-30)*-2+math.sin(q.anim_time*90*1-90)*4"] + }, + "toes_front_left": { + "rotation": [0, 0, 10] + }, + "toe_inner_front_left": { + "rotation": [0, 0, "-27.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "toe_outer_front_left": { + "rotation": [0, 0, "32.5+math.sin(q.anim_time*90*3-90)*5"] + }, + "leg_back_left": { + "rotation": [-8, -12, "42.5+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_back_left2": { + "rotation": [0, 0, "-90+52.5+math.sin(q.anim_time*90*3-45)*-2+math.sin(q.anim_time*90*1-105)*4"] + }, + "toes_back_left": { + "rotation": [0, 0, 10] + }, + "toe_inner_back_left": { + "rotation": [0, 0, "-27.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "toe_outer_back_left": { + "rotation": [0, 0, "32.5+math.sin(q.anim_time*90*3-90)*5"] + }, + "leg_front_right": { + "rotation": [8, -12, "-30+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_front_right2": { + "rotation": [0, 0, "90-72.5+math.sin(q.anim_time*90*3-30)*-2+math.sin(q.anim_time*90*1-90)*4"] + }, + "toes_front_right": { + "rotation": [0, 0, -10] + }, + "toe_inner_front_right": { + "rotation": [0, 0, "27.5+math.sin(q.anim_time*90*3-90)*5"] + }, + "toe_outer_front_right": { + "rotation": [0, 0, "-32.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "leg_back_right": { + "rotation": [-8, 12, "-42.5+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_back_right2": { + "rotation": [0, 0, "90-52.5+math.sin(q.anim_time*90*3-45)*-2+math.sin(q.anim_time*90*1-105)*4"] + }, + "toes_back_right": { + "rotation": [0, 0, -10] + }, + "toe_inner_back_right": { + "rotation": [0, 0, "27.5+math.sin(q.anim_time*90*3-90)*5"] + }, + "toe_outer_back_right": { + "rotation": [0, 0, "-32.5+math.sin(q.anim_time*90*3-90)*-5"] + } + } + }, + "animation.vibrava.air_fly": { + "loop": true, + "animation_length": 4, + "bones": { + "body": { + "rotation": ["math.sin(q.anim_time*90*3)*+3", 0, "math.sin(q.anim_time*90*1)*1"], + "position": ["math.sin(q.anim_time*90*1-60)*1", "math.sin(q.anim_time*90*3-60)*0.5+math.sin(q.anim_time*90*18-60)*0.1", -4] + }, + "torso": { + "rotation": [-1.5, -0.86603, -0.86603], + "position": [0.15, 0, 0] + }, + "tail": { + "rotation": ["0.5+math.sin(q.anim_time*90*3-30)*-1", 0, 0] + }, + "tail2": { + "rotation": ["-1+math.sin(q.anim_time*90*3-90)*-2", 0, 0] + }, + "tail3": { + "rotation": ["-2+math.sin(q.anim_time*90*3-120)*-2", 0, 0] + }, + "tail4": { + "rotation": ["-1+math.sin(q.anim_time*90*3-150)*-2", 0, 0] + }, + "tail_fin_left": { + "rotation": ["0+math.sin(q.anim_time*90*3-180)*-5", 0, 0] + }, + "tail_fin_right": { + "rotation": ["0+math.sin(q.anim_time*90*3-180)*-5", 0, 0] + }, + "head": { + "rotation": ["-2.5+math.sin(q.anim_time*90*3-30)*3", 0, 0] + }, + "antenna_left": { + "rotation": ["-5+math.sin(q.anim_time*90*3-60)*3", -10, 0] + }, + "antenna_left2": { + "rotation": ["-22.5+math.sin(q.anim_time*90*3-60)*5", 0, 0] + }, + "antenna_right": { + "rotation": ["-5+math.sin(q.anim_time*90*3)*3", 10, 0] + }, + "antenna_right2": { + "rotation": ["-22.5+math.sin(q.anim_time*90*3-60)*5", 0, 0] + }, + "wing_front_left": { + "rotation": [0, 30, "-(math.sin(q.anim_time*90*18-30)*-20)"] + }, + "wing_back_left": { + "rotation": [0, -30, "-(math.sin(q.anim_time*90*18-30)*20)"] + }, + "wing_front_right": { + "rotation": [0, -30, "math.sin(q.anim_time*90*18-30)*-20"] + }, + "wing_back_right": { + "rotation": [0, 30, "math.sin(q.anim_time*90*18-30)*20"] + }, + "leg_front_left": { + "rotation": [8, -2, "42.5+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_front_left2": { + "rotation": [0, 0, "-90+72.5+math.sin(q.anim_time*90*3-30)*-2+math.sin(q.anim_time*90*1-90)*4"] + }, + "toes_front_left": { + "rotation": [0, 0, 10] + }, + "toe_inner_front_left": { + "rotation": [0, 0, "-27.5+math.sin(q.anim_time*90*3-90)*5"] + }, + "toe_outer_front_left": { + "rotation": [0, 0, "47.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "leg_back_left": { + "rotation": [-8, -12, "60+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_back_left2": { + "rotation": [0, 0, "-90+47.5+math.sin(q.anim_time*90*3-45)*-2+math.sin(q.anim_time*90*1-105)*4"] + }, + "toes_back_left": { + "rotation": [0, 0, 10] + }, + "toe_inner_back_left": { + "rotation": [0, 0, "-50+math.sin(q.anim_time*90*3-90)*5"] + }, + "toe_outer_back_left": { + "rotation": [0, 0, "32.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "leg_front_right": { + "rotation": [8, 2, "-42.5+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_front_right2": { + "rotation": [0, 0, "90-62.5+math.sin(q.anim_time*90*3-30)*-2+math.sin(q.anim_time*90*1-90)*4"] + }, + "toes_front_right": { + "rotation": [0, 0, -10] + }, + "toe_inner_front_right": { + "rotation": [0, 0, "27.5+math.sin(q.anim_time*90*3-90)*5"] + }, + "toe_outer_front_right": { + "rotation": [0, 0, "-47.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "leg_back_right": { + "rotation": [-8, 12, "-60+math.sin(q.anim_time*90*3+30)*-2+math.sin(q.anim_time*90*1-30)*4"] + }, + "leg_back_right2": { + "rotation": [0, 0, "90-47.5+math.sin(q.anim_time*90*3-45)*-2+math.sin(q.anim_time*90*1-105)*4"] + }, + "toes_back_right": { + "rotation": [0, 0, -10] + }, + "toe_inner_back_right": { + "rotation": [0, 0, "50+math.sin(q.anim_time*90*3-90)*5"] + }, + "toe_outer_back_right": { + "rotation": [0, 0, "-32.5+math.sin(q.anim_time*90*3-90)*-5"] + }, + "legs_front": { + "rotation": [12.5, 0, 0], + "position": [0, -0.5, 0] + }, + "legs_back": { + "rotation": [15, 0, 0], + "position": [0, -0.5, 0] + } + } + }, "animation.vibrava.cry": { - "animation_length": 1.2, + "animation_length": 2, + "bones": { + "torso": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2917": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [-2.26, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [-1.9, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [-1.17, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [-1.15, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.4583": { + "post": [-0.175, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [5.61, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [5.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [4.52, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [4.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.4583": { + "post": [0.75, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [3.86, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [4, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [3.27, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.375": { + "post": [3.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [0.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail3": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [-0.1, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": ["4+math.sin(q.anim_time*90*30)*1", 0, 0], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": ["4+math.sin(q.anim_time*90*30)*1", 0, 0], + "lerp_mode": "catmullrom" + }, + "1.7083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail4": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [-0.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5417": { + "post": ["10+math.sin(q.anim_time*90*30)*2", 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2083": { + "post": ["10+math.sin(q.anim_time*90*30)*2", 0, 0], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail_fin_left": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, 0, -0.75], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [0, 0, "-7+math.sin(q.anim_time*90*30)*5"], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [0, 0, "-7+math.sin(q.anim_time*90*30)*5"], + "lerp_mode": "catmullrom" + }, + "1.7917": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail_fin_right": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, 0, 0.75], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [0, 0, "7-math.sin(q.anim_time*90*30)*5"], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [0, 0, "7-math.sin(q.anim_time*90*30)*5"], + "lerp_mode": "catmullrom" + }, + "1.7917": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [-5.61, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [-5.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [-4.52, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [-4.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.4583": { + "post": [-0.75, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_left": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2917": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [-5.61, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [-6.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [-5.77, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.375": { + "post": [-6, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [-0.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_left2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [-5.61, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [-6.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [-5.77, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [-6, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.7083": { + "post": [-0.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_right": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [-5.61, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [-6.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.125": { + "post": [-5.77, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.4167": { + "post": [-6, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [-0.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_right2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [-5.61, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.8333": { + "post": [-6.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [-5.77, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.375": { + "post": [-6, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [-0.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "mouth_closed": { + "position": { + "0.5": [0, 0, 0], + "0.5417": {"pre": [0, 0, 0], "post": [0, 0.1, 0]}, + "0.6667": {"pre": [0, 0.1, 0], "post": [0, 0, 0]}, + "0.7917": {"pre": [0, 0, 0], "post": [0, 0.1, 0]}, + "0.9583": {"pre": [0, 0.1, 0], "post": [0, 0, 0]}, + "1.0417": {"pre": [0, 0, 0], "post": [0, 0.1, 0]}, + "1.1667": {"pre": [0, 0.1, 0], "post": [0, 0, 0]} + } + }, + "mouth_open": { + "position": { + "0.5": [0, 0, 0], + "0.5417": {"pre": [0, 0, 0], "post": [0, -0.1, 0]}, + "0.6667": {"pre": [0, -0.1, 0], "post": [0, 0, 0]}, + "0.7917": {"pre": [0, 0, 0], "post": [0, -0.1, 0]}, + "0.9583": {"pre": [0, -0.1, 0], "post": [0, 0, 0]}, + "1.0417": {"pre": [0, 0, 0], "post": [0, -0.1, 0]}, + "1.1667": {"pre": [0, -0.1, 0], "post": [0, 0, 0]} + } + }, + "teeth_left": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, 0, -0.75], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [0, 0, "-7+math.sin(q.anim_time*90*40)*5"], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [0, 0, "math.sin(q.anim_time*90*20+40)*5"], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "teeth_right": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, 0, 0.75], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [0, 0, "7-math.sin(q.anim_time*90*40)*5"], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [0, 0, "-math.sin(q.anim_time*90*20+40)*5"], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + }, "sound_effects": { - "0.04": { + "0.5417": { "effect": "pokemon.vibrava.cry" } } + }, + "animation.vibrava.sleep": { + "loop": true, + "bones": { + "body": { + "position": [0, -1.5, 0] + }, + "head": { + "rotation": [0.76795, 2, 0] + }, + "wing_base_left": { + "rotation": [15, -65, -7.5] + }, + "leg_front_left": { + "rotation": [-5, 0, -62.5], + "position": [0.125, -3, 0] + }, + "leg_back_left": { + "rotation": [10, 0, -62.5], + "position": [0.125, -3, 0] + }, + "leg_front_right": { + "rotation": [-5, 0, 62.5], + "position": [-0.125, -3, 0] + }, + "leg_back_right": { + "rotation": [10, 0, 62.5], + "position": [-0.125, -3, 0] + }, + "wing_front_left": { + "rotation": [0, 0, 15] + }, + "wing_back_left": { + "rotation": [0, -5, 10.5] + }, + "wing_base_right": { + "rotation": [15, 65, 7.5] + }, + "wing_front_right": { + "rotation": [0, 0, -15] + }, + "wing_back_right": { + "rotation": [0, 5, -10.5] + }, + "antenna_left": { + "rotation": ["(7.5+math.sin(q.anim_time*90*1-120)*1)", -10, 0] + }, + "antenna_left2": { + "rotation": ["(-12.5+math.sin(q.anim_time*90*1-180)*3)", 0, 0] + }, + "antenna_right": { + "rotation": ["(7.5+math.sin(q.anim_time*90*1-110)*1)", 10, 0] + }, + "antenna_right2": { + "rotation": ["(-12.5+math.sin(q.anim_time*90*1-170)*3)", 0, 0] + }, + "torso": { + "rotation": [-1.5, 0, 0], + "position": [0, -3, 0] + }, + "tail": { + "rotation": [-4.5, 0, 0] + }, + "tail2": { + "rotation": [-11, 0, 0] + }, + "tail3": { + "rotation": ["2.5+math.sin(q.anim_time*90*1-90)*1", "math.sin(q.anim_time*90*1/2+120)*-0.5", 0] + }, + "tail4": { + "rotation": ["8+math.sin(q.anim_time*90*1-120)*2", "math.sin(q.anim_time*90*1/2+80)*-1", 0] + }, + "tail_fin_left": { + "rotation": [0, 0, 0] + }, + "tail_fin_right": { + "rotation": [0, 0, 0] + }, + "leg_front_left2": { + "rotation": [0, 0, 46.5], + "position": [0.25, -0.75, 0] + }, + "toes_front_left": { + "rotation": [0, 0, 13] + }, + "toe_inner_front_left": { + "rotation": [0, 0, -13.5] + }, + "toe_outer_front_left": { + "rotation": [0, 0, 22.5] + }, + "leg_back_left2": { + "rotation": [0, 0, 46.5], + "position": [0.25, -0.75, 0] + }, + "toes_back_left": { + "rotation": [0, 0, 14.30541] + }, + "toe_inner_back_left": { + "rotation": [0, 0, -14.47906] + }, + "toe_outer_back_left": { + "rotation": [0, 0, 22.5] + }, + "leg_front_right2": { + "rotation": [0, 0, -46.5], + "position": [-0.25, -0.75, 0] + }, + "toes_front_right": { + "rotation": [0, 0, -17] + }, + "toe_inner_front_right": { + "rotation": [0, 0, 16.5] + }, + "toe_outer_front_right": { + "rotation": [0, 0, -22.5] + }, + "leg_back_right2": { + "rotation": [0, 0, -46.5], + "position": [-0.25, -0.75, 0] + }, + "toes_back_right": { + "rotation": [0, 0, -15.69459] + }, + "toe_inner_back_right": { + "rotation": [0, 0, 15.52094] + }, + "toe_outer_back_right": { + "rotation": [0, 0, -22.5] + } + } + }, + "animation.vibrava.look_left_quirk": { + "animation_length": 2.5, + "bones": { + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [-17.5, -10, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [-30, -40, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [-30, -40, 0], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [-0.15, 1, 1], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [-0.15, 1, 1], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_left": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [7.5, 15, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, -6.5, 0], + "lerp_mode": "catmullrom" + }, + "1.375": { + "post": [0, -13, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [-10, -30.5, 0], + "lerp_mode": "catmullrom" + }, + "1.9583": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_right": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [5, 15, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [0, -4.5, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [-10, -23, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_left2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [-10, 5.5, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [-8.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2917": { + "post": [-3.5, -3, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [0, -17, 0], + "lerp_mode": "catmullrom" + }, + "1.9583": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_right2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [-10, 2, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [-8.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [-3.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [0, -14, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "wings": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [0, -3.5, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, -30, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [0, -30, 0], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.vibrava.look_right_quirk": { + "animation_length": 2.5, + "bones": { + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [-17.5, 10, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [-30, 40, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [-30, 40, 0], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0.15, 1, 1], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [0.15, 1, 1], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_left": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [5, -15, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [0, 4.5, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [-10, 23, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_right": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [7.5, -15, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, 6.5, 0], + "lerp_mode": "catmullrom" + }, + "1.375": { + "post": [0, 13, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [-10, 30.5, 0], + "lerp_mode": "catmullrom" + }, + "1.9583": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_left2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [-10, -2, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [-8.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [-3.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [0, 14, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "antenna_right2": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [-10, -5.5, 0], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [-8.25, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2917": { + "post": [-3.5, 3, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [0, 17, 0], + "lerp_mode": "catmullrom" + }, + "1.9583": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "wings": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [0, 3.5, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, 30, 0], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [0, 30, 0], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } } } } \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0328_trapinch/trapinch.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0328_trapinch/trapinch.json new file mode 100644 index 0000000000..deadd18a25 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0328_trapinch/trapinch.json @@ -0,0 +1,61 @@ +{ + "portraitScale": 1.5, + "portraitTranslation": [-0.52, -0.54, 0], + "profileScale": 0.9, + "profileTranslation": [0.12, 0.33, 0], + "rootBone": "trapinch", + "animations": { + "cry": "q.bedrock_stateful('trapinch', 'cry')" + }, + "poses": { + "battle-standing": { + "poseTypes": ["STAND"], + "isBattle": true, + "animations": [ + "q.look('head')", + "q.bedrock('trapinch', 'battle_idle')" + ], + "quirks": [ + "q.bedrock_quirk('trapinch', 'blink')" + ] + }, + "battle-sleep": { + "poseTypes": ["SLEEP"], + "isBattle": true, + "animations": ["q.bedrock('trapinch', 'battle_sleep')"], + "namedAnimations": { + "cry": "q.bedrock_stateful('dummy', 'cry')" + }, + "quirks": [] + }, + "standing": { + "poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('trapinch', 'ground_idle')" + ], + "quirks": [ + "q.bedrock_quirk('trapinch', 'blink')" + ] + }, + "walking": { + "poseTypes": ["WALK"], + "animations": [ + "q.bedrock('trapinch', 'ground_walk')" + ], + "quirks": [ + "q.bedrock_quirk('trapinch', 'blink')" + ] + }, + "sleep": { + "poseTypes": ["SLEEP"], + "isBattle": false, + "animations": ["q.bedrock('trapinch', 'sleep')"], + "namedAnimations": { + "cry": "q.bedrock_stateful('dummy', 'cry')" + }, + "quirks": [] + } + } + } \ No newline at end of file diff --git a/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0329_vibrava/vibrava.json b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0329_vibrava/vibrava.json new file mode 100644 index 0000000000..616a5ee650 --- /dev/null +++ b/common/src/main/resources/assets/cobblemon/bedrock/pokemon/posers/0329_vibrava/vibrava.json @@ -0,0 +1,60 @@ +{ + "portraitScale": 1.36, + "portraitTranslation": [-0.37, -0.55, 0.0], + "profileScale": 0.54, + "profileTranslation": [0.01, 0.71, 0], + "rootBone": "vibrava", + "animations": { + "cry": "q.bedrock_stateful('vibrava', 'cry')" + }, + "poses": { + "standing": { + "poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"], + "animations": [ + "q.look('head')", + "q.bedrock('vibrava', 'ground_idle')" + ], + "quirks": [ + "q.bedrock_quirk('vibrava', q.array('look_left_quirk', 'look_right_quirk'), 30, 90, 1)" + ] + }, + "walking": { + "poseTypes": ["WALK"], + "animations": [ + "q.bedrock('vibrava', 'air_fly')" + ], + "transformedParts": [ + { + "part": "body", + "position": [0, -10, 0], + "rotation": [0, 0, 0], + "isVisible": true + } + ] + }, + "hover": { + "poseTypes": ["HOVER"], + "isBattle": false, + "animations": [ + "q.look('head')", + "q.bedrock('vibrava', 'air_idle')" + ], + "quirks": [ + "q.bedrock_quirk('vibrava', q.array('look_left_quirk', 'look_right_quirk'), 30, 90, 1)" + ] + }, + "fly": { + "poseTypes": ["FLY"], + "animations": [ + "q.bedrock('vibrava', 'air_fly')" + ] + }, + "sleep": { + "poseTypes": ["SLEEP"], + "animations": ["q.bedrock('vibrava', 'sleep')"], + "namedAnimations": { + "cry": "q.bedrock_stateful('dummy', 'cry')" + } + } + } + } \ No newline at end of file diff --git a/common/src/main/resources/data/cobblemon/species/generation3/trapinch.json b/common/src/main/resources/data/cobblemon/species/generation3/trapinch.json index fe7c7d208f..724eea9c20 100644 --- a/common/src/main/resources/data/cobblemon/species/generation3/trapinch.json +++ b/common/src/main/resources/data/cobblemon/species/generation3/trapinch.json @@ -52,7 +52,7 @@ "behaviour": { "moving": { "walk": { - "walkSpeed": 0.3 + "walkSpeed": 0.1 }, "swim": { "avoidsWater": true diff --git a/common/src/main/resources/data/cobblemon/species/generation3/vibrava.json b/common/src/main/resources/data/cobblemon/species/generation3/vibrava.json index bf802c1d61..0a2a233f6b 100644 --- a/common/src/main/resources/data/cobblemon/species/generation3/vibrava.json +++ b/common/src/main/resources/data/cobblemon/species/generation3/vibrava.json @@ -57,6 +57,9 @@ "rouseChance": 0.0042 }, "moving": { + "walk": { + "walkSpeed": 0.3 + }, "fly": { "canFly": true },