Frictional Games Forum (read-only)

Full Version: Charactor / entity animation on trigger
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if it where ever possible with in the hpl2 engine to trigger a animation file upon a entity that is rigged?

I did notice this achievement on a certain full conversion (forgot the name) but the character jumps down a hole and it goes back to 1st person. And the full conversion had this cool sci-fi overlay screen fx. Like you where the terminator.

The software I was looking into are the following:
Maya 2011 (Have)
Ipi Mocap Studio 2 (motion capture software. Capture your body movements with just the kinect.)

If I cannot do the mo-cap. Would it be possible to play any animation file upon trigger from the entity that has the animation file associated with it?
PHP Code:
void PlayPropAnimation(stringasPropstringasAnimationfloat afFadeTimebool abLoopstringasCallback); 
Off-Topic:

[Image: vqCUKRQ.jpg]

Sorry, with that title I couldn't resist the temptation. Please, don't edit the title of this thread Big Grin

[On-Topic]

So yeah, pretty much what YC said. If it's with path nodes, you use:

AddEnemyPatrolNode("Yourmonster", "Node", 0, "YOURANIMATION");
Thanks for the feedback!