EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-26-2005, 04:18 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default Something about UIBuilder I wish I'd known earlier

Just in case anyone else didn't know... I just found out tonight by accident.

- Select an object, then click on the Preview pane, and use the arrow keys to move it pixel by pixel. Hold Shift while pressing the arrow keys to move 10 pixels at a time.

- Select multiple objects by holding the Shift key and clicking. (Control-click to deselect.) When you have multiple objects selected, you can move and resize them as a group. And, the buttons at the top of the Preview pane are enabled, allowing you to use extremely useful functions like Distribute Horizontally and Align Vertical Center. (Thanks Tonyis3l33t)


Edit: Adding more features you wish you'd known earlier:

- Doubleclick on an image or imageframe's SourceRect property to bring up a preview of the image given in SourceResource. You get the standard highlight box which you can move and stretch around to select part of the image! And you can zoom in up to 8x! Discovered by Kosmos (Bug with this: If the image is not a square, it will be stretched to a square in the preview window, but the selection box won't be.)

- You can double-click any property that takes Boolean values (true or false), and it will switch between the two. (AbsorbsInput, Visible, etc.)

- Double-click any Color, BackgroundColor, etc. value and it will bring up the Windows color picker.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 02-26-2005 at 05:01 PM.
Reply With Quote
  #2  
Unread 01-26-2005, 05:28 AM
tonyis3l33t's Avatar
tonyis3l33t tonyis3l33t is offline
a hedgehog
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 854
Default

heres another
those hotkey buttons on top are useful

click object one, hold shift and click more objects

clicking one of the hotkeys up top (ie. align top) will do what it says based off the last object you click.
1
---- 2
------ 3
------

select 1,then 2, then 3, hit align top to get:



1 2 3
---- ------ ------

EDIT: stupid post doesnt show up how i typed it.
________
Live sex

Last edited by tonyis3l33t : 09-16-2011 at 03:26 AM.
Reply With Quote
  #3  
Unread 01-26-2005, 05:36 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Quote:
Originally Posted by tonyis3l33t
heres another
those hotkey buttons on top are useful

click object one, hold shift and click more objects

clicking one of the hotkeys up top (ie. align top) will do what it says based off the last object you click.

Holy Erollisi Marr's divine backside! That would have only saved me about AN HOUR OUT OF THE 80 MINUTES I SPENT ON MY INVENTORY AND BANK WINDOWS!!!!!

(Code tag is your friend. Why does it use Italics though?)

Now to redouble that hour lost by playing around with these.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 01-26-2005 at 05:42 AM.
Reply With Quote
  #4  
Unread 02-26-2005, 09:52 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

I would really like to see this post consolodated for many people.
More for the Things I wish I had know earlier.
There have been so many of these discoveries with the UI Builder.
And perhaps we can get the information included in the updated UI Builder manual when they updated it a few years from now.

There is a built in .DDS viewer plugin with the UI Builder.
If you have a complete copy of your Defulat directory and you have the eq2ui.xml file loaded. Find the image ubject that you want to work with and double click on the zone rec command in the bottom left hand corner.
This will bring up the .DDS plug in and alow you to set your zone recs for the image It's really nifty and handy. I did't even know it was there.

- Always double click the command in the bottom left hand window. If it requires txt only it will pop-up the correct edit window for that command. If you change the text in the bottom left hand window for the wrong command, it will monkey everything up when you save the file.
Reply With Quote
  #5  
Unread 02-26-2005, 04:50 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Alrighty, toss in anything else you discover or think other people might not know about, and I'll edit it in to the top post.

New:

You can double-click any property that takes Boolean values (true or false), and it will switch between the two.

Double-click any Color value and it will bring up the Windows color picker.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #6  
Unread 02-26-2005, 05:23 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Added a few to the FAQ so far.
Reply With Quote
  #7  
Unread 03-01-2005, 10:31 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Note* For some of these things to work you have to click the Play/Stop button at the top. I was trying to use the arrow keys to move stuff and didn't work till I unpress that button
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #8  
Unread 03-01-2005, 11:03 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Yes! Good one.

I often forget about that when I've got the "Run" button. On/Off


Lol, Not the "Play" button.


Reply With Quote
  #9  
Unread 03-08-2005, 12:55 AM
Azoz Azoz is offline
A Sea Turtle
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unrest
Posts: 30
Default copy/paste objects, jump to object, default properties

