e-mods.net

Nod Engine SDK => Mapping in Embrace => Topic started by: Barnabas on 2008-08-07, 22:10:09

Title: Doors with keys
Post by: Barnabas on 2008-08-07, 22:10:09
Hi together, after having a longer break from mapping, I´m back at my project with new energy and immediatly I have a question: I want to build the interior of an Appartmenthouse. For that I´d like to know if and how it´s possible to create doors, that are locked but can be opened, if the player or NPC has a special key in his inventory? Is it possible to create doors, that are crackable ( hope that is the right word for that^^ )?
Title: Re: Doors with keys
Post by: Javokis on 2008-08-08, 10:35:33
There's a door script included with club abla that does that, but you'll need to make the door handle as well as the door and make frames for both. The script is called PivotDoor_HandlePivot.class.It can be kind of tricky because you have to make at least 3 frames for the handle (a handle jiggle frame, a handle turn frame, and a handle moves with door frame.). The door itself only needs one.
Title: Re: Doors with keys
Post by: Barnabas on 2008-08-09, 08:56:03
Seems to be very komplex, but I´ll try. Thanks.