356 lines
		
	
	
		
			9.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			356 lines
		
	
	
		
			9.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"format_version": "1.8.0",
 | |
| 	"animations": {
 | |
| 		"animation.palafin.water_idle": {
 | |
| 			"loop": true,
 | |
| 			"animation_length": 2,
 | |
| 			"bones": {
 | |
| 				"bone2": {
 | |
| 					"rotation": ["-math.clamp(math.sin(q.anim_time*90*2)*2,0,2)-math.clamp(math.sin(q.anim_time*90*2)*2,-2,0)", 0, 0],
 | |
| 					"position": [0, "-math.clamp(math.sin(q.anim_time*90*2-45)*0.25,0,5)-math.clamp(math.sin(q.anim_time*90*2-45)*0.5,-3,0)-0.5", 0]
 | |
| 				},
 | |
| 				"back_tail": {
 | |
| 					"rotation": ["0+math.cos(query.anim_time*90*2)*8", 0, 0]
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": ["-12.5+math.cos((query.anim_time)*90*2-120)*15", 0, 0]
 | |
| 				},
 | |
| 				"fin_left": {
 | |
| 					"rotation": [
 | |
| 						"-5.6312+math.clamp(math.sin(q.anim_time*90*1+180)*8,0,10)-math.clamp(math.sin(q.anim_time*90*1+180)*8,-10,0)+math.clamp(math.sin(q.anim_time*90*2+180)*4,-10,0)",
 | |
| 						"-18.2772+math.clamp(math.sin(q.anim_time*90*2+45+180)*10,10,20)-math.clamp(math.sin(q.anim_time*90*1)*15,0,20)-math.clamp(math.sin(q.anim_time*90*1+180)*15,0,20)",
 | |
| 						"34.4081-math.clamp(math.sin(q.anim_time*90*2-10+180)*40,0,50)+math.clamp(math.sin(q.anim_time*90*2+5)*20,-10,20)-math.clamp(math.sin(q.anim_time*90*2+180)*15,-10,0)"
 | |
| 					],
 | |
| 					"position": [-0.325, 0.075, -0.125]
 | |
| 				},
 | |
| 				"bone4": {
 | |
| 					"rotation": [
 | |
| 						0,
 | |
| 						0,
 | |
| 						"math.clamp(math.sin(q.anim_time*90*2-45+180)*5,0,200)+math.clamp(math.sin(q.anim_time*90*2)*10,0,8)-math.clamp(math.sin(q.anim_time*90*2-45+180)*25,-20,15)"
 | |
| 					]
 | |
| 				},
 | |
| 				"fin_right": {
 | |
| 					"rotation": [
 | |
| 						"math.clamp(math.sin(q.anim_time*90*1+180)*8,0,10)-math.clamp(math.sin(q.anim_time*90*1+180)*8,-10,0)+math.clamp(math.sin(q.anim_time*90*2+180)*4,-10,0)",
 | |
| 						"17.5-math.clamp(math.sin(q.anim_time*90*2+45+180)*10,10,20)+math.clamp(math.sin(q.anim_time*90*1)*15,0,20)+math.clamp(math.sin(q.anim_time*90*1+180)*15,0,20)",
 | |
| 						"-27.5+math.clamp(math.sin(q.anim_time*90*2-10+180)*40,0,200)-math.clamp(math.sin(q.anim_time*90*2+5)*20,-10,20)+math.clamp(math.sin(q.anim_time*90*2+180)*15,-10,0)"
 | |
| 					],
 | |
| 					"position": [0.55, 0.2, -0.125]
 | |
| 				},
 | |
| 				"bone3": {
 | |
| 					"rotation": [
 | |
| 						0,
 | |
| 						0,
 | |
| 						"-math.clamp(math.sin(q.anim_time*90*2-45+180)*5,0,200)-math.clamp(math.sin(q.anim_time*90*2)*10,0,8)+math.clamp(math.sin(q.anim_time*90*2-45+180)*25,-20,15)"
 | |
| 					]
 | |
| 				},
 | |
| 				"bone6": {
 | |
| 					"rotation": ["0+math.cos((query.anim_time)*90*2-90)*10", 0, 0]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.palafin.water_swim": {
 | |
| 			"loop": true,
 | |
| 			"animation_length": 1,
 | |
| 			"bones": {
 | |
| 				"body": {
 | |
| 					"rotation": ["math.cos(q.anim_time*90*4)*20", 0, 0],
 | |
| 					"position": [0, "math.cos(q.anim_time*90*4+90)*3", 0]
 | |
| 				},
 | |
| 				"fin_left": {
 | |
| 					"rotation": [0, 0, "-math.cos(q.anim_time*90*4)*20"]
 | |
| 				},
 | |
| 				"bone4": {
 | |
| 					"rotation": [0, 0, "-math.cos(q.anim_time*90*4-90)*20"]
 | |
| 				},
 | |
| 				"fin_right": {
 | |
| 					"rotation": [0, 0, "math.cos(q.anim_time*90*4)*20"]
 | |
| 				},
 | |
| 				"bone3": {
 | |
| 					"rotation": [0, 0, "math.cos(q.anim_time*90*4-90)*20"]
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": ["math.cos(q.anim_time*90*4-90)*20", 0, 0]
 | |
| 				},
 | |
| 				"bone6": {
 | |
| 					"rotation": ["math.cos(q.anim_time*90*4-180)*25", 0, 0]
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": ["-10+math.cos(q.anim_time*90*4-180+90)*30", 0, 0]
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.palafin.quirk": {
 | |
| 			"animation_length": 2,
 | |
| 			"bones": {
 | |
| 				"body": {
 | |
| 					"rotation": {
 | |
| 						"0.0": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.25": {
 | |
| 							"post": [-37.5, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.75": {
 | |
| 							"post": [360, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.1667": {
 | |
| 							"post": [380, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.375": {
 | |
| 							"post": [360, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					},
 | |
| 					"position": {
 | |
| 						"0.0": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.125": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.25": {
 | |
| 							"post": [0, 7, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.0833": {
 | |
| 							"post": [0, 7, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.25": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.6667": {
 | |
| 							"post": [0, -1.38, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"2.0": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					}
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": {
 | |
| 						"0.25": {
 | |
| 							"pre": [0, 0, 0],
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.3333": {
 | |
| 							"post": [-45, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.75": {
 | |
| 							"post": [-45, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.9167": {
 | |
| 							"post": [57.5, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.25": {
 | |
| 							"post": [57.5, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.3333": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					},
 | |
| 					"position": {
 | |
| 						"0.75": {
 | |
| 							"pre": [0, 0, 0],
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.9167": {
 | |
| 							"post": [0, 1, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.25": {
 | |
| 							"post": [0, 1, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.3333": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					}
 | |
| 				},
 | |
| 				"bone6": {
 | |
| 					"rotation": {
 | |
| 						"0.3333": {
 | |
| 							"pre": [0, 0, 0],
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.4167": {
 | |
| 							"post": [-45, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.9167": {
 | |
| 							"post": [-45, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.0": {
 | |
| 							"post": [15, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.3333": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					}
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": {
 | |
| 						"0.4167": {
 | |
| 							"pre": [0, 0, 0],
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.5": {
 | |
| 							"post": [-45, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.0": {
 | |
| 							"post": [-45, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.0833": {
 | |
| 							"post": [27.5, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.4167": {
 | |
| 							"post": [27.5, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.5": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					},
 | |
| 					"position": {
 | |
| 						"1.0833": {
 | |
| 							"pre": [0, 0, 0],
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"1.1667": {
 | |
| 							"post": [0, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						}
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		},
 | |
| 		"animation.palafin.faint": {
 | |
| 			"loop": true,
 | |
| 			"animation_length": 3,
 | |
| 			"bones": {
 | |
| 				"body": {
 | |
| 					"rotation": {
 | |
| 						"0.0": [0, 0, 0],
 | |
| 						"0.0417": {
 | |
| 							"pre": [-15, 0, 0],
 | |
| 							"post": [-15, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.25": {
 | |
| 							"post": [-15, 0, 0],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.5833": {
 | |
| 							"post": [0, 0, 90],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.625": [0, 0, 90],
 | |
| 						"0.875": ["math.cos(q.anim_time*90*4*4+90)*20+q.anim_time*90*2*1", 0, 90],
 | |
| 						"1.5": ["math.cos(q.anim_time*90*4*4+90)*20+q.anim_time*90*2*1", 0, 90],
 | |
| 						"1.75": [0, 0, 90]
 | |
| 					},
 | |
| 					"position": {
 | |
| 						"0.0": [0, 0, 0],
 | |
| 						"0.0417": {
 | |
| 							"pre": [0, 2, 5],
 | |
| 							"post": [0, 2, 5],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.25": {
 | |
| 							"post": [0, 2, 5],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.5833": {
 | |
| 							"post": [0, 0, 5],
 | |
| 							"lerp_mode": "catmullrom"
 | |
| 						},
 | |
| 						"0.875": ["math.cos(q.anim_time*90*2)*5", 0, "5+math.cos(q.anim_time*90*2+90)*5"],
 | |
| 						"1.5": ["math.cos(q.anim_time*90*2)*5", 0, "5+math.cos(q.anim_time*90*2+90)*5"],
 | |
| 						"1.75": [0, 0, 5]
 | |
| 					}
 | |
| 				},
 | |
| 				"fin_left": {
 | |
| 					"rotation": {
 | |
| 						"0.25": [0, 0, 0],
 | |
| 						"0.375": [0, 0, -67.5],
 | |
| 						"0.625": [0, 0, 0],
 | |
| 						"0.875": [0, 0, 25],
 | |
| 						"1.5": [0, 0, 25],
 | |
| 						"1.625": [0, 0, 87.5],
 | |
| 						"1.75": [0, 0, 25]
 | |
| 					}
 | |
| 				},
 | |
| 				"fin_right": {
 | |
| 					"rotation": {
 | |
| 						"0.25": [0, 0, 0],
 | |
| 						"0.375": [0, 0, -67.5],
 | |
| 						"0.625": [0, 0, 0],
 | |
| 						"0.875": [0, 0, -92.5]
 | |
| 					}
 | |
| 				},
 | |
| 				"bone3": {
 | |
| 					"rotation": {
 | |
| 						"0.875": [0, 0, 0],
 | |
| 						"0.9583": [0, 0, -60]
 | |
| 					}
 | |
| 				},
 | |
| 				"bone5": {
 | |
| 					"rotation": {
 | |
| 						"0.625": [0, 0, 0],
 | |
| 						"0.875": ["math.cos(q.anim_time*90*4*4)*20", 0, 0],
 | |
| 						"1.5": ["math.cos(q.anim_time*90*4*4)*20", 0, 0],
 | |
| 						"1.5417": [38.33, 0, 0],
 | |
| 						"1.75": [0, 0, 0]
 | |
| 					}
 | |
| 				},
 | |
| 				"bone6": {
 | |
| 					"rotation": {
 | |
| 						"0.625": [0, 0, 0],
 | |
| 						"0.875": ["math.cos(q.anim_time*90*4*4-90)*20", 0, 0],
 | |
| 						"1.5": ["math.cos(q.anim_time*90*4*4-90)*20", 0, 0],
 | |
| 						"1.5417": [39.43, 0, 0],
 | |
| 						"1.75": [0, 0, 0]
 | |
| 					}
 | |
| 				},
 | |
| 				"bone": {
 | |
| 					"rotation": {
 | |
| 						"0.625": [0, 0, 0],
 | |
| 						"0.875": ["math.cos(q.anim_time*90*4*4-120)*20", 0, 0],
 | |
| 						"1.5": ["math.cos(q.anim_time*90*4*4-120)*20", 0, 0],
 | |
| 						"1.5417": [38.33, 0, 0],
 | |
| 						"1.75": [0, 0, 0]
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |