UI CastSpell window issue

Discussion in 'Player Support' started by Emlar, Aug 6, 2019.

  1. Emlar New Member

    Hi,
    I'm developing a customed UI in order to play on a 40" 4K screen.
    It's working pretty well except for spell gem icons.
    I have modified EQUI_CastSpellWnd.xml in order to use 80x64 spell gems:
    <SpellGem item = "CA_SpellGem">
    <ScreenID>CA_SpellGem</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
    <X>5</X>
    <Y>5</Y>
    </Location>
    <Size>
    <CX>80</CX>
    <CY>64</CY>
    </Size>
    <SpellGemDrawTemplate>
    <Holder>A_SpellGemHolder</Holder>
    <Background>A_SpellGemBackground</Background>
    <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    </SpellGem>
    I have also modified SpellGemHolder, SpellGemBackground and SpellGemHighlight accordingly (78x64), created enlarged gemiconsxx.tga (512x512) image with 48x48 spell images. My spell bar is correctly displayed with double size.
    I also modified EQUI_SpellIcons.xml:
    <Ui2DAnimation item="A_SpellGems">
    <Cycle>false</Cycle>
    <Grid>true</Grid>
    <Vertical>false</Vertical>
    <CellHeight>48</CellHeight>
    <CellWidth>48</CellWidth>
    <Frames>
    <Texture>gemicons01.tga</Texture>
    <Location>
    <X>0</X>
    <Y>0</Y>
    </Location>
    <Size>
    <CX>512</CX>
    <CY>512</CY>
    </Size>
    <Hotspot>
    <X>0</X>
    <Y>0</Y>
    </Hotspot>
    <Duration>1000</Duration>
    </Frames>....
    But whatever I do, gemicons are always displayed in the spell bar as 24x24.
    Could it be that the gemicons images size is hard coded, and whatever xml declaration I do, they are always displayed 24x24 ?
    Or is it just me making a mistake ?
    Thanks for your support
  2. Emlar New Member

    Any chance a dev can provide an answer ?
  3. CrazyLarth Augur