Blender: Rig for standard male NPC: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
=='''Lets begin'''==
=='''Lets begin'''==


# * On layers 1, 6, 7, 8 there are different character models. On layer 3 there is a rig imported from the game. It looks like this:
* On layers 1, 6, 7, 8 there are different character models. On layer 3 there is a rig imported from the game. It looks like this:


[[File:Blender_rig_02.png]]
[[File:Blender_rig_02.png]]


# It's very difficult to animate so I made second rig, which you can find on layer 2:
* It's very difficult to animate so I made second rig, which you can find on layer 2:


[[File:Blender_rig_03.png]]
[[File:Blender_rig_03.png]]


# It's the same bones as the game model plus many more bones. Use this rig to make animations. Rig from layer 3 will automatically copy all of its movements. To make it more tidy I hid most bones (you can still see them in edit mode). I also created custom models for some of the bones (those models are stored on other layer). This is how it looks with custom bone shapes:
* It's the same bones as the game model plus many more bones. Use this rig to make animations. Rig from layer 3 will automatically copy all of its movements. To make it more tidy I hid most bones (you can still see them in edit mode). I also created custom models for some of the bones (those models are stored on other layer). This is how it looks with custom bone shapes:


[[File:Blender_rig_04.png]]
[[File:Blender_rig_04.png]]


# Use round bones to position hands (I will post here animated gifs; open them to see animations):
* Use round bones to position hands (I will post here animated gifs; open them to see animations):


[[File:Blender_rig_05.gif]]
[[File:Blender_rig_05.gif]]
Line 30: Line 30:
[[File:Blender_rig_06.gif]]
[[File:Blender_rig_06.gif]]


Pelvis bone has disabled rotation (it's important). Use it to position upper body:
* Pelvis bone has disabled rotation (it's important). Use it to position upper body:


[[File:Blender_rig_07.gif]]
[[File:Blender_rig_07.gif]]


Use Pelvis 2 and Hips to rotate hips:
* Use Pelvis 2 and Hips to rotate hips:


[[File:Blender_rig_08.gif]]
[[File:Blender_rig_08.gif]]
Line 40: Line 40:
[[File:Blender_rig_09.gif]]
[[File:Blender_rig_09.gif]]


You can move and rotate foot_ik_main and rotate roll_main to position legs:
* You can move and rotate foot_ik_main and rotate roll_main to position legs:


[[File:Blender_rig_10.gif]]
[[File:Blender_rig_10.gif]]


Spine bones copy rotation of previous bone in chain so if you rotate the first one other will also slightly rotate in the same direction. You can turn it off if you wish:
* Spine bones copy rotation of previous bone in chain so if you rotate the first one other will also slightly rotate in the same direction. You can turn it off if you wish:


[[File:Blender_rig_11.gif]]
[[File:Blender_rig_11.gif]]


The same with fingers:
* The same with fingers:


[[File:Blender_rig_12.gif]]
[[File:Blender_rig_12.gif]]


More advanced option - drivers. There are sliders that define whether sertain bones will follow other bones:
* More advanced option - drivers. There are sliders that define whether sertain bones will follow other bones:


[[File:Blender_rig_13.gif]]
[[File:Blender_rig_13.gif]]


That's usefull when you want hands to stay in place e.g. when character tries to push something heavy. The same with neck:
* That's usefull when you want hands to stay in place e.g. when character tries to push something heavy. The same with neck:


[[File:Blender_rig_14.gif]]
[[File:Blender_rig_14.gif]]


In order to export the animation you will have to first bake it. Chose the rig from layer 3 and press space bar and type in "Bake Action".
* In order to export the animation you will have to first bake it. Chose the rig from layer 3 and press space bar and type in "Bake Action".

Revision as of 13:53, 6 January 2014

Blender rig 01.png


Introduction


Arcturus has kindly created a Blender rig based on a standard male npc for use in the Darkmod. The following is a basic guide to what he did.

Lets begin

  • On layers 1, 6, 7, 8 there are different character models. On layer 3 there is a rig imported from the game. It looks like this:

Blender rig 02.png

  • It's very difficult to animate so I made second rig, which you can find on layer 2:

Blender rig 03.png

  • It's the same bones as the game model plus many more bones. Use this rig to make animations. Rig from layer 3 will automatically copy all of its movements. To make it more tidy I hid most bones (you can still see them in edit mode). I also created custom models for some of the bones (those models are stored on other layer). This is how it looks with custom bone shapes:

Blender rig 04.png

  • Use round bones to position hands (I will post here animated gifs; open them to see animations):

Blender rig 05.gif

  • Use cube bones to position elbows and knees:

Blender rig 06.gif

  • Pelvis bone has disabled rotation (it's important). Use it to position upper body:

Blender rig 07.gif

  • Use Pelvis 2 and Hips to rotate hips:

Blender rig 08.gif

Blender rig 09.gif

  • You can move and rotate foot_ik_main and rotate roll_main to position legs:

Blender rig 10.gif

  • Spine bones copy rotation of previous bone in chain so if you rotate the first one other will also slightly rotate in the same direction. You can turn it off if you wish:

Blender rig 11.gif

  • The same with fingers:

Blender rig 12.gif

  • More advanced option - drivers. There are sliders that define whether sertain bones will follow other bones:

Blender rig 13.gif

  • That's usefull when you want hands to stay in place e.g. when character tries to push something heavy. The same with neck:

Blender rig 14.gif

  • In order to export the animation you will have to first bake it. Chose the rig from layer 3 and press space bar and type in "Bake Action".