Frictional Games Forum (read-only)
Charactor / entity animation on trigger - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Charactor / entity animation on trigger (/thread-22219.html)



Charactor / entity animation on trigger - jssjr90 - 07-24-2013

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?


RE: Charactor / entity animation on trigger - Your Computer - 07-24-2013

PHP Code:
void PlayPropAnimation(stringasPropstringasAnimationfloat afFadeTimebool abLoopstringasCallback); 



RE: Charactor / entity animation on trigger - The chaser - 07-24-2013

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");


RE: Charactor / entity animation on trigger - jssjr90 - 07-24-2013

Thanks for the feedback!