188 lines
		
	
	
		
			7.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			188 lines
		
	
	
		
			7.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"format_version": "1.8.0",
 | |
| 	"animations": {
 | |
| 		"animation.melmetal.ground_walk": {
 | |
| 			"loop": true,
 | |
| 			"animation_length": 2,
 | |
| 			"bones": {
 | |
| 				"bot_torso": {
 | |
| 					"rotation": ["-0-math.cos(q.anim_time*90*2*2)*3", "0+math.cos(q.anim_time*90*2)*6", "0-math.cos(q.anim_time*90*2)*3"],
 | |
| 					"position": {
 | |
| 						"0.0": [0, "0-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"0.3333": [0, "0-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"0.4167": [0, "0-math.sin(q.anim_time*90*2*20)*0.1", 0],
 | |
| 						"0.7917": [0, "0-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"1.3333": [0, "0-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"1.4167": [0, "0-math.sin(q.anim_time*90*2*20)*0.1", 0],
 | |
| 						"1.7917": [0, "0-math.sin(q.anim_time*90*2*2)*0.3", 0]
 | |
| 					}
 | |
| 				},
 | |
| 				"middle_torso": {
 | |
| 					"rotation": ["7.5-math.cos(q.anim_time*90*2*2-60)*1", "math.cos(q.anim_time*90*2-60)*3", "-math.cos(q.anim_time*90*2)*3"]
 | |
| 				},
 | |
| 				"top_torso": {
 | |
| 					"rotation": {
 | |
| 						"0.0": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.31658],
 | |
| 						"0.375": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.32],
 | |
| 						"0.4583": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.32],
 | |
| 						"0.8333": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.31658],
 | |
| 						"1.375": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.32],
 | |
| 						"1.4583": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.32],
 | |
| 						"1.9583": ["0-math.cos(q.anim_time*90*2*2-120)*3/2", "-0.1599+math.cos(q.anim_time*90*2-120)*2", 0.31658]
 | |
| 					},
 | |
