In Rebellion, you play as Mandella, colonel in the Confederation, a powerful military force. At the beginning, you explore the mothership as you're asked by admiral Spade to attend your briefing. You'll discover that you're part of the first attack wave sent to storm Tor29, a little colony lost in the Nephele system. Accompanied by your best friend, major Threepwood, you'll face an oddly weak resistance. Why does the Confederation unleash its wrath on a colony that is clearly of no match? What hides behind this conflict driven by doubtful justifications? These obscure reasons are not to please you and Threepwood. Will you carry on following blindly an authority fouled by power and arrogance? Or will you break your former links and embrace a cause that seems fairer to you, however desperate it may be? Maybe these are favourable times for... Rebellion.

Post tutorial Report RSS Faceposer Part III : Look at & Face actor

In this Tutorial, you'll learn about the "Look at actor..." event, the Ramp Tool and the "Face actor..." event.

Posted by on - Intermediate Animation

Tutorial Description


In this Tutorial, you'll learn about :

  • Look at actor... : Make a NPC Look at a specific target
  • Ramp Tool : Give your events a gradual intensity
  • Face actor... : Make a NPC Face a specific target

Requirements :
- Faceposer Part I : Setting up the workspace

Look at actor...


Let's take our previous workspace :
User Posted Image

1) Right Clic on the timeline of our "look at" channel > Look at actor...
User Posted Image

2) Name your event and specify the target your actor should look at. Leave the other parameters untouched.
User Posted Image

Note : For organisation and presentation reasons, I like to name my events with their type name followed by their target (here : Look at + Player ). So, when you'll have a scene with dozens of events (and you will) you can directly recognize what event is doing what.

Note : In the Look At Actor field, you can use all the usual parameters :

  • The name of the target as it is in Hammer
  • !player to look at the player
  • ...
  • !target1, !target2, ... if you're not yet sure what is the target's name going to be. Afterward, in Hammer (with a logic_choreographed_scene, of course), you can give a value for each !target#
  • User Posted Image


Note : Remember that the Target doesn't necessarily need to be a NPC...

Great ! Now we have a Look at actor... event !
User Posted Image

3) Adjust its size by widening / shortening its borders.
User Posted Image

Now, if you play your scene, you'll see that your actor looks at his target instantly, which definitely doesn't look (haha... herm) good.
User Posted Image

That's where the Ramp tool comes in hand !

Ramp Tool


In a few words ; the Ramp tool will let you give, at certain times on the timeline, a precise intensity to an event.

Here we go :

1) Select your Look at actor... event and Double Clic on the Ramp tool Tab.
User Posted Image

You'll see the Ramp tool window appear, which looks like this :
User Posted Image

2) CTRL + Left Clic anywhere on the Ramp to create a Ramp Point.
User Posted Image

What you see has appeared is the Intensity Curve of your event.

In my example :

  • The event starts with an intensity of 0%.
  • After 0.25 seconds, the event has an intensity of +- 60%.
  • And at the end of the event, the intensity is back to 0%.

The curve makes the intensity of the event going smoothly from its beginning to its end and through every Ramp Points.

What is going to happen if I play the scene, is that :

  • My actor starts watching in front of him.
  • After 0.25 seconds his head will be somewhere between "in front of him" and the target.
  • Finally, he will slowly turn is head back in front of him.

Note : A very important thing to notice, event tough the head is not turning 100% toward the target, the EYES, they do (fortunately) look right at the target.

How to Manipulate the Ramp Points :

    a) Create :
    CTRL + Left Clic on the timeline of the Ramp Tool

    b) Move around :
    Keep CTRL + Left Clic pressed on a Ramp Point > Move the mouse around

    c) Delete :
    Left Clic on a Ramp to select (it will turn red) > Press Delete


Now that you know how to manipulate the Ramp Tool :

3) Create as many Ramp Points as you need to make a smooth animation.
The following is a simple and classic example, but remember, freedom to make more complex animations is all yours !
User Posted Image

4) Play and enjoy !

Face actor...


Well... that part will be short, as it works EXACTLY the same way the Look at actor... event works, excepts it controls the chest and eventually the legs if the intensity of the event is 100%.

A Face actor... event is mostly used along with a Look at actor... event as facing a target doesn't make the actor look at it. Instead, he will randomly turn is head around.

A few explanations nonetheless :

1) Right Clic on the timeline of our "look at" channel > Face actor...
User Posted Image

2) Name your event and specify the target your actor should face. Leave the other parameters untouched.
User Posted Image

Note : Now the thing I wanted to say concerns that checkbox Lock facing (twist but don't turn). Well, personnaly, I don't like that option who, as it's names says, makes your actor move his chest only. I don't like it because it can look really odd in some situation (when the target is too much behind the actor for instance).

Instead, I'd rather make a Face actor... event with a 50% intensity.
Here's an example :
User Posted Image

That way, the actor will only turn his chest a little, and eventually turn a foot or a leg if the target is too much behind. A move that looks natural.

Here's the result in game. The Rebel turns a little in Barney's direction (check his right leg's position ;-) ) :
User Posted Image
User Posted Image

Congratulations ! Making a NPC Look and Face something is a big step forward in the making of realistic scenes !

In the next Faceposer Tut', I'll be talking about another very important subject in scenes : NPC animations (Sequences & Gestures).

Until then, enjoy and have fun !

Cheers :')

Kyl'
User Posted Image

Mod DB - Change the Game

Post comment Comments
Armageddon104
Armageddon104 - - 3,128 comments

Very nice :D

Reply Good karma Bad karma+1 vote
shrapnel123
shrapnel123 - - 30 comments

lol is that vault 12 roflmao

Reply Good karma Bad karma+1 vote
RaphaelG Author
RaphaelG - - 33 comments

:-) I have only one thing to say :
"Maaaayyyyybeeeee... ... you'll think of me... when you are all alone..." @@

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: