EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Modify Maintained Spells Window (https://www.eq2interface.com/forums/showthread.php?t=13913)

scynx 03-01-2010 08:50 AM

Modify Maintained Spells Window
 
Ok, new topic, maybe more luck this time :P
I wanted to change the iconsize of the icons in the maintained spells window, so i opened up the maintained.xml and changed the size from 30,30 to 19,19 which worked without any problems.
The icons are smaller now, but there's a huge gap between them, just like if the icons would still have a size of 30,30. I looked around and figured, every buff-frame from 1-30 has a preset size which is defined by this piece of code:

Code:

<Page Name="Frame1" Size="250,32">
I thought it would be width*height and changed them to:

Code:

<Page Name="Frame1" Size="250,21">
to line up the icons without any gaps between them, just like it is under general buffs/debuffs. Sadly, it looks like i'm wrong because the gap still remains. Can anyone help me out here, i'm a bit lost now :nana:

Landiin 03-01-2010 10:50 AM

Actully the frame sizes 1 - 30 are controled by the following code

Code:

<VolumePage ... CellSize="250,32" ... >

chriswebstar 03-01-2010 01:23 PM

Don't forget to relocate the duration and amount texts and stuff... Apparently you have to do it to each frame manually, one by one. :confused:

scynx 03-01-2010 02:09 PM

Thanks Landiin, works like a charm. Still wonder what i've changed with my previous edits, couldn't make out a difference.

scynx 03-01-2010 06:57 PM

Quote:

Originally Posted by chriswebstar (Post 88906)
Don't forget to relocate the duration and amount texts and stuff... Apparently you have to do it to each frame manually, one by one. :confused:

Didn't notice something was missing just until now, do you happen to know which line of code needs to be altered?

chriswebstar 03-01-2010 10:12 PM

Inside each cell page there should be a couple text rows. Just move those around by altering the top/left fields, or position field, not sure what UIBuilder writes to disk..

scynx 03-02-2010 08:50 AM

Thats a complete code piece of frame 1. There's something confusing about it however. After resizing the icons and the gap between them, the name of the spell and target_self have moved accordingly to the icons, the only thing that is missing are the duration of short time spells (i.e. dot and hots) and the name of the target if it's an enemy.
Do i need to alter the bold locations?

Code:

<Page Name="Frame1" Size="250,21">
<Text AbsorbsInput="false" DynamicData="/GameData.Maintained.Spell_1.AmountRemaining" Font="/ProfitUI_Styles.Fonts.FontArial14T" Location="161,18" Name="AmountRemaining"

ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="50,15"/>
<Text AbsorbsInput="false" DynamicData="/GameData.Maintained.Spell_1.Duration" Font="/ProfitUI_Styles.Fonts.FontArial14T" Location="32,18" Margin="1,0,0,0" Name="Time"

ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="120,15"/>
<Text AbsorbsInput="false" DynamicData="/GameData.Maintained.Spell_1.Target" Font="/ProfitUI_Styles.Fonts.FontArial14T" Location="32,8" Margin="1,0,0,0" Name="Target"

ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="218,15"/>
<Checkbox BackgroundColor="#FF0000" Location="32,-2" Name="_Catalyst_CancelSpell" OnHoverIn="BackgroundOpacity=0.3" OnHoverOut="BackgroundOpacity=0" OnPress="cancel_maintained Parent.Name.Text" Size="218,15"

Style="/ProfitUI_Styles.ButtonStyles.checkbox_textonly" Tooltip="Cancel this maintained spell" />
<Text AbsorbsInput="false" DynamicData="/GameData.Maintained.Spell_1.Name" Font="/ProfitUI_Styles.Fonts.FontArial14T" Location="32,-2" Margin="1,0,0,0" Name="Name"

ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="218,15" Text="SpellName" TextColor="#98ACC2" />
<Icon ActionData="maintained_spell" BackgroundTint="#000000" DynamicData="/GameData.Maintained.Spell_1.Icon" IconStyle="/IconStyles.effect" MouseOverColor="#FFFF00" Name="Icon" PackLocation="NFN,NFN"

PackLocationProp="0000/0001,0000/0001" Size="19,19" Visible="false"/>
</Page>


chriswebstar 03-02-2010 08:54 AM

I'm not sure about profit itself, so I can only speculate, but some fields seem to be outside the visible area you have declared.

scynx 03-02-2010 11:14 AM

Just looked it up in the UIbuilder and noticed that pretty much everything is outside of the box designated for each frame. In the end, merely resizing the icons will give you nothing, if you don't switch to a smaller fontsize at the same time. Looks like this is going to be alot of work :rolleyes:

Landiin 03-02-2010 12:36 PM

The easy way is to fix one, the copy it to the others and just editing the spell #. ;)

scynx 03-02-2010 01:33 PM

I'll give it a try once i figured out why i am no longer seeing a maintained spells window after tinkering with the xml in the uibuilder. The window is there, i can set a background etc. ingame but it's just blank.
But it's too late to stop now :P

chriswebstar 03-02-2010 01:41 PM

Quote:

Originally Posted by Landiin (Post 88939)
The easy way is to fix one, the copy it to the others and just editing the spell #. ;)

I found it easier to move the stuff around for each cell... But to each his own. This is still quite stupid :P I'm tempted of pulling sed or awk out.

Landiin 03-03-2010 01:35 PM

Quote:

Originally Posted by SvetaJupplack (Post 88975)
I need a program to modify a screen COROS Siemens OP15.
I have the file . O15.
I have been told that the necessary software is "comtxt".
I tested the Siemens website and service, but they told me who do not. Does anyone know it?

Thank

/Boggle...

chriswebstar 03-03-2010 01:53 PM

Quote:

Originally Posted by SvetaJupplack (Post 88975)
I need a program to modify a screen COROS Siemens OP15.
I have the file . O15.
I have been told that the necessary software is "comtxt".
I tested the Siemens website and service, but they told me who do not. Does anyone know it?

Thank

Eh.... 42?


All times are GMT -5. The time now is 08:18 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI