Difference between revisions of "User:JRoush"
→Oblivion XML
imported>JRoush |
imported>JRoush |
||
Line 20: | Line 20: | ||
== Oblivion XML == | == Oblivion XML == | ||
== Editing Menu Files == | |||
All menus stored in ''Oblivion\Data\Menus''. Menus are reloaded from disk every time they are reopened in the game (at least, dialog menus like alchemy, spellmaking, etc. are). You can alt+tab out of the game, edit the menu file, and then switch back and close/reopen the menu to see your changes. Oblivion generally doesn't like to be alt+tabbed, but I find that if I don't do anything memory intensive while it's minimized it doesn't crash (often). | |||
=== Elements === | === Elements === | ||
*<menu> | *<menu> - root element of a menu file. As far as I can tell Menu elements cannot be nested inside other elements, and only one is parsed per xml file. | ||
*< | *<rect> - defines an invisible rectangular region of the menu, used as invisible mouse targets or "containers" for other elements | ||
*<rect | *<image> - like a rect element, but with an associated visible texture | ||
*<text> | *<text> - text, in any color, using one of the games internal fonts | ||
*<template> | *<template> - special element used as a "container" for xml code that the game engine will copy/paste into another part of the menu at run time (e.g. the code for a single inventory item is placed in a template) | ||
Each element in the list should have a name="" trait in the opening tag. | Each element in the list should have a name="" trait in the opening tag. | ||