placing a lock underwater(problem)

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
FeMaiden
Posts: 290
Joined: Wed Jan 16, 2013 8:16 am

placing a lock underwater(problem)

Post by FeMaiden »

I can't figure this out for the life of me

I have a forest tile map and I have "underwater" tiles on it.
I want a locked door to block the player from escaping the water, and they find a key to open a lock that opens the door.

the problem is that I can't make any of the locks look right underwater.
if I turn it one way, its buried in the rock wall, inaccessible and if I turn it the other way, it's floating out in the middle of the tile.

how do I make it look right?

I had a similar problem in the mines, I kept trying to put a lock on a _support_wall and it did not look right, but I solved it with a mine_support_wall_button

am I supposed to put a specific kind of wall behind the lock to make it look right underwater?
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: placing a lock underwater(problem)

Post by Dr.Disaster »

I don't think rock walls are even enough to place a good-looking lock on them. I'd go with either a door that has the lock build-in or a nexus_lock pedestal.
User avatar
FeMaiden
Posts: 290
Joined: Wed Jan 16, 2013 8:16 am

Re: placing a lock underwater(problem)

Post by FeMaiden »

there are doors with the lock built in?!

either way, the thing is, underwater, it's outdoors and i have 3 spear doors blocking the ladder the player needs to climb. they first have to find the key and lower the spears.

the advice on the nexus lock, that's actually what i have right now as a placeholder.
the problem is that while it looks logical, and it's not floating or clipping which is good; the nexus lock is still sitting in the middle of where the player walks. in addition, the player can just walk right through the space with the nexus pedestal.

I did a workaround where I put an invisible wall on it.
this setup works, but it doesn't look like what I want it to look like.
so my problem is more of an aesthetic problem.

I probably ought to just leave it like that, who's gonna care really? lol
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: placing a lock underwater(problem)

Post by Dr.Disaster »

hmm .. i know in LoG 1 there are doors with the lock build into them but they seem to be gone in LoG 2 ..

Well as a replacement portal_locked with deactivated portal component and a lock added might do.
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: placing a lock underwater(problem)

Post by Isaac »

FeMaiden wrote: how do I make it look right?
Have you tried the earlier thread suggestions for moving object positions?

You can move the lock just a bit, and have it look right.

Image
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: placing a lock underwater(problem)

Post by Drakkan »

you can move any object with setPosition or even rotate it with some scripts so it is not a problem to do anything EXACTLY like you want. it is just quite a work :)
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
FeMaiden
Posts: 290
Joined: Wed Jan 16, 2013 8:16 am

Re: placing a lock underwater(problem)

Post by FeMaiden »

yes, thank you...the only question now is
"do I want to take the time just to move the lock a few pixels over?"
I mean I would like to...the way I have it set up right now, it's working but I could make it look prettier I guess
Post Reply