| 					"position": {
 | |
| 						"0.0": [0, "-1-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"0.3333": [0, "-1-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"0.4167": [0, "-1-math.sin(q.anim_time*90*2*20)*0.1", 0],
 | |
| 						"0.7917": [0, "-1-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"1.3333": [0, "-1-math.sin(q.anim_time*90*2*2)*0.3", 0],
 | |
| 						"1.4167": [0, "-1-math.sin(q.anim_time*90*2*20)*0.1", 0],
 | |
| 						"1.7917": [0, "-1-math.sin(q.anim_time*90*2*2)*0.3", 0]
 | |
| 					}
 | |
| 				},
 | |
| 				"eye": {
 | |
| 					"position": [0, "0.4*math.sin(q.anim_time*90*4-20)", 0]
 | |
| 				},
 | |
| 				"arm_l_3": {
 | |
| 					"rotation": [0, 0, 7.5]
 | |
| 				},
 | |
| 				"arm_l_4": {
 | |
| 					"rotation": ["-0.2067-math.cos(q.anim_time*90*2*2-130)*1", "0.5209-math.cos(q.anim_time*90*2-160)*10", "-52.536-math.cos(q.anim_time*90*2-160)*2"]
 | |
| 				},
 | |
| 				"bone2": {
 | |
| 					"rotation": [0, "-49.5061-math.cos(q.anim_time*90*2-160)*8", -0.3703]
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": [0, "-37.5061-math.cos(q.anim_time*90*2-160)*8", -0.3703]
 | |
| 				},
 | |
| 				"arm_l_1": {
 | |
| 					"rotation": [0, 0, -7.5]
 | |
| 				},
 | |
| 				"arm_l_2": {
 | |
| 					"rotation": ["0.1613-math.cos(q.anim_time*90*2*2-130)*1", "-0.5189-math.cos(q.anim_time*90*2-160)*10", "52.5286-math.cos(q.anim_time*90*2-160)*2"]
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": [0, "49.5061-math.cos(q.anim_time*90*2-160)*8", 0.37032]
 | |
| 				},
 | |
| 				"bone8": {
 | |
| 					"rotation": [0, "37.5061-math.cos(q.anim_time*90*2-160)*8", 0.37032]
 | |
| 				},
 | |
| 				"tail_cone": {
 | |
| 					"rotation": ["1-math.cos(q.anim_time*90*2*2-160)*5", 0, 0]
 | |
| 				},
 | |
| 				"leg_left_top": {
 | |
| 					"rotation": ["0-math.sin(q.anim_time*90*2)*10", -5, 0],
 | |
| 					"position": {
 | |
| 						"0.0": [0, "0+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "0-math.sin(q.anim_time*90*2)*2"],
 | |
| 						"0.3333": [0, "0+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "0-math.sin(q.anim_time*90*2)*2"],
 | |
| 						"0.4167": [0, "-0.5+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "0-math.sin(q.anim_time*90*2)*2"],
 | |
| 						"0.5": [0, "0+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "0-math.sin(q.anim_time*90*2)*2"],
 | |
| 						"1.0833": [0, "0+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "0-math.sin(q.anim_time*90*2)*2"],
 | |
| 						"1.5833": [0, "1.4+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "-math.sin(q.anim_time*90*2)*2"],
 | |
| 						"2.0": [0, "0+math.clamp(math.cos(q.anim_time*90*2)*5/2,0,20)", "0-math.sin(q.anim_time*90*2)*2"]
 | |
| 					}
 | |
| 				},
 | |
| 				"leg_bot": {
 | |
| 					"rotation": {
 | |
| 						"0.0": [6, -5, 0],
 | |
| 						"0.3333": [-0.74, -5, 0],
 | |
| 						"0.4583": [11, -5, 0],
 | |
| 						"1.0": [0, -5, 0],
 | |
| 						"1.5": [2.5, -5, 0],
 | |
| 						"2.0": [6, -5, 0]
 | |
| 					}
 | |
| 				},
 | |
| 				"leg_right_top": {
 | |
| 					"rotation": ["0+math.sin(q.anim_time*90*2)*10", 5, 0],
 | |
| 					"position": {
 | |
| 						"0.0": [0, "0+math.clamp(math.cos(q.anim_time*90*2-180)*5/2,0,20)", "0+math.sin(q.anim_time*90*2)*2"],
 | |
| 						"0.2083": [0, "0+math.clamp(math.cos(q.anim_time*90*2-180)*5/2,0,20)", "0+math.sin(q.anim_time*90*2)*2"],
 | |
| 						"0.625": [0, "1.6+math.clamp(math.cos(q.anim_time*90*2-180)*5/2,0,20)", "0+math.sin(q.anim_time*90*2)*2"],
 | |
| 						"1.3333": [0, "0+math.clamp(math.cos(q.anim_time*90*2-180)*5/2,0,20)", "0+math.sin(q.anim_time*90*2)*2"],
 | |
| 						"1.4167": [0, "-0.5+math.clamp(math.cos(q.anim_time*90*2-180)*5/2,0,20)", "0+math.sin(q.anim_time*90*2)*2"],
 | |
| 						"1.5": [0, "0+math.clamp(math.cos(q.anim_time*90*2-180)*5/2,0,20)", "0+math.sin(q.anim_time*90*2)*2"]
 | |
| 					}
 | |
| 				},
 | |
| 				"leg_bot2": {
 | |
| 					"rotation": {
 | |
| 						"0.0": [0, 5, 0],
 | |
| 						"0.5": [2.5, 5, 0],
 | |
| 						"0.9583": {
 | |
| 							"pre": [0.7227, 5, 2.25997],
 | |
| 							"post": [0.7227, 5, 2.25997],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.3333": {
 | |
| 							"post": [-3.24, 5, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.4583": [11, 5, 0],
 | |
| 						"2.0": [0, 5, 0]
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.melmetal.ground_idle": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"bot_torso": {
 | |
| 					"rotation": ["1+1*math.sin(q.anim_time*90*1+90)", 0, "0.1*math.sin(q.anim_time*90*2+90)"],
 | |
| 					"position": [0, "0.4*math.sin(q.anim_time*90*1-20)", 0]
 | |
| 				},
 | |
| 				"middle_torso": {
 | |
| 					"rotation": ["2.5+1*math.sin(q.anim_time*90*1+120)", 0, 0]
 | |
| 				},
 | |
| 				"top_torso": {
 | |
| 					"rotation": ["1*math.sin(q.anim_time*90*1+150)", 0, 0],
 | |
| 					"position": [0, -1, 0]
 | |
| 				},
 | |
| 				"eye": {
 | |
| 					"position": [0, "0-math.sin(q.anim_time*90*2)*0.3", 0]
 | |
| 				},
 | |
| 				"arm_l_3": {
 | |
| 					"rotation": [0, 0, 7.5]
 | |
| 				},
 | |
| 				"arm_l_4": {
 | |
| 					"rotation": ["-0.0086+2*math.sin(q.anim_time*90*1+150)", "0.1742-0.0773*math.sin(q.anim_time*90*1+150)", "-42.4922+6*math.sin(q.anim_time*90*1+150)"]
 | |
| 				},
 | |
| 				"bone2": {
 | |
| 					"rotation": [0, -40, "-52.5018+6*math.sin(q.anim_time*90*1+150)*0.2"]
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": [4.40571, -37.26989, -28.86195]
 | |
| 				},
 | |
| 				"arm_l_1": {
 | |
| 					"rotation": [0, 0, -7.5]
 | |
| 				},
 | |
| 				"arm_l_2": {
 | |
| 					"rotation": ["-0.1995-2*math.sin(q.anim_time*90*1+150)", "0.8553-2*math.sin(q.anim_time*90*1+160)", "42.4922-6*math.sin(q.anim_time*90*1+160)"]
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": [0, 40, "52.5018-6*math.sin(q.anim_time*90*1+160)*0.2"]
 | |
| 				},
 | |
| 				"bone8": {
 | |
| 					"rotation": [4.40571, 37.26989, 28.86195]
 | |
| 				},
 | |
| 				"tail_cone": {
 | |
| 					"rotation": ["1*math.sin(q.anim_time*90*2-20)*5", "-6*math.sin(q.anim_time*90*2-20)*0.2", "-3*math.cos(q.anim_time*90*2-20)"]
 | |
| 				},
 | |
| 				"leg_left_top": {
 | |
| 					"rotation": [0, -7.5, 0],
 | |
| 					"position": [0, "0.2*math.sin(q.anim_time*90*1-20)", 0]
 | |
| 				},
 | |
| 				"leg_bot": {
 | |
| 					"rotation": [0, 0, 0],
 | |
| 					"position": [0, "-0.2*math.sin(q.anim_time*90*1-20)", 0]
 | |
| 				},
 | |
| 				"leg_right_top": {
 | |
| 					"rotation": [0, 7.5, 0],
 | |
| 					"position": [0, "0.2*math.sin(q.anim_time*90*1-20)", 0]
 | |
| 				},
 | |
| 				"leg_bot2": {
 | |
| 					"rotation": [0, 0, 0],
 | |
| 					"position": [0, "-0.2*math.sin(q.anim_time*90*1-20)", 0]
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |