Difference between revisions of "Object Element"

Jump to navigation Jump to search
298 bytes added ,  12:19, 19 December 2009
no edit summary
imported>JRoush
imported>JRoush
Line 1: Line 1:
{{unfinished}}
Object Elements are a subgroup of the elements in the [[:Category: Oblivion XML|Oblivion XML]] schema.  They define all of the "objects" in the menu - the background and images, the buttons, the text - anything visible is an object element.
 
Object Elements are generally identified with a name (using the [[Trait|name trait]]), and can be interacted with by the player and by certain OBSE scripting functions.


== Image ==
== Image ==
Defines a rectangular region with an associated [[Portal:Texturing|texture]].  Every visible aspect of the menus and HUD, except for text, is an <image> element.
Defines a rectangular region with an associated [[Portal:Texturing|texture]].  Every visible aspect of the menus and HUD, except for text, is an <image> element.


'''Value Elements'''
'''Property Elements'''
*[[Property Element#General|General]]
*[[Property Element#General|General]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Sizeable|Sizeable]]
Line 14: Line 16:
Defines a rectangular region (similar to an Image element), but without any visible effects.  Even so, a <Rect> element may have a [[Property Element#Rendered|Visible]] element as a child, which if set to false will hide the <Rect> element and all of its children.
Defines a rectangular region (similar to an Image element), but without any visible effects.  Even so, a <Rect> element may have a [[Property Element#Rendered|Visible]] element as a child, which if set to false will hide the <Rect> element and all of its children.


'''Value Elements'''
'''Property Elements'''
*[[Property Element#General|General]]
*[[Property Element#General|General]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Sizeable|Sizeable]]
Line 22: Line 24:
Self explanatory.  Note, however, that the width and height property elements have no effect on the size of the text - this is determined solely by the font property.
Self explanatory.  Note, however, that the width and height property elements have no effect on the size of the text - this is determined solely by the font property.


'''Value Elements'''
'''Property Elements'''
*[[Property Element#General|General]]
*[[Property Element#General|General]]
*[[Property Element#Sizeable|Sizeable]]
*[[Property Element#Sizeable|Sizeable]]
Line 29: Line 31:


== Menu ==
== Menu ==
Menu elements (as in the specific element type <menu></menu>, rather than any element that might appear in a menu xml file) are a bit special.  The root element of a every menu file must be of this type, and no other <menu> elements are parsed, no matter where they appear in the file.
Menu elements are a bit special.  The root element of a every menu file must be of this type, and no other <menu> elements are parsed, no matter where they appear in the file.


'''Value Elements'''
'''Property Elements'''
*[[Property Element#General|General]]
*[[Property Element#General|General]]
*[[Property Element#Menu|Menu]]
*[[Property Element#Menu|Menu]]


[[Category:Oblivion XML]]
[[Category:Oblivion XML]]
Anonymous user

Navigation menu