Teleport activation with item (EOB like)

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
AmiDARK
Posts: 55
Joined: Thu Apr 19, 2012 6:07 pm
Location: Aix en Provence, France
Contact:

Teleport activation with item (EOB like)

Post by AmiDARK »

Hi,

Does someone already had the idea to create a teleporter system like in Eye of the Beholder when you're in the dwarfs levels :
Image

Activation of the teleporter when you use a specific item on the wall object.

Is this feature possible with Grimrock ?
User avatar
Asteroth
Posts: 471
Joined: Wed Oct 24, 2012 10:41 am
Location: Eastern U.S.

Re: Teleport activation with item (EOB like)

Post by Asteroth »

Aaah, those doors are the symbol of the series to me. For some reason the stone thingies would actually pass to game two. Some of them at least, whereas most plot items disapeared. Anyways, I think it could be done.It might be possible via an invisible alcove (Daemon head eye socket style) but alter the position and change code to say. Something like:

Code: Select all

defineObject{
	name = "eob_teleport_door_socket_ankh",
	class = "Alcove",
	anchorPos = vec(0.21, 1.58, -0.45),
	targetPos = vec(0.2, 1.65, -0.45),
	targetSize = vec(0.1, 0.1, 0.1),
	placement = "wall",
	onInsertItem = function(self, item)
		return item.name == "door_ankh" and self:getItemCount() == 0
	end,
	editorIcon = 92,
}
Some parts like anchorPos might need changing.
I am the God of darkness and corruption.
viewtopic.php?f=14&t=4250
User avatar
Xanathar
Posts: 629
Joined: Sun Apr 15, 2012 10:19 am
Location: Torino, Italy
Contact:

Re: Teleport activation with item (EOB like)

Post by Xanathar »

Hi, I think there are multiple ways to do it
  • You can use a set of invisible alcoves (ask the alcove experts here for more help, I'm kind of an alcove noob), so to detect the item click and activate the teleporter --> Edit: See Asteroth solution above :)
  • You can use an invisible button, and then in script do something different depending on the mouse item (only difference, you click on the same place, not on the empty tile of the gate as in eob)
  • You can use a set of locks on the same wall. After use, respawn the stone item in hand and destroy/spawn the used lock again (so that it can be reused).
If you aren't striving for exactly the same effect as EOB, but only funcionally similar then you have additional options. For example I use altars and items put over them for teleportation. (Simpler and more in tune with my dungeon for example).
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com

The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563

My preciousss: http://www.moonsharp.org
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Teleport activation with item (EOB like)

Post by Komag »

Yeah, more than one way to skin a feline. I think the sockets(alcoves) option would be pretty easy
Finished Dungeons - complete mods to play
AmiDARK
Posts: 55
Joined: Thu Apr 19, 2012 6:07 pm
Location: Aix en Provence, France
Contact:

Re: Teleport activation with item (EOB like)

Post by AmiDARK »

Thank you for your answers ... will try to do that.
Post Reply