[Solved] Need help. Cannot get a custom lock to render
Posted: Tue Nov 11, 2014 2:32 am
I want to create a few different colored locks. I know we don't have the asset pack yet but I know we can use LoG1 models. I cannot seem to get the custom lock to render.
NOTE: I cannot even get it to render when I use one of LoG 2's lock models!!
I don't get it. I have made custom keys, even custom walls and they work. This lock will not. My simple code is:
Notice how I am re-using a model in grimrock2.dat itself and it still won't render. Any ideas on what I am doing wrong?
Thanks
NOTE: I cannot even get it to render when I use one of LoG 2's lock models!!
I don't get it. I have made custom keys, even custom walls and they work. This lock will not. My simple code is:
Code: Select all
defineObject{
name = "white_lock",
baseObject = "lock_gold",
components = {
{
class = "Model",
model = "assets/models/env/wall_lock.fbx",
},
},
placement = "wall"
}
Thanks