Page 1 of 1

Additional property for WALLITEM_MIRROR

Posted: Fri Apr 21, 2006 2:06 am
by copperman
At present the mirror uses it's alt images for the mask to display the champion "through" the glass. If I want my mirror to change into something else I need to set up a relay and such to hide the mirror and display my cloned WALLITEM_ . AN additional front alt and side alt properties would allow this to be automagic, the same way wall switches are. If the properties are -NULL- leave the mirror in place, if there are images present alternate to them.

As a side from this, I was using empty amalgam as a test swap item and it would appear it has no side image, nor is there one in the DM graphics.DAT. I guess they decided they didn't need it as it's not going to be seen. Could WHACK be used to generate one perhaps. My bitmap skills aren't up to the job.

Posted: Fri Apr 21, 2006 2:32 am
by Sophia
It's pretty easy already, isn't it? I really think the amount of work entailed in adding this to the engine (no other objects support multiple alt images) isn't worth the gain-- is it really that hard to toggle the mirror with dungeon mechanics?

WHACK can be used to generate wallitem graphics, but since it's designed to generate whole wallsets, it will generate far more graphics than you'll need. That's not a big deal, though, I would think!

Posted: Fri Apr 21, 2006 4:17 am
by copperman
It would not need the extras but for the fact the mirror has a mask image. Supporting extra images is something GG has been open to afterall we now have NSEW images for pillars. Why not extend mirrors with basic switching capability.