LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   General Authoring Discussion (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=22)
-   -   I give up on VitalsField (https://www.lotrointerface.com/forums/showthread.php?t=549)

Tennessee 02-16-2008 03:20 PM

I give up on VitalsField
 
i have been tryin to faten the mortal bar and make it a little longer or even change the color of it with no luck. i really hope im at the right spot but u can change these #'s all ya want and doesnt do a thing.
this is just part of the code i have been workin with
HTML Code:

<PanelFile ID="ID_UISkin_RealVitalsField">
  <Element ID="VitalField" X="0" Y="0" Width="178" Height="23"></Element>
  <Element ID="RealVitalsField" X="96" Y="36" Width="168" Height="42">
    <Element ID="HealthVitalField" X="0" Y="0" Width="164" Height="23">
      <Element ID="HealthField" X="0" Y="0" Width="164" Height="23">
        <Element ID="CurrentHealthMeter" X="0" Y="12" Width="164" Height="9"></Element>
      </Element>
      <Element ID="DreadField" X="0" Y="0" Width="164" Height="23">
        <Element ID="DreadMeter" X="0" Y="12" Width="164" Height="9"></Element>
      </Element>
      <Element ID="CurrentHealthText" X="0" Y="8" Width="162" Height="16"></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>
      <Element ID="CurrentPowerText" X="3" Y="3" Width="162" Height="16"></Element>
    </Element>
  </Element>
</PanelFile>


Frosty 02-20-2008 12:23 PM

the vital meters are also controlled by this chunk of code:


<PanelFile ID="ID_UISkin_VitalColorMeter">
<Element ID="VitalColorMeter" X="0" Y="0" Width="170" Height="11"></Element>
</PanelFile>

you may have to change the numbers in both places.

-P

Supermax 02-21-2008 03:49 PM

Is it possible you may have forgotten to change the alpha channel on the vital's skin?

..just an idea

Tennessee 02-21-2008 05:56 PM

ill give that a shot i may have skipped over the vital color id but i was allover the text file and had everything in 1 doc containing the vitals id. ill run thu it 1 more time and give that a shot.

Tennessee 02-21-2008 06:47 PM

nope its a no go u cant even move the power meter away from the health meter u can change y value all ya want it still dont move the meter
<Element ID="PowerField" X="0" Y="25" Width="200" Height="20">
im using the
<PanelFile ID="ID_UISkin_RealVitalsField">
<PanelFile ID="ID_UISkin_RealVitalText">
<PanelFile ID="ID_UISkin_RealVitalTextSmall">
<PanelFile ID="ID_UISkin_VitalColorMeter">
in my xml none of these seem to do anything
isnt alpha channel only in (PSD), PDF (Photoshop 6.0 only), PICT, TIFF, and RAW format not in tga?

Sloppy Joe 02-21-2008 07:55 PM

Quote:

Originally Posted by Tennessee (Post 2433)
...isnt alpha channel only in (PSD), PDF (Photoshop 6.0 only), PICT, TIFF, and RAW format not in tga?

Nope it's in tga's as well. It was the secret to allow me to make a square portrait. First I tried to just add the "base box" border artwork from Brygard2007's Black Glass Mix skin to my player_vitals_backdrop like so:


But it would still show up ingame as the same old shape (rounded):


Then I discovered the alpha channel. Lets take another look at the player_vitals_backdrop file, but just the alpha channel:


Ah-Ha! The alpha channel is like a stencil! So I edited my alpha channel for the shape I wanted:


Which gave me this ingame:


I also noticed these parts in the skin dictionary that might also need editing to effect the size of the vitals:

Code:

<PanelFile ID="ID_UISkin_VitalFieldBase">
  <Element ID="MicroVitalFieldBase_ReverseFill" X="299" Y="27" Width="101" Height="15">
    <Element ID="VitalHealthField" X="0" Y="0" Width="99" Height="12"></Element>
    <Element ID="VitalPowerField" X="0" Y="7" Width="99" Height="6"></Element>
  </Element>
  <Element ID="VitalFieldBase" X="292" Y="60" Width="170" Height="64">
    <Element ID="VitalHealthField [ CODE ]" X="52" Y="25" Width="99" Height="12"></Element>
    <Element ID="VitalPowerField [ CODE ]" X="51" Y="32" Width="99" Height="6"></Element>
    <Element ID="VitalHealthFieldBg" X="0" Y="4" Width="200" Height="59"></Element>
  </Element>
</PanelFile>

Code:

<PanelFile ID="ID_UISkin_VitalHealthFieldBase">
  <Element ID="VitalHealthFieldBase" X="293" Y="164" Width="99" Height="12">
    <Element ID="VitalHealthBackground" X="0" Y="0" Width="99" Height="12"></Element>
    <Element ID="VitalHealthParentField" X="0" Y="0" Width="99" Height="12">
      <Element ID="VitalCurrentHealthField" X="0" Y="0" Width="99" Height="12">
        <Element ID="VitalCurrentHealthMeter" X="0" Y="0" Width="99" Height="12"></Element>
      </Element>
      <Element ID="VitalCurrentDreadField" X="0" Y="0" Width="99" Height="12">
        <Element ID="VitalCurrentDreadMeter" X="0" Y="0" Width="99" Height="12"></Element>
      </Element>
      <Element ID="VitalCurrentHealthText" X="0" Y="-2" Width="99" Height="10"></Element>
    </Element>
  </Element>
</PanelFile>

Code:

<PanelFile ID="ID_UISkin_VitalPowerFieldBase">
  <Element ID="VitalPowerFieldBase" X="292" Y="182" Width="99" Height="6">
    <Element ID="VitalPowerBackground" X="0" Y="0" Width="99" Height="6"></Element>
    <Element ID="VitalCurrentPowerMeter" X="0" Y="0" Width="99" Height="6"></Element>
    <Element ID="CurrentPowerText" X="0" Y="-2" Width="99" Height="10"></Element>
  </Element>
</PanelFile>

So I bet there's a few spots in the skins def where you need to change the values, then I think you need to edit your alpha channel to show those changes. Hope this helps :)

Tennessee 02-21-2008 11:27 PM

hmm this dont help me at all these channel's are gone once u save it as a tga. im useing PS7

Sloppy Joe 02-21-2008 11:58 PM

Quote:

Originally Posted by Tennessee (Post 2436)
hmm this dont help me at all these channel's are gone once u save it as a tga. im useing PS7

I'm using PS7 as well, and it saves the alpha channel just fine. You probably dont have a checkmark next to "Alpha Channels" in the save options for PS7.

Tennessee 02-22-2008 12:11 AM


not sure if this explains what im into but this is showing using org player_vitals_backdrop with my xml lay out.

Tennessee 02-22-2008 12:50 AM

My PS7 is broken then built this new pc 3 weeks ago or is there something im missing


Tennessee 02-22-2008 02:28 AM

ok after searching around i found this update to fix the Alpha Channels in my PS7 here the link below for any 1 eles that needs it.

http://www.adobe.com/support/downloa...44&fileID=1478

Brygard2007 02-22-2008 06:46 AM

To sloppy Joe:
DUDE!!!:D
Thats basically what I had in mind for vitals after I'm finish editing some UI for add on pak that I'm doing.
Can you read my mind????

P.s
That good that you were able to find a solution for your problem Tennessee.
I dont use those expensive software.no dinero for it..
I use paint.net and never have problems with what you have described.
Heres the link for anyone wants to use its free.They also have some plugins.
It may not compete with PS but it have worked for me.

http://www.getpaint.net/

Tennessee 02-22-2008 01:32 PM

well i worked a little more on my vital tga and made it 1 big Alpha Channel so if i wanted the bars 50x280 it would show but had no luck so i zeroed the xml fields in this code below and found no matter what ya do it dont change anything about bars and futher the txt for the hp or power can not be changed. by all means if u change the y in the power field to like 25 or so u would see a bigger gap in both fields but you dont so this is being loaded server side only and we cant touch it. i cant tell ya how many hours i banged my head on this.
<Element ID="PowerField" X="1" Y="17" Width="164" Height="23">

Code:

<PanelFile ID="ID_UISkin_RealVitalsField">
  <Element ID="VitalField" X="0" Y="0" Width="178" Height="23"></Element>
  <Element ID="RealVitalsField" X="96" Y="36" Width="168" Height="42">
    <Element ID="HealthVitalField" X="0" Y="0" Width="164" Height="23">
      <Element ID="HealthField" X="0" Y="0" Width="164" Height="23">
        <Element ID="CurrentHealthMeter" X="0" Y="12" Width="164" Height="9"></Element>
      </Element>
      <Element ID="DreadField" X="0" Y="0" Width="164" Height="23">
        <Element ID="DreadMeter" X="0" Y="12" Width="164" Height="9"></Element>
      </Element>
      <Element ID="CurrentHealthText" X="0" Y="8" Width="162" Height="16"></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>
      <Element ID="CurrentPowerText" X="3" Y="3" Width="162" Height="16"></Element>
    </Element>
  </Element>
</PanelFile>


<PanelFile ID="ID_UISkin_RealOpponentVitalsField">
  <Element ID="RealOpponentVitalsField" X="285" Y="36" 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="CurrentOpponentHealthMeter" X="0" Y="12" Width="164" Height="9"></Element>
      </Element>
      <Element ID="CurrentOpponentDreadField" X="0" Y="0" Width="164" Height="23">
        <Element ID="CurrentOpponentDreadMeter" X="0" Y="12" Width="164" Height="9"></Element>
      </Element>
      <Element ID="CurrentOpponentHealthText" X="4" Y="8" Width="164" Height="16"></Element>
    </Element>
    <Element ID="OpponentPowerField" X="1" Y="19" Width="164" Height="23">
      <Element ID="CurrentOpponentPowerMeter" X="0" Y="4" Width="164" Height="9"></Element>
      <Element ID="CurrentOpponentPowerText" X="5" Y="0" Width="164" Height="16"></Element>
    </Element>
  </Element>
</PanelFile>


<PanelFile ID="ID_UISkin_RealVitalText">
  <Element ID="RealVitalText" X="0" Y="0" Width="170" Height="16"></Element>
</PanelFile>


<PanelFile ID="ID_UISkin_RealVitalTextSmall">
  <Element ID="RealVitalTextSmall" X="0" Y="0" Width="170" Height="16"></Element>
</PanelFile>


<PanelFile ID="ID_UISkin_VitalColorMeter">
  <Element ID="VitalColorMeter" X="0" Y="0" Width="170" Height="11"></Element>
</PanelFile>

the other code ya see in the file that has Width="99" Height="12 witch i think is for fellowship and target of target

Supermax 03-04-2008 02:05 PM

Honestly I'm having the same problem with the minimap. It's really disapointing I got my hopes up to the extreme and it seems nothing I can do will make this xml data work (and im not a nub to xml or skinning.)

Frosty dude you neeeeed to give us some feedback.

Tomaj 03-14-2008 05:03 AM

Bump and vouch.

We'd love some direct instructions as to how to manipulate the morale and power bars Frosty!

Frosty 03-14-2008 02:40 PM

I'll try to do something soon, work's busy. :(

-P


All times are GMT -5. The time now is 10:42 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI