Property Element

From the Oblivion ConstructionSet Wiki
Revision as of 19:28, 21 May 2009 by imported>JRoush (Value Element moved to Property Element: kept having to type "the value of the value element", which just sounds weird)
Jump to navigation Jump to search


Property Elements are a subgroup of the elements in the Oblivion XML schema, always found as children of Menu Elements. Loosely put, property elements define the properties of their parent element - position on the screen, color, texture, etc. In this sense they are similar to traditional xml traits.

Property elements may contain literal values, or a set of Operator Elements as children (but not both). When the menu is rendered, the Oblivion parser evaluates each property element to obtain the value of the property (see the operator element page for a description on how they are evaluated). If a menu element contains more than one property element of the same type, the last one defined will take precedence. If it contains no property elements for an applicable property, the default value is used (usually zero or the empty string).

General

  • ID
  • User#

Sizeable

  • X,Y
  • Height, Width
  • Locus

Visible

  • Alpha
  • Clips
  • Visible
  • Depth

Mouse Targetable

  • Target
  • Clicksound
  • Mouseover

Textured

  • Filename
  • Zoom
  • CropX,CropY

Text

  • Red, Green Blue
  • Font
  • Justify
  • String
  • Wrapwidth

Menu

  • Class
  • Stackingtype
  • Menufade