TheWhitePhoenix Posted October 19, 2016 Share Posted October 19, 2016 I was wondering if it was possible to take specific animations with Blender and combine them into one GLA for custom animations. Link to comment
Ramikad Posted October 19, 2016 Share Posted October 19, 2016 I was wondering if it was possible to take specific animations with Blender and combine them into one GLA for custom animations. If you mean importing animations, you have the option to select an animation frame range when importing a .glm model. You can then re-export them as a new .gla, making sure the skeleton is set up correctly during the export, and merge everything up. TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted October 19, 2016 Author Share Posted October 19, 2016 If you mean importing animations, you have the option to select an animation frame range when importing a .glm model. You can then re-export them as a new .gla, making sure the skeleton is set up correctly during the export, and merge everything up.Nice. Cause there's specific animations from the Kotor Stances, MD2 Stances and a few other stance mods that I want to combine into one GLA. BTW, how can I select the animation frame? Link to comment
Ramikad Posted October 19, 2016 Share Posted October 19, 2016 When importing a .glm model in Blender, you are offered a number of options on the left side of the screen, under Import JA Ghoul 2 Model (.glm): you can choose its Skin (defaulted to default, or you can let the importer Guess Textures), Base Path, .gla override, Scale, skeleton changes, and ultimately animations: here you can pick between None, All and Range. If you select Range, you can also set the Start frame and the number of frames. Link to comment
TheWhitePhoenix Posted October 19, 2016 Author Share Posted October 19, 2016 When importing a .glm model in Blender, you are offered a number of options on the left side of the screen, under Import JA Ghoul 2 Model (.glm): you can choose its Skin (defaulted to default, or you can let the importer Guess Textures), Base Path, .gla override, Scale, skeleton changes, and ultimately animations: here you can pick between None, All and Range. If you select Range, you can also set the Start frame and the number of frames.So, say I want to select the frames of the saber stances of Katanamaru's DF2 Stances he used for the unfortunately in limbo MOTS Mod, then when I import the model, I also import those specific frames precisely? Link to comment
Ramikad Posted October 19, 2016 Share Posted October 19, 2016 You should be able to, provided that you point the importer to the correct modified _humanoid.gla which contains the new animations. Link to comment
TheWhitePhoenix Posted October 19, 2016 Author Share Posted October 19, 2016 You should be able to, provided that you point the importer to the correct modified _humanoid.gla which contains the new animations.Once my new custom Gla is done, can I import/export it like a glm? Link to comment
Ramikad Posted October 19, 2016 Share Posted October 19, 2016 Yes. TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted October 19, 2016 Author Share Posted October 19, 2016 Yes.I'll give it a go, Ramikad. Link to comment
TheWhitePhoenix Posted October 19, 2016 Author Share Posted October 19, 2016 @@Ramikad Okay, I did import one of the frames I wanted, but now I'm a bit confused. I don't know whether to export it directly as that might not do any good. Link to comment
Ramikad Posted October 20, 2016 Share Posted October 20, 2016 @@Ramikad Okay, I did import one of the frames I wanted, but now I'm a bit confused. I don't know whether to export it directly as that might not do any good. You can export that single animation as a .gla and merge it with a new _humanoid.gla - rinse and repeat. That's the plan, isn't it? TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted October 20, 2016 Author Share Posted October 20, 2016 You can export that single animation as a .gla and merge it with a new _humanoid.gla - rinse and repeat. That's the plan, isn't it?Yes it is. How do I merge the gla files? Can I do that with Blender too? Link to comment
Ramikad Posted October 20, 2016 Share Posted October 20, 2016 Yes it is. How do I merge the gla files? Can I do that with Blender too? Doubt it. Use GLAMerge instead, and add the new .gla animations to the base _humanoid.gla. Link to comment
TheWhitePhoenix Posted October 20, 2016 Author Share Posted October 20, 2016 Doubt it. Use GLAMerge instead, and add the new .gla animations to the base _humanoid.gla.Okay, so do I have to have them in the base folder for it to work? Link to comment
Ramikad Posted October 20, 2016 Share Posted October 20, 2016 Okay, so do I have to have them in the base folder for it to work? Not necessarily, just put them in the same folder as the program, create a .bat to merge them and run it. Link to comment
TheWhitePhoenix Posted October 20, 2016 Author Share Posted October 20, 2016 Not necessarily, just put them in the same folder as the program, create a .bat to merge them and run it.OH! Should I name the .bat anything specific? Sorry for all the questions, I just wanna get this 100% right since this is my first time merging animations. Link to comment
Solution Ramikad Posted October 20, 2016 Solution Share Posted October 20, 2016 OH! Should I name the .bat anything specific? Sorry for all the questions, I just wanna get this 100% right since this is my first time merging animations. Nope. Name it whatever you want, and it should run this code: @[member='Echo'] OFF "glamerge.exe" "_humanoid.gla" "<new animations>.gla" -o PAUSE EXIT Input a name for the newly created .gla and you're good to go. You can keep merging on that new .gla, and stuff all the animations you want (until you hit a limit, but considering my merges it isn't near). TheWhitePhoenix likes this Link to comment
Langerd Posted October 20, 2016 Share Posted October 20, 2016 Nope. Name it whatever you want, and it should run this code: @[member='Echo'] OFF "glamerge.exe" "_humanoid.gla" "<new animations>.gla" -o PAUSE EXIT Input a name for the newly created .gla and you're good to go. You can keep merging on that new .gla, and stuff all the animations you want (until you hit a limit, but considering my merges it isn't near).It worked for me but to be honest it is hard to understand as first... when using these new animations we must have on our minds that the frames that we added are after the last one of the original _humanoid TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted October 20, 2016 Author Share Posted October 20, 2016 Nope. Name it whatever you want, and it should run this code: @[member='Echo'] OFF "glamerge.exe" "_humanoid.gla" "<new animations>.gla" -o PAUSE EXIT Input a name for the newly created .gla and you're good to go. You can keep merging on that new .gla, and stuff all the animations you want (until you hit a limit, but considering my merges it isn't near).It WORKED! I just needed to use 2 frames instead of one while importing in order to merge successfully! Ramikad likes this Link to comment
TheWhitePhoenix Posted October 20, 2016 Author Share Posted October 20, 2016 One last thing, @@Ramikad. If I wanted to import an animation that has moving sequences, all I have to do is set the proper amount of frames when I import it, correct? Also, you mentioned the limit of a gla. So I want to know what the limit is. Link to comment
Ramikad Posted October 21, 2016 Share Posted October 21, 2016 One last thing, @@Ramikad. If I wanted to import an animation that has moving sequences, all I have to do is set the proper amount of frames when I import it, correct? Also, you mentioned the limit of a gla. So I want to know what the limit is. Yep.Not sure what the limit is, but I think it's above anything you may want to merge - I merged animations for a total of thousands of frames, and had no problems. TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted October 21, 2016 Author Share Posted October 21, 2016 Yep.Not sure what the limit is, but I think it's above anything you may want to merge - I merged animations for a total of thousands of frames, and had no problems.Plus, that makes WAYYYYY TOO BIG of a GLA file if you go over a certain limit. Plus the file size. :/ Anyways, that's perfect. Link to comment
TheWhitePhoenix Posted May 17, 2018 Author Share Posted May 17, 2018 I know this post is almost two years old, but I thought I'd leave this post here for anyone who wants to make custom animations with Blender. THIS IS IMPORTANT! When exporting animations, make sure the gla name and reference is set to models/players/_humanoid/_humanoid. Otherwise when you merge the animations with the humanoid skeleton, it can get screwed up. DON'T FORGET THAT DETAIL. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now