83 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"format_version": "1.8.0",
 | |
| 	"animations": {
 | |
| 		"animation.duosion.ground_idle": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"body": {
 | |
| 					"position": [0, "4+math.sin(query.anim_time*90*2+90)*0.5", 0]
 | |
| 				},
 | |
| 				"torso": {
 | |
| 					"rotation": ["-15-math.sin(query.anim_time*90*2+90)*0.5", 0, "math.sin(query.anim_time*90*2/2+90)*0.5"],
 | |
| 					"position": ["math.sin(query.anim_time*90*2/2+0)*0.125", "math.sin(query.anim_time*90*2+130)*0.15", -2]
 | |
| 				},
 | |
| 				"head": {
 | |
| 					"rotation": ["5-math.sin(query.anim_time*90*2+45)*0.5", 0, "-math.sin(query.anim_time*90*2/2+180)*1"]
 | |
| 				},
 | |
| 				"hat": {
 | |
| 					"rotation": [10, 0, 0],
 | |
| 					"position": [0, "-math.sin(query.anim_time*90*2+130)*0.3", -0.75]
 | |
| 				},
 | |
| 				"arm_left": {
 | |
| 					"rotation": ["-29.4509+math.sin(query.anim_time*90*2+200)*2", "6.8697+math.sin(query.anim_time*90*2+130)*2", -18.22261]
 | |
| 				},
 | |
| 				"arm_right": {
 | |
| 					"rotation": ["-29.4509+math.sin(query.anim_time*90*2+200)*2", "-6.8697-math.sin(query.anim_time*90*2+130)*2", 18.22261]
 | |
| 				},
 | |
| 				"shell": {
 | |
| 					"position": ["-math.sin(query.anim_time*90*2/2+90)*0.25", 0, 0]
 | |
| 				},
 | |
| 				"shell_left": {
 | |
| 					"position": [0, "0.2+math.sin(query.anim_time*90*2+10)*0.1", 0]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.duosion.ground_walk": {
 | |
| 			"loop": true,
 | |
| 			"bones": {
 | |
| 				"body": {
 | |
| 					"rotation": ["12.5-math.sin(query.anim_time*90*2*1.25+90)*2", 0, 0],
 | |
| 					"position": [0, "4+math.sin(query.anim_time*90*2+90)*0.5", "-math.sin(query.anim_time*90*2+90)*0.75"]
 | |
| 				},
 | |
| 				"torso": {
 | |
| 					"rotation": ["2.5-math.sin(query.anim_time*90*2+90)*0.75", 0, "math.sin(query.anim_time*90*2/2+90)*0.5"],
 | |
| 					"position": ["math.sin(query.anim_time*90*2/2+0)*0.125", "math.sin(query.anim_time*90*2+130)*0.15", 0]
 | |
| 				},
 | |
| 				"head": {
 | |
| 					"rotation": ["-2.5-math.sin(query.anim_time*90*2+45)*0.5", 0, "0-math.sin(query.anim_time*90*2/2+180)*1"],
 | |
| 					"position": [0, -0.25, 0]
 | |
| 				},
 | |
| 				"hat": {
 | |
| 					"rotation": [0, 0, 0],
 | |
| 					"position": [0, "-math.sin(query.anim_time*90*2+130)*0.3", 0]
 | |
| 				},
 | |
| 				"arm_left": {
 | |
| 					"rotation": ["14.8896+math.sin(query.anim_time*90*2+200)*10", "28.785-math.sin(query.anim_time*90*2+130)*3", -12.77533]
 | |
| 				},
 | |
| 				"arm_right": {
 | |
| 					"rotation": ["14.8896+math.sin(query.anim_time*90*2+200)*10", "-28.785-math.sin(query.anim_time*90*2+130)*3", 12.77533]
 | |
| 				},
 | |
| 				"shell": {
 | |
| 					"position": ["-math.sin(query.anim_time*90*2/2+90)*0.25", 0, 0]
 | |
| 				},
 | |
| 				"shell_left": {
 | |
| 					"position": [0, "0.2+math.sin(query.anim_time*90*2+10)*0.1", "0.25+math.sin(query.anim_time*90*2+10)*0.25"]
 | |
| 				},
 | |
| 				"shell_right": {
 | |
| 					"position": [0, "0.2+math.sin(query.anim_time*90*2+10)*0.1", "0.25+math.sin(query.anim_time*90*2+10)*0.25"]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.duosion.blink": {
 | |
| 			"animation_length": 0.16667,
 | |
| 			"bones": {
 | |
| 				"eyelids": {
 | |
| 					"position": {
 | |
| 						"0.0": [0, 0, -1],
 | |
| 						"0.1667": {"pre": [0, 0, -1], "post": [0, 0, 0]}
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |