Frictional Games Forum (read-only)
Scripting a saw animation - 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: Scripting a saw animation (/thread-8428.html)



Scripting a saw animation - willochill - 06-03-2011

Can anyone give me the script of the animation for a saw sawing at boards when you use it on the boards? Use "bone_saw_2" for the saw and "wooden_boards_block_1" for the boards. (include things like the player looking at the animation and everything plz).


RE: Scripting a saw animation - WatzUpzPeepz - 06-03-2011

I would like to see this too,but I have no idea XD!


RE: Scripting a saw animation - Kyle - 06-04-2011

I tried that exact thing before but I couldn't get it to work... :/

The only way I can think of at the moment would involve with you creating a new model replica of the bone saw and let it move on the specific axis.


RE: Scripting a saw animation - xiphirx - 06-04-2011

Could you at least attempt to do it yourself first then have people help you? I'm not fond of spoonfeeding


RE: Scripting a saw animation - willochill - 06-04-2011

idk, i guess its too much to handle, i could just have him look at the boards with the saw sound going. but i know ive seen it done before, i cant remember, was there a sawing part in the game? i think there was.


RE: Scripting a saw animation - Tanshaydar - 06-04-2011

There was a saw scene in Penumbra games.


RE: Scripting a saw animation - xiphirx - 06-04-2011

Here's an idea:

How did Frictional make the chisel and the hammer animation in the prison?

I'd start looking there.


RE: Scripting a saw animation - Kyle - 06-04-2011

You could set multiple static "bone_saw"s unactive and then set each one active/inactive thus generating a basic animation of it cutting the wood boards.


RE: Scripting a saw animation - xiphirx - 06-04-2011

(06-04-2011, 03:13 AM)Kyle Wrote: You could set multiple static "bone_saw"s unactive and then set each one active/inactive thus generating a basic animation of it cutting the wood boards.

Please do not do this.


RE: Scripting a saw animation - willochill - 06-04-2011

yea that would look pretty strange..
i looked in the hammer and chipper part of both of the prison scripts and it looks too difficult and complicated for me, to be honest. i just had the player look at the boards while the saw sound played, then after that the boards are inactivated and broken boards are activated. it looks okay, but tanshaydar, if you could remind me what part in penumbra was the saw used, that would be great, i'd like to at least take a peek at the script files.