Frictional Games Forum (read-only)
Animations?! - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Animations?! (/thread-7556.html)



Animations?! - Josh707 - 04-22-2011

Hello again everyone Big Grin

I was wondering how to make items/props use their animations, like if I pick up a hand drill and use it on the wine barrel it appears there and spins.. I already know how to make everything work (appear there, particles etc) I just need to know how to make the animation. I looked in the script functions page and found:
Code:
PlayPropAnimation(string& asProp, string& asAnimation, float afFadeTime, bool abLoop, string& asCallback);

But I don't know what the animation names are or where they're located... If someone knows how to properly do this please explain Big Grin!


RE: Animations?! - xiphirx - 04-22-2011

Try looking at the storage map, it had a part exactly the way you described it.


RE: Animations?! - Josh707 - 04-22-2011

Thanks, I checked it but what it does actually isn't an animation, they used rotateproptospeed and made a static model spin there, unless that is the way they make animations... but what about the hammer hammering a nail and stuff?


RE: Animations?! - xiphirx - 04-22-2011

The prison had the hammer and nail thing, you can take a look at how they did it there Smile


RE: Animations?! - Josh707 - 04-23-2011

lol I guess that helps Tongue i'll try that


RE: Animations?! - Kyle - 04-23-2011

I HAVE to use this for my custom story. It is just so epic! I'm gonna have to try it. Big Grin