Clone a key?

Talk about anything Legend of Grimrock 1 related here.
Post Reply
trancelistic
Posts: 275
Joined: Sat Jun 16, 2012 5:32 am

Clone a key?

Post by trancelistic »

Note: This is grimrock 1

Hey all. Uhm I've cloned and uinamed a new key but how to make it work ?
I can't use it in a lock. I'm sure I used to know how but I simply forgot.
Any 1 can help me out here?
Thanks.
User avatar
THOM
Posts: 1281
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Clone a key?

Post by THOM »

Don't know, what you exactly mean.

You have always to give a lock an item, that operates it (it must not be a key btw). Than you have to connect the lock with the door or whatever you want to unlock.

Was this your question?
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
trancelistic
Posts: 275
Joined: Sat Jun 16, 2012 5:32 am

Re: Clone a key?

Post by trancelistic »

Thanks for the feedback and sorry for my bad English.

I ment: I've made an new item in the objects.lua. And its a key. "master key" but if i place a lock in the dungeon I can/can't type in "master key" to unlock it but It won't work.


*EDIT* Duh Nevermind. Guess I had to use the uiname and not the name of the item in the editor.

My bad haha. Thanks.
trancelistic
Posts: 275
Joined: Sat Jun 16, 2012 5:32 am

Re: Clone a key?

Post by trancelistic »

Thon: Uhm how to explain this. The new item is working now but suddenly the textures of the green_slime changed ( how the hick?)

Haha I got no idea why it happend. Maybe leave it as this? Or could it crash the game later on?


ALl I did was in /x/objects.lua add the text"
SpoilerShow
cloneObject{
name = "stone key",
baseObject = "round_key",
description = "A stone key. It seems fragile, better open the door or lock carefully",
uiName = "stone key.",
}
Image
How could this change mess up the green slime?
Post Reply