This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Property Element"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JRoush
imported>JRoush
Line 1: Line 1:
{{unfinished}}
{{unfinished}}
Property Elements are a subgroup of the elements in the [[Oblivion XML]] schema, always found as children of [[Menu Element]]s.  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 Element]]s 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 ==
== General ==

Revision as of 20:27, 21 May 2009


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