• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Editing Model Rotation Messing Up Animation

Status
Not open for further replies.
Level 10
Joined
Sep 25, 2013
Messages
521
Hello. I know next to nothing about model editing. I was rotating some gate models so i could have vertical and other diagonal versions for buildings in my map and I ran into a problem.

I rotated this gate:
upload_2021-1-21_14-53-48.png


But its animations are screwed up now.
For example here is the death alternate now:

upload_2021-1-21_14-55-35.png


Is there a way I can fix this so the animations are also rotated with the model?

And on a side note, I would actually pay someone if they would take the wc3 gates and make the vertical and diagonal versions with proper animations. No one uploads these models i guess because theyre deemed to simple of edits, but there are about 100 threads of people requesting these models so it would save everyone a lot of effort if they were just uploaded for their sheer usefulness. Its dumb to not allow models to be uploaded because they arent custom, if they're are useful, they're good to me.

Anyways, thank you

EDIT: I tried using Reteras editor. I managed to rotate the model and have it be a bit better than before, but still not what Im looking for. The gate opens with the correct orientation now, but the the death animation is still screwed up. I tried selecting all bones, nodes, etc and rotating 90 degrees but it messes up the death animation.

upload_2021-1-21_15-40-14.png
 
Last edited:
Level 21
Joined
May 29, 2013
Messages
1,567
Open the standard gate model with Magos' War3 Model Editor; go to Windows > Global Sequence Manager; right-click anywhere and select Create New; set the duration to 0 and click OK; go to Windows > Node manager; right-click anywhere and select Create Helper; make all existing nodes the "children" of the helper you created by selecting move up/left/right from the right-click menu; your helper should be in the top left corner of the node hierarchy; when you're done right-click the helper and select Edit Node > Rotation; you will see a line of code that represents no rotation; it looks like this:
0: { 0, 0, 0, 1 }
Change the values in the curly brackets depending on the desired angle and direction of rotation:
45°:
0: { 0, 0, 0.38268, 0.92388 }
-45°:
0: { 0, 0, -0.38268, 0.92388 }
90°:
0: { 0, 0, 0.707107, 0.707107 }
-90°:
0: { 0, 0, 0.707107, -0.707107 }

Set the Global Sequence ID at the bottom of the window to the one that you created; click OK, and you're done.
 
Last edited:
Level 10
Joined
Sep 25, 2013
Messages
521
Open the standard gate model with Magos' War3 Model Editor; go to Windows > Global Sequence Manager; right-click anywhere and select Create New; set the duration to 0 and click OK; go to Windows > Node manager; right-click anywhere and select Create Helper; make all existing nodes the "children" of the helper you created by selecting move up/left/right from the right-click menu; your helper should be in the top right corner of the node hierarchy; when you're done right-click the helper and select Edit Node > Rotation; you will see a line of code that represents no rotation; it looks like this:
0: { 0, 0, 0, 1 }
Change the two values in the curly brackets depending on the desired angle and direction of the rotation:
45°:
0: { 0, 0, 0.38268, 0.92388 }
-45°:
0: { 0, 0, -0.38268, 0.92388 }
90°:
0: { 0, 0, 0.707107, 0.707107 }
-90°:
0: { 0, 0, 0.707107, -0.707107 }

Set the Global Sequence ID at the bottom of the window to the one that you created; click OK, and you're done.

Thank you, im going to give this a try and tell u how it goes.
 
Level 10
Joined
Sep 25, 2013
Messages
521
Open the standard gate model with Magos' War3 Model Editor; go to Windows > Global Sequence Manager; right-click anywhere and select Create New; set the duration to 0 and click OK; go to Windows > Node manager; right-click anywhere and select Create Helper; make all existing nodes the "children" of the helper you created by selecting move up/left/right from the right-click menu; your helper should be in the top right corner of the node hierarchy; when you're done right-click the helper and select Edit Node > Rotation; you will see a line of code that represents no rotation; it looks like this:
0: { 0, 0, 0, 1 }
Change the two values in the curly brackets depending on the desired angle and direction of the rotation:
45°:
0: { 0, 0, 0.38268, 0.92388 }
-45°:
0: { 0, 0, -0.38268, 0.92388 }
90°:
0: { 0, 0, 0.707107, 0.707107 }
-90°:
0: { 0, 0, 0.707107, -0.707107 }

Set the Global Sequence ID at the bottom of the window to the one that you created; click OK, and you're done.


Oh wow, it worked! I would have never guess about those seemingly random numbers if u hadn't told me. I tested one model, now i gotta do the rest!

EDIT: Actually there is still one problem. When I use a trigger to open the gate (I do this by replacing the gate with another gate which has no pathing and tell the replaced gate to do the death alternate animation) it does a little spin. I'll have to make a video to show you


And heres the model.
 

Attachments

  • IronGate135(2).mdx
    28.4 KB · Views: 22
Last edited:
Status
Not open for further replies.
Top