It's possible to copy and paste multiple objects through uibuilder. While you cannot select multiple items from the object list by any means, if you select multiple objects in the view window by using shift+click, you can copy by pressing ctrl-c. Now that the selection is in the clipboard you can paste all of those objects together with ctrl-v or edit->paste.

Also, it's not particularly hidden but I've found I like to change the default settings for new objects view->default properties then select your object and add a new property and default value for it. I find it really useful for text since it has no default font or shadow style normally.

Double click everything. Like the color selector and the truefalse toggle mentioned here, I also discovered that double clicking a dynamic data that is set to /gamedata.self.name (you must double click the text that says "dynamicdata" otherwise you will be editing the value) it will move take you to that variable, which also shows you ever other variable in the object. After you figure out what data you are after you can just hit back to go to the object you were editing.

Uh...thats all the fantastic stuff I've discovered about uibuilder that I can think of.
Reply With Quote
  #10  
Unread 03-08-2005, 02:29 PM
Azoz Azoz is offline
A Sea Turtle
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unrest
Posts: 30
Default One more thing...

When you select multiple objects, resizing one of them resizes all to match.
Reply With Quote
  #11  
Unread 03-21-2005, 02:26 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

It would be nice if we could get a sticky on this, I always have trouble finding the post.

Problem: .DDS graphics show up in the UI Builder and everything thing looks beautiful, but once you go into the game, you get nothing but blanks where the images would be.


Solution: You have to use the .dds file extention on the file address line. If you just put /images/widgets01 it will work in UI Builder and look fine, but will not work in the game.

/images/widgets01.dds works in both the UI Builder and the game.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #12  
Unread 03-29-2005, 07:58 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default Everything you wanted to know about distribution

Kosmos asked me to link this diatribe on the alignment buttons for inclusion in the FAQ.
Reply With Quote
  #13  
Unread 03-29-2005, 08:33 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default Some more tips

Multi-edit: Select multiple objects, edit ANY property and hit ENTER to set the same value for all selected objects. Note: even objects that don't normally use the edited property will recieve it.

Simply clicking out of the property edit area only changes the last selected object.

Multi-Select/Deselect: Multiple objects can be selected from both the object tree and the preview window by holding down shift. The last object selected displays its properties in the properties window. Selection order does mater for some operations like Distribute. Select order can be changed by reselecting already selected objects.

Objects in a multi-select can be deselected by holding down the contrl key. Deselecting can be a bit tricky. An object that has focus (it's properties are displayed in the properties window) can't be deselected. You must first give focus to another object by clicking it. Once that's done, Ctrl+Click will deselect it.

Double-click: Its not just for boleans any more! Double-click often cycles through avalable choices like align left,center,right.

Namespaces: Although UIBuilder doesn't provide an "Insert Namespace" command, you can copy/paste names spaces, empty the copy and rename it.

Styles: Renaming any style in UIBuilder updates all reference to that style. Styles that reference objects outside their namespace, copy/pasted to another area, preserve their references. Styles that reference objects within their namespace, copy/pasted to another area will look for objects in the new location.

Fonts: Fonts that contain FontCharacters often become corupted if edited in UIBuilder.
Reply With Quote
  #14  
Unread 03-29-2005, 08:52 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Quote:
Originally Posted by Zonx
Styles: Renaming any style in UIBuilder updates all reference to that style. Styles that reference objects outside their namespace, copy/pasted to another area, preserve their references. Styles that reference objects within their namespace, copy/pasted to another area will look for objects in the new location.
Amazingly, if you rename a style to match the name of another style, then rename the other same-named style, the elements linked to either style stay linked to the correct styles.

Why would you do that you might ask? You suddenly realize you've placed 16 elements using 16 different styles (HO Wheel anyone?) in the reverse order and it's easier to just rename the elements & styles than it is to reposition all of them. Starting at the end of the list and renaming (so that for a few minutes you have two style0s, two styles 1s, etc.) won't mess up the elements associated with the styles in the long run.
__________________
Reply With Quote
  #15  
Unread 03-29-2005, 09:48 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Thanks for taking to time to make that post Zonx!
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #16  
Unread 03-31-2005, 02:51 PM
Goldi Goldi is offline
A Berserk Golem
Interface Author - Click to view interfaces
 
Join Date: Feb 2005
Server: Antonia Bayle
Posts: 58
Default

thank you! thank you!

This thread rocks, i was wondering about these things for a long time!
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:07 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI