Page 1 of 1

NECB Edit help

PostPosted: Mon Nov 28, 2016 7:07 am
by phrazer
i'm in the process of making a few changes to the way NECB looks, like editing the border/texture and aligning the icons a bit better but i'm having a few issues.

Basically i have removed the blizzard border from the cast bar and its working fine in game but im getting a lua error and i cant understand why.

Code: Select all
    <Layers>
      <Layer level="OVERLAY">
        <FontString name="$parent_Text" inherits="GameFontHighlight">
          <Size>
            <AbsDimension x="185" y="14"/>
          </Size>
          <Anchors>
            <Anchor point="TOP"/>
          </Anchors>
        </FontString>
   <FontString name="$parent_CastTimeText" inherits="GameFontHighlight" text="">
      <FontHeight>
         <AbsValue val="14"/>
      </FontHeight>
      <Color r="1.0" g="1.0" b="1.0"/>
      <Anchors>
        <Anchor point="LEFT">
           <Offset>
              <AbsDimension x="205" y="5.5"/>
           </Offset>
        </Anchor>
       </Anchors>
   </FontString>
        <!-- Steal the casting bar's border -->
        <Texture name="$parent_Border" file="Interface\Tooltips\UI-StatusBar-Border">
          <Size>
            <AbsDimension x="205" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0" y="2"/>
              </Offset>
            </Anchor>
          </Anchors>
        </Texture>
      </Layer>
    </Layers>


If i remove the
Code: Select all
<!-- Steal the casting bar's border -->
to the closed
Code: Select all
</Texture>
tag it works fine in game but i get a lua. Has anyone got any idea here? I'm not exactly good with lua edits.

Also
<FontHeight>
<AbsValue val="14"/>
</FontHeight>


This is the variable for the font size but it wont go any lower? I tried 12 in game and it didn't change :cry: