Operating levers

Questions about how to create your own dungeons and replacement graphics and sounds.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
Chaos Awakes
Artisan
Posts: 187
Joined: Sat Jan 22, 2005 2:50 pm
Location: Ipswich, UK

Operating levers

Post by Chaos Awakes »

I don't seem to be able to activate a lever using a pressure pad.
When a certain item lands on a pressure pad, I want a lever on the wall to get pulled. The lever activates a relay.

If I set up the pressure pad to operate the relay directly, it works. But then I don't get the visual representation of the lever being pulled.
If I set up the pressure pad to operate the lever, nothing happens. Nothing at all. Not only doesn't the lever switch to it's alternate state as I would expect when it gets activated, but the relay doesn't trigger.

What's going on?
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

It doens't work like that, you can enable and disable wall objects as you are doing (make them visible or invisible, invisible versions unable to be clicked on), but wall objects are there to be interractved by the mouse.

What you want to do is make the pressure pad activate the relay directly, and also have the pressure pad make a cloned lever decoration graphic switch from a up to a down version (deactivate to make invisible, activate to make visible).

If this lever is supposed to also be interractable by the party, then you want to clone a level and swap it's alternate graphics with it's normal graphics, and make the two swap around in terms of visibility
Chaos Awakes
Artisan
Posts: 187
Joined: Sat Jan 22, 2005 2:50 pm
Location: Ipswich, UK

Got it working

Post by Chaos Awakes »

Actually, if it was as complicated as that I'd pack it all in and go to live in a commune somewhere lol.

What I did was this:

The pressure pad activates the relay directly.
A second pressure pad on the same square "toggles" the lever. Toggling the lever appears to swap it's graphic.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Interesting, then it's all good!
Post Reply