Page 1 of 1

[Editor] Key + Lock bug

Posted: Tue Oct 28, 2014 10:38 pm
by whackangel
Hello everyone,
As a big fan of the first issue of the LoG editor, I was pretty exited to go an discover the new features of the second edition.

Here the problem : I want a lock to open a certain door, and a certain key to fit the said lock, yet when I use the key in this lock the door doesn't open, it only makes the same sound as if the key was not the proper one. I've tried a lot of different combinaison, but even the regular "Gera_key" + "Gear_lock" doesn't work on the door...

Any idea why ?
Thank you very much for your replies...

Re: [Editor] Key + Lock bug

Posted: Tue Oct 28, 2014 10:47 pm
by Prozail
What did you put in the "openedBy" tag for the lock?

The thing is, locks are opened by the whole class of keys, so you cant' specify "iron_key_1" you have to give it the class of "iron_key", and then, ALL iron keys in the game works for that lock.

if you want specific key's you have to define your own key-class.

Re: [Editor] Key + Lock bug

Posted: Tue Oct 28, 2014 10:57 pm
by whackangel
ooh... so if I enter the "gear_key_1" name in the OpenedBy box, it doesn't work ??

I'll try again with just entering "Gear Key" or something...

[Edit] Yup... worked just fine ! Problem solved...

Next ?!