When I define the object as "base_door" I get warning messages as the gate node is missing. Using "base_wall" will just let the party walk through. A workaround is the added "obstacle" component which blocks the tile the wall is attached to. So for wall_decorations that is no problem, but in a more central position it is not an option.
I also tried using an existing fence as "base_object". Works, but with the obligatory console warning of a missing gate node.
Code: Select all
defineObject{
name = "cemetery_fence_02",
-- baseObject = "base_wall",
-- baseObject = "base_door",
baseObject = "cemetery_wall_01",
components = {
{
class = "Model",
model = "mod_assets/models/cemetery_fence_02.fbx",
staticShadow = true,
},
},
placement = "wall",
editorIcon = 124,
automapIcon = 84,
}