![]() |
|
|
|
#1
|
|||
|
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>
| ||
|
#2
|
|||
|
you know i actually had a similar issue with the spell gems displaying all wacky until I went and downloaded the "complete" default UI files off of savok's walkthrough. I am using the "classic" icons and once i went back and slapped those extra files it they display right.
Oh, also, wanted to just note again that with the spell list, i want to have the whole thing vertical so that I can put it along the left hand side of my screen (sorta classic style), i.e. each spell icon below the one before it, with the spellbook button below the 8th spell
__________________
Noah, the Loincloth Hero
Ogre High Jump Champion 2019 | ||
|
Last edited by karsten; 12-20-2010 at 04:11 AM..
| |||
|
#3
|
|||
|
Yeah, I jerry rigged my spell icons before the guide came out after the masses cried out in distress, guess I left something out [You must be logged in to view images. Log in or Register.]
[You must be logged in to view images. Log in or Register.] Weeeeeee back to the drawing board. At the very least I will have a vertical spell bar with gems 1.5 the size of the icons for Savok to fix for you [You must be logged in to view images. Log in or Register.] | ||
|
#4
|
|||
|
Vertical:
[You must be logged in to view images. Log in or Register.] SpellCastWnd.xml 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>430</X>
<Y>75</Y>
</Location>
<Size>
<CX>53</CX>
<CY>388</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>4</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>4</X>
<Y>48</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>4</X>
<Y>92</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>4</X>
<Y>136</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>4</X>
<Y>180</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>4</X>
<Y>224</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_Spell6">
<ScreenID>CSPW_Spell6</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>4</X>
<Y>268</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>4</X>
<Y>312</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>19</X>
<Y>356</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>53</CX>
<CY>388</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>53</CX>
<CY>388</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>
I have no clue where to resize the spell gems, if you could do that part or point me in the right direction. I have the .tga as well still looking for somewhere to host it | ||
|
#5
|
|||
|
I was going to work on this today but you already did some of the xml code [You must be logged in to view images. Log in or Register.]
Points to remember: 1. Hotbutton and cast spell window gems are always the same size. The icon info is pulled from the spellgems code in the Animations.xml. 2. The spellgem locations can be offset in each xml window with the SpellIconOffset tag. 3. The backgrounds would need to be redrawn to match their new size and their code changed in the castspellwnd.xml file. Basically, although its possible to do I would just stick with the standard size (unless you want to redraw a ton of files). | ||
|
#6
|
|||
|
This is how I was going to do the spell gem issue. The spellgems in the gemiconsXXX.tga files and animations window are set to 24x24. I would keep this info the same and just redraw the backgrounds to be say 40x40 but with a 8x8 border so that it looks right - the gem would be the same size but the button would be bigger if that makes sense. The code for the cast window would look like this:
Code:
<SpellGem item="CSPW_Spell0">
<ScreenID>CSPW_Spell0</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>4</X>
<Y>4</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
<SpellGemDrawTemplate>
<Holder>My_SpellGemHolder</Holder>
<Background>My_SpellGemBackground</Background>
<Highlight>My_SpellGemHighlight</Highlight>
</SpellGemDrawTemplate>
<SpellIconOffsetX>8</SpellIconOffsetX>
<SpellIconOffsetY>8</SpellIconOffsetY>
</SpellGem>
The gems could sit in a background of 24x24, 32x32, 36x36 or whatever looks good to you, so long as the gems themselves remain 24x24 and the offset is corrected to match. The gemholder code would also need to change to match as well. I you want rectangular gemslots you can do that as well but again just set the offsets correctly (40x28 holder would have a X8 Y2 offset), the spell gem itself would still be 24x24. | ||
|
Last edited by Savok; 12-20-2010 at 09:48 AM..
| |||
|
#7
|
|||
|
The last option is to resize the actual gemiconXXX.tga icons bigger than 24x24 and change the spellgem UIanimation in the EQUI_Animations.xml file but you would also have to redraw all 150+ icons in the same current order as well as the alpha channel etc. Also you would have to redo all of the hotbuttons in the hotbutton.xml file to match the new size...
You can see an example of this in the 1a option download for the titanium default UI where it uses Velious spellgems. You can see the gems are a different size (34x28 iirc) and the hotbutton spellgem holders changed to match. | ||
![]() |
|
|