object definition
Posted: Thu Dec 04, 2014 7:38 pm
Hello all,
I'm trying to redefine the carpet and bed objects from log1:
can someone tell me how to set the carpet as a normal decoration, actually it's defined as an obstacle, I don't know what to put instead "base_obstacle"?
How to set the correct altar height for the bed? I ve tried the
but it crashes the editor after I put the bed on the map.
I'm trying to redefine the carpet and bed objects from log1:
can someone tell me how to set the carpet as a normal decoration, actually it's defined as an obstacle, I don't know what to put instead "base_obstacle"?
How to set the correct altar height for the bed? I ve tried the
Code: Select all
anchorPos = vec(-0, 0.46, 0),
anchorRotation = vec(0, 15, 0),
targetPos = vec(-0, 0.46, 0),
targetSize = vec(0.4, 0.5, 0.4),
Code: Select all
-- Carpet for Legend of Grimrock
-- by Germanny 01/2013
defineObject{
name = "log_carpet_a",
baseObject = "base_obstacle",
components = {
{
class = "Model",
model = "mod_assets/models/log_carpet_a.fbx",
staticShadow = true,
},
},
automapIcon = 152,
}Code: Select all
defineObject{
name = "grim_bed",
baseObject = "base_altar",
components = {
{
class = "Model",
model = "mod_assets/models/grim_bed.fbx",
staticShadow = true,
},
},
automapIcon = 152,
}