[Done for V0.39] Alcove locations shouldn't be fixed

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

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
User avatar
L!ghthouse
Craftsman
Posts: 106
Joined: Mon Nov 10, 2003 9:43 pm
Location: Budapest, Hungary

[Done for V0.39] Alcove locations shouldn't be fixed

Post by L!ghthouse »

Currently when you place an item in an alcove, it appears in a hard coded alcove location. It would be nice to be able to move the location that the items are placed in. For example, you could have the ability to make an alcove that is very high like on a bookshelf, or 4 alcoves on the same wall (DOH! Guess I should have kept that a secret! :D ).

--_---_--
-|_|--|_|-
--_---_--
-|_|--|_|-
----------
(This is supposed to be the wall with 4 alcoves on it)
Last edited by L!ghthouse on Wed May 24, 2006 7:18 pm, edited 1 time in total.
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

I don't think the four alcove idea would work with the way the engine currently is, anyway, because it has no concept of an object being "in an alcove," or anything.

The object is simply regarded as being in a certain facing of the wall. If there's an alcove there, the object is drawn in the alcove. If not, it's not drawn at all and assumed to be inaccessible.
User avatar
L!ghthouse
Craftsman
Posts: 106
Joined: Mon Nov 10, 2003 9:43 pm
Location: Budapest, Hungary

Post by L!ghthouse »

Even if you would not be able to put multiple alcoves on the same wall, the idea is being able to move the fixed location of the alcove. The only thing you can do is change the offset for the alcove's image, but this does not also change the location that items are placed in the alcove.

Still, I think that it would be awesome to change the engine to allow multiple alcoves on the same wall.
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

L!ghthouse wrote:Even if you would not be able to put multiple alcoves on the same wall, the idea is being able to move the fixed location of the alcove.
It seems like that'd not be too hard, to simply base where the object is drawn on the image coordinates, rather than hardcoded. Of course, the distance between the bottom of the alcove and where the objects rest would probably still have to be hardcoded, but I doubt if that should cause any serious problems.
L!ghthouse wrote:Still, I think that it would be awesome to change the engine to allow multiple alcoves on the same wall.
It seems like it'd be a mess, but I guess only George knows for sure...!
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

You would fudge it with having buttons you press looking like the object, and then releasing the item - would only eork for speciic items, lik books from shelf
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Sophia wrote:
L!ghthouse wrote:Even if you would not be able to put multiple alcoves on the same wall, the idea is being able to move the fixed location of the alcove.
It seems like that'd not be too hard, to simply base where the object is drawn on the image coordinates, rather than hardcoded. Of course, the distance between the bottom of the alcove and where the objects rest would probably still have to be hardcoded, but I doubt if that should cause any serious problems.
Done for V0.39. Items in alcoves are now drawn with their base at a point which is 93% of the way down the alcove bitmap and 50% across (if you have a look at one of the DM bitmap alcoves that's exactly where you would expect it to be).

This means that you can now put alcoves wherever you like on a wall - all you have to do is pad the bitmap with sufficient transparent (pink) pixels to ensure that it's surface is in the right place!
Sophia wrote:
L!ghthouse wrote:Still, I think that it would be awesome to change the engine to allow multiple alcoves on the same wall.
It seems like it'd be a mess, but I guess only George knows for sure...!
Yep - it'd be a real mess; won't be doing that for a while (although, as suggested above, you can fake it pretty well using existing mechanics).
Post Reply