diff Turok/Modules/Combat/Powerbar.xml @ 6:a9b8b0866ece

clear out log jam
author Nenue
date Sun, 21 Feb 2016 08:32:53 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Turok/Modules/Combat/Powerbar.xml	Sun Feb 21 08:32:53 2016 -0500
@@ -0,0 +1,90 @@
+<Ui>
+  <!-- placed on top of other bars; should be semi-transparent -->
+  <Texture name="TkGraph" alphaMode="ADD" virtual="true">
+    <Colors>
+      <Color r="1" g="0" b="0" a="0.5" />
+    </Colors>
+  </Texture>
+
+  <!-- StatusBar template inheritor for PowerBar frames -->
+  <Frame name="TkPowerTemplate" virtual="true" inherits="TurokStatusBar" parent="UIParent" frameStrata="BACKGROUND">
+    <Scripts>
+      <OnLoad>
+        print('PowerBar', '|cFF44FFFF'..self:GetName()..'|r loaded.')
+      </OnLoad>
+    </Scripts>
+    <Layers>
+      <Layer level="OVERLAY">
+        <FontString name="$parentPowerText" parentKey="powerText" inherits="TurokFont" justifyH="LEFT" textureSubLevel="1"/>
+        <FontString name="$parentSecondaryText" parentKey="secondaryText" inherits="TurokFontDetail" justifyH="RIGHT"  textureSubLevel="1"/>
+      </Layer>
+    </Layers>
+  </Frame>
+
+
+  <!-- Secondary powers -->
+  <Texture name="TkSecondaryPoint1" virtual="true" alphaMode="BLEND" setAllPoints="false" hidden="true" />
+  <Texture name="TkSecondaryPoint2" virtual="true" alphaMode="ADD"   setAllPoints="false" hidden="true" />
+
+
+  <Frame name="TkComboTemplate" inherits="TkPowerTemplate" virtual="true" frameStrata="BACKGROUND" hidden="true">
+    <Layers>
+      <Layer level="OVERLAY">
+        <!-- 6 max chi, 5 max combo -->
+        <Texture name="$parentCombo1_1" inherits="TkComboPoint" />
+        <Texture name="$parentCombo1_2" inherits="TkComboPoint" />
+        <Texture name="$parentCombo1_3" inherits="TkComboPoint" />
+        <Texture name="$parentCombo1_4" inherits="TkComboPoint" />
+        <Texture name="$parentCombo1_5" inherits="TkComboPoint" />
+        <Texture name="$parentCombo1_6" inherits="TkComboPoint" />
+        <!-- anticipation -->
+        <Texture name="$parentCombo2_1" inherits="TkAnticipation" />
+        <Texture name="$parentCombo2_2" inherits="TkAnticipation" />
+        <Texture name="$parentCombo2_3" inherits="TkAnticipation" />
+        <Texture name="$parentCombo2_4" inherits="TkAnticipation" />
+        <Texture name="$parentCombo2_5" inherits="TkAnticipation" />
+      </Layer>
+    </Layers>
+  </Frame>
+
+
+  <Frame name="TkThinComboTemplate" virtual="true" hidden="true" frameStrata="BACKGROUND">
+    <Layers>
+      <Layer level="BACKGROUND">
+
+        <Texture name="$parentBackground" parentKey="background" setAllPoints="true">
+          <Color r="0" g=".6" b="1" a="0.5" />
+          <Size>
+            <AbsValue y="14" />
+          </Size>
+        </Texture>
+      </Layer>
+      <Layer level="BORDER">
+
+      </Layer>
+      <Layer level="ARTWORK">
+        <Texture name="$parentForeground" parentKey="foreground" setAllPoints="true">
+          <Size>
+            <AbsValue y="14" />
+          </Size>
+          <Color r="0" g=".6" b="1" a="0.5" />
+        </Texture>
+      </Layer>
+      <Layer level="OVERLAY">
+        <!-- 6 max chi, 5 max combo -->
+
+          <FontString name="$parentPowerText" parentKey="powerText" inherits="TurokFont" justifyH="LEFT" textureSubLevel="1">
+            <Anchors>
+              <Anchor point="BOTTOMLEFT" relativeKey="$parent.foreground" />
+            </Anchors>
+          </FontString>
+          <FontString name="$parentSecondaryText" parentKey="secondaryText" inherits="TurokFontDetail" justifyH="RIGHT"  textureSubLevel="1">
+            <Anchors>
+              <Anchor point="BOTTOMRIGHT" relativeKey="$parent.foreground" />
+            </Anchors>
+          </FontString>
+      </Layer>
+    </Layers>
+  </Frame>
+
+</Ui>
\ No newline at end of file