[Solved]New Altar Object

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
Mysterious
Posts: 226
Joined: Wed Nov 06, 2013 8:31 am

[Solved]New Altar Object

Post 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,
}
Last edited by Mysterious on Thu Oct 30, 2014 9:25 am, edited 1 time in total.
User avatar
ScroLL
Posts: 56
Joined: Tue Sep 18, 2012 12:21 pm
Location: Vermont

Re: New Altar Object

Post by ScroLL »

What about adding:

baseObject = "altar"
User avatar
Mysterious
Posts: 226
Joined: Wed Nov 06, 2013 8:31 am

Re: New Altar Object

Post by Mysterious »

Hi Scroll. Dammm it was as simple as that :oops: Thxs for the reply :)
User avatar
AdrTru
Posts: 223
Joined: Sat Jan 19, 2013 10:10 pm
Location: Trutnov, Czech Republic

Re: [Solved]New Altar Object

Post by AdrTru »

Do you known definition of surface for new alcove object?
For changing size of surface area.
My LOG2 projects: virtual money, Forge recipes, liquid potions and
MultiAlcoveManager, Toolbox, Graphic text,
Post Reply