Quantcast LoTROInterface - View Single Post - Help with Vital_Portrait_roll
View Single Post
  #11  
Unread 11-20-2018, 11:38 AM
Eili's Avatar
Eili Eili is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Location: Montreal
Posts: 156
Quote:
Originally Posted by Adra
Hello everyone,

As far as I know, the orange portrait circle animation cannot be simply managed through TGA files.

No problem Eili for using my work on vitals and to share it with the community if you wish to

You need a custom code for player and opponent vitals to hide ( = reduce to 1x1 size) the area of the portrait, in the same way that Eclipse edited it for its Ecliple UI lightX.
I'm not sure it will correctly hide elite opponent orange animation as I've not tested it.

https://www.lotrointerface.com/downloads/info594



Here is a simple copy-paste of its original (and highly possibly outdated) code :

Code:
<!-- Avatar Frame -->

<PanelFile ID="ID_UISkin_AvatarPanel">
  <Element ID="AvatarPanel" 							X="0" Y="0" Width="284" Height="300"> 
    <Element ID="VitalsParent" 							X="0" Y="20" Width="300" Height="300"> 
      <Element ID="VitalsBg" 							X="88" Y="42" Width="175" Height="27"> </Element>
      <Element ID="VitalsField" 						X="96" Y="34" Width="168" Height="42"> 
        <Element ID="HealthVitalField" 						X="0" Y="0" Width="164" Height="23"> 
          <Element ID="DreadField" 						X="164" Y="0" Width="0" Height="23"> 
            <Element ID="DreadMeter" 						X="0" Y="12" Width="0" Height="9"> 
              <Element ID="meter_fill" 						X="-164" Y="0" Width="164" Height="9"> 
                <Element ID="meter_fill_image" 					X="0" Y="0" Width="164" Height="9"> </Element>
              </Element>
            </Element>
          </Element>
          <Element ID="CurrentHealthText" 					X="0" Y="8" Width="162" Height="16"> </Element>
          <Element ID="HealthField" 						X="0" Y="0" Width="164" Height="23"> 
            <Element ID="TemporaryHealthMeter" 					X="22" Y="12" Width="143" Height="9"> 
              <Element ID="meter_fill" 						X="0" Y="0" Width="143" Height="9"> 
                <Element ID="meter_fill_image" 					X="0" Y="0" Width="143" Height="9"> </Element>
              </Element>
            </Element>
            <Element ID="CurrentHealthMeter" 					X="0" Y="12" Width="21" Height="9"> 
              <Element ID="meter_fill" 						X="0" Y="0" Width="21" Height="9"> 
                <Element ID="meter_fill_image" 					X="0" Y="0" Width="21" Height="9"> </Element>
              </Element>
            </Element>
          </Element>
        </Element>
        <Element ID="PowerField" 						X="1" Y="17" Width="164" Height="23"> 
          <Element ID="CurrentPowerMeter" 					X="0" Y="6" Width="164" Height="9"> 
            <Element ID="meter_fill" 						X="0" Y="0" Width="164" Height="9"> 
              <Element ID="meter_fill_image" 					X="0" Y="0" Width="164" Height="9"> </Element>
            </Element>
          </Element>
          <Element ID="TemporaryPowerMeter" 					X="0" Y="6" Width="164" Height="9"> </Element>
          <Element ID="CurrentPowerText" 					X="3" Y="3" Width="162" Height="16"> </Element>
        </Element>
      </Element>
      <Element ID="PlayerPortrait" 						X="72" Y="43" Width="24" Height="24"> </Element>
      <Element ID="AvatarPanel_COVER_LOWRES" 					X="72" Y="43" Width="24" Height="24"> </Element>
      <Element ID="PlayerEffectDisplay" 					X="92" Y="74" Width="170" Height="128"> </Element>
      <Element ID="PlayerName" 							X="94" Y="3" Width="170" Height="40"> </Element>
      <Element ID="AvatarPanel_BG" 						X="-1" Y="1" Width="273" Height="105"> </Element>
      <Element ID="PlayerVitals_Animations" 					X="2" Y="0" Width="277" Height="104"> </Element>
      <Element ID="PlayerLevel_BG" 						X="21" Y="78" Width="65" Height="32"> </Element>
      <Element ID="PlayerLeaderIcon" 						X="76" Y="35" Width="16" Height="16"> </Element>
      <Element ID="PlayerAssistantIcon" 					X="76" Y="35" Width="16" Height="16"> </Element>
      <Element ID="PlayerVoiceChat" 						X="74" Y="13" Width="20" Height="20"> </Element>
      <Element ID="PlayerSendingData" 						X="74" Y="13" Width="20" Height="20"> </Element>
      <Element ID="PlayerVoiceChatSquelched" 					X="74" Y="13" Width="20" Height="20"> </Element>
      <Element ID="PlayerPVP_Info" 						X="0" Y="0" Width="34" Height="98"> 
        <Element ID="PlayerPVP_RankDisplay" 					X="34" Y="39" Width="32" Height="32"> </Element>
        <Element ID="PlayerPVP_PrestigeDisplay" 				X="3" Y="15" Width="34" Height="78"></Element>
      </Element>
      <Element ID="PlayerLevel" 						X="67" Y="47" Width="32" Height="17"> </Element>
    </Element>
    <Element ID="HiddenDragBox_DragBox" 					X="0" Y="20" Width="284" Height="115"> 
      <Element ID="Box_01_Empty_InnerShadow" 					X="1" Y="1" Width="282" Height="113"> 
        <Element ID="InnerShadow_TopLeft" 					X="0" Y="0" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_MidLeft" 					X="0" Y="9" Width="9" Height="95"> </Element>
        <Element ID="InnerShadow_BottomLeft" 					X="0" Y="104" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_BottomMid" 					X="9" Y="104" Width="264" Height="9"> </Element>
        <Element ID="InnerShadow_BottomRight" 					X="273" Y="104" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_MidRight" 					X="273" Y="9" Width="9" Height="95"> </Element>
        <Element ID="InnerShadow_TopRight" 					X="273" Y="0" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_TopMid" 					X="9" Y="0" Width="264" Height="9"> </Element>
      </Element>
      <Element ID="Box_01_Empty_LeftBorder" 					X="0" Y="0" Width="1" Height="115"> </Element>
      <Element ID="Box_01_Empty_BottomBorder" 					X="1" Y="114" Width="282" Height="1"> </Element>
      <Element ID="Box_01_Empty_RightBorder" 					X="283" Y="0" Width="1" Height="115"> </Element>
      <Element ID="Box_01_Empty_TopBorder" 					X="1" Y="0" Width="282" Height="1"> </Element>
    </Element>
    <Element ID="HiddenDragBox_DragBar" 					X="0" Y="0" Width="284" Height="20"> </Element>
    <Element ID="HiddenDragBox_TitleText" 					X="15" Y="0" Width="254" Height="20"> </Element>
  </Element>
</PanelFile>

<!-- Target Frame -->

<PanelFile ID="ID_UISkin_OpponentPanel">
  <Element ID="OpponentPanel" 							X="278" Y="0" Width="284" Height="300"> 
    <Element ID="VitalsParent" 							X="0" Y="20" Width="284" Height="300"> 
      <Element ID="InanimateObject_SelectionField" 				X="28" Y="1" Width="228" Height="84"> 
        <Element ID="InanimateObjectPanel_BG" 					X="7" Y="26" Width="215" Height="51"> </Element>
        <Element ID="InanimateObjectForeground" 				X="-2" Y="19" Width="231" Height="66"> </Element>
        <Element ID="InanimateObjectName" 					X="11" Y="29" Width="205" Height="47"> </Element>
      </Element>
      <Element ID="OpponentDisplayParent" 					X="0" Y="0" Width="281" Height="300"> 
        <Element ID="Opponent_SelectionField" 					X="7" Y="0" Width="272" Height="120"> 
          <Element ID="OpponentsVitals_BG" 					X="10" Y="40" Width="165" Height="32"> </Element>
          <Element ID="OpponentVitalsField" 					X="10" Y="34" Width="168" Height="42"> 
            <Element ID="OpponentHealthVitalField" 				X="0" Y="0" Width="164" Height="23"> 
              <Element ID="OpponentHealthField" 				X="0" Y="0" Width="164" Height="23"> 
                <Element ID="TemporaryOpponentHealthMeter" 			X="0" Y="12" Width="164" Height="9"> 
                  <Element ID="meter_fill" 					X="164" Y="0" Width="0" Height="9"> 
                    <Element ID="meter_fill_image" 				X="-164" Y="0" Width="164" Height="9"> </Element>
                  </Element>
                </Element>
                <Element ID="CurrentOpponentHealthMeter" 			X="0" Y="12" Width="164" Height="9"> 
                  <Element ID="meter_fill" 					X="164" Y="0" Width="0" Height="9"> 
                    <Element ID="meter_fill_image" 				X="-164" Y="0" Width="164" Height="9"> </Element>
                  </Element>
                </Element>
              </Element>
              <Element ID="CurrentOpponentHealthText" 				X="4" Y="8" Width="164" Height="16"> </Element>
            </Element>
            <Element ID="OpponentPowerField" 					X="0" Y="19" Width="164" Height="23"> 
              <Element ID="TemporaryOpponentPowerMeter" 			X="0" Y="4" Width="164" Height="9"> 
                <Element ID="meter_fill" 					X="164" Y="0" Width="0" Height="9"> 
                  <Element ID="meter_fill_image" 				X="-164" Y="0" Width="164" Height="9"> </Element>
                </Element>
              </Element>
              <Element ID="CurrentOpponentPowerMeter" 				X="0" Y="4" Width="164" Height="9"> 
                <Element ID="meter_fill" 					X="164" Y="0" Width="0" Height="9"> 
                  <Element ID="meter_fill_image" 				X="-164" Y="0" Width="164" Height="9"> </Element>
                </Element>
              </Element>
              <Element ID="CurrentOpponentPowerText" 				X="5" Y="0" Width="164" Height="16"> </Element>
            </Element>
          </Element>
          <Element ID="OpponentPortrait" 					X="186" Y="21" Width="1" Height="1"> </Element>
          <Element ID="OpponentPanel_COVER_LOWRES" 				X="186" Y="22" Width="1" Height="1"> </Element>
          <Element ID="OpponentName" 						X="7" Y="3" Width="170" Height="40"> </Element>
          <Element ID="OpponentPanel_BG" 					X="-1" Y="1" Width="277" Height="104"> </Element>
          <Element ID="OpponentClass" 						X="177" Y="14" Width="20" Height="20"> </Element>
          <Element ID="OpponentLevelHiddenSkull" 				X="186" Y="79" Width="65" Height="32"> </Element>
          <Element ID="OpponentVitals_Animations" 				X="-4" Y="-1" Width="277" Height="104"> </Element>
          <Element ID="OpponentLevel_BG" 					X="185" Y="78" Width="65" Height="32"> </Element>
          <Element ID="OpponentLevel" 						X="170" Y="47" Width="32" Height="17"> </Element>
          <Element ID="OpponentPVP_RankDisplay" 				X="205" Y="39" Width="32" Height="32"> </Element>
          <Element ID="OpponentPVP_PrestigeDisplay" 				X="234" Y="15" Width="34" Height="78"></Element>
        </Element>
        <Element ID="OpponentEffectDisplay" 					X="16" Y="74" Width="170" Height="200"> </Element>
      </Element>
    </Element>
    <Element ID="HiddenDragBox_DragBox" 					X="0" Y="20" Width="284" Height="115"> 
      <Element ID="Box_01_Empty_InnerShadow" 					X="1" Y="1" Width="282" Height="113"> 
        <Element ID="InnerShadow_TopLeft" 					X="0" Y="0" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_MidLeft" 					X="0" Y="9" Width="9" Height="95"> </Element>
        <Element ID="InnerShadow_BottomLeft" 					X="0" Y="104" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_BottomMid" 					X="9" Y="104" Width="264" Height="9"> </Element>
        <Element ID="InnerShadow_BottomRight" 					X="273" Y="104" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_MidRight" 					X="273" Y="9" Width="9" Height="95"> </Element>
        <Element ID="InnerShadow_TopRight" 					X="273" Y="0" Width="9" Height="9"> </Element>
        <Element ID="InnerShadow_TopMid" 					X="9" Y="0" Width="264" Height="9"> </Element>
      </Element>
      <Element ID="Box_01_Empty_LeftBorder" 					X="0" Y="0" Width="1" Height="115"> </Element>
      <Element ID="Box_01_Empty_BottomBorder" 					X="1" Y="114" Width="282" Height="1"> </Element>
      <Element ID="Box_01_Empty_RightBorder" 					X="283" Y="0" Width="1" Height="115"> </Element>
      <Element ID="Box_01_Empty_TopBorder" 					X="1" Y="0" Width="282" Height="1"> </Element>
    </Element>
    <Element ID="HiddenDragBox_DragBar" 					X="0" Y="0" Width="284" Height="20"> </Element>
    <Element ID="HiddenDragBox_TitleText" 					X="15" Y="0" Width="254" Height="20"> </Element>
  </Element>
</PanelFile>
These codes are intended to work with the tga files also designed by Eclipse in the "unitframes" folder, so this code or your tga files should require some tweaking to adapt to your needs and wishes.

Regards.
Sorry for the delay in answer and thanks for trying to help.

I have all those already and managed to do good BUT for Nemesis and Arch Nemesis. Without the names given by the devs its impossible to do something. i can see the TGA i made for those in place, but the portrait animated always replace the part of my tga while for all others opponent its working fine,

I will may be test by naming the TGA with only nemesis and arch nemesis and see the result,

For now my eyes asked me to stop a bit as after 2 weeks of tweeking the tga i could not watch at all haha ,,,, the heart is there and the will but .... eyes are getting older

Thank you again
Reply With Quote