DAEMON HEAD EYE SLOTS

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
WaspUK1966
Posts: 135
Joined: Sat Aug 09, 2014 9:17 am

DAEMON HEAD EYE SLOTS

Post by WaspUK1966 »

Stupid question, I know. But where are they? I've searched the editor menu and cant for the life of me find them listed. Are they called something else now?
George
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: DAEMON HEAD EYE SLOTS

Post by THOM »

There is no deamon head with eyeslots in Log2. You will have to import them by yourself...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
WaspUK1966
Posts: 135
Joined: Sat Aug 09, 2014 9:17 am

Re: DAEMON HEAD EYE SLOTS

Post by WaspUK1966 »

That explains a lot! Thanks. I wonder why they didn't include them? Thanks again for your help. Saved me a lot of time...

George
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: DAEMON HEAD EYE SLOTS

Post by THOM »

The deamon head of LoG2 is redesigned and just a "spell spiter". They didn't do the eye-slot-version because they didn't used one for a puzzle...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
Sutekh
Posts: 126
Joined: Sun Nov 25, 2012 9:58 am
Location: UK

Re: DAEMON HEAD EYE SLOTS

Post by Sutekh »

I created a couple of eye sockets to go with the daemon head from LoG1, and it was pretty simple to adjust them to fit the one from LoG2...

Code: Select all

defineObject{
   name = "log2_eye_socket_left",
   components = {
      {
         class = "Clickable",
         offset = vec(0.25, 1.65, -0.3, 0),
         size = vec(0.1, 0.1, 0.05, 0),
         },
      {
         class = "Socket",
         offset = vec(0.26, 1.58, -0.3),
         onAcceptItem = function(self, item)
            return (item.go.name == "blue_gem") and self:count() == 0
            end,
         },
      },
   placement = "wall",
   editorIcon = 92,
   }

defineObject{
   name = "log2_eye_socket_right",
   components = {
      {
         class = "Clickable",
         offset = vec(-0.25, 1.65, -0.3, 0),
         size = vec(0.1, 0.1, 0.05, 0),
         },
      {
         class = "Socket",
         offset = vec(-0.26, 1.58, -0.3),
         onAcceptItem = function(self, item)
            return (item.go.name == "blue_gem") and self:count() == 0
            end,
         },
      },
   placement = "wall",
   editorIcon = 92,
   }
Image


And these are the ones I created for the daemon head from LoG1, in case anyone finds them useful:

Code: Select all

defineObject{
   name = "log1_eye_socket_left",
   components = {
      {
         class = "Clickable",
         offset = vec(0.2, 1.65, -0.45, 0),
         size = vec(0.1, 0.1, 0.05, 0),
         },
      {
         class = "Socket",
         offset = vec(0.21, 1.58, -0.45),
         onAcceptItem = function(self, item)
            return (item.go.name == "blue_gem") and self:count() == 0
            end,
         },
      },
   placement = "wall",
   editorIcon = 92,
   }

defineObject{
   name = "log1_eye_socket_right",
   components = {
      {
         class = "Clickable",
         offset = vec(-0.2, 1.65, -0.45, 0),
         size = vec(0.1, 0.1, 0.05, 0),
         },
      {
         class = "Socket",
         offset = vec(-0.21, 1.58, -0.45),
         onAcceptItem = function(self, item)
            return (item.go.name == "blue_gem") and self:count() == 0
            end,
         },
      },
   placement = "wall",
   editorIcon = 92,
   }
Image
Last edited by Sutekh on Mon Sep 05, 2016 10:32 pm, edited 1 time in total.
billb52

Re: DAEMON HEAD EYE SLOTS

Post by billb52 »

Nice one Sutekh could you also do one for the daemon head mouth?
User avatar
Sutekh
Posts: 126
Joined: Sun Nov 25, 2012 9:58 am
Location: UK

Re: DAEMON HEAD EYE SLOTS

Post by Sutekh »

Here you go, give this a try:

Code: Select all

defineObject{
   name = "log2_daemon_mouth_socket",
   components = {
      {
         class = "Clickable",
         offset = vec(0, 0.97, -0.1, 0),
         size = vec(0.1, 0.1, 0.05, 0),
         },
      {
         class = "Socket",
         offset = vec(0, 0.9, -0.1),
         onAcceptItem = function(self, item)
            return (item.go.name == "green_gem") and self:count() == 0
            end,
         },
      },
   placement = "wall",
   editorIcon = 92,
   }
Last edited by Sutekh on Mon Nov 14, 2016 6:17 pm, edited 1 time in total.
billb52

Re: DAEMON HEAD EYE SLOTS

Post by billb52 »

Hi Sutekh thx for your speedy post for daemon_mouth_socket, have tried it and working fine GREAT JOB :)
Post Reply