Moving Alcoves, Walls, etc.

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Сталкер
Posts: 3
Joined: Sat Oct 06, 2012 3:19 am

Moving Alcoves, Walls, etc.

Post by Сталкер »

Is it possible to cause a wall / alcove to push down a tunnel whatever amount of squares when activated?

What I'm hoping to accomplish: By placing an item inside an alcove, instead of opening a secret door or unlocking a door, that alcove will move down the tunnel to reveal a hidden passage way. The alcove itself is the secret door.

This would be a fantastic effect!
I don't know the Russian language, I just love the movie!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Moving Alcoves, Walls, etc.

Post by Neikun »

Hmm. give me a second. I'm going to see if the answer is as simple as I hope it is.

Although, I think you're trying to talk about a custom animation.
"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!
Lmaoboat
Posts: 359
Joined: Wed Apr 11, 2012 8:55 pm

Re: Moving Alcoves, Walls, etc.

Post by Lmaoboat »

I don't know about moving, but you could do it crudely by deleting and creating alcoves in sequence.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Moving Alcoves, Walls, etc.

Post by Neikun »

Code: Select all

defineObject{
	name = "dungeon_secret_door_alcove",
	class = "Door",
	model = "assets/models/env/dungeon_wall_alcove.fbx",
	openSound = "wall_sliding",
	closeSound = "wall_sliding",
	lockSound = "wall_sliding_lock",
	openVelocity = 0.5,
	closeVelocity = -0.5,
	secretDoor = true,
	placement = "wall",
	editorIcon = 120,
}
This will have an alcove wall piece slide into the ceiling.
You won't be able to interact with the alcove, though I think if you place a logical alcove on top of it, you could.
And then you could link that logical alcove to an lua script and do the following:
Placing a specific item on the alcove causes the alcove secret door to slide up while simultaneously triggering an lua script that destroys the logical alcove.
"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!
Сталкер
Posts: 3
Joined: Sat Oct 06, 2012 3:19 am

Re: Moving Alcoves, Walls, etc.

Post by Сталкер »

@Lmaoboat: I didn't even think of that. Indeed it would be very crude - lol - so I figure there's a way to place items at precise areas per square? The script could look very ugly and cause problems though.

@Neikun: I was afraid of having to go custom animation, and it was the first possible solution that came to me. That could be the easiest way to do it, unless importing custom animations is tough.

Having two different alcoves, one for the effect and one for the trigger (then being destroyed), should do. Opening like the secret door prop does will do. Thank you!
I don't know the Russian language, I just love the movie!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Moving Alcoves, Walls, etc.

Post by Neikun »

Good to know.
Remember, I'm the alcove guy. 8-)
So if you need help with a logical alcove, I can help.
Batty and crisman are also really good with alcoves. the three of us do a lot of the piloting in viewtopic.php?f=14&t=3411
"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!
Lmaoboat
Posts: 359
Joined: Wed Apr 11, 2012 8:55 pm

Re: Moving Alcoves, Walls, etc.

Post by Lmaoboat »

Thought I should point out that the empty space in the Alcove will make it look kind of funny when it disappears into the ceiling.
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Moving Alcoves, Walls, etc.

Post by Neikun »

It should also be noted that you can throw items through the alcove/secret door.
It should also be noted that if you place it wrong, it will be backwards facing.
"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!
Post Reply