lock placement prob

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
hyteria
Posts: 266
Joined: Sat Dec 29, 2012 8:22 pm

lock placement prob

Post by hyteria »

hello

i tried to move a lock in space , this work really great with height but nothing happen with witdh

cloneObject{
name = "lock_right",
baseObject = "lock",
witdh = 1,
placement = "wall",
editorIcon = 20,
}

nothing change , any suggestion or this is not possible?
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: lock placement prob

Post by Neikun »

One thing, you've spelled width wrong.
Also I don't think that's a valid scripting line anyway.
You will have to use the GMT to move the model in 3d space.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
hyteria
Posts: 266
Joined: Sat Dec 29, 2012 8:22 pm

Re: lock placement prob

Post by hyteria »

sorry i dont understand what you mean (
have you an example?
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: lock placement prob

Post by Neikun »

So if you open John Wordsworth's GMT (Grimrock Model Tool Kit) and use it to open a model of a lock, you can select the RootNode and translate it. There are three boxes beside the translate button. They are (in order) the X,Y,Z axis. So whatever value you put in those boxes, it will translate that many values across those axis.

EDIT: Pictorial reference
Image

Here I have moved the lock model -1 value along the X axis. In other words, I have moved it 1/3 of a square left.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
hyteria
Posts: 266
Joined: Sat Dec 29, 2012 8:22 pm

Re: lock placement prob

Post by hyteria »

thx i m gonna check that and hope to understand hehe
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: lock placement prob

Post by Neikun »

Then to define it in your dungeon, just clone a regular lock and put whatever you saved this one as, as your model file.

Happy new year! =D
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
hyteria
Posts: 266
Joined: Sat Dec 29, 2012 8:22 pm

Re: lock placement prob

Post by hyteria »

Image

thx ! )
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: lock placement prob

Post by Komag »

now that's a lot of locks!!
Finished Dungeons - complete mods to play
hyteria
Posts: 266
Joined: Sat Dec 29, 2012 8:22 pm

Re: lock placement prob

Post by hyteria »

yes this will be a nice puzzle , locks all over walls in entire room and only ONE key on an altar..... :)
User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: lock placement prob

Post by JohnWordsworth »

Lol! Look at all of those locks!

If you want to avoid the clipping problem on the ones that aren't displaying properly, you could also translate those locks in the Z axis (probably using a tiny negative value, like -0.05 in the Z translate box).
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Post Reply