Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Posted: Wed Nov 14, 2012 3:19 am
This is all alcove
Here the material
Here the object
Here the model of the table in the folder Grimrock
If you are not able to access the folder Grimrock, would it be possible to tell me a site where I can send the model? (Really not used to this)
If anything is missing please let me know, I'm still not used to send the information in the forum
Thank you for your patience
SpoilerShow
defineObject{
name = "table_alcove_east_left",
class = "Alcove",
anchorPos = vec(-1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_east_right",
class = "Alcove",
anchorPos = vec(1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_west_left",
class = "Alcove",
anchorPos = vec(-1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_west_right",
class = "Alcove",
anchorPos = vec(1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_east",
class = "Alcove",
anchorPos = vec(0, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_west",
class = "Alcove",
anchorPos = vec(0, 0.85, 0.114),
anchorRotation = vec(0,0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_north",
class = "Alcove",
anchorPos = vec(0, 0.85, -0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, -0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_south",
class = "Alcove",
anchorPos = vec(0, 0.85, -0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, -0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
name = "table_alcove_east_left",
class = "Alcove",
anchorPos = vec(-1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_east_right",
class = "Alcove",
anchorPos = vec(1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_west_left",
class = "Alcove",
anchorPos = vec(-1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_west_right",
class = "Alcove",
anchorPos = vec(1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_east",
class = "Alcove",
anchorPos = vec(0, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_west",
class = "Alcove",
anchorPos = vec(0, 0.85, 0.114),
anchorRotation = vec(0,0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_north",
class = "Alcove",
anchorPos = vec(0, 0.85, -0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, -0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_south",
class = "Alcove",
anchorPos = vec(0, 0.85, -0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, -0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
SpoilerShow
defineMaterial{
name = "ringmounts",
diffuseMap = "mod_assets/textures/items/ringmounts.tga",
--specularMap = "mod_assets/textures/practice_dummy_spec.tga",
--normalMap = "mod_assets/textures/practice_dummy_normal.tga",
doubleSided = false,
lighting = true,
alphaTest = false,
blendMode = "Opaque",
textureAddressMode = "Wrap",
glossiness = 40,
depthBias = 0,
}
name = "ringmounts",
diffuseMap = "mod_assets/textures/items/ringmounts.tga",
--specularMap = "mod_assets/textures/practice_dummy_spec.tga",
--normalMap = "mod_assets/textures/practice_dummy_normal.tga",
doubleSided = false,
lighting = true,
alphaTest = false,
blendMode = "Opaque",
textureAddressMode = "Wrap",
glossiness = 40,
depthBias = 0,
}
SpoilerShow
defineObject{
name = "table",
class = "Altar",
model = "mod_assets/models/items/table.fbx",
placement = "floor",
editorIcon = 52,
}
name = "table",
class = "Altar",
model = "mod_assets/models/items/table.fbx",
placement = "floor",
editorIcon = 52,
}
If you are not able to access the folder Grimrock, would it be possible to tell me a site where I can send the model? (Really not used to this)
If anything is missing please let me know, I'm still not used to send the information in the forum
Thank you for your patience