Frictional Games Forum (read-only)
Animate Drill when breaks the door. - 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: Animate Drill when breaks the door. (/thread-14585.html)



Animate Drill when breaks the door. - erescool - 04-07-2012


Umm, I'm a newbie here.
well, how to animate the drill when player used it on a door?
I appreciate your help so much Smile


RE: Animate Drill when breaks the door. - SilentStriker - 04-07-2012

You will need the static drill and have it inactive until player "places" the drill there and then use

RotatePropToSpeed(string& asName, float afAcc, float afGoalSpeed, float afAxisX, float afAxisY, float afAxisZ, bool abResetSpeed, string& asOffsetArea);




RE: Animate Drill when breaks the door. - Datguy5 - 04-08-2012

(04-07-2012, 05:40 PM)SilentStriker Wrote: You will need the static drill and have it inactive until player "places" the drill there and then use

RotatePropToSpeed(string& asName, float afAcc, float afGoalSpeed, float afAxisX, float afAxisY, float afAxisZ, bool abResetSpeed, string& asOffsetArea);
Thanks silentstriker.I needed to know this too Big Grin




RE: Animate Drill when breaks the door. - SilentStriker - 04-08-2012

Your welcome Smile I haven't done it myself yet but I looked in the scrips and the map on how they used it Smile It's the morgue if you guys want to look for yourself Wink


RE: Animate Drill when breaks the door. - erescool - 04-25-2012

(04-07-2012, 05:40 PM)SilentStriker Wrote: You will need the static drill and have it inactive until player "places" the drill there and then use

RotatePropToSpeed(string& asName, float afAcc, float afGoalSpeed, float afAxisX, float afAxisY, float afAxisZ, bool abResetSpeed, string& asOffsetArea);
thank you so much! Big Grin


RE: Animate Drill when breaks the door. - SilentStriker - 04-25-2012

You're welcome ^^