View Single Post
Old 11-22-2002, 05:48 PM   #23
Aelthas
A Gray Wolf
 
Join Date: Aug 2002
Posts: 7
Smile

Quote:
Originally posted by jobeken
The dummy file is a bad idea for one reason...

Anytime you delete the pre-existing verant XML you run the risk of seeing an incompatibility message even tho the skin loads.

What you need to do to correctly make a window go away...

Window type WDT_Def
transparency true
Move all XML elemnts that display in the window to -250 -250
Then edit the window size down to 1x1

That gets rid of the incompatability warning message and the window.


True enough. Maybe I should have been more explicit in the last post. For a few windows making a dummy file of them would get you into trouble (The bazaar window springs to mind here).

But, for the two windows that are most commonly commented out (EQUI_BreathWindow and EQUI_CastingWindow) making dummy files for them is perfectly valid. No incompatibility messages or errors should be forthcoming. Though I am only speaking from my experience with them and it wouldn't be the first (or last) time I was mistaken about something. Though your method is safer for most people deciding to get rid of a window.

Also with the dummy file for those two you get the nice bonus of not wasting memory to load something that won't even be seen by the user. And really, I just dislike putting in any code that isn't going to be used.



ps. Love your work on Glass. I'm looking forward to seeing the finished mod.

- Aelthas
Aelthas is offline   Reply With Quote