Receptors triggers

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
rumtum
Posts: 2
Joined: Mon Oct 08, 2012 11:23 pm

Receptors triggers

Post by rumtum »

Hi,

I have setup a receptor to be triggered by a throwing dagger. Is it possible to trigger it via several optional triggers in an 'OR' fashion? For example
I would like to trigger it when player throws a rock, or a knife, or a frostbolt.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Receptors triggers

Post by Komag »

I'm not sure how to do that. You could always place multiple invisible receptors, one for each, with one real one for looks
Finished Dungeons - complete mods to play
rumtum
Posts: 2
Joined: Mon Oct 08, 2012 11:23 pm

Re: Receptors triggers

Post by rumtum »

Hello Komag,

The multiple hidden receptors worked like a charm. Thanks!
User avatar
djoldgames
Posts: 107
Joined: Fri Mar 23, 2012 11:28 pm
Contact:

Receptors out of wall

Post by djoldgames »

Another question:
I found, receptor are not activated if it is placed "out of wall". Only the "wall mounted" receptor is activated properly.
Is there any way to place and activate receptor flying on the clear tile? I want to use hidden receptor on the secret door or other "not wall mounted" entities.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Receptors triggers

Post by Komag »

I don't know how that might work, but maybe someone has an idea. I'm guess part of the system is that it needs at least something solid to hit, but that wouldn't explain why it doesn't work on secret doors. Maybe it has to be solid always.
Finished Dungeons - complete mods to play
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Receptors triggers

Post by Neikun »

Hey, Dj
Hidden receptors are wallmounted as well.
If you want a receptor in the middle of the tile (for some reason)
I think you could see if cloning the visible receptor and setting placement to floor does the job. If so, clone the hidden receptor instead.

I'm also getting the idea that you want to place the receptor where there is no floor. I do not thing that is possible.
"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!
User avatar
Kuningas
Posts: 268
Joined: Wed Apr 11, 2012 10:29 pm
Location: Northern Finland

Re: Receptors triggers

Post by Kuningas »

It is possible, that the receptor actually senses if the item hits the wall. If there is no wall, it sails right through and the receptor doesn't register the object. I've noticed that alcoves are walkable when placed in the middle of a room, so I reckon this applies to receptors as well.

This is just from the top of my head, though.
BASILEUS
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Receptors triggers

Post by Neikun »

Did someone say I should make a receptor alcove?
OKAY THEN.
<3~
"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!
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Receptors triggers

Post by petri »

I think you should be able to script what you want with entitiesAt().
User avatar
djoldgames
Posts: 107
Joined: Fri Mar 23, 2012 11:28 pm
Contact:

Re: Receptors triggers

Post by djoldgames »

petri wrote:I think you should be able to script what you want with entitiesAt().
Yes, thanks. I suppose, you mean constantly checking the specific TILE in function connected to timer (short time 0.1). Is this principle of your hardcoded receptors?
And I have more questions about this:
1. Catch this sort of custom receptor throwing objects? (flying over the tile)
2. Is there any restrictions to use a lot of active timers for the tha game engine?
Post Reply