Mulitple switches on a wall?

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
WolfHeart
Apprentice
Posts: 40
Joined: Sun Dec 28, 2003 4:20 am
Location: Ohio, USA

Post by WolfHeart »

Is there a way to have more than 1 button (switch) on the same wall? I am trying to make a multi button panel that will teleport you to different places. I can do it with levers but then affect is spoiled because they need to be spaced on different walls instead of all in one group
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I've not tried it, but you could probably clone the green switch and create different x/y positions for the bitmaps so that you can have multiple switches on the same wall...
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

I believe Gambits suggestions should work. The mouse click detection code specifically looks at the area of the screen covered by the bitmap.

If you offset different bitmaps by different ammounts and associate each bitmap with a different clone of an object then you should get exactly the behaviour you're looking for.
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

In fact, that's given me some good ideas for a puzzle.... ;)
WolfHeart
Apprentice
Posts: 40
Joined: Sun Dec 28, 2003 4:20 am
Location: Ohio, USA

Post by WolfHeart »

I assume you picked the green switch at random and it could have also been a wallitem_switch_blue or wallitem_switch_red instead of the wallitem_switch_green right??? If so I must be doing something wrong because I can't seem to edit it with the editor I can highlight it af if to change but when i try to change the value nothing overrites. Maybe Im to tired hehe.

Oh glad to hear it gave you a good idea for a puzzle. If I can get this to work I am hoping to have sorta an elevator to HELL :twisted:
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Yeah, it could be any switch.

You can't change existing switches in the editor. Default stuff (already built in) can't be overriden. That's why you need to clone it so that you can change i's x/y properties. You need the necessary bitmaps too. The easiest way to get them is to take screen grabs from the editor, crop and touch them up in a paint package.
Post Reply