Making Hammer and Chipper break open 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: Making Hammer and Chipper break open door? (/thread-21231.html) Pages:
1
2
|
RE: Making Hammer and Chipper break open door? - serbusfish - 04-21-2013 (04-21-2013, 03:48 PM)JustAnotherPlayer Wrote: Oh yeah, I forgot that you need an inactive Hammer and Chipper at the door. It should be in Entities/Item and have the name "stone_hammer_move" and "stone_chipper_move" without the quotation marks. OK, I have put them in place but the door still breaks open immediately without playing the animations Im getting somewhere. I had the names wrong. I was supposed to put those names of the moveable objects in the script and they were wrong... but the door still breaks first so im going to have another mess and see what happens. RE: Making Hammer and Chipper break open door? - Tomato Cat - 04-21-2013 PHP Code: void DoorUnlockAnim(string &in asItem, string &in asEntity) The prop health for the door is set to 0.0, which would break it. Set it to something like 80.0, it may solve your problem. RE: Making Hammer and Chipper break open door? - serbusfish - 04-21-2013 Finally it is sorted I got rid of the loop timer and just added another timer that replacted the first, then I moved the commands to break door and stuff to the end. Then I added in some particle effects, sanity boost and prop impulse to open the door and voila, done. Cheers for the help |