Advertisement
Guest User

nwn2 examine.xml

a guest
Mar 23rd, 2020
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="NWN2UI"?>
  2.  
  3. <UIScene name="SCREEN_EXAMINE" x="ALIGN_CENTER" y="ALIGN_CENTER" width="400" height="615" idleexpiretime="0.5"
  4. fadeout="0.1f" fadein="0.1f" draggable="true" backoutkey="true" scriptloadable="true" priority="SCENE_INGAME"
  5. OnAdd0='UIScene_OnAdd_AddExamineScreen("EXAMINE_NAME_TEXT","EXAMINE_DESCRIPTION_TEXT","IDENTIFY_BUTTON")'
  6. OnAdd1='UIObject_Misc_ExecuteServerScript("gui_kl_effects")'
  7. OnRemove='UIScene_OnRemove_RemoveExamineScreen()' />
  8. <!-- OnUpdate='UIObject_Misc_ExecuteServerScript("gui_kl_effects")' update="true" updaterate="0.3" -->
  9.  
  10.     <UIText name="EXAMINE_SCREEN_NAME" strref="549" x="64" y="12" width="140" height="20"
  11.    align="left" valign="middle" fontfamily="Title_Font" style="1" />
  12.     <UIIcon name="EXAMINE_DETAIL" img="ia_examine.tga" x="15" y="12" width="40" height="40" />
  13.  
  14.     <!-- Initiate Hostile Reputation, by kevL's (idea by Lance Botelle, 'the Bard of Althea') -->
  15.     <UIButton name="kL_HOSTILE" x="336" y="10" width="22" height="22" capturemouseclicks="true"
  16.    OnToolTip='UIObject_Tooltip_DisplayTooltipString("turn Faction Hostile","OBJECT_X","OBJECT_Y","SCREEN_TOOLTIP_2","ALIGN_NONE","ALIGN_NONE","0","0","ALIGN_LEFT")'
  17.    OnLeftClick='UIObject_Misc_ExecuteServerScript("gui_kl_hostile")' >
  18.         <UIFrame state="up"         fill="align_cg.tga" />
  19.         <UIFrame state="down"       fill="align_cn.tga" />
  20.         <UIFrame state="focused"    fill="align_cg.tga" />
  21.         <UIFrame state="hilited"    fill="align_cn.tga" />
  22.         <UIFrame state="hifocus"    fill="align_cn.tga" />
  23.         <UIFrame state="disabled"   fill="b_empty.tga" />
  24.     </UIButton>
  25.  
  26.     <!-- Reset Faction to Friendly Reputation, by kevL's -->
  27.     <UIButton name="kL_FRIENDLY" x="308" y="10" width="22" height="22" capturemouseclicks="true"
  28.    OnToolTip='UIObject_Tooltip_DisplayTooltipString("turn Faction Friendly","OBJECT_X","OBJECT_Y","SCREEN_TOOLTIP_2","ALIGN_NONE","ALIGN_NONE","0","0","ALIGN_LEFT")'
  29.    OnLeftClick='UIObject_Misc_ExecuteServerScript("gui_kl_friendly")' >
  30.         <UIFrame state="up"         fill="align_g.tga" />
  31.         <UIFrame state="down"       fill="align_lg.tga" />
  32.         <UIFrame state="focused"    fill="align_g.tga" />
  33.         <UIFrame state="hilited"    fill="align_lg.tga" />
  34.         <UIFrame state="hifocus"    fill="align_lg.tga" />
  35.         <UIFrame state="disabled"   fill="b_empty.tga" />
  36.     </UIButton>
  37.  
  38.     <!-- Instant Slayer, kevL's -->
  39.     <UIButton name="kL_INSTAKILL" x="252" y="10" width="22" height="22" capturemouseclicks="true"
  40.    OnToolTip='UIObject_Tooltip_DisplayTooltipString("Instant Slayer","OBJECT_X","OBJECT_Y","SCREEN_TOOLTIP_2","ALIGN_NONE","ALIGN_NONE","0","0","ALIGN_LEFT")'
  41.    OnLeftClick='UIObject_Input_ActionTargetScript("creature",29,31,0,"TRUE","gui_kl_slayer","target:object")' >
  42.         <UIFrame state="up"         fill="align_e.tga" />
  43.         <UIFrame state="down"       fill="align_n.tga" />
  44.         <UIFrame state="focused"    fill="align_e.tga" />
  45.         <UIFrame state="hilited"    fill="align_n.tga" />
  46.         <UIFrame state="hifocus"    fill="align_n.tga" />
  47.         <UIFrame state="disabled"   fill="b_empty.tga" />
  48.     </UIButton>
  49.  
  50.     <!-- Retrieve Associates, kevL's -->
  51.     <UIButton name="kL_RET_ASSOC" x="212" y="10" width="22" height="22" capturemouseclicks="true"
  52.    OnToolTip='UIObject_Tooltip_DisplayTooltipString("Retrieve Associates","OBJECT_X","OBJECT_Y","SCREEN_TOOLTIP_2","ALIGN_NONE","ALIGN_NONE","0","0","ALIGN_LEFT")'
  53.    OnLeftClick='UIObject_Misc_ExecuteServerScript("gui_kl_retassoc")' >
  54.         <UIFrame state="up"         fill="id_animal.tga" /> <!-- ife_SS_recallspirit.tga, ife_SS_spiritjourney.tga -->
  55.         <UIFrame state="down"       fill="ig_y_sseth.tga" />
  56.         <UIFrame state="focused"    fill="id_animal.tga" />
  57.         <UIFrame state="hilited"    fill="ia_retire.tga" />
  58.         <UIFrame state="hifocus"    fill="ia_retire.tga" />
  59.         <UIFrame state="disabled"   fill="b_empty.tga" />
  60.     </UIButton>
  61.  
  62.     <!-- Close Button -->
  63.     <UIButton name="CloseButton" x="364" y="8" style="STYLE_CLOSE_BUTTON" OnLeftClick='UIButton_Input_ScreenClose()' />
  64.  
  65.     <UIButton name="IDENTIFY_BUTTON" x="ALIGN_CENTER" y="45" width="135" height="28"
  66.    OnLeftClick='UIButton_Input_HandleIdentify()' disabledcolor="white" >
  67.         <UIText name="IDENTIFY_TEXT" width="PARENT_WIDTH" height="PARENT_HEIGHT"
  68.        align="center" valign="middle" uppercase="true" fontfamily="Default" style="bold" />
  69.         <UIFrame state="up"         fill="b_subtab_normal.tga" />
  70.         <UIFrame state="down"       fill="b_subtab_disabled.tga" />
  71.         <UIFrame state="focused"    fill="b_subtab_normal.tga" />
  72.         <UIFrame state="hilited"    fill="b_subtab_pressed.tga" />
  73.         <UIFrame state="hifocus"    fill="b_subtab_pressed.tga" />
  74.         <UIFrame state="disabled"   fill="b_subtab_disabled.tga" />
  75.     </UIButton>
  76. <!--    <UIFrame state="up"         fill="b_subtab_normal.tga" />
  77.        <UIFrame state="down"       fill="b_subtab_pressed.tga" />
  78.        <UIFrame state="focused"    fill="b_subtab_normal.tga" />
  79.        <UIFrame state="hilited"    fill="b_subtab_normal.tga" />
  80.        <UIFrame state="hifocus"    fill="b_subtab_pressed.tga" />
  81.        <UIFrame state="disabled"   fill="b_subtab_disabled.tga" /> -->
  82.  
  83.     <!-- Item Name -->
  84.     <UIText name="EXAMINE_NAME_TEXT" x="ALIGN_CENTER" y="82" width="340" height="60" align="center"
  85.    valign="middle" fontfamily="Body_Font" style="bold" multiline="true" maxlines="3" />
  86.  
  87.     <!-- Horizontalbar -->
  88.     <UIIcon name="HZ_BAR" img="grid_pixel.tga" x="ALIGN_CENTER" y="134" width="255" height="1" />
  89.  
  90.     <!-- kevL's Current Target Info, 11.03.04 -->
  91.     <UIPane name="kL_TARGET" x="ALIGN_CENTER" y="145" width="325" height="40"
  92.    OnUpdate='UIObject_Misc_ExecuteServerScript("gui_kl_updaterep")' update="true" updaterate="0.3" >
  93.         <UIText name="kL_TARGET_TEXT" x="0" y="0" width="54" height="DYNAMIC"
  94.        align="left" valign="middle" multiline="false" text="Target :"
  95.        fontfamily="NWN1_Dialog" style="bold" color="303030" />
  96.         <UIText name="kL_TARGET_INFO" x="55" y="0" width="270" height="DYNAMIC"
  97.        align="left" valign="middle" color="maroon" fontfamily="NWN1_Dialog" style="bold" multiline="false"
  98.        OnUpdate='UIText_OnUpdate_DisplayTargetObjectName()' update="true" updaterate="0.3f" />
  99.         <UIText name="kL_RANGE_TEXT" x="0" y="19" width="54" height="DYNAMIC" multiline="false"
  100.        align="left" valign="middle" text="Range :" fontfamily="NWN1_Dialog" style="bold" color="303030" />
  101.         <UIText name="kL_RANGE_INFO" x="55" y="19" width="65" height="DYNAMIC"
  102.        align="left" valign="middle" fontfamily="NWN1_Dialog" style="bold" multiline="false" />
  103.         <UIText name="kL_HITPOINT_INFO" x="124" y="19" width="73" height="DYNAMIC"
  104.        align="right" valign="middle" fontfamily="NWN1_Dialog" style="bold" multiline="false" />
  105. <!--    <UIText name="kL_HITPOINT_TEXT" x="178" y="19" width="17" height="DYNAMIC" multiline="false"
  106.        align="left" valign="middle" text="hp" fontfamily="NWN1_Dialog" style="bold" color="303030" /> -->
  107.         <UIText name="kL_REPUTATION_INFO" x="215" y="19" width="92" height="DYNAMIC"
  108.        align="right" valign="middle" fontfamily="NWN1_Dialog" style="bold" multiline="false" />
  109.     </UIPane>
  110.  
  111. <!--
  112. update="true" OnUpdate='UIListbox_OnUpdate_UpdateContainer()'
  113. update="true" OnUpdate='UIPane_OnUpdate_DisplaySessionInfo()'
  114. update="true" OnUpdate='UIPane_OnUpdate_UpdateSelectedDestination()'
  115. update="true" OnUpdate='UIScene_OnAdd_AddExamineScreen("EXAMINE_DESCRIPTION_TEXT")'
  116. update="true" OnUpdate='UICollapsable_OnUpdate_UpdateEffectList("PARTY")'
  117. update="true" OnUpdate='UICollapsable_OnUpdate_UpdateEffectList("CREATUREEXAMINE")'
  118. -->
  119.  
  120. <!--    <UIPane name="kL_EXAMINE_INFO" x="20" y="171" width="332" height="445" > -->
  121.  
  122.     <!-- Horizontalbar & Listbox -->
  123.     <UIIcon name="HZ_BAR" img="grid_pixel.tga" x="ALIGN_CENTER" y="189" width="280" height="1" />
  124.  
  125.     <!-- hide this ListBox, was height="405" -->
  126.     <!-- Can't remove it or else the game will freeze. -->
  127.     <!-- Even if the call w/ "EXAMINE_DESCRIPTION_TEXT" is removed from UIScene above. -->
  128.     <!-- Can't use height="0" either. Apparently it's a default for something else. -->
  129.     <UIListBox name="HEADER_LISTBOX" x="16" y="197" width="375" height="405" yPadding="0" xPadding="3"
  130.    showpartialchild="true" unequalcontrols="true" scrollsegmentsize="20" hidescrollbarwhennotneeded="true" >
  131. <!--    OnUpdate='UIObject_Misc_ExecuteServerScript("gui_kl_effects")' update="true" updaterate="1.0" -->
  132.  
  133.         <UIText name="EXAMINE_DESCRIPTION_TEXT" width="PARENT_WIDTH" height="DYNAMIC"
  134.        align="left" valign="top" color="303030" fontfamily="NWN1_Dialog" style="bold" />
  135.  
  136.         <UIText name="kL_EXAMINE_EFFECTS" width="PARENT_WIDTH" height="DYNAMIC"
  137.        align="left" valign="top" color="303030" fontfamily="NWN1_Dialog" style="bold" />
  138.  
  139.         <UIScrollBar name="SB" style="STYLE_SB_THIN" />
  140.     </UIListBox>
  141.  
  142.  
  143.         <!-- kL: show all effects -->
  144. <!--    <UIText name="kL_EXAMINE_EFFECTS" width="PARENT_WIDTH" height="DYNAMIC"
  145.        align="left" valign="top" color="303030" fontfamily="NWN1_Dialog" style="bold"
  146.        update="true" updaterate="1.0" OnUpdate='UIObject_Misc_ExecuteServerScript("gui_kl_effects")' /> -->
  147.  
  148.  
  149. <!--        <UICollapsable name="EFFECT_COL" x="0" y="0" height="182" width="PARENT_WIDTH"
  150.            yPadding="5" xPadding="5" indent="0" isexpanded="true"
  151.            update="true" OnUpdate='UICollapsable_OnUpdate_UpdateEffectList("CREATUREEXAMINE")' >
  152.                <UIButton name="HEADER_BUTTON" text="EFFECTS" x="0" y="0" width="260" height="18" header="true" >
  153.                    <UIText x="30" y="0" align="left" valign="middle" fontfamily="Title_Font" style="1" indent="20" multiline="false" />
  154.                    <UIFrame state="up"             fill="b_feat_hover_pressed.tga" />
  155.                    <UIFrame state="down"           fill="b_feat_hover_pressed.tga" />
  156.                    <UIFrame state="hilited"        fill="b_feat_hover_pressed.tga" />
  157.                    <UIFrame state="focused"        fill="b_feat_hover_pressed.tga" />
  158.                    <UIFrame state="hifocus"        fill="b_feat_hover_pressed.tga" />
  159.                    <UIFrame state="disabled"       fill="b_feat_hover_pressed.tga" />
  160.                    <UIFrame state="header"         fill="b_feat_normal.tga" />
  161.                    <UIFrame state="hiheader"       fill="b_feat_normal.tga" />
  162.                    <UIFrame state="downheader"     fill="b_feat_normal.tga" />
  163.                </UIButton>
  164.                <UIPane name="EFFECT_PROTO" x="0" y="0" width="280" height="20" prototype="true" >
  165.                    <UIIcon name="EFFECT_ICON" img="b_empty.tga" x="0" y="0" width="20" height="20" />
  166.                    <UIText name="EFFECT_TEXT" x="20" y="0" width="240" height="20" align="left" valign="middle"
  167.                    fontfamily="Default" style="2" indent="5" multiline="true" maxlines="2" />
  168.                </UIPane>
  169.            </UICollapsable> -->
  170.  
  171. <!--    </UIPane> -->
  172.  
  173. <!--    <UIListBox name="kL_EXAMINE_LISTBOX" x="16" y="200" width="375" height="400" yPadding="0" xPadding="3"
  174.    showpartialchild="true" unequalcontrols="true" scrollsegmentsize="20" hidescrollbarwhennotneeded="false"
  175.    update="true" updaterate="1.0" OnUpdate='UIObject_Misc_ExecuteServerScript("gui_kl_effects")' >
  176.        <UIText name="kL_EXAMINE_EFFECTS" width="PARENT_WIDTH" height="DYNAMIC"
  177.        align="left" valign="top" color="303030" fontfamily="NWN1_Dialog" style="bold" />
  178.  
  179.        <UIScrollBar name="SB" style="STYLE_SB_THIN" />
  180.    </UIListBox> -->
  181.  
  182.  
  183.     <!-- Background Image -->
  184.     <UIIcon name="EXAMINE_BACKGROUND_TOP" img="idesc_top_bg.tga" x="9" y="8" width="382" height="80" />
  185.     <UIIcon name="EXAMINE_BACKGROUND" img="idesc_paper_bg.tga" x="9" y="88" width="382" height="518" />
  186.     <UIFrame x="0" y="0" width="PARENT_WIDTH" height="PARENT_HEIGHT" border="32"
  187.    topleft="frame1_tl.tga" topright="frame1_tr.tga" bottomleft="frame1_bl.tga" bottomright="frame1_br.tga"
  188.    top="frame1_t.tga" bottom="frame1_b.tga" left="frame1_l.tga" right="frame1_r.tga" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement