Monday, November 25, 2013

Setup Actions

So I'm running slightly behind.
I was supposed to have the terrain done.  That won't take long though, so I'll be caught up today.
Let me tell you about my modeling woes.

Where should I start?
David.
David's rigging system is setup through MakeHuman, so accessing the bones to weight paint is complicated.  I used an alternative route of duplicating his mesh to extend past his body and then using that to deform the clothes. Here's the tutorial for that

http://www.youtube.com/watch?v=BucNKZuO6z8&list=FLYWkLjPlHSn6kn4uMzTpP1w&index=7

Do I recommend this technique?
No.
It's better to save your character without clothes.
Then have a separate file with the clothes joined and then weight paint.
When polygon count is high this technique will lock up blender and cause you to do this...

Either way for unity you set up his animation by using the action editor.
He has 7 actions setup in blender, let's hope it transitions well to Unity.
  • Attack with Slingshot (PITA I had to do this 1 frame @ a time)
  • Attack with Staff (Same problem)
  • David Heal - This became a serious time delay where I realized that using MakeHuman's rig plus the deformer technique was going to be a serious problem. David couldn't bend and have his clothes deform properly.  One day I'll redo the whole thing, but there's no time. This animation is so lame.
  • David Lookout - Just David standing watch
  • David Run
  • David Walk
                                                                                                                                                            

Next the sheep. The model I got online.  Remember how I said getting free models did  not always mean simplicity. 
Most of the time I spent with the sheep was on research. I do a lot of research for all my characters.
The problem came after I decided to  make the lamb look like a sheep by adding wool.
Nice huh? 
Well...  apparently you cant import fur or hair into Unity via fbx file.
The most I could find out was that the hair has to ported over as a separate mesh.
I haven't attempted it yet.  There was a suggestion to download
Hair Factory 1.0 by MajorNightmare
http://www.blendswap.com/blends/view/48987
I think he named himself this when he found out he couldn't port his hair into a gaming program, realized he would have to create a program to do so... bet that was a major nightmare!
With my luck their webpage was having issues, so you couldn't register for free or paid.  You just couldn't log in.  You can't download if not logged in. It finally came back up on Sunday.
So I haven't tried it yet. 

Otherwise, the sheep actions are setup.
  • trot
  • grazing
  • collapse
  • stand

                                                                                                                                                            


Alas, the leopard.  Let me just put it this way, I should've just redid the lion.
First of all the model is mediocre.  It looked presentable at first.  But the original modeler did not join the mirrored mesh.  I couldn't tell until I went to UV texture map him with problems up the ying yang.
Based on this pic, you're probably thinking I'm nuts because he looks good.  The reason I say the model is mediocre is because the modeler didn't pay close attention to the shape of the animal, especially around the haunches. When the leopard run his body doesn't expand correctly.  He looks like Garfield the Jaguar running out for more food.  

Was that the only problem with the leopard?  No.
I decided to use the leopard as backup after the lion incident since tigers are not in that region.
In the game I originally wanted to use lions, wild dogs, or hyenas. (And will do so eventually.)
Part of me was hesitant on using the leopard, but I couldn't place why.  After researching Jaguar movement I soon discovered why.

Leopards are solitary cats.  In the game there will be points when several leopards run out to attack the sheep. Leopards don't hunt in packs like my first choices.

Leopards are the only cat that use gravity to assist with killing.  They climb 20-30 feet up in a tree and then pounce on their victim to bring them down. Then grab them by the throat for the kill.
Splendid video here.


They do blend well within the brush, which is a plus for the game. 
I considered for a moment coloring him as a mountain lion.  Unfortunately, mountain lions are specific to the Americas.

He has the following actions setup:
  • run
  • attack
  • cower








No comments:

Post a Comment