PDA

View Full Version : Squared...


Svarten
01-08-2009, 11:08 PM
Hiya, not sure if this is the right place to start a thread with questions/suggestions, but here goes...

I'm trying to use Squared to make something not so uhm... squared. The thing is it's the only customizable WB/SC/Party frame system I found that don't split them up, and I like that. I made my frames 128px whide and 24px high, and that makes it rather odd to try and place text and such in them since the only options you have are "top","middle","bottom". Would it be at all possible to get "left", "center", "right". in there aswell.

Basically I'm trying to make something like "[Icon] Name Lvl", and the healthbar as background, I can't get the level text to be right aligned, the rest looks as I want it though.

I tried doing the same thing with HUDUF but it just wonr do as well on WB/SC/Party as Squared does, so right now I use HUDUF for "Player", "Friendly" and "Horstile" and Squared for the rest.

Aiiane
01-08-2009, 11:28 PM
Well, you can set both the 'level text' and 'name text' items to the 'middle' position, and then set the text alignment for the 'middle' field to left, if you want.

Svarten
01-09-2009, 12:02 AM
Well, you can set both the 'level text' and 'name text' items to the 'middle' position, and then set the text alignment for the 'middle' field to left, if you want.Correrct, but it doesn't look very good :) doing it that way you get something like "40 Andraax" centered in the frame, instead of the name centered and level right aligned.

Aiiane
01-09-2009, 12:05 AM
Correrct, but it doesn't look very good :) doing it that way you get something like "40 Andraax" centered in the frame, instead of the name centered and level right aligned.

Yes, due to limitations of the text system, you can't have multiple alignments on the same line right now. Sorry.

Svarten
01-09-2009, 12:07 AM
Yes, due to limitations of the text system, you can't have multiple alignments on the same line right now. Sorry.Ah, I had not looked at the code, I didn't know you concatinated the text into one string object, I thought you would have used one string object / string. That explains a lot of the strangeness I was feeling when configuring. :)

Aiiane
01-09-2009, 12:09 AM
Ah, I had not looked at the code, I didn't know you concatinated the text into one string object, I thought you would have used one string object / string. That explains a lot of the strangeness I was feeling when configuring. :)

Anchoring gets really interesting if trying to use multiple strings (not to mention performance scales down the more objects there are to worry about).

Svarten
01-09-2009, 12:23 AM
I'll be honest with you, I havn't checked up on WAR LUA yet, might do that at some point, I used to develop my own addons for WoW so shouldn't be a problem.

It sounds odd if the anchoring would be hard, in WoW LUA you can anchor any object in all 8 anvhor spots to any 8 anchor spots on any other object, isn't this the case in WAR aswell?

I doubt any machine capable of running WAR would notice any differance in performance of 1 or 10 string objects / frame. If they do there is somehting seriously wrong in the UI rendering code... :)

Anyhow, I got the answer I asked for I'll look into doing it some otherway.

Aiiane
01-09-2009, 12:34 AM
It sounds odd if the anchoring would be hard, in WoW LUA you can anchor any object in all 8 anvhor spots to any 8 anchor spots on any other object, isn't this the case in WAR aswell?

I was more referring to anchoring multiple text objects to the same spot; simply smacking them all at the same anchor point wouldn't work since they'd overlap. :)


I doubt any machine capable of running WAR would notice any differance in performance of 1 or 10 string objects / frame. If they do there is somehting seriously wrong in the UI rendering code... :)

Waste not, want not. :)

Svarten
01-09-2009, 12:58 AM
I was more referring to anchoring multiple text objects to the same spot; simply smacking them all at the same anchor point wouldn't work since they'd overlap. :)


Waste not, want not. :)It would work, just not be very practical :) However that's not really what I was after either so... Anchor name to "center", and level to "right" with healthbar as the parent was more in line with what I was thinking of :)

Aiiane
01-09-2009, 01:07 AM
Yeah, except that Squared doesn't use individual labels per data item, but rather it has the labels built into the template (making it easier to add data items, but harder to add positioning). It was a trade-off in the design phase.

Svarten
01-09-2009, 01:13 AM
Yeah, except that Squared doesn't use individual labels per data item, but rather it has the labels built into the template (making it easier to add data items, but harder to add positioning). It was a trade-off in the design phase.Would it be possible to add another label through he Squared API like a plugin that only adds the Level label on the right side nothing else?

Aiiane
01-09-2009, 01:47 AM
Plugins can create whatever windows they'd want; they'd probably piggyback on the setname handler to create/attach the label for each frame.

Poplik
01-09-2009, 08:44 AM
would it be possible so that group containing you is always on top? or at least make the groups switch order (i.e. in scenario the group 6 would be topmost)

Gjeep
01-11-2009, 05:29 AM
If my own group could be moved and sized by it self. It would be awesome.

Yaggy
01-21-2009, 08:34 PM
Since SquaredAssist is not working anymore or maintained, is there any other way to assist a player in squared? for example, In Healgrid, i could assist by Middle Mouse click.

Aiiane
01-22-2009, 02:29 AM
Since SquaredAssist is not working anymore or maintained, is there any other way to assist a player in squared? for example, In Healgrid, i could assist by Middle Mouse click.

Hmm, it's not? I may look into it then.

WarWoman
01-25-2009, 09:02 AM
First I want to say that I love this addon! Thank you for creating it. :)

I know that you had to eliminate the range scanning because of some WAR code they added. However, would it be possible to show which party/warband members are not in your zone? Nothing is more frustrating for a healer than thinking they have to rez someone only to find out they are in a scenario (another pet peeve of mine is people joining scenarios when the warband they are in is actively ORvRing... but that is another post).

It would be nice if the grid would show dead players in red and players who are in another zone in grey.

Aiiane
01-25-2009, 12:38 PM
Party members potentially, but the warband data doesn't have isInSameZone data yet.

WarWoman
01-25-2009, 12:43 PM
Party members potentially, but the warband data doesn't have isInSameZone data yet.

Thanks for the response. I figured it was due to some limitation in the game code. Maybe I will submit some feedback asking for zone data in the warband window.

Diedrich
01-28-2009, 12:24 AM
I just noticed there is alot of textures in the textures folder that's not available by default, so I thought I'd try some of em. Problem is I can't find the lua file to edit only the xml file. I'm no genius at this sort of stuff so I don't even know if I'm close to doing this right, but anyhow I'd apreciate some help on how to make the textures in the folder available in game. Thanks. :)

Aiiane
01-28-2009, 02:11 AM
I just noticed there is alot of textures in the textures folder that's not available by default, so I thought I'd try some of em. Problem is I can't find the lua file to edit only the xml file. I'm no genius at this sort of stuff so I don't even know if I'm close to doing this right, but anyhow I'd apreciate some help on how to make the textures in the folder available in game. Thanks. :)

Um, all of the textures there are available in-game. Have you tried scrolling in the dropdown? Many of them have the SM- prefix. (For instance, "Cloud.tga" is named "SM-Cloud" in the GUI.)

Diedrich
01-28-2009, 02:21 AM
Um, all of the textures there are available in-game. Have you tried scrolling in the dropdown? Many of them have the SM- prefix. (For instance, "Cloud.tga" is named "SM-Cloud" in the GUI.)

Hmm, not for me. This is how the xml. file looks like:

http://hdimage.org/images/re161nzuk5wgs7bo0xci_sqrxml.bmp

Edit: Nvm, got the newest version now. ^^

Edit2: Allthough I can see them in the texture list in-game, they don't work for some reason. The xml. file still looks the same as before (^screenshot).

Edit3: Actually, I can't change any texture now, everything is stuck on Horizontal Gradient 2. I wonder why.

Last Edit!!: Omg, i'm so stupid, but i've been up for like 30 hours, atm i'm sort of a coffee cyborg, half human and the other half coffee keeping me alive.
I was trying to change HudUF texture with Squared...

Aiiane
01-28-2009, 03:45 AM
The xml file used for Squared is no longer in the Squared\textures directory, but rather the Squared\SharedAssetsSquared\textures directory. If you still have a textures\ directory in your main Squared folder, it's because you just overwrote the directory contents of an old Squared version with a new one, which doesn't clean out files that existed in an older version but not the newer. (This is one of the reasons why I suggest to people having issues that they do a clean install - it can sometimes clean up "leftover" or moved files.)

Yakar
02-17-2009, 11:48 AM
for 2 days i sometimes don't see the members when i join a group/wb.
i'm not sure if this has to do with squared at all, just wanted to report this behavior because squared is the visual factor in it.
since this is one of those bloody non forceable issues, i'll see if i can get more info.

Hatsepsut
02-27-2009, 04:48 AM
For the last few days, my squared text has been "jumpy". The names mainly. What could be the reason for this?

computerpunk
02-27-2009, 12:56 PM
I reported this to Aiiane. She's looking into it.

Aiiane
02-28-2009, 02:27 PM
For the last few days, my squared text has been "jumpy". The names mainly. What could be the reason for this?

3.5.3 provides a workaround for the issue.

Yakar
08-19-2009, 12:06 PM
v3.8.2 build 235

i do not get any rightclick menus on group members. i disabled und reenabled the option that they'll show, but this didn't help.

Aiiane
08-19-2009, 03:57 PM
v3.8.2 build 235

i do not get any rightclick menus on group members. i disabled und reenabled the option that they'll show, but this didn't help.

Any errors in the log?

Edit: Yakar, you play on european servers, right? Don't update past 3.7.3 yet. 3.8.X is the 1.3.1-compatible versions of Squared, which will give errors if you aren't running 1.3.1 due to changes and new functions.

Yakar
08-23-2009, 07:40 PM
my bad :) it is working properly now. but there is another question: tomb of stars, a zealot can dispell this debuff from the bossmob, but i don't get the "curable debuff" displayed with squared. i'm using the english language in game and the latest squared version (it wasn't shown in older version though).

Rozbuska
11-24-2009, 02:13 AM
Screen of my moded Squared:grin:

http://img171.imageshack.us/img171/2802/rozbuska326.jpg