The Custom Alcove Thread. (Neikun, Batty and Crisman)
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
I've been trying to figure out how to get an item down that grate/allow it to be retrieved.
How exactly did you get it down there? Alcove on the wall with position away from the wall and far far down?
How exactly did you get it down there? Alcove on the wall with position away from the wall and far far down?
"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
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!
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
oooh that's a good one!
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Okay, seems there is a problem with jonh's gmt. We'll see if it's a bug or something else!
Anyway, the script is already done, so once the program is fixed I'll need only 5 minutes.
Anyway, the script is already done, so once the program is fixed I'll need only 5 minutes.
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Yes, exaclty.Neikun wrote:I've been trying to figure out how to get an item down that grate/allow it to be retrieved.
How exactly did you get it down there? Alcove on the wall with position away from the wall and far far down?
Here's the script
SpoilerShow
cloneObject{
name = "drainage_alcove",
baseObject = "ornate_lock",
anchorPos = vec(0, -2.5, -1.2),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 1.3, 0),
targetSize = vec(0.3, 0.3, 0.3),
onInsertItem = function (self, item)
return item.name == "ornate_key" and self:getItemCount() == 0
end,
}
name = "drainage_alcove",
baseObject = "ornate_lock",
anchorPos = vec(0, -2.5, -1.2),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 1.3, 0),
targetSize = vec(0.3, 0.3, 0.3),
onInsertItem = function (self, item)
return item.name == "ornate_key" and self:getItemCount() == 0
end,
}
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Okay, I've done something interesting. Using the spear you'll be able to take the key out from the drainage.
Usinge the spear on that spot...
...will retrieve the key!
SpoilerShow
SpoilerShow
SpoilerShow
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Nicely done!
"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
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!
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
I'll change the script a little bit, and then I will share it
@neikun thank you
EDIT: Here's, now it works with everything - I hope you don't use it to pick up a shield from a drainage... what the hell... - , and with multiple items. Using the spear will only pick one item at the time. You cannot place anything in the drainage by purpose, but only in the editor.
Another interesting thing done with alcoves. Cheers.
@neikun thank you
EDIT: Here's, now it works with everything - I hope you don't use it to pick up a shield from a drainage... what the hell... - , and with multiple items. Using the spear will only pick one item at the time. You cannot place anything in the drainage by purpose, but only in the editor.
Another interesting thing done with alcoves. Cheers.
SpoilerShow
cloneObject{
name = "drainage_alcove",
baseObject = "eye_socket_left",
anchorPos = vec(0, -2.5, -1.2),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.25, 0),
targetSize = vec(0.3, 0.3, 0.3),
onInsertItem = function (self, item)
if item.name == "legionary_spear" then
for i in self:containedItems() do
spawn(i.name, party.level, party.x, party.y, party.facing)
i:destroy()
return
end
if self:getItemCount() == 0 then
self:destroy()
end
end
return false
end,
}
name = "drainage_alcove",
baseObject = "eye_socket_left",
anchorPos = vec(0, -2.5, -1.2),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.25, 0),
targetSize = vec(0.3, 0.3, 0.3),
onInsertItem = function (self, item)
if item.name == "legionary_spear" then
for i in self:containedItems() do
spawn(i.name, party.level, party.x, party.y, party.facing)
i:destroy()
return
end
if self:getItemCount() == 0 then
self:destroy()
end
end
return false
end,
}
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
haha that's awesome
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Done with the hook. Cheers to John that helped me with gmt, now the hook is on the wall!
Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Hey! Get that code in here pronto!
"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
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!