I'm stumped... help!

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Aazlan
Posts: 13
Joined: Thu Sep 13, 2012 6:59 pm

I'm stumped... help!

Post by Aazlan »

How do I get a demon head w/ eyes to check that there are 2 different colored gems inserted to open a door?
Any suggestions would be appreciated. Thanks a bunch!
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: I'm stumped... help!

Post by petri »

This is a little bit involved. The basic idea is to place eye_socket_left and eye_socket_right into the same cell as the daemon head. By default eye_socket objects only accept blue_gems so you have to override their onInsertItem functions.
Aazlan
Posts: 13
Joined: Thu Sep 13, 2012 6:59 pm

Re: I'm stumped... help!

Post by Aazlan »

Ah, ok, that points me in a productive direction. Thank you very much!
User avatar
resonansER
Posts: 92
Joined: Fri Mar 02, 2012 2:02 pm
Location: Kiev, Ukraine
Contact:

Re: I'm stumped... help!

Post by resonansER »

I'm stumped too. :(
I placed _door_wooden_locked_2 in dungeon BUT i don't understand WHICH key open this door. :( All keys from editor only fly in door when I tried open he.
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: I'm stumped... help!

Post by Komag »

you have to put the key Name, not ID
Finished Dungeons - complete mods to play
User avatar
resonansER
Posts: 92
Joined: Fri Mar 02, 2012 2:02 pm
Location: Kiev, Ukraine
Contact:

Re: I'm stumped... help!

Post by resonansER »

Komag wrote:you have to put the key Name, not ID
mmmm.Where put the key Name? If click on door in editor I see only checkbox "add pul chain", that's all. Excuse me. :(
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: I'm stumped... help!

Post by Komag »

Ah, I didn't read it carefully enough - that lock is different! Other locks you place on the wall, and enter which key Name will activate the lock, then you link the lock to the door you want opened. This door with the lock in the middle, I can't make it work either.

I'm guessing there is supposed to be some sort of invisible lock on the door, or it will take a script I have no idea how to approach, or maybe there is just something missing or a bug with the door, I don't know
Finished Dungeons - complete mods to play
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: I'm stumped... help!

Post by Neikun »

resonansER wrote:
Komag wrote:you have to put the key Name, not ID
mmmm.Where put the key Name? If click on door in editor I see only checkbox "add pul chain", that's all. Excuse me. :(
Add pull chain.. what?
OH THAT'S WHY! I couldn't find a chain for my portcullis.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
resonansER
Posts: 92
Joined: Fri Mar 02, 2012 2:02 pm
Location: Kiev, Ukraine
Contact:

Re: I'm stumped... help!

Post by resonansER »

Komag wrote:Ah, I didn't read it carefully enough - that lock is different! Other locks you place on the wall, and enter which key Name will activate the lock, then you link the lock to the door you want opened. This door with the lock in the middle, I can't make it work either.
Of course, this is clear. But what do with _door_wooden_locked_2 i've no ideas. May be developers give a direction?
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: I'm stumped... help!

Post by petri »

resonansER wrote:Of course, this is clear. But what do with _door_wooden_locked_2 i've no ideas. May be developers give a direction?
Look for Door:setOpenedBy() in scripting reference.
Post Reply