![]() |
ui testing?
was wondering how do you guys(and gals) test your ui as your making them?
afaik, the loadui just makes the game crash, so right now, i'm logging in/out each time to load it. also, is there a way in the uibuilder to edit the script for things, or do you have to go into the xml and do it by hand. |
Sadly loading in and out is the only reliable way to test.
I get every thing the way I want it in the UIBuilder as far as positioning goes then close my eyes and save. ( lol ) Then test it in game, normally I'll have to adjust text because text doesn't display the same in game as it does in the UIBuilder. As far as scripts go, sure you can edit/add them in the UIBuilder. Say for example you want to add some script to the OnClick event of a button. Just scroll the list box down to that property and double click on it. The UIBuider will the open up a multi line edit box you can use to edit/add your script in. The way I do it, if I am positioning things and know I'm going to add script to it, I'll just add a char to that property before I save that way I don't have to type OnClick="..." later on in my text editor, I just enter the script. But I'm just lazy that way is all.. |
ah, thank you.
i never stopped to look at all the properties when you uncheck that box, and i didnt know about the double clicking on the property to bring up the multi line box, that helps alot. found some info while i was looking around on the net after i posted this. apperently, the /loadui command is 2 things, just the command brings up a window that lets you pick and then crashes the game, but the /loadui <foldername> will actually switch/reload a ui without crashing! |
Quote:
|
Quote:
only issues i see is it doesnt retain the uisettings(well, atleast which windows are open and/or where), but a quick /load_uisettings fixes that, and yeah, certain data isnt reloaded, like zone names. but its betting then logging in/out alot. |
Quote:
Welcome to the club! :) |
| All times are GMT -5. The time now is 01:59 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI