EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   HP bar on my player window disappears (https://www.eq2interface.com/forums/showthread.php?t=10895)

labrat23 04-21-2008 10:11 PM

HP bar on my player window disappears
 
1 Attachment(s)
There is a thread sort of related on the UI Developer Discussion catagory:
http://www.eq2interface.com/forums/s...ad.php?t=10735
but I thought I would post here with the problem I am coming across.

A couple days ago, I made a click to cure mod to my default groupmembers window. It works fine. All it is is a button on the same location and size as each 'effect' with an opacity of 0 and an OnPress value of "useability Cure Trauma" etc. This was all done using the UIBuilder downloaded from this site the same day I made the groupmembers window mod.

So today I copy and paste of the default eq2ui_mainhud_player window into my custom ui folder and open it with UIBuilder and cut and pasted the same buttons I used in the groupmembers window into the player window. The buttons work fine, but my HP bar in the window disappears. I retried the process several times and got the same result. I tried adding just one button: hp bar gone. I delete the button: hp bar still gone.

Yes I am new the UI modding scene.

What I don't get is I can understand adding something to the window using UIbuilder might screw something up. I know I understand about 1% of UI modding. But if I delete what I just added, and the problem persists, (non-screwed-with default file still works fine), what is UIBuilder doing that I don't know about? And what is making my hp bar go away?

labrat23 04-21-2008 11:15 PM

1 Attachment(s)
Fixed my own problem.

Dont use UIBuilder.

As mentioned in the previous post, making any change, then undoing it in UIbuilder, which should theoretically should generate a file identical to the unmolested file, screws up the file.

So I opened the file with the working click-to-cure button but missing hp bar with notepad, copied the line containing the button into the clipboard, pasted it in the appropriate spot in the default file using notepad, moved it to my custom UI folder, and it works. Now the ironic thing is, the text of the file that was generated by UIBuilder and the one I made by copy and pasting the line that UIBuilder generated is identical. Every character is the same, I took about half an hour and tripple checked the entire thing, with two notepads open right on top of each other showing both files. UIBuilder had to have screwed up some sort of file properties that is not part of the text.

Working file attached. Now since this one works, and the previous attached one does not, they have to be different. Heck if I can figure out what it is.


(BTW, these both only have the cure trauma)

Edited for clarity

maximoz 04-22-2008 01:45 AM

I also posted this here http://www.eq2interface.com/forums/s...ad.php?t=10872

Yup, somehow the UIBuilder is making some wanky stuff if you tried to modified an already working file.

gm9 04-22-2008 02:11 AM

Quote:

Originally Posted by labrat23 (Post 72166)
Now the ironic thing is, the text of the file that was generated by UIBuilder and the one I made by copy and pasting the line that UIBuilder generated is identical. Every character is the same, I took about half an hour and tripple checked the entire thing, with two notepads open right on top of each other showing both files.

No, the file in your OP has set

Visible="false"

for the health bar, which is why it does not show. You probably clicked the eye icon which controls visibility by mistake.

labrat23 04-22-2008 08:45 AM

Quote:

Originally Posted by gm9 (Post 72172)
No, the file in your OP has set

Visible="false"

for the health bar, which is why it does not show. You probably clicked the eye icon which controls visibility by mistake.

Snow-blind ftw. Thanks, I knew I had to be missing something retarded. I wonder how I could have accidentally clicked the eye icon three times in a row?


All times are GMT -5. The time now is 11:37 PM.

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