The 3rd Age

Wars of the East

Wars of the East

A mod for RotWK that adds new factions, units, heroes, stuctures, powers and more.

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Hiding/Uhiding meshes during animations

Tutorial for Battle for Middle-earth BFME, Battle for Middle-earth II BFME 2, Battle for Middle-earth II: Rise of the Witch-king ROTWK

Avatar of cahik_

cahik_

Category: Graphics
Level: Intermediate
Created: Friday September 14, 2007 - 2:40
Updated: Saturday June 27, 2009 - 19:13
Views: 4725
Summary: It shows how you can hide/unhide things like arrows do on EA's anims

Rating

Staff says

3.8

Members say

4.5

Average

4.0/5.0

8 votes

Page 1 2
So now lets take a look at practical use of that. I move to frame no. 5 and set the visibility to zero.

User image

But that means that the arrow will slowly change his opacity from 1 on frame no.1 to 0 on frame no.50. With that he will be half visible at frame no.25 but i dont want that. I want it to be fully visible during the 49 frames and then suddenly dissapear. So i go to frame no.49 and set the visibily to 1.

User image

Now it is allright. Since the javelin is visible to frame no.49 and then dissapear.

Then i want it to appear at frame no.80. So i will set the visibility at this frame to 1. To avoid the same problem as in previous case i need to set up visibili on previous frame to 0.

User image

User image

Basicly this is all that you need to do. Now you can export the skeleton, model and its anims. But there few problems that you can encouter during animating process.

If you want to see my result. Take a look there

One of those problems can be that your mesh has pivot out of its centre of gravity or completly out of the model itself. If you want to fix this the screenshot below shows you how you can edit the pivot for mesh. Remember that the pivot of the mesh will be place where the bone will be putted later so think before you place it.

User image

If you want to edit existing model that uses this hiding system ( i will take a gondor archer as a example here ) in case that you import model you will not see anything special here. You only set the right export setting for ARROWNOCK and FIREAROWTIP and you can make new anims directly. If you want to edit some existing anim you need those two meshes with correct settings. Then import anim and delete bones with names ARROWNOCK and FIREAROWTIP. Then you can normally animate those meshes, set their visibility and do whatever you want with them.

If you later want to rigg new model to the skeleton that uses hiding objects you need to do the same things that you normally do with arrows. Before rigging you need to remove bone that should control this object. In my case its name would be SPEAR cause that was name of that mesh when i was exporting it. Name of mesh that i want to act like that spear needs to be the same as name of that bone that you delete. Ie. i will have pitchfork thrower based on that anim and skeleton that i made. So i import the model and my skeleton. I will delete bone SPEAR and set name of pitchfork mesh to SPEAR, then set its export settings to what you can see on first image and then i can export it.

That should be all concerning this problem. Feel free to ask questions, i will try to answer all of them.

Comments

Display order: Newest first

{IP}Sauron - Saturday September 15, 2007 - 14:12

Nice! That is really Awesome!

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
10:26:37