Frictional Games Forum (read-only)
[SCRIPT] Five finger fillet (Knife game) in Amnesia - 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: [SCRIPT] Five finger fillet (Knife game) in Amnesia (/thread-21442.html)



Five finger fillet (Knife game) in Amnesia - Naklon - 05-09-2013

Hey,
I have got a problem. I would like to make a short cut-scene, where the player plays Five finger fillet. I don't know how make a butcher_knife moving. Is it possible to make something like that in Amnesia?


RE: Five finger fillet (Knife game) in Amnesia - PutraenusAlivius - 05-09-2013

Possible, but hard. You have to make a player hand at a table (already there) and the knife with a hand gripping it. For the scripting part, give me a sec.


RE: Five finger fillet (Knife game) in Amnesia - Naklon - 05-09-2013

The on the table nor the one holding the knife aren't any problem. It's only about script, which will move knife around.


RE: Five finger fillet (Knife game) in Amnesia - PutraenusAlivius - 05-09-2013

(05-09-2013, 01:46 PM)Naklon Wrote: The on the table nor the one holding the knife aren't any problem. It's only about script, which will move knife around.

Change the knife to MoveObject in the Model Editor. SetMoveObjectState should work.


RE: Five finger fillet (Knife game) in Amnesia - Naklon - 05-09-2013

I'll try that and let you know if works. Thanks by the way!

I got another problem. When I change a knife to MoveObject there is ability to choose only one axis for this knife to move (X,Y,Z). I need at least 2 axises - one for moving knife up a little bit, and the second to move it to the next finger.


RE: Five finger fillet (Knife game) in Amnesia - Your Computer - 05-09-2013

Having the knife as a MoveObject isn't a bad idea. Just have 5 knives ready to be activated when needed--unless you want the player to be able to stab himself when playing or something that may not be possible with the HPL2 engine.


RE: Five finger fillet (Knife game) in Amnesia - Naklon - 05-09-2013

(05-09-2013, 02:58 PM)Your Computer Wrote: unless you want the player to be able to stab himself when playing or something that may not be possible with the HPL2 engine.

No, this will be only a short cut-scene, but your idea with 5 knives is nice - I'll check it out. Thanks!