Page 1 of 1

DAEMON HEAD EYE SLOTS

Posted: Sat Jul 25, 2015 12:33 pm
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

Re: DAEMON HEAD EYE SLOTS

Posted: Sat Jul 25, 2015 12:43 pm
by THOM
There is no deamon head with eyeslots in Log2. You will have to import them by yourself...

Re: DAEMON HEAD EYE SLOTS

Posted: Sat Jul 25, 2015 1:13 pm
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

Re: DAEMON HEAD EYE SLOTS

Posted: Sat Jul 25, 2015 2:04 pm
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...

Re: DAEMON HEAD EYE SLOTS

Posted: Sat Jul 25, 2015 9:06 pm
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

Re: DAEMON HEAD EYE SLOTS

Posted: Wed Jul 29, 2015 6:03 pm
by billb52
Nice one Sutekh could you also do one for the daemon head mouth?

Re: DAEMON HEAD EYE SLOTS

Posted: Wed Jul 29, 2015 8:12 pm
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,
   }

Re: DAEMON HEAD EYE SLOTS

Posted: Thu Jul 30, 2015 8:20 pm
by billb52
Hi Sutekh thx for your speedy post for daemon_mouth_socket, have tried it and working fine GREAT JOB :)