Various question - 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: Various question (/thread-10996.html) |
Various question - X4anco - 10-26-2011 Hello people, I have some questions today :/. 1. Is there a function that allows me to make a door fall off it's hinges? 2. I am doing a puzzle were the player has to chisel their way through a wall, how would I do that? Making the animations, making the wall disappear and making bricks fly as well. -Thanks PS If you need more details pm me RE: Various question - palistov - 10-26-2011 You can make a door fall off its hinges by creating custom entities. Open the door in the ModelEditor and "Save As" a different entity. Once again "Save As" but put "_broken" after it, to distinguish it from the functional door. Change the entity type to "Object" --> "Static". Delete the joint. Save it. Go back to the first entity you saved, the functional door. Go to User-defined variables and change its BreakEntity to match the broken door you just created. Then just break the door by using scripts. RE: Various question - nemesis567 - 10-26-2011 I think you could use a function called BreakJoints or something like that as long as you remove the object type door to a regular one. |