EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   checkboxes to update styles??? (https://www.eq2interface.com/forums/showthread.php?t=4154)

taco-man 09-13-2005 05:45 AM

checkboxes to update styles???
 
Well, silly me i actually tried to do some xml stuff after not doing any for half a year and i cant seem to get a checkbox to change a styles FrameResource. does anyone know how to do this??? it works in the ui builder perfectly but not in game. :(

Any help at all would be REALLY REALLY appreciated :eek: :D

Deathbane27 09-13-2005 05:54 AM

Iirc, it's impossible to change a ___Style from within game, only individual objects. Tried it with my timer window thing.

Hmm...

Try using Object.Style.Fullpath. .Fullpath showed up after I quit, I believe.

Use a text object and script to grab it and try working from there, or directly.

taco-man 09-13-2005 06:49 AM

please explain in more detail for my ignorant self, what the heck is fullpath? and what are you talking about with the text object.

Deathbane27 09-13-2005 02:29 PM

Fullpath works with the set_focus command to set it on a specific UI element

set_focus=(<element>.Fullpath)

First you would want to determine what the fullpath of the style you want to alter IS...

<Text OnHoverIn="LocalText=(Parent.Object.Style.Fullpath)" ...>

Then try to alter it.

<Button OnPress="<insert style's Fullpath text here>.Attribute=Value" ...>

That's something to try, anyway. No idea whether it's going to work.

taco-man 09-14-2005 04:23 AM

what sucks is it works in ui builder but not in game so there isnt an easy way to test it (besides waiting forever for eq2 to patch and load)

Deathbane27 09-14-2005 06:45 PM

Well, you can run Everquest2.exe instead of the patcher to skip the patch.

And you can put your testing stuff in the eq2ui_mouseovericons.xml file so you can access it from the username/password screen.

So it doesn't take -that- long. :p

taco-man 09-14-2005 07:07 PM

you ruin all the fun :p

Laffs 09-14-2005 08:13 PM

Quote:

Originally Posted by Deathbane27
Well, you can run Everquest2.exe instead of the patcher to skip the patch.

And you can put your testing stuff in the eq2ui_mouseovericons.xml file so you can access it from the username/password screen.

So it doesn't take -that- long. :p

What exactly can you test from there?

No group stuff or target i guess but buttons etc that could well save me lots of time.

:)

Deathbane27 09-14-2005 08:22 PM

Well, Insomniac originally used it to test out layouts before they released the UIBuilder. It's still useful for testing scripts that work in UIBuilder but not the game, or scripts that make alterations to the window which you don't want saved (Mook Skin for EQ2MAP, for example).


All times are GMT -5. The time now is 10:30 AM.

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