Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animations?!
Author Message
Josh707 Offline
Junior Member

Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #1
Animations?!
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:
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!

Try my custom story demo here!
Updated 23/04/11
04-22-2011 03:12 AM
Find all posts by this user Quote this message in a reply
xiphirx Offline
Super Moderator

Posts: 662
Joined: Nov 2010
Reputation: 5
Post: #2
RE: Animations?!
Try looking at the storage map, it had a part exactly the way you described it.

04-22-2011 05:37 AM
Find all posts by this user Quote this message in a reply
Josh707 Offline
Junior Member

Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #3
RE: Animations?!
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?

Try my custom story demo here!
Updated 23/04/11
04-22-2011 03:43 PM
Find all posts by this user Quote this message in a reply
xiphirx Offline
Super Moderator

Posts: 662
Joined: Nov 2010
Reputation: 5
Post: #4
RE: Animations?!
The prison had the hammer and nail thing, you can take a look at how they did it there Smile

04-22-2011 04:55 PM
Find all posts by this user Quote this message in a reply
Josh707 Offline
Junior Member

Posts: 27
Joined: Apr 2011
Reputation: 0
Post: #5
RE: Animations?!
lol I guess that helps Tongue i'll try that

Try my custom story demo here!
Updated 23/04/11
04-23-2011 10:26 PM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #6
RE: Animations?!
I HAVE to use this for my custom story. It is just so epic! I'm gonna have to try it. Big Grin

04-23-2011 10:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)