PDA

View Full Version : Vitals frame


MrJackdaw
01-23-2010, 10:12 AM
I have been tinkering with the player vitals frame. The following pic shows what I have done so far;

http://i362.photobucket.com/albums/oo68/MrJackdaw/ThinVitals.jpg

The vitals are as wide as a quickslot bar, and the portrait is only a quarter of its normal size.

It is very untested - I do no PVP, don't have a headset etc. so am loath to release as a mod.

Is anyone interested in the code, or should I consign this to oblivion?

Reven
01-23-2010, 03:01 PM
any changes are good to learn from or use, lets see it

MrJackdaw
01-23-2010, 04:02 PM
Okey!

<Mapping ArtAssetID="player_vitals_backdrop" FileName="../null.tga"></Mapping><!--Made invisible-->
<Mapping ArtAssetID="player_vitals_lowrescover" FileName="../null.tga"></Mapping><!--Made invisible-->
<!-- texture for health bar needs changing-->

<!-- The plan is for long thin vitals bars with the player portrait to the left, buffs above.-->
<PanelFile ID="ID_UISkin_AvatarPanel">
<Element ID="AvatarPanel" X="0" Y="0" Width="452" Height="64"> <!--Made wider and shorter X="0" Y="1" Width="280" Height="300"-->
<Element ID="VitalsParent" X="0" Y="0" Width="452" Height="64"> <!--Width and height was 300-->
<Element ID="PlayerVitals_Animations" X="0" Y="0" Width="452" Height="64"> </Element><!--Covers the whole frame Width here WILL need changing-->

<Element ID="PlayerName" X="0" Y="0" Width="1" Height="1"> </Element><!--Name Hidden-->

<Element ID="PlayerEffectDisplay" X="32" Y="0" Width="420" Height="64"> </Element> <!--Buffs/Debuffs-->

<Element ID="VitalsBg" X="32" Y="46" Width="416" Height="18"> </Element><!--Made invisible X="88" Y="42" Width="175" Height="27"-->

<Element ID="VitalsField" X="32" Y="46" Width="420" Height="18"> <!--Done. Fatter health bar, gap between the two removed. Y location maybe not perfect.-->
<Element ID="PowerField" X="0" Y="9" Width="416" Height="23">
<Element ID="CurrentPowerMeter" X="0" Y="0" Width="416" Height="9">
<Element ID="meter_fill" X="0" Y="0" Width="416" Height="9">
<Element ID="meter_fill_image" X="0" Y="0" Width="416" Height="9"> </Element>
</Element>
</Element>
<Element ID="CurrentPowerText" X="0" Y="-4" Width="416" Height="16"> </Element>
</Element>

<Element ID="HealthVitalField" X="0" Y="0" Width="416" Height="23">
<Element ID="DreadField" X="416" Y="0" Width="0" Height="23">
<Element ID="DreadMeter" X="0" Y="0" Width="0" Height="9">
<Element ID="meter_fill" X="-416" Y="0" Width="416" Height="9">
<Element ID="meter_fill_image" X="0" Y="0" Width="416" Height="9"> </Element>
</Element>
</Element>
</Element>
<Element ID="CurrentHealthText" X="0" Y="-4" Width="416" Height="16"> </Element>
<Element ID="HealthField" X="0" Y="0" Width="416" Height="23">
<Element ID="CurrentHealthMeter" X="0" Y="0" Width="416" Height="9">
<Element ID="meter_fill" X="0" Y="0" Width="416" Height="9">
<Element ID="meter_fill_image" X="0" Y="0" Width="416" Height="9"> </Element>
</Element>
</Element>
</Element>
</Element>
</Element>

<Element ID="AvatarPanel_BG" X="0" Y="0" Width="1" Height="1"> </Element><!--Made invisible Width="273" Height="105"-->

<Element ID="PlayerPortrait" X="0" Y="36" Width="32" Height="32"> </Element><!--Moved to top left 64,64-->
<Element ID="AvatarPanel_COVER_LOWRES" X="0" Y="36" Width="32" Height="32"> </Element><!--Matches avatarpanel_bg-->


<Element ID="PlayerLevel_BG" X="0" Y="32" Width="1" Height="1"> </Element><!--Hidden-->
<Element ID="PlayerLevel" X="0" Y="0" Width="1" Height="1"> </Element><!--Hidden instead of 32x17-->

<Element ID="PlayerLeaderIcon" X="436" Y="24" Width="16" Height="16"> </Element><!-- Nasty hack - not well positioned at all. But will do for now-->
<Element ID="PlayerAssistantIcon" X="436" Y="24" Width="16" Height="16"> </Element>
<Element ID="PlayerVoiceChat" X="416" Y="24" Width="20" Height="20"> </Element>
<Element ID="PlayerSendingData" X="416" Y="24" Width="20" Height="20"> </Element>
<Element ID="PlayerPVP_Info" X="0" Y="24" Width="32" Height="32">
<Element ID="PlayerPVP_RankDisplay" X="0" Y="0" Width="32" Height="32"> </Element>
</Element>
<Element ID="PlayerVoiceChatSquelched" X="416" Y="24" Width="20" Height="20"> </Element>

</Element>

<Element ID="HiddenDragBox_DragBar" X="0" Y="0" Width="452" Height="20"> </Element>
<Element ID="HiddenDragBox_TitleText" X="0" Y="0" Width="452" Height="20"> </Element>
</Element>
</PanelFile>

MrJackdaw
01-27-2010, 01:56 AM
There was an error in the code that stops the dread bar from showing. Now fixed.