this is as close as you're able to link npc animations to skeletons, believe me i've tried but 317 frame maps are awful... every npcs attack, block, walk, death should be included at the minimum... this should also work for any < 317 servers that need data as it wasn't changed until the 400s (414 graphic overhaul)
anims.toml
what you're downloading:
Code:[0]
walkanim=819
standanim=808
models=[162,176,185,217,246,254,292,320]
anims=[13,14,15,346,347,363,364,365,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,451,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,618,619,620,621,622,623,624,625,626,627,628,629,642,644,645,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,904,905,906,908,909,910,911,915,916,918,919,920,921,923,929,931,1026,1056,1057,1058,1060,1062,1064,1067,1068,1074,1077,1078,1084,1100,1105,1106,1110,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1128,1129,1130,1131,1137,1144,1145,1146,1147,1148,1156,1157,1161,1162,1163,1164,1165,1166,1167,1168,1169,1191,1192,1193,1194,1195,1196,1203,1205,1206,1207,1208,1209,1210,1236,1237,1238,1239,1240,1241,1248,1249,1252,1258,1263,1264,1265,1266,1267,1268,1275,1280,1306,1307,1309,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1335,1336,1337,1350,1351,1352,1353,1354,1363,1364,1365,1366,1367,1368,1369,1370,1371,1374,1375,1379,1407,1408,1409,1421,1422,1423,1424,1425,1426,1427,1428,1429,1440,1441,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1481,1482,1483,1484,1485,1486,1487,1499,1500,1501,1502,1539,1540,1541,1542,1572,1574,1576,1601,1602,1603,1604,1605,1606,1633,1634,1648,1649,1650,1651,1652,1654,1655,1656,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1670,1671,1672,1673,1728,1739,1740,1743,1744,1745,1746,1755,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1809,1810,1811,1816,1818,1819,1820,1830,1831,1832,1833,1834,1835,1836,1837,1850,1851,1852,1871,1872,1877,1878,1879,1880,1894,1895,1897,1902,1903,1904,1905,1906,1907,1914,1950,1952,1953,1954,1955,1972,1978,1979,1989,1992,1993,1994,1995,1996,2009,2010,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2074,2075,2076,2077,2078,2079,2080,2081,2082,2092,2093,2094,2095,2096,2097,2098,2105,2106,2107,2108,2109,2110,2111,2112,2113,2127,2128,2139,2140,2141,2142,2143,2144,2145,2146,2147,2148,2149,2163,2164,2171,2239,2240,2241,2242,2243,2244,2245,2246,2247,2248,2249,2250,2251,2252,2253,2254,2255,2256,2257,2258,2259]
dont flame code ok but if u do be niceCode:(0 until npcs.getCount()).toList().parallelStream().forEachOrdered { id ->
val npc_ = npcs.getNpc(id)
val primaries: IntArray = anims.getAnimation(npc_.standAnimation!!).primaryAnimations ?: intArrayOf(0)
val testGroup: Array<IntArray?>? = skeletons.lookup(primaries[0])?.getFrameMap()?.groups
val linked: MutableSet<Int> = mutableSetOf()
(0 until anims.getCount()).forEach { anim ->
val animGroups = skeletons.lookup(anims.getAnimation(anim).primaryAnimations!![0])?.getFrameMap()?.groups
if (animGroups contentDeepEquals testGroup) {
linked.add(anim)
}
}
}