View Single Post
  #7  
Old 12-20-2010, 03:38 AM
MiRo2 MiRo2 is offline
Fire Giant

MiRo2's Avatar

Join Date: May 2010
Posts: 732
Default

I tried on the spell bar, but I got stuck, and now my brain hurts. HALP!

I resized the images, smoothed out some issues from resizing on the graphics, edited the code, to resize, reposition, the gems, and remove the 9th gem.

This is what I ended up with

Original
[You must be logged in to view images. Log in or Register.]

Resized
[You must be logged in to view images. Log in or Register.]

Yes, my spell icons are installed correctly, both the spell book and buff bar are displaying correctly, but spell gems are not. Spell gems work in my default and Solaria UI so not sure where the issue is. Spell gem offsets are set to 5,5 as I couldn't find a good spot without the actual Icon.

So here is the code for the EQUI_CastSpellWnd.xml and I have the .tga file as well, but forums won't allow me to attach, and imageshack won't upload it either [You must be logged in to view images. Log in or Register.]

Code:
<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
  <Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />
  <Ui2DAnimation item="spellgem_back">
    <Frames>
      <Texture>Haeldar.tga</Texture>
      <Location>
        <X>0</X>
        <Y>400</Y>
      </Location>
      <Size>
        <CX>244</CX>
        <CY>96</CY>
      </Size>
      <Duration>1000</Duration>
    </Frames>
  </Ui2DAnimation>
  <Ui2DAnimation item="My_SpellGemHolder">
    <Frames>
      <Texture>Haeldar.tga</Texture>
      <Location>
        <X>300</X>
        <Y>400</Y>
      </Location>
      <Size>
        <CX>45</CX>
        <CY>42</CY>
      </Size>
    </Frames>
  </Ui2DAnimation>
  <Ui2DAnimation item="My_SpellGemBackground">
    <Frames>
      <Texture>Haeldar.tga</Texture>
      <Location>
        <X>350</X>
        <Y>400</Y>
      </Location>
      <Size>
        <CX>45</CX>
        <CY>42</CY>
      </Size>
    </Frames>
  </Ui2DAnimation>
  <Ui2DAnimation item="My_SpellGemHighlight">
    <Frames>
      <Texture>Haeldar.tga</Texture>
      <Location>
        <X>350</X>
        <Y>400</Y>
      </Location>
      <Size>
        <CX>0</CX>
        <CY>0</CY>
      </Size>
    </Frames>
  </Ui2DAnimation>
  <SpellGem item="CSPW_Spell0">
    <ScreenID>CSPW_Spell0</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>10</X>
      <Y>4</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell1">
    <ScreenID>CSPW_Spell1</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>58</X>
      <Y>4</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell2">
    <ScreenID>CSPW_Spell2</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>106</X>
      <Y>4</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell3">
    <ScreenID>CSPW_Spell3</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>154</X>
      <Y>4</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell4">
    <ScreenID>CSPW_Spell4</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>10</X>
      <Y>50</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell5">
    <ScreenID>CSPW_Spell5</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>58</X>
      <Y>50</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>3</SpellIconOffsetX>
    <SpellIconOffsetY>2</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell6">
    <ScreenID>CSPW_Spell6</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>106</X>
      <Y>50</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell7">
    <ScreenID>CSPW_Spell7</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>154</X>
      <Y>50</Y>
    </Location>
    <Size>
      <CX>45</CX>
      <CY>42</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>My_SpellGemHolder</Holder>
      <Background>My_SpellGemBackground</Background>
      <Highlight>My_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>5</SpellIconOffsetX>
    <SpellIconOffsetY>5</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell8">
    <ScreenID>CSPW_Spell8</ScreenID>
  </SpellGem>
  <Button item="CSPW_SpellBook">
    <ScreenID>CSPW_SpellBook</ScreenID>
    <!--<Font>3</Font>-->
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>204</X>
      <Y>35</Y>
    </Location>
    <Size>
      <CX>30</CX>
      <CY>28</CY>
    </Size>
    <Style_Transparent>false</Style_Transparent>
    <TooltipReference>Opens and closes Your Spellbook</TooltipReference>
    <Style_Checkbox>true</Style_Checkbox>
    <!--<RadioGroup/>-->
    <ButtonDrawTemplate>
      <Normal>A_BookBtnNormal</Normal>
      <Pressed>A_BookBtnPressed</Pressed>
      <Disabled>A_BookBtnDisabled</Disabled>
      <Flyby>A_BookBtnFlyby</Flyby>
      <PressedFlyby>A_BookBtnPressedFlyby</PressedFlyby>
    </ButtonDrawTemplate>
  </Button>
  <StaticAnimation item="spellgem_background">
    <ScreenID>player_background</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>0</X>
      <Y>0</Y>
    </Location>
    <Size>
      <CX>244</CX>
      <CY>96</CY>
    </Size>
    <Animation>spellgem_back</Animation>
  </StaticAnimation>
  <Screen item="CastSpellWnd">
    <!--<ScreenID/>-->
    <!--<Font/>-->
    <RelativePosition>false</RelativePosition>
    <Location>
      <X>3</X>
      <Y>703</Y>
    </Location>
    <Size>
      <CX>244</CX>
      <CY>96</CY>
    </Size>
    <Text>Spells</Text>
    <Style_Transparent>false</Style_Transparent>
    <TooltipReference>Allows you to cast your memorized spells</TooltipReference>
    <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate>
    <Style_Titlebar>false</Style_Titlebar>
    <Style_Closebox>false</Style_Closebox>
    <Style_Minimizebox>false</Style_Minimizebox>
    <Style_Border>false</Style_Border>
    <Style_Sizable>false</Style_Sizable>
    <Pieces>spellgem_background</Pieces>
    <Pieces>CSPW_Spell0</Pieces>
    <Pieces>CSPW_Spell1</Pieces>
    <Pieces>CSPW_Spell2</Pieces>
    <Pieces>CSPW_Spell3</Pieces>
    <Pieces>CSPW_Spell4</Pieces>
    <Pieces>CSPW_Spell5</Pieces>
    <Pieces>CSPW_Spell6</Pieces>
    <Pieces>CSPW_Spell7</Pieces>
    <Pieces>CSPW_Spell8</Pieces>
    <Pieces>CSPW_SpellBook</Pieces>
  </Screen>
</XML>
*EDIT* I will look for somewhere reputable to host the .tga file when I get back from the gym. *EDIT*
Reply With Quote