Page 1 of 1

Object Names

Posted: Mon Oct 20, 2014 5:31 am
by Mysterious
Hi guys. Does anyone know the definition for Decoration name in models now? This is what I have atm but the editor does not understand Decoration or is it the placement = "wall"? Thxs :)

Code: Select all

defineObject{
name = "arch_doorway_1",
components = {
{
class = "Model",
model = "mod_assets/models/doors/brick_door_way.fbx",
},

{
class = "Decoration",
hitSound = "barrel_hit",
hitEffect = "hit_wood",
},

},
placement = "wall",
editorIcon = 120,
}

Re: Object Names

Posted: Mon Oct 20, 2014 5:33 am
by SnowyOwl47
Check the Advanced Scripting and Editor Help forum post: http://www.grimrock.net/forum/viewtopic ... 521#p75521

Re: Object Names

Posted: Mon Oct 20, 2014 5:41 am
by Mysterious
Yeah I have done that, but it only has a Object with (Obstacle) in it, I need it to be so the player can walk through the Archway, but thxs for the help mate :) or I can put the Arch on the wall as a Decoration.

Re: Object Names

Posted: Fri Nov 14, 2014 11:12 am
by kelly1111
have you found out what the class should be if you want to place a decoration?
i need to know too

Re: Object Names

Posted: Fri Nov 14, 2014 11:18 am
by Phitt
You don't need any class other than the 'model' component. You don't need a hit sound either btw if the player can walk through it.

Re: Object Names

Posted: Fri Nov 14, 2014 11:22 am
by Doridion
There's no "decoration" anymore in the model classes ;)

Just define the odject, give it the name, model, placement, icon and that's all.

"decorations" are mostly on floor or wall.

Re: Object Names

Posted: Fri Nov 14, 2014 11:27 am
by kelly1111
that did the trick..
I've been trying for hours... lol

trying to import some of the legend of grimrock 1 work , but it's a tedious task and time consuming.
I wonder are people doing the same ..or waiting for new asset packs to come out?

would love to have my southern temple and , frozen temple, deep dungeon ...etc back ! ... but the work to port them over,....


thanks

Re: Object Names

Posted: Fri Nov 14, 2014 11:29 am
by Doridion
If you search a little or usually use the superthread, you can find this thread : Custom assets definitions.

There's a depositary of news founded definitions ;)