Eye Sockts of the Daemon

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Killage
Posts: 5
Joined: Tue Jan 08, 2013 8:13 pm

Eye Sockts of the Daemon

Post by Killage »

Hey gang,
I finished the original dungeon and am having lots of fun playing in the editor and playing the custom dungeons. This is so much fun! But one of the first things I tried was to trigger a couple of secret doors to open when gems get placed into the sockets of a Daemon Head. Placing the Daemon Head alone didn't seem to allow me to place the gems in it, so I am assuming we must place the eye_socket_left and _right upon the head to make this work. Well, after playing with it for a couple nights I made it work, but for some reason only blue gems will go in the eye sockets. I MUST HAVE RED GEMS! But can not for the life of me figure out how to accompish this. Can someone help me please?
During the couple nights I was trying to make this work, I had a hell of a time with the dang facing direction of the eye-sockets. My script doesn't state anything specific about which gems either, so I'm baffeled.

P.S. You couldn't be a bigger newbie than me. First time I've even seen the Lua lang, and I have zero experience in any programming save for a small amount of C+ many moons ago. I just play the games, I've never made one, until now...
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Eye Sockts of the Daemon

Post by Komag »

You'll want to download the asset pack and take a look at the objects.lua file and look at the details of the eye sockets. In the code there you'll see reference to blue gems.

If you want it to work with red gems you need to define (or clone) a new object and change that part of the code, put the new definition into your own dungeon subfolder's objects.lua file (which will start basically empty), and then go from there!
Finished Dungeons - complete mods to play
User avatar
Killage
Posts: 5
Joined: Tue Jan 08, 2013 8:13 pm

Re: Eye Sockts of the Daemon

Post by Killage »

Dang! You da man Komag!
I wouldn't think there would be a rule to only allow only 1 of the colored gems in the eye sockets. Didn't even cross my mind. :D
Thank you for this and those videos you made for us to start learning. Hours of fun to be had!
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Eye Sockts of the Daemon

Post by Komag »

thanks!

It's not meant to restrict the gem color, rather it's meant to restrict ALL OBJECTS except blue gems. Otherwise you could put in anything there, like armor, scrolls, etc, like any alcove. You can set up eye sockets to take various gems and nothing else, but it's a little more advanced.
Finished Dungeons - complete mods to play
Post Reply