264 lines
9.4 KiB
JSON
264 lines
9.4 KiB
JSON
|
{
|
||
|
"format_version": "1.8.0",
|
||
|
"animations": {
|
||
|
"animation.chienpao.ground_idle": {
|
||
|
"loop": true,
|
||
|
"bones": {
|
||
|
"tail_1": {
|
||
|
"rotation": [-30, "math.cos((query.anim_time - 0.5) * 90) * 16", 0]
|
||
|
},
|
||
|
"tail_2": {
|
||
|
"rotation": [12.5, "0+math.cos((query.anim_time - 0.8) * 90) * 16", 0]
|
||
|
},
|
||
|
"tail_3": {
|
||
|
"rotation": [30, "0+math.cos((query.anim_time - 1.1) * 90) * 16", 0]
|
||
|
},
|
||
|
"tail_4": {
|
||
|
"rotation": [60, 0, 0]
|
||
|
},
|
||
|
"tail_5": {
|
||
|
"rotation": [62.5, 0, 0]
|
||
|
},
|
||
|
"tail_6": {
|
||
|
"rotation": [65, 0, 0]
|
||
|
},
|
||
|
"torso": {
|
||
|
"rotation": ["math.cos(q.anim_time*90*2-90)*0.4", 0, "0+math.cos(q.anim_time*90*2)*0.6"],
|
||
|
"position": [0, "math.sin(q.anim_time*90*1-90)*0.05", 0]
|
||
|
},
|
||
|
"neck": {
|
||
|
"rotation": ["-math.sin(q.anim_time*90*2-90)*0.6", 0, "-math.cos(q.anim_time*90*1-90)*0.5"]
|
||
|
},
|
||
|
"head": {
|
||
|
"rotation": ["-math.sin(q.anim_time*90*1-90)*4", 0, 0],
|
||
|
"position": [0, "-math.cos(q.anim_time*90*2-90)*0.05", 0]
|
||
|
},
|
||
|
"wisker_right": {
|
||
|
"rotation": [0, 15, 0]
|
||
|
},
|
||
|
"wisker_left": {
|
||
|
"rotation": [0, -15, 0]
|
||
|
},
|
||
|
"ear_right": {
|
||
|
"rotation": [0, 0, "-math.sin(q.anim_time*90*3-90)*3"]
|
||
|
},
|
||
|
"ear_left": {
|
||
|
"rotation": [0, 0, "math.sin(q.anim_time*90*3-90)*3"]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"animation.chienpao.ground_walk": {
|
||
|
"loop": true,
|
||
|
"bones": {
|
||
|
"tail_1": {
|
||
|
"rotation": ["-30+math.sin(q.anim_time*90*8-180-60)*2", "math.sin(q.anim_time*90*4-180-60)*4", 0]
|
||
|
},
|
||
|
"tail_2": {
|
||
|
"rotation": ["12.5+math.sin(q.anim_time*90*8-200-80)*2", "math.sin(q.anim_time*90*4-200-80)*4", 0]
|
||
|
},
|
||
|
"tail_3": {
|
||
|
"rotation": ["12.5+math.sin(q.anim_time*90*8-220-100)*2", "math.sin(q.anim_time*90*4-220-100)*4", 0]
|
||
|
},
|
||
|
"tail_4": {
|
||
|
"rotation": ["12.5+math.sin(q.anim_time*90*8-240-120)*2", "math.sin(q.anim_time*90*4-240-120)*4", 0]
|
||
|
},
|
||
|
"tail_5": {
|
||
|
"rotation": ["20+math.sin(q.anim_time*90*8-260-140)*2", "0+math.sin(q.anim_time*90*4-260-140)*4", 0]
|
||
|
},
|
||
|
"tail_6": {
|
||
|
"rotation": ["35+math.sin(q.anim_time*90*8-280-160)*2", "0+math.sin(q.anim_time*90*4-280-160)*4", 0]
|
||
|
},
|
||
|
"torso": {
|
||
|
"rotation": ["math.sin(q.anim_time*90*4-90)*1+0.5", 0, 0],
|
||
|
"position": [0, "math.sin(q.anim_time*90*8-90)*0.2", 0]
|
||
|
},
|
||
|
"neck": {
|
||
|
"rotation": ["12.5+math.sin(q.anim_time*90*8-260-140)*2", "math.sin(q.anim_time*90*4-260-140)*4", 0]
|
||
|
},
|
||
|
"head": {
|
||
|
"rotation": [
|
||
|
"-10-math.sin(q.anim_time*90*4-90)*0.5+math.sin(q.anim_time*90*4*2-45)*1",
|
||
|
0,
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4-90)*1,-0.8,0.8)-math.sin(q.anim_time*90*4-180)*1"
|
||
|
],
|
||
|
"position": ["math.sin(q.anim_time*90*4-45)*0.1", "math.sin(-q.anim_time*90*4*2-45)*0.1", 0]
|
||
|
},
|
||
|
"wisker_right": {
|
||
|
"rotation": [0, 17.5, "0+math.sin(q.anim_time*90*8-200)*3"]
|
||
|
},
|
||
|
"wisker_left": {
|
||
|
"rotation": [0, -17.5, "0-math.sin(q.anim_time*90*8-200)*3"]
|
||
|
},
|
||
|
"ear_right": {
|
||
|
"rotation": [0, 0, "math.sin(q.anim_time*90*8-180)*3"]
|
||
|
},
|
||
|
"ear_left": {
|
||
|
"rotation": [0, 0, "math.sin(q.anim_time*90*8)*3"]
|
||
|
},
|
||
|
"leg_front_left1": {
|
||
|
"rotation": [
|
||
|
"30-math.clamp(20*(math.sin(q.anim_time*90*4-90+33)*1+1),-0,60)",
|
||
|
0,
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4-90)*1,-0.8,0.8)-math.sin(q.anim_time*90*4-180)*1"
|
||
|
],
|
||
|
"position": [
|
||
|
0,
|
||
|
"-1+1*(math.clamp(math.sin(q.anim_time*90*4-160)*1.6,1,1.6)-0.2)+0.5*(math.clamp(math.sin(q.anim_time*90*4-75)*1.8,1,1.8)-1)-0.1*(math.clamp(math.sin(q.anim_time*90*4)*1.4,1,1.4)+1)-math.clamp(math.sin(q.anim_time*90*4-180)*1,0,1)",
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"leg_front_left2": {
|
||
|
"rotation": [
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4-180*0+33)*25,0,40)-(math.clamp(math.sin(q.anim_time*90*1-90*0)*1,0.5,1)*1-0.5)*20-(math.clamp(math.sin(q.anim_time*90*1-90*2)*1,0.5,1)*1-0.5)*20",
|
||
|
0,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"leg_front_left3": {
|
||
|
"rotation": ["-20+math.clamp(10*(math.sin(q.anim_time*90*4-90-180*0)*1+1),-0,60)+math.clamp(math.sin(q.anim_time*90*4-180*0+10)*30,-5,30)", 0, 0],
|
||
|
"position": [0, "math.clamp(math.sin(q.anim_time*90*4-120)*1.1,0.9,1)-0.9+math.clamp(math.sin(q.anim_time*90*2-130)*1.3,0.9,1)-0.9", 0]
|
||
|
},
|
||
|
"leg_front_right1": {
|
||
|
"rotation": [
|
||
|
"30-math.clamp(20*(math.sin(q.anim_time*90*4-90+33+180)*1+1),-0,60)",
|
||
|
0,
|
||
|
"math.clamp(math.sin(q.anim_time*90*4-90+180)*1,-0.8,0.8)+math.sin(q.anim_time*90*4-180*0)*1"
|
||
|
],
|
||
|
"position": [
|
||
|
0,
|
||
|
"-1+1*(math.clamp(math.sin(q.anim_time*90*4-165+180)*1.6,1,1.6)-0.2)+0.5*(math.clamp(math.sin(q.anim_time*90*4-75+180)*1.8,1,1.8)-1)-0.1*(math.clamp(math.sin(q.anim_time*90*4+180)*1.4,1,1.4)+1)-math.clamp(math.sin(q.anim_time*90*4)*1,0,1)",
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"leg_front_right2": {
|
||
|
"rotation": [
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4-180*1+33)*25,0,40)-(math.clamp(math.sin(q.anim_time*90*1-90*3)*1,0.5,1)*1-0.5)*20-(math.clamp(math.sin(q.anim_time*90*1-90*1)*1,0.5,1)*1-0.5)*20",
|
||
|
0,
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"leg_front_right3": {
|
||
|
"rotation": ["20-math.clamp(10*(math.sin(q.anim_time*90*4-90-180*0)*1+1),-0,60)-math.clamp(math.sin(q.anim_time*90*4-180*0+10)*30,-5,30)", 0, 0],
|
||
|
"position": [0, "math.clamp(math.sin(q.anim_time*90*4-120)*1.1,0.9,1)-0.9+math.clamp(math.sin(q.anim_time*90*2-130+90)*1.3,0.9,1)-0.9", 0]
|
||
|
},
|
||
|
"leg_back_right1": {
|
||
|
"rotation": [
|
||
|
"-20+math.clamp(15*(math.sin(q.anim_time*90*4-90+180)*1+1),-0,60)",
|
||
|
0,
|
||
|
"math.clamp(math.sin(q.anim_time*90*4-90+180)*1,-0.8,0.8)+math.sin(q.anim_time*90*4-180*0)*1"
|
||
|
],
|
||
|
"position": [
|
||
|
0,
|
||
|
"-0.8-math.clamp(-math.sin(q.anim_time*90*4+90+180*1)*0.01,0,0.01)+math.clamp(-math.sin(q.anim_time*90*4+20+180*1)*1,0.4,1)-0.4+math.clamp(math.sin(q.anim_time*90*4-130+180*1)*1.5,0.4,0.6)-0.3+(math.clamp(-math.sin(q.anim_time*90*2+70+180*1)*1,0.5,1)-0.5)*0.5+(math.clamp(-math.sin(q.anim_time*90*2+70+180*0)*1,0.5,1)+0.5)*0.5",
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"leg_back_right2": {
|
||
|
"rotation": [
|
||
|
"math.clamp(math.sin(q.anim_time*90*4+180)*10,0,10)-math.clamp(math.sin(q.anim_time*90*4-95+180)*10,0,45)-math.clamp(math.sin(q.anim_time*90*4+180*0)*10,0,45)",
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"position": [0, "math.clamp(math.sin(q.anim_time*90*4-130+180)*1,0.5,1)-math.clamp(math.sin(q.anim_time*90*4-40+180)*1,0.75,1)+0.25", 0]
|
||
|
},
|
||
|
"leg_back_right3": {
|
||
|
"rotation": [
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4+180*1)*10,0,10)+math.clamp(math.sin(q.anim_time*90*4+10+180*0)*25,0,45)-(-20+math.clamp(11*(math.sin(q.anim_time*90*4-90+180*1)*1+1),-0,60))+math.clamp(math.sin(q.anim_time*90*4-130+180*1)*00,50,100)-50",
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"position": [0, "(math.clamp(math.sin(q.anim_time*90*4-110+180*0)*1,0.5,1)-0.5)*0.7", 0]
|
||
|
},
|
||
|
"leg_back_left1": {
|
||
|
"rotation": [
|
||
|
"-20+math.clamp(15*(math.sin(q.anim_time*90*4-90)*1+1),-0,60)",
|
||
|
0,
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4-90)*1,-0.8,0.8)-math.sin(q.anim_time*90*4-180)*1"
|
||
|
],
|
||
|
"position": [
|
||
|
0,
|
||
|
"-0.8-math.clamp(-math.sin(q.anim_time*90*4+90+180*0)*0.01,0,0.01)+math.clamp(-math.sin(q.anim_time*90*4+20+180*0)*1,0.4,1)-0.4+math.clamp(math.sin(q.anim_time*90*4-130+180*0)*1.5,0.4,0.6)-0.3+(math.clamp(-math.sin(q.anim_time*90*2+70+180*0)*1,0.5,1)-0.5)*0.5+(math.clamp(-math.sin(q.anim_time*90*2+70+180*1)*1,0.5,1)+0)*0.5",
|
||
|
0
|
||
|
]
|
||
|
},
|
||
|
"leg_back_left2": {
|
||
|
"rotation": [
|
||
|
"math.clamp(math.sin(q.anim_time*90*4)*10,0,10)-math.clamp(math.sin(q.anim_time*90*4-95)*10,0,45)-math.clamp(math.sin(q.anim_time*90*4+180)*10,0,45)",
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"position": [0, "math.clamp(math.sin(q.anim_time*90*4-130)*1,0.5,1)-math.clamp(math.sin(q.anim_time*90*4-40)*1,0.75,1)+0.25", 0]
|
||
|
},
|
||
|
"leg_back_left3": {
|
||
|
"rotation": [
|
||
|
"-math.clamp(math.sin(q.anim_time*90*4+180*0)*10,0,10)+math.clamp(math.sin(q.anim_time*90*4+10+180*1)*25,0,45)-(-20+math.clamp(11*(math.sin(q.anim_time*90*4-90+180*0)*1+1),-0,60))+math.clamp(math.sin(q.anim_time*90*4-130+180*0)*00,50,100)-50",
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"position": [0, "(math.clamp(math.sin(q.anim_time*90*4-110+180)*1,0.5,1)-0.5)*0.7", 0]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"animation.chienpao.cry": {
|
||
|
"animation_length": 1.5,
|
||
|
"bones": {
|
||
|
"neck": {
|
||
|
"rotation": {
|
||
|
"0.0": {
|
||
|
"post": [0, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"0.2083": {
|
||
|
"post": [10, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"0.4583": {
|
||
|
"post": [-15, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"1.0": {
|
||
|
"post": [-15, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"1.25": {
|
||
|
"post": [5, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"1.5": {
|
||
|
"post": [0, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"head": {
|
||
|
"rotation": {
|
||
|
"0.0": {
|
||
|
"post": [0, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"0.25": {
|
||
|
"post": [22.5, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"0.7917": {
|
||
|
"post": [2.5, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
},
|
||
|
"1.5": {
|
||
|
"post": [0, 0, 0],
|
||
|
"lerp_mode": "catmullrom"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"jaw": {
|
||
|
"rotation": {
|
||
|
"0.0": [0, 0, 0],
|
||
|
"0.25": [35, 0, 0],
|
||
|
"1.25": [35, 0, 0],
|
||
|
"1.5": [0, 0, 0]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|