AlbertoHunter Posted October 26, 2020 Share Posted October 26, 2020 Hey there, I love oni and I realized that it is made in Unity while the animations are done in animate. So I was wondering how klei gets the animate files into Unity. I cant find any tool for it and I am about to write my own, but I dont know where to start. Regards, Link to comment Share on other sites More sharing options...
Cairath Posted October 26, 2020 Share Posted October 26, 2020 I think I answered this exact question before - I suggest you head to the modding section and join discord where modders reside (https://discord.gg/EBncbX2) for resources. We have tools we use for getting anims in the game. Link to comment Share on other sites More sharing options...
gabberworld Posted October 26, 2020 Share Posted October 26, 2020 well i don't know but for me they seems using unity animation. so im guessing there is also way somehow make animation at unity engine and import to game Link to comment Share on other sites More sharing options...
Cairath Posted October 26, 2020 Share Posted October 26, 2020 If you don't know -- then you probably should leave the answer to someone who knows. All resources are in the modding section of the ONI discord. Link to comment Share on other sites More sharing options...
gabberworld Posted October 26, 2020 Share Posted October 26, 2020 2 minutes ago, Cairath said: If you don't know -- then you probably should leave the answer to someone who knows. All resources are in the modding section of the ONI discord. there is always possible todo modding different way. that what you use is just one way how todo Link to comment Share on other sites More sharing options...
Akiart Posted October 26, 2020 Share Posted October 26, 2020 I second Cairath, come to the modding Discord. But to give you a short tl;dr: no you cannot put Animate files into the game, we are using Spriter (a free program), and then converting it into .kanim format with a tool made by other modders. The reason being that Adobe files are propietary and converting them isn't really realistically doable. And even if it was easy, noone cares to make a conversion tool for an app most modder artist wouldn't want to pay for. Link to comment Share on other sites More sharing options...
gabberworld Posted October 27, 2020 Share Posted October 27, 2020 5 hours ago, Cairath said: If you don't know -- then you probably should leave the answer to someone who knows. All resources are in the modding section of the ONI discord. public class Patches : MonoBehaviour { GameObject test; private Vector3 mousePosition; public float moveSpeed = 0.1f; public static class Mod_OnLoad { public static void OnLoad() { Debug.Log("Hello world!"); } } [HarmonyPatch(typeof(Game), "OnSpawn")] public class Game_Patch { static void Postfix() { new GameObject(typeof(Patches).FullName, typeof(Patches)); } } [HarmonyPatch(typeof(MainMenu), "OnSpawn")] public class MainMenu_Patch { static void Postfix() { } } private void Update() { // if (Input.GetMouseButton(1)) { mousePosition = Input.mousePosition; mousePosition = Camera.main.ScreenToWorldPoint(mousePosition); test.transform.position = Vector2.Lerp(test.transform.position, mousePosition, moveSpeed); } } private void Start() { // Debug.Log("Start!"); test = GameObject.CreatePrimitive(PrimitiveType.Cube); test.transform.position = new Vector3(0, 0, 0); } private void OnGUI() { if (GUILayout.Button("Press Me")) Debug.Log("Hello!"); } } i not tell how to add animation but you may try this out for fun and maybe it open some eyes Link to comment Share on other sites More sharing options...
Cairath Posted October 27, 2020 Share Posted October 27, 2020 I'm not sure what you're trying to prove, or how this is relevant since it does not answer the question at all.. The author has been pointed to where resources are. Link to comment Share on other sites More sharing options...
AzeTheGreat Posted October 27, 2020 Share Posted October 27, 2020 Congratulations, you added a cube. Sick animation man. Can you animate my next mod? You should probably remove the unrelated debug code from your "example". It being there makes it incredibly obvious that you can't even quickly identify what is relevant (though calling spawning a cube relevant to animation is a hard stretch already...), and that you don't know what you're doing. Link to comment Share on other sites More sharing options...
gabberworld Posted October 27, 2020 Share Posted October 27, 2020 10 minutes ago, AzeTheGreat said: Congratulations, you added a cube. Sick animation man. Can you animate my next mod? You should probably remove the unrelated debug code from your "example". It being there makes it incredibly obvious that you can't even quickly identify what is relevant (though calling spawning a cube relevant to animation is a hard stretch already...), and that you don't know what you're doing. yeah i added cube but what it does you not actually tell Link to comment Share on other sites More sharing options...
Akiart Posted October 27, 2020 Share Posted October 27, 2020 46 minutes ago, gabberworld said: i not tell how to add animation but you may try this out for fun and maybe it open some eyes Well the original question was about animation, and specifically the type Klei creates with Animate. I'm all for finding new ways to do things and experimentation, but please look at what the community discovered so far before you take a shot in the dark and present it as an example to someone asking for help. There are really easy ways to create animations that dont even require any coding and are way simpler to get into for a new modder. Link to comment Share on other sites More sharing options...
gabberworld Posted October 27, 2020 Share Posted October 27, 2020 16 minutes ago, Akiart said: Well the original question was about animation, and specifically the type Klei creates with Animate. I'm all for finding new ways to do things and experimentation, but please look at what the community discovered so far before you take a shot in the dark and present it as an example to someone asking for help. There are really easy ways to create animations that dont even require any coding and are way simpler to get into for a new modder. Cairath already answered for him the question how to add, i just continue the conversation. had to say this forum is very weird Link to comment Share on other sites More sharing options...
AlbertoHunter Posted October 27, 2020 Author Share Posted October 27, 2020 14 hours ago, AlbertoHunter said: Hey there, I love oni and I realized that it is made in Unity while the animations are done in animate. So I was wondering how klei gets the animate files into Unity. I cant find any tool for it and I am about to write my own, but I dont know where to start.appvalley tutuapp tweakbox Regards, issue got slved!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.