Object Names

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

Object Names

Post 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,
}
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

Re: Object Names

Post by SnowyOwl47 »

Check the Advanced Scripting and Editor Help forum post: http://www.grimrock.net/forum/viewtopic ... 521#p75521
User avatar
Mysterious
Posts: 226
Joined: Wed Nov 06, 2013 8:31 am

Re: Object Names

Post 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.
kelly1111
Posts: 349
Joined: Sun Jan 20, 2013 6:28 pm

Re: Object Names

Post by kelly1111 »

have you found out what the class should be if you want to place a decoration?
i need to know too
User avatar
Phitt
Posts: 442
Joined: Tue Aug 14, 2012 9:43 am

Re: Object Names

Post 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.
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Object Names

Post 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.
kelly1111
Posts: 349
Joined: Sun Jan 20, 2013 6:28 pm

Re: Object Names

Post 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
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Object Names

Post 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 ;)
Post Reply