Player Variables

The “code segment” of health, stamina, 4 slot status bar etc.. are described in this file: player.xml

  <group id="content"
         x="0"
         y="-2"
         w="166"
         child_resize_h="true"
         posref="TL TL"
         group_onclick_l="self_target">
    <!-- new Jauges -->
    <view type="bitmap"
          id="b_ChaScore1"
          posref="TL TL"
          texture="slot_jauge.tga"
          inherit_gc_alpha="false" />
    <view type="bitmap"
          id="b_ChaScore3"
          posref="TL TL"
          y="-20"
          texture="slot_jauge.tga"
          inherit_gc_alpha="false" />
    <view type="bitmap"
          id="b_ChaScore2"
          posref="TL TL"
          y="-35"
          texture="slot_jauge.tga"
          inherit_gc_alpha="false" />
    <view type="bitmap"
          id="b_ChaScore4"
          posref="TL TL"
          y="-50"
          texture="slot_jauge.tga"
          inherit_gc_alpha="false" />
    <instance template="jauge_score"
              id="jChaScore1"
              posparent="b_ChaScore1"
              posref="TL TL"
              color="78 42 40 255"
              color_gray="160 42 5 255"
              text="uiHP"
              val="%player_ChaScore1"
              maxval="%player_ChaScore1_max"
              val_bar="%player_ChaScore1_percent"
              tooltip="uittGaugesHP" />
    <instance template="jauge_score"
              id="jChaScore3"
              posparent="b_ChaScore3"
              posref="TL TL"
              color="239 230 0 255"
              color_gray="100 141 3 255"
              text="uiSap"
              val="%player_ChaScore3"
              maxval="%player_ChaScore3_max"
              val_bar="%player_ChaScore3_percent"
              tooltip="uittGaugesSap" />
    <instance template="jauge_score"
              id="jChaScore2"
              posparent="b_ChaScore2"
              posref="TL TL"
              color="110 32 160 255"
              color_gray="151 50 114 255"
              text="uiStamina"
              val="%player_ChaScore2"
              maxval="%player_ChaScore2_max"
              val_bar="%player_ChaScore2_percent"
              tooltip="uittGaugesSta" />
    <instance template="jauge_score"
              id="jChaScore4"
              posparent="b_ChaScore4"
              posref="TL TL"
              color="31 155 197 255"
              color_gray="23 116 147 255"
              text="uiFocus"
              val="%player_ChaScore4"
              maxval="%player_ChaScore4_max"
              val_bar="%player_ChaScore4_percent"
              tooltip="uittGaugesFoc" />
    <!-- Action Progression (displays only if the user wants to). Important: Be sure to set the activity to "default" value, This is needed for the correct operation of the "reset.xml file"! -->
    <instance template="t_current_action_bar"
              id="current_action"
              x="0"
              y="-65"
              tooltip_parent="win"
              active="false" />
    <link expr="eq(@UI:SAVE:ACT_BAR_OUT,0)"
          target="current_action:active" />
  </group>