For instance, I would like to import Goromorg statue model from LoG1. I open it with the Grimrock Model Toolkit, all seems to be ok, textures/material seems to be set correctly. Then I save the model into my dungeon. My custom object.lua script contains :
Code: Select all
defineObject{
name = "dungeon_goromorg_statue",
baseObject = "base_wall",
class = "Decoration",
components = {
{
class = "Model",
model = "mod_assets/models/env/dungeon_goromorg_statue.fbx",
},
},
replaceWall = true,
replaceFloor = false,
placement = "wall",
editorIcon = 92,
}