Page 1 of 1

[Solved]New Altar Object

Posted: Thu Oct 30, 2014 8:51 am
by Mysterious
Hi guys. I want to create a new altar, but I need all the properties the Altar has. I have a new model that will become a new Altar, but I don't know how to create the properties for it. eg: class, surface etc....

This is what I have atm but don't know how to properly Define new altar. Thxs for help :)

Code: Select all

defineObject{
name = "farm_table_1",
components = {
{
class = "Model",
model = "mod_assets/models/indoor_objects/Table.fbx",
},
{
class = "Obstacle",
hitSound = "barrel_hit",
hitEffect = "hit_wood",
},

},
placement = "floor",
editorIcon = 52,
}

Re: New Altar Object

Posted: Thu Oct 30, 2014 9:02 am
by ScroLL
What about adding:

baseObject = "altar"

Re: New Altar Object

Posted: Thu Oct 30, 2014 9:24 am
by Mysterious
Hi Scroll. Dammm it was as simple as that :oops: Thxs for the reply :)

Re: [Solved]New Altar Object

Posted: Thu Oct 30, 2014 10:34 am
by AdrTru
Do you known definition of surface for new alcove object?
For changing size of surface area.