146 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			146 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"format_version": "1.8.0",
 | |
| 	"animations": {
 | |
| 		"animation.gogoat.ground_idle": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"torso": {
 | |
| 					"rotation": [0, 0, "Math.cos((query.anim_time) * 90 * 1) * 0.5"],
 | |
| 					"position": [0, "Math.cos((query.anim_time) * 90 * 2) * 0.1", 0]
 | |
| 				},
 | |
| 				"tail": {
 | |
| 					"rotation": ["-2*Math.cos((query.anim_time-0.8) * 90 * 2)", "4*Math.cos((query.anim_time-0.8) * 90 * 1)", 0]
 | |
| 				},
 | |
| 				"neck": {
 | |
| 					"rotation": ["Math.cos((query.anim_time-0.2) * 90 * 2) * -1", -0.4698, 0]
 | |
| 				},
 | |
| 				"head": {
 | |
| 					"rotation": ["Math.cos((query.anim_time-0.2) * 90 * 2) * -1", -0.4698, 0]
 | |
| 				},
 | |
| 				"ear_left3": {
 | |
| 					"rotation": [0, "3*Math.cos((query.anim_time+0.8) * 90 * 2)", 0]
 | |
| 				},
 | |
| 				"ear_left2": {
 | |
| 					"rotation": [0, "-3*Math.cos((query.anim_time+0.8) * 90 * 2)", 0]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.gogoat.ground_walk": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"body": {
 | |
| 					"position": [0, "-1.75+math.clamp(math.sin(q.anim_time*90*4)*1.1,0.5,1)+math.clamp(math.sin(q.anim_time*90*4+180)*1.1,0.5,1)", 0]
 | |
| 				},
 | |
| 				"torso": {
 | |
| 					"rotation": ["math.sin(q.anim_time*90*4-90)*0.2+0.5", 0, "math.clamp(math.sin(q.anim_time*90*4-90)*1,-0.8,0.8)+math.sin(q.anim_time*90*4-180)*0.5"]
 | |
| 				},
 | |
| 				"tail": {
 | |
| 					"rotation": ["math.sin(q.anim_time*90*8-180-60)*2", "math.sin(q.anim_time*90*4-180-60)*4", 0]
 | |
| 				},
 | |
| 				"neck_wool": {
 | |
| 					"rotation": ["-math.sin(q.anim_time*90*4-90)*2", 0, "math.cos(q.anim_time*90*-4-90)*0.2"]
 | |
| 				},
 | |
| 				"head_angle": {
 | |
| 					"rotation": [
 | |
| 						"-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]
 | |
| 				},
 | |
| 				"ear_left3": {
 | |
| 					"rotation": [0, "-5*Math.cos((query.anim_time-0.3) * 90 * 8)", 0]
 | |
| 				},
 | |
| 				"ear_left2": {
 | |
| 					"rotation": [0, "5*Math.cos((query.anim_time-0.3) * 90 * 8)", 0]
 | |
| 				},
 | |
| 				"leg_front_right": {
 | |
| 					"rotation": ["20-math.clamp(19*(math.sin(q.anim_time*90*4-90+33)*1+1),-0,60)", 0, 0],
 | |
| 					"position": [
 | |
| 						0,
 | |
| 						"0.8*(math.clamp(math.sin(q.anim_time*90*4-155)*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.2*(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,0.75)",
 | |
| 						0
 | |
| 					]
 | |
| 				},
 | |
| 				"leg_front_right2": {
 | |
| 					"rotation": [
 | |
| 						"math.clamp(math.sin(q.anim_time*90*4-180*0+33)*40,0,40)+(math.clamp(math.sin(q.anim_time*90*2-90*0)*1,0.5,1)*1-0.5)*30+(math.clamp(math.sin(q.anim_time*90*2-90*2)*1,0.5,1)*1-0.5)*30",
 | |
| 						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)*1.3,0.9,1)-0.9", 0]
 | |
| 				},
 | |
| 				"leg_front_left": {
 | |
| 					"rotation": ["20-math.clamp(19*(math.sin(q.anim_time*90*4-90+33+180)*1+1),-0,60)", 0, 0],
 | |
| 					"position": [
 | |
| 						0,
 | |
| 						"0.8*(math.clamp(math.sin(q.anim_time*90*4-155+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.2*(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,0.75)",
 | |
| 						0
 | |
| 					]
 | |
| 				},
 | |
| 				"leg_front_left2": {
 | |
| 					"rotation": [
 | |
| 						"math.clamp(math.sin(q.anim_time*90*4-180*1+33)*40,0,40)+(math.clamp(math.sin(q.anim_time*90*2-90*3)*1,0.5,1)*1-0.5)*30+(math.clamp(math.sin(q.anim_time*90*2-90*1)*1,0.5,1)*1-0.5)*30",
 | |
| 						0,
 | |
| 						0
 | |
| 					]
 | |
| 				},
 | |
| 				"leg_front_left3": {
 | |
| 					"rotation": ["-20+math.clamp(10*(math.sin(q.anim_time*90*4-90-180*1)*1+1),-0,60)+math.clamp(math.sin(q.anim_time*90*4-180*1+10)*30,-2.5,30)", 0, 0],
 | |
| 					"position": [0, "math.clamp(math.sin(q.anim_time*90*4-120+180)*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_right": {
 | |
| 					"rotation": ["-20+math.clamp(15*(math.sin(q.anim_time*90*4-90)*1+1),-0,60)", 0, 0],
 | |
| 					"position": [
 | |
| 						0,
 | |
| 						"-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,0.8)-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.5",
 | |
| 						0
 | |
| 					]
 | |
| 				},
 | |
| 				"leg_back_right2": {
 | |
| 					"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_right3": {
 | |
| 					"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]
 | |
| 				},
 | |
| 				"leg_back_left": {
 | |
| 					"rotation": ["-20+math.clamp(15*(math.sin(q.anim_time*90*4-90+180)*1+1),-0,60)", 0, 0],
 | |
| 					"position": [
 | |
| 						0,
 | |
| 						"-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
 | |
| 					]
 | |
| 				},
 | |
| 				"leg_back_left2": {
 | |
| 					"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_left3": {
 | |
| 					"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]
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |