Multiple clickable wallitems

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

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
User avatar
Paul Stevens
CSBwin Guru
Posts: 4322
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Post by Paul Stevens »

Support for multiple clickable objects on one wall
ooooo! That's a nice addition that will not
break the 'DMness' of a dungeon.

Could a wall contain two working torch
holders? Two portraits
to select from? Two alcoves (high and low,
for example). Might a torch holder be
contained within an alcove? These are
things unthinkable in CSBwin.
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Paul Stevens wrote:These are things unthinkable in CSBwin.
But not in RTC... ;)
User avatar
Kain
Apprentice
Posts: 50
Joined: Wed Mar 14, 2007 4:42 am

Post by Kain »

Yes, being able to put four levers on one wall will allow for an explosion of annoying combination lock puzzles. No thanks, I went through enough of those in Captive.


[not that it wouldn't be a good feature to have though... :)]
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

Paul Stevens wrote:Could a wall contain two working torch
holders?
Absolutely, though the bitmaps are ripped straight out of CSBwin so a smaller bitmap with less "power pink" may be more ideal-- the clickzone on the current one is rather large.
Paul Stevens wrote:Two portraits to select from?
Yes!
Paul Stevens wrote:Two alcoves (high and low, for example).
This one is tricky. Right now, there's no way to create multiple separate clickzones for one object, so for the game to work "properly," the alcove just drops the items in the wall like DM rather than storing them "inside" the alcove, so they can have their clickzones created by the renderer as normal. Having two alcoves wouldn't work because the game wouldn't know which alcove to display the items inside of. However, with a bit of hacking, I think this one is doable, as long as you you didn't mind the alcove and the things in it having to share a clickzone. (Which would be less noticable if you had two shorter alcoves vertically stacked, anyway)
Paul Stevens wrote:Might a torch holder be contained within an alcove?
I think this one would take a bit of hacking, too, or the torch would always end up in the alcove instead of the holder.
Paul Stevens wrote:These are things unthinkable in CSBwin.
then Gambit37 wrote:But not in RTC... ;)
Actually, I don't think most of this is doable in RTC, either.
RTC stores a torch holder's torch in the wall, so it's not clear which holder the torch "in the wall" actually belongs to. You could do something tricky with a lot of swaps and such, but it'd be tough to get it exactly right, especially preserving the power level of the torch.
Trying to have two mirrors on the same wall could work, except if the champions are to carry items, for the same reason-- it doesn't know which champion to assign the items to, since they're just in the wall.
I don't think there's any sort of hack that could get two alcoves at all, but I'm not up what the most current versions of RTC can do.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

The alcove thing could also morph into a bookshelf where you can pick out and put back many books
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

Hehe, to make it worth everyone's while to download a new version so soon, I've added a double alcove to version 0.14's test dungeon.
(Go to where you find the conduit and the gor coin)
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Sophia wrote:
then Gambit37 wrote:But not in RTC... ;)
Actually, I don't think most of this is doable in RTC, either.
RTC stores a torch holder's torch in the wall, so it's not clear which holder the torch "in the wall" actually belongs to. You could do something tricky with a lot of swaps and such, but it'd be tough to get it exactly right, especially preserving the power level of the torch.
Trying to have two mirrors on the same wall could work, except if the champions are to carry items, for the same reason-- it doesn't know which champion to assign the items to, since they're just in the wall.
I don't think there's any sort of hack that could get two alcoves at all, but I'm not up what the most current versions of RTC can do.
You're right, some of the mechanics of RTC still don't support the scenarios posted here. But having many clickable items like buttons etc. all over a wall has been doable for ever.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

Yeah, so you could have a dual torch holder no problem, but to have one that accepted torches and gave you back out the same torches wouldn't be - i wonder if drainign a torch on a holder is yet...I never got back to this
Post Reply