![]() |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ultima Online General Discussion Forum for general chat on UO. |
|
|
Thread Tools |
|
|
#1 |
|
Join Date: Mar 2006
Shard: Napa Valley
Posts: 374
Thanks: 1
Thanked 1 Time in 1 Post
![]() ![]() ![]() ![]() ![]() |
Playing with the KR UI.
Hail and well met.
I have zero experience with XML and thus my activities are limited to copy/pasting. Nevertheless I came up with "something". Essentially what I was attempting to do was move the menu bar onto the paper doll, ala 2D. The main problem is that I cannot figure out how to get the main menu or the friends list button to work. The rest of the buttons seem to work. If anyone wants to look at it, it can be downloaded here: http://www.midnightwraiths.org/DerajsSadAttempt.zip To install it, just download and extract the folder into UserInterface folder, which by default is located at C:\Program Files\EA Games\Ultima Online Kingdom Reborn\UserInterface\. Log in and select the custom UI, hit apply. I've added some of my own comments to help better understand the code; it's basically the file dealing with how the paperdoll is drawn.
__________________
Still we loom in the mists as the ages roll away, And we say of our folk, "they are here!" That they built us and they died and you'll not be knowing why, Save we stand on the bare plains of Wiltshire. |
|
|
|
|
|
#2 |
|
The One & Only Bandit King :)
Join Date: Jan 2006
Shard: Pacific
Posts: 6,447
Thanks: 12
Thanked 42 Times in 33 Posts
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Playing with the KR UI.
Code:
- <Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../Interface.xsd"> - <Scripts> <Script file="Source/PaperdollWindow.lua" /> </Scripts> - <Windows> - <Button name="MenuButtonTemplate" sticky="false" backgroundtexture="hud_image" highlighttexture="hud_image"> - <Size> <AbsPoint x="48" y="48" /> </Size> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleMenuButton" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="PaperDollTabButton" drawchildrenfirst="true" font="UO_GoldButtonText"> - <Size> <AbsPoint x="100" y="24" /> </Size> - <TextColors> <Normal r="243" g="227" b="49" a="255" /> <Disabled r="33" g="20" b="0" a="255" /> </TextColors> <TextOffset x="0" y="1" /> - <Windows> - <HorizontalResizeImage name="$parentTab" texture="UO_Common" inherits="UO_Default_Medium_Tab_Enabled" texturescale="1.0" handleinput="false"> - <Size> <AbsPoint x="100" y="24" /> </Size> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </HorizontalResizeImage> - <HorizontalResizeImage name="$parentTabSelected" texture="UO_Common" inherits="UO_Default_Medium_Tab_Disabled" texturescale="1.0" handleinput="false"> - <Size> <AbsPoint x="100" y="24" /> </Size> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </HorizontalResizeImage> </Windows> - <EventHandlers> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ToggleTab" /> </EventHandlers> </Button> - <Button name="ItemSlotButtonDef" draganddrop="true" layer="secondary"> - <Size> <AbsPoint x="58" y="58" /> </Size> - <Windows> - <DynamicImage name="$parentSquareBg" texture="paperdoll_slots" texturescale="1.0" handleinput="false"> - <Size> <AbsPoint x="58" y="58" /> </Size> - <Anchors> - <Anchor point="center" relativePoint="center" relativeTo=""> <AbsPoint x="0" y="0" /> </Anchor> </Anchors> <TexCoords x="0" y="174" /> </DynamicImage> - <DynamicImage name="$parentSquareIcon" texturescale="1.0" handleinput="false" layer="popup"> - <Size> <AbsPoint x="58" y="58" /> </Size> - <Anchors> - <Anchor point="center" relativePoint="center" relativeTo=""> <AbsPoint x="0" y="0" /> </Anchor> </Anchors> </DynamicImage> </Windows> - <EventHandlers> <EventHandler event="OnLButtonDown" function="PaperdollWindow.SlotLButtonDown" /> <EventHandler event="OnLButtonDblClk" function="PaperdollWindow.SlotLButtonDblClk" /> <EventHandler event="OnRButtonDown" function="PaperdollWindow.SlotRButtonDown" /> <EventHandler event="OnMouseOver" function="PaperdollWindow.ItemMouseOver" /> <EventHandler event="OnMouseOverEnd" function="ItemProperties.ClearMouseOverItem" /> </EventHandlers> </Button> - <Window name="PaperdollWindow" movable="true"> - <!-- This is the where the Paperdoll window is drawn --> - <Size> <AbsPoint x="414" y="630" /> - <!-- Formerly 366, 630 ; This determines the size of the entire window. --> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="1025" y="0" /> </Anchor> </Anchors> - <EventHandlers> <EventHandler event="OnInitialize" function="PaperdollWindow.Initialize" /> <EventHandler event="OnShutdown" function="PaperdollWindow.Shutdown" /> <EventHandler event="OnUpdate" function="PaperdollWindow.OnUpdate" /> </EventHandlers> - <Windows> - <!-- Default chrome. Alter this at your own peril. --> - <Window name="$parentChrome" inherits="UO_DefaultWindow"> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </Window> - <!-- End of default chrome boilerplate code --> - <!-- Menu Bars on the Paperdoll --> - <Button name="$parentToggleMainMenu" inherits="MenuButtonTemplate"> - <Anchors> - <Anchor point="topright" relativePoint="topright" relativeTo="$parent"> <AbsPoint x="-15" y="150" /> </Anchor> </Anchors> - <TexCoords> <Normal x="0" y="658" /> <NormalHighlit x="145" y="658" /> <Pressed x="96" y="658" /> <PressedHighlit x="145" y="658" /> <Disabled x="0" y="658" /> </TexCoords> </Button> - <Button name="$parentToggleMap" inherits="MenuButtonTemplate"> - <Anchors> <Anchor point="bottomright" relativePoint="topright" relativeTo="$parentToggleMainMenu" /> </Anchors> - <TexCoords> <Normal x="0" y="370" /> <NormalHighlit x="145" y="370" /> <Pressed x="96" y="370" /> <PressedHighlit x="145" y="370" /> <Disabled x="0" y="370" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleMapWindow" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="$parentToggleGuild" inherits="MenuButtonTemplate"> - <Anchors> <Anchor point="bottomright" relativePoint="topright" relativeTo="$parentToggleMap" /> </Anchors> - <TexCoords> <Normal x="0" y="754" /> <NormalHighlit x="145" y="754" /> <Pressed x="96" y="754" /> <PressedHighlit x="145" y="754" /> <Disabled x="0" y="754" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleGuildWindow" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="$parentToggleFriendsList" inherits="MenuButtonTemplate"> - <Anchors> <Anchor point="bottomright" relativePoint="topright" relativeTo="$parentToggleGuild" /> </Anchors> - <TexCoords> <Normal x="0" y="514" /> <NormalHighlit x="145" y="514" /> <Pressed x="96" y="514" /> <PressedHighlit x="145" y="514" /> <Disabled x="0" y="514" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleFriendsListWindow" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="$parentToggleVirtues" inherits="MenuButtonTemplate"> - <Anchors> <Anchor point="bottomright" relativePoint="topright" relativeTo="$parentToggleFriendsList" /> </Anchors> - <TexCoords> <Normal x="0" y="802" /> <NormalHighlit x="145" y="802" /> <Pressed x="96" y="802" /> <PressedHighlit x="145" y="802" /> <Disabled x="0" y="802" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleVirtuesWindow" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="$parentToggleSkills" inherits="MenuButtonTemplate"> - <Anchors> <Anchor point="bottomright" relativePoint="topright" relativeTo="$parentToggleVirtues" /> </Anchors> - <TexCoords> <Normal x="0" y="322" /> <NormalHighlit x="145" y="322" /> <Pressed x="96" y="322" /> <PressedHighlit x="145" y="322" /> <Disabled x="0" y="322" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleSkillsWindow" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="$parentToggleQuests" inherits="MenuButtonTemplate"> - <Anchors> <Anchor point="bottomright" relativePoint="topright" relativeTo="$parentToggleSkills" /> </Anchors> - <TexCoords> <Normal x="0" y="562" /> <NormalHighlit x="145" y="562" /> <Pressed x="96" y="562" /> <PressedHighlit x="145" y="562" /> <Disabled x="0" y="562" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="MenuBarWindow.ToggleQuestWindow" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <!-- This section is for the tab buttons at the top of the paperdoll --> - <Button name="$parentTabButton1" inherits="PaperDollTabButton" id="1"> - <Size> <AbsPoint x="100" y="24" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft" relativeTo="$parent"> <AbsPoint x="20" y="50" /> </Anchor> </Anchors> </Button> - <Button name="$parentTabButton2" inherits="PaperDollTabButton" id="2"> - <Size> <AbsPoint x="100" y="24" /> </Size> - <Anchors> - <Anchor point="topright" relativePoint="topleft" relativeTo="$parentTabButton1"> <AbsPoint x="5" y="0" /> </Anchor> </Anchors> </Button> - <Button name="$parentTabButton3" inherits="PaperDollTabButton" id="3"> - <Size> <AbsPoint x="100" y="24" /> </Size> - <Anchors> - <Anchor point="topright" relativePoint="topleft" relativeTo="$parentTabButton2"> <AbsPoint x="5" y="0" /> </Anchor> </Anchors> </Button> - <!-- This section is for the three different sections that correspond to the tab buttons --> - <Window name="$parentTabWindow1" moveable="false" draganddrop="true"> - <Size> <AbsPoint x="10" y="10" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft" relativeTo="$parent"> <AbsPoint x="16" y="74" /> </Anchor> - <Anchor point="bottomright" relativePoint="bottomright" relativeTo="$parent"> <AbsPoint x="-68" y="-16" /> - <!-- Original value increased by 48 --> </Anchor> </Anchors> - <EventHandlers> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ItemRelease" /> </EventHandlers> - <Windows> - <!-- Inner Frame Boilerplate --> - <FullResizeImage name="$parentFrame" inherits="UO_Default_Inner_Window_Frame" handleinput="false"> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </FullResizeImage> - <!-- End of Inner Frame Boilerplate --> - <!-- Image of the paperdoll --> - <DynamicImage name="$parentTexture" texture="" handleinput="true" sticky="false" draganddrop="true" popable="false" layer="secondary"> - <Size> <AbsPoint x="0" y="0" /> </Size> - <Anchors> - <Anchor point="center" relativePoint="center"> <AbsPoint x="0" y="0" /> </Anchor> </Anchors> <TexCoords x="0" y="0" /> - <EventHandlers> <EventHandler event="OnLButtonDown" function="PaperdollWindow.OnPaperdollTextureLButtonDown" /> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ItemRelease" /> <EventHandler event="OnLButtonDblClk" function="PaperdollWindow.OnPaperdollTextureLButtonDblClk" /> <EventHandler event="OnRButtonDown" function="PaperdollWindow.OnPaperdollTextureRButtonDown" /> <EventHandler event="OnMouseOver" function="PaperdollWindow.OnPaperdollTextureMouseOver" /> <EventHandler event="OnMouseOverEnd" function="PaperdollWindow.OnPaperdollTextureMouseEnd" /> </EventHandlers> </DynamicImage> - <Button name="$parentItemSlotButton1" inherits="ItemSlotButtonDef" id="1"> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="2" y="54" /> </Anchor> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="0" y="0" /> <Pressed texture="paperdoll_slots" x="0" y="0" /> <Disabled texture="paperdoll_slots" x="0" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton2" inherits="ItemSlotButtonDef" id="2"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton1" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="0" y="58" /> <Pressed texture="paperdoll_slots" x="0" y="58" /> <Disabled texture="paperdoll_slots" x="0" y="58" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton3" inherits="ItemSlotButtonDef" id="3"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton2" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="0" y="116" /> <Pressed texture="paperdoll_slots" x="0" y="116" /> <Disabled texture="paperdoll_slots" x="0" y="116" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton4" inherits="ItemSlotButtonDef" id="4"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton3" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="58" y="0" /> <Pressed texture="paperdoll_slots" x="58" y="0" /> <Disabled texture="paperdoll_slots" x="58" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton5" inherits="ItemSlotButtonDef" id="5"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton4" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="58" y="58" /> <Pressed texture="paperdoll_slots" x="58" y="58" /> <Disabled texture="paperdoll_slots" x="58" y="58" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton6" inherits="ItemSlotButtonDef" id="6"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton5" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="58" y="116" /> <Pressed texture="paperdoll_slots" x="58" y="116" /> <Disabled texture="paperdoll_slots" x="58" y="116" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton7" inherits="ItemSlotButtonDef" id="7"> - <Anchors> - <Anchor point="topright" relativePoint="topright"> <AbsPoint x="-3" y="54" /> </Anchor> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="116" y="0" /> <Pressed texture="paperdoll_slots" x="116" y="0" /> <Disabled texture="paperdoll_slots" x="116" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton8" inherits="ItemSlotButtonDef" id="8"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton7" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="116" y="58" /> <Pressed texture="paperdoll_slots" x="116" y="58" /> <Disabled texture="paperdoll_slots" x="116" y="58" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton9" inherits="ItemSlotButtonDef" id="9"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton8" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="116" y="116" /> <Pressed texture="paperdoll_slots" x="116" y="116" /> <Disabled texture="paperdoll_slots" x="116" y="116" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton10" inherits="ItemSlotButtonDef" id="10"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton9" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="174" y="0" /> <Pressed texture="paperdoll_slots" x="174" y="0" /> <Disabled texture="paperdoll_slots" x="174" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton11" inherits="ItemSlotButtonDef" id="11"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton10" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="174" y="58" /> <Pressed texture="paperdoll_slots" x="174" y="58" /> <Disabled texture="paperdoll_slots" x="174" y="58" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton12" inherits="ItemSlotButtonDef" id="12"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton11" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots" x="174" y="116" /> <Pressed texture="paperdoll_slots" x="174" y="116" /> <Disabled texture="paperdoll_slots" x="174" y="116" /> </TexCoords> </Button> </Windows> </Window> - <Window name="$parentTabWindow2" moveable="false" draganddrop="true"> - <Size> <AbsPoint x="10" y="10" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft" relativeTo="$parent"> <AbsPoint x="16" y="74" /> </Anchor> - <Anchor point="bottomright" relativePoint="bottomright" relativeTo="$parent"> <AbsPoint x="-68" y="-16" /> </Anchor> </Anchors> - <EventHandlers> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ItemRelease" /> </EventHandlers> - <Windows> - <!-- Inner Frame Boilerplate --> - <FullResizeImage name="$parentFrame" inherits="UO_Default_Inner_Window_Frame" handleinput="false"> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </FullResizeImage> - <!-- End of Inner Frame Boilerplate --> - <!-- Image of the paperdoll --> - <DynamicImage name="$parentTexture" texture="" handleinput="true" sticky="false" draganddrop="true" popable="false" layer="secondary"> - <Size> <AbsPoint x="0" y="0" /> </Size> - <Anchors> - <Anchor point="center" relativePoint="center"> <AbsPoint x="0" y="0" /> </Anchor> </Anchors> <TexCoords x="0" y="0" /> - <EventHandlers> <EventHandler event="OnLButtonDown" function="PaperdollWindow.OnPaperdollTextureLButtonDown" /> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ItemRelease" /> <EventHandler event="OnLButtonDblClk" function="PaperdollWindow.OnPaperdollTextureLButtonDblClk" /> <EventHandler event="OnRButtonDown" function="PaperdollWindow.OnPaperdollTextureRButtonDown" /> <EventHandler event="OnMouseOver" function="PaperdollWindow.OnPaperdollTextureMouseOver" /> <EventHandler event="OnMouseOverEnd" function="PaperdollWindow.OnPaperdollTextureMouseEnd" /> </EventHandlers> </DynamicImage> - <Button name="$parentItemSlotButton13" inherits="ItemSlotButtonDef" id="13"> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="2" y="54" /> </Anchor> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="0" y="0" /> <Pressed texture="paperdoll_slots2" x="0" y="0" /> <Disabled texture="paperdoll_slots2" x="0" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton14" inherits="ItemSlotButtonDef" id="14"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton13" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="58" y="0" /> <Pressed texture="paperdoll_slots2" x="58" y="0" /> <Disabled texture="paperdoll_slots2" x="58" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton15" inherits="ItemSlotButtonDef" id="15"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton14" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="116" y="0" /> <Pressed texture="paperdoll_slots2" x="116" y="0" /> <Disabled texture="paperdoll_slots2" x="116" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton16" inherits="ItemSlotButtonDef" id="16"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton15" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="174" y="0" /> <Pressed texture="paperdoll_slots2" x="174" y="0" /> <Disabled texture="paperdoll_slots2" x="174" y="0" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton17" inherits="ItemSlotButtonDef" id="17"> - <Anchors> - <Anchor point="topright" relativePoint="topright"> <AbsPoint x="-3" y="54" /> </Anchor> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="0" y="58" /> <Pressed texture="paperdoll_slots2" x="0" y="58" /> <Disabled texture="paperdoll_slots2" x="0" y="58" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton18" inherits="ItemSlotButtonDef" id="18"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton17" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="58" y="58" /> <Pressed texture="paperdoll_slots2" x="58" y="58" /> <Disabled texture="paperdoll_slots2" x="58" y="58" /> </TexCoords> </Button> - <Button name="$parentItemSlotButton19" inherits="ItemSlotButtonDef" id="19"> - <Anchors> <Anchor point="bottomleft" relativePoint="topleft" relativeTo="$parentItemSlotButton18" /> </Anchors> - <TexCoords> <Normal texture="paperdoll_slots2" x="116" y="58" /> <Pressed texture="paperdoll_slots2" x="116" y="58" /> <Disabled texture="paperdoll_slots2" x="116" y="58" /> </TexCoords> </Button> </Windows> </Window> - <Window name="$parentTabWindow3" moveable="false" draganddrop="true"> - <Size> <AbsPoint x="10" y="10" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft" relativeTo="$parent"> <AbsPoint x="16" y="74" /> </Anchor> - <Anchor point="bottomright" relativePoint="bottomright" relativeTo="$parent"> <AbsPoint x="-68" y="-16" /> </Anchor> </Anchors> - <Windows> - <!-- Inner Frame Boilerplate --> - <FullResizeImage name="$parentFrame" inherits="UO_Default_Inner_Window_Frame" handleinput="false"> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </FullResizeImage> - <!-- End of Inner Frame Boilerplate --> - <Window name="$parentProfileEdit" movable="false"> - <Size> <AbsPoint x="310" y="350" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="10" y="10" /> </Anchor> </Anchors> - <Windows> - <!-- Inner Frame Boilerplate --> - <FullResizeImage name="$parentFrame" inherits="UO_Default_Inner_Window_Frame" handleinput="false"> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </FullResizeImage> - <EditBox name="$parentText" font="UO_DefaultText" maxchars="2048" scrolling="vert"> - <Size> <AbsPoint x="292" y="320" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="4" y="4" /> </Anchor> </Anchors> </EditBox> </Windows> </Window> - <Window name="$parentProfileView" movable="false"> - <Size> <AbsPoint x="310" y="350" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="10" y="10" /> </Anchor> </Anchors> - <Windows> - <!-- Inner Frame Boilerplate --> - <FullResizeImage name="$parentFrame" inherits="UO_Default_Inner_Window_Frame" handleinput="false"> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> <Anchor point="bottomright" relativePoint="bottomright" /> </Anchors> </FullResizeImage> - <ScrollWindow name="$parentScroll" childscrollwindow="$parentChild" scrollbar="$parentScrollbar" lineheight="60" draganddrop="true"> - <Size> <AbsPoint x="306" y="346" /> </Size> - <Anchors> - <Anchor point="topleft" relativePoint="topleft"> <AbsPoint x="4" y="4" /> </Anchor> </Anchors> - <Windows> <VerticalScrollbar name="$parentScrollbar" inherits="StandardVertScroll" /> - <Window name="$parentChild" handleinput="false"> - <Size> <AbsPoint x="292" y="0" /> </Size> - <Windows> - <Label name="$parentText" font="UO_DefaultText" textalign="left" autoresize="true" maxchars="1024" linespacing="20" wordwrap="true"> - <Size> <AbsPoint x="292" y="0" /> </Size> - <Anchors> <Anchor point="topleft" relativePoint="topleft" /> </Anchors> <Color r="255" g="255" b="255" a="255" /> </Label> </Windows> </Window> </Windows> </ScrollWindow> </Windows> </Window> - <Label name="$parentAge" font="UO_DefaultText" maxchars="128" textalign="center" wordwrap="true"> - <Size> <AbsPoint x="327" y="70" /> </Size> - <Anchors> - <Anchor point="bottom" relativePoint="top" relativeTo="$parentProfileEdit"> <AbsPoint x="0" y="-8" /> </Anchor> </Anchors> <Color r="255" g="255" b="255" a="255" /> </Label> </Windows> </Window> - <!-- Menu buttons --> - <Button name="$parentToggleCharacterSheet" sticky="false" backgroundtexture="hud_image" highlighttexture="hud_image" layer="secondary" popable="false"> - <Size> <AbsPoint x="48" y="48" /> </Size> - <Anchors> - <Anchor point="bottomleft" relativePoint="bottomleft"> <AbsPoint x="25" y="-95" /> </Anchor> </Anchors> - <TexCoords> <Normal x="0" y="418" /> <NormalHighlit x="145" y="418" /> <Pressed x="96" y="418" /> <PressedHighlit x="145" y="418" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ToggleCharacterSheet" /> <EventHandler event="OnMouseOver" function="MenuBarWindow.OnMouseoverMenuBtn" /> </EventHandlers> </Button> - <Button name="$parentToggleInventory" sticky="false" backgroundtexture="hud_image" highlighttexture="hud_image" layer="secondary" popable="false" draganddrop="true"> - <Size> <AbsPoint x="58" y="58" /> </Size> - <Anchors> - <Anchor point="bottomright" relativePoint="bottomright"> <AbsPoint x="-78" y="-90" /> - <!-- Original value increased by 48 --> </Anchor> </Anchors> - <TexCoords> <Normal x="0" y="852" /> <NormalHighlit x="59" y="852" /> <Pressed x="59" y="852" /> <PressedHighlit x="59" y="852" /> </TexCoords> - <EventHandlers> <EventHandler event="OnLButtonUp" function="PaperdollWindow.ToggleInventoryWindow" /> </EventHandlers> </Button> - <Window name="$parentTitle" movable="false" layer="secondary"> - <Size> <AbsPoint x="347" y="70" /> </Size> - <Anchors> - <Anchor point="bottomright" relativePoint="bottomright"> <AbsPoint x="-60" y="-15" /> </Anchor> </Anchors> - <Windows> - <DynamicImage name="$parentBg" texture="hud_image2" handleinput="false"> - <Size> <AbsPoint x="327" y="70" /> </Size> - <Anchors> <Anchor point="center" relativePoint="center" /> </Anchors> </DynamicImage> - <Label name="$parentName" font="UO_DefaultText" maxchars="128" textalign="center" wordwrap="true"> - <Size> <AbsPoint x="327" y="70" /> </Size> - <Anchors> <Anchor point="center" relativePoint="center" /> </Anchors> <Color r="0" g="0" b="0" a="255" /> </Label> </Windows> </Window> </Windows> </Window> </Windows> </Interface> ![]()
__________________
![]() |
|
|
|
|
|
#3 |
|
AKA Thom O'Bedlam. Got a Question? I got a link for ya!
![]() Join Date: May 2004
Shard: Lake Austin
Posts: 2,392
Thanks: 1
Thanked 5 Times in 5 Posts
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Playing with the KR UI.
Probably dun know HOW. I barely do. and then only with code tags.
__________________
Useful links [UO:F Common FAQ] [UO Stratics] [UO Guide] [Official UO Play Guide] [Search UO] [FindUO.com] [UO Feedback] [More Links, gathered by the Forum] [b][size="3"]Got a Question, or a great answer? PM me with it and I will post in the FAQ. Last edited by Baldguy; 18th August 2007 at 07:42 AM. |
|
|
|
|
|
#4 |
|
Join Date: Mar 2006
Shard: Napa Valley
Posts: 374
Thanks: 1
Thanked 1 Time in 1 Post
![]() ![]() ![]() ![]() ![]() |
Re: Playing with the KR UI.
There are comments with the code, they are surrounded by <!-- and -->. It's also a lot easier to read if opened in notepad or something like that, then you'll see the tabs.
__________________
Still we loom in the mists as the ages roll away, And we say of our folk, "they are here!" That they built us and they died and you'll not be knowing why, Save we stand on the bare plains of Wiltshire. |
|
|
|
|
|
#5 |
|
Join Date: Dec 2006
Shard: Sonoma
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Re: Playing with the KR UI.
Just cross listing the stratics discussion for all those who are interested. Gildar has created prototypes for backpack and books!
http://boards.stratics.com/php-bin/u...ch=&PHPSESSID= Last edited by Daithi; 18th August 2007 at 05:47 PM. |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Well, I'll be playing KR now... | pallas | Ultima Online General Discussion | 7 | 8th September 2007 04:38 PM |
| Help With Playing the game Please ? | Fourm Noob | Ultima Online General Discussion | 4 | 24th August 2007 10:27 PM |
| Any of my old friends still playing? | Drax Varibolt | Europa RP General | 9 | 11th August 2007 12:27 PM |
| kid playing with yoyo | Mercedes | Jokes & Stuff | 8 | 28th May 2007 08:46 AM |
| Got tempted into playing WoW | Adam | Other Games | 92 | 29th January 2007 03:40 PM |