0 Members and 1 Guest are viewing this topic.
Yup, same thing. Those doors are actually closed (which is why the squares are black). But the faces are orientated wrong so closed looks open, open looks closed.The issue is doors use direction in a non-standard way.Because of the iso view doors, when closed, are always on the lower left or lower right edge of a square. Which should mean direction 5 or 3.It's standard practice to default to direction 5 in the arch so this is what I did. However...Doors can be hinged on the left or right, which is how we get double doors. So we use 1 and 7 too to complement 5 and 3. Or we would do it this way if logic was involved.In fact the two versions on the lower left edge are 1 and 7 and the teo on the lower right are 3 and 5. The default is 1.So the faces are: (Attachment Link) Directions 2, 4, 6, and 8 aren't really used. Inn the .anim these just duplicate the 'real' 1, 3, 5, and 7 values: (Attachment Link) Note also that doors are either fully closed (frame 1) or fully open (frame 2). Using frames in this way means doors can't be animated.For 0.10.7 I propose we keep closed doors as the illogical directions 1 and 7, 3 and 5 (means maps do not need updating) but instead of toggling the frame to show closed/open we change direction. So 1, 3, 5, 7 are closed, 2, 4, 6, 8 are open. This allows animated doors (closed/open is still a binary system but while in either state the door can be animated--ie, a flickering fire door, glinting ice door, rippling water door, throbbing flesh door, etc.More to come on practicalities of how to do it but that's the basic idea.
I've just changed the code to work as Smacky describes 3 posts up. Direction is now used to specify whether or not doors are open.This does require arch, anim, and image changes. It will also require a few map changes in places where double-doors are used, because previously double-doors were pretty much given an arbitrary direction. I'll make sure it's all changed for 0.10.7.
Started by Pippen
Started by zaurbock
Started by smacky
Started by sur3
2002-2019 © Daimonin MMORPG | Disclaimers