Difference between revisions of "Category:Oblivion XML"
Jump to navigation
Jump to search
blurb on file locations
imported>JRoush (category page (finally correct, I hope)) |
imported>JRoush (blurb on file locations) |
||
Line 1: | Line 1: | ||
{{unfinished}} | |||
=== What is XML? === | === What is XML? === | ||
XML stands for [http://en.wikipedia.org/wiki/XML eXtensible Markup Language], a generic syntax used to encode data in a series of parent-child relationships. An XML document contains a hierarchical list of ''elements'', each of which is described by a set of ''traits''. In Oblivion, XML is used to encode various customizable properties of the user interface. Every button, box, piece of text, and colorful widget in a menu (or the HUD) is an element in that menu's XML | XML stands for [http://en.wikipedia.org/wiki/XML eXtensible Markup Language], a generic syntax used to encode data in a series of parent-child relationships. An XML document contains a hierarchical list of ''elements'', each of which is described by a set of ''traits''. In Oblivion, XML is used to encode various customizable properties of the user interface. Every button, box, piece of text, and colorful widget in a menu (or the HUD) is an element in that menu's XML document, where it is described by traits such as position, color, and graphical texture. | ||
=== General Syntax === | === General Syntax === | ||
Line 14: | Line 15: | ||
<!-- this is a comment --> | <!-- this is a comment --> | ||
To learn more about XML syntax, read the [http://www.w3.org/XML/ complete specification] or one of the tutorials provided by the World Wide Web Consortium. | To learn more about XML syntax, read the [http://www.w3.org/XML/ complete specification] or one of the tutorials provided by the World Wide Web Consortium. | ||
=== Oblivion Menu Files === | |||
Menu xml data is stored in the ''Oblivion\Data\Menus'' directory. Each menu is stored in it's own file. Oblivion reloads a menu from disk every time it is opened, so to the file made while the game is running can be seen after closing and re-opening the menu - a very useful for editing. Note, however, that some menus are never closed (e.g. the HUD). These menus can be reloaded in game using "Reload ''menuname''" [[:Category:Console Functions|console function]]. |