Currently there is a wow model that I am trying to successfully import and prepare for to use in SC2. I've managed to get it loaded into the SC2 editor with textures. However I am facing a major road block. Basically any time that I try to export it has M3, the timeline, dopesheet, everything on the nla editor and the animations can scrubbed from history. The file is loaded as an FBX file then converted to M3.
This link has the downloadable blend file before it is exported as M3 for anyone who wants to try and see what may be going wrong here. When you try to export this blend file as M3, you will notice the default animations disappear.
The animations might still be there. When you have imported back the modified model with animations back to the SC2 Editor, you need to open up the Cutscene Editor under Modules.
Then, locate the file which you have imported under Cutscene (usually under Files -> Assets), then Add the .m3 file to preview the model.
Next, you will notice the blue bar on the bottom on the Cutscene. This is the model animation timeline, usually Stand animation. Right click on this blue bar, and you will notice there is a change animation option. Click on that, and you will see the list of animations for your model.
If this still doesn't work, perhaps it is an export error. Do check if there is any error messages upon exporting the .m3 model from Blender.
I am going to do another bunch of checks right now. Specifically the issue isn't happening when the model is loaded within the sc2 editor. It is happening while loaded in the editor. Basically this. The moment I export the file as M3, the animations seem to be deleted. When I play them, nothing happens. This all happens within the blender file.
Then which Blender m3addon plugin did you use? Is it the Flo plugin? Just curious by the way. There are a few m3addon plugin version for Blender and the one which works for both importing and exporting .m3 models is currently the Flo's version.
One more thing you need to know is you need to set the Frame Rate to 30 fps under Render or else, the animations won't work.
Oh thank god. I actually figured out what was causing the problem and it has been fixed. I will explain though should anyone run into a similar problem and keep this thread looking for a solution.
I had a look at the m3 animation sequences section and the big thing I failed to do was add animations steps and assign them to existing animations. Once I was able to do that, I could upload the animation and specify them like you stated earlier in the editor. It has become much more clear to me now.