If you have LibSlash installed, settings can be set via /sqr or /squared. The syntax is as follows: /squared option value(s) - if you omit any values, the current value of the setting will be displayed instead.
So for instance, to set the border color, I'd use the following command:
- /sqr bordercolor 100 50 100
If you don't have LibSlash, you can get and set options via /script and Lua function instead:
- /script Squared.GetSetting("option")
- /script Squared.SetSetting("option", value)
To reset all settings to their default values, use the following command (capitalization counts):
- /script Squared.ResetSettings()
Help with values:
- Settings that are toggles can be set to (true, on, 1 or yes) to activate them, or (false, off, 0, or no) to deactivate them.
- Settings that are numbers can be set to any number.
- Settings that are directions typically have 4 options: (up, down, left, right)
- Settings that are colors are set as RGB (red, green, blue) triplets, which can be entered with most normal separators, spaces included.
The following default settings are available for Squared (in addition to the color customization options):
| Setting | Default | Description |
| fgcolor | 0 150 0 | The default color of the bars. |
| bgcolor | 0 0 0 | The default background of the bars. |
| bordercolor | 128 128 128 | The default border color of the bars. |
| groupbordercolor | 200 200 200 | The color of the border for people in the same group as you. |
| leaderbordercolor | 50 50 255 | The color of the border for a group leader. |
| targetbordercolor | 255 255 255 | The color of the border for a unit you're currently targeting. |
| textcolor | 255 255 255 | The default text color for the center text area. |
| textcolor-top | 255 255 255 | The default text color for the top text area. |
| textcolor-bottom | 255 255 255 | The default text color for the bottom text area. |
| boxheight | 68 | The height of each bar. |
| boxwidth | 68 | The width of each bar. |
| bordersize | 4 | The size of the border around each bar. |
| alpha | 1.0 | The tranparency value for each bar (1.0 = opaque, 0.0 = invisible). |
| namelength | 5 | The length to which names are truncated. |
| showicon | true | Whether or not to show the icons on bars (for now, just class icons). |
| showmenu | true | Whether or not to enable right-clicks showing the options menu for units in group/warband mode. |
| direction-group | down | The direction in which groups are ordered away from the anchor. |
| direction-member | right | The direction in which group members are ordered away from the first member of the group. |
| direction-column | down | The direction in which columns of groups expand. |
| spacing-group | 0 | If this value is greater than 0, it will add a gap between each group in the layout. |
| spacing-member | 0 | If this value is greater than 0, it will add a gap between the borders of each member in a group. |
| spacing-column | 0 | If this value is greater than 0, it will add a gap between each column of groups. |
| columnsize | 0 | If this value is greater than 0, it will set how many groups are added to a column before the next column is created. |
| direction-fill | up | The direction in which the health bar fills within the unit's box. |
| invert-bars | false | If set to true, bars will become more filled the less HP a unit has. The default setting of false means that bars are more filled with more HP. |
| disable | false | Whether or not to disable Squared from appearing entirely. |
| disable-default | false | Whether or not to disable the solo-player display mode. |
| disable-group | false | Whether or not to disable the group display mode. |
| disable-warband | false | Whether or not to disable the warband display mode. |
| disable-scenario | false | Whether or not to disable the scenario display mode. |
| color-classnames | false | Whether or not to color names by class type. |
| color-classbars | false | Whether or not to color bars by class type. |
| color-hpnames | false | Whether or not to color names by hp status. |
| color-hpbars | false | Whether or not to color bars by hp status. |
| color-hpborders | false | Whether or not to color borders by hp status. |
| hp-high | 80 | The percentage threshold below which a unit will be considered to have "high" hp (above this, the default color will be used). |
| hp-medium | 50 | The percentage threshold below which a unit will be considered to have "medium" hp. |
| hp-low | 25 | The percentage threshold below which a unit will be considered to have "low" hp. |
| rangefading | true | Whether or not to fade frames that are range/LOS-blacklisted. |
| rangefading-freq | 0 | How often to update range fading, in seconds. Default is 0 (every frame). |
| rangefading-min | 0.2 | A multiplier for the "alpha" value, this sets the initial (least visible) state of fading. For instance, if the regular alpha is 0.8, then having this at 0.2 would result in the frame being initially faded to overall alpha of 0.16 and then getting more visible over time. |
| rangefading-max | 0.5 | A multiplier for the "alpha" value, this sets the final (most visible) state of fading. A frame will fade up this alpha times this, then "pop" up to alpha when it is no longer doing is fading. Setting this to 1.0 means that a frame will fade smoothly all the way back to the regular alpha value, with no "pop" at the end. |
| status-size | 10 | The size of the corner status indicators. |
|
This is not currently supported and may cause indicators to not display properly. | ||
| status-buff | topleft | The location to display the indicator for non-HoT buffs on a player. Valid positions are topleft, topright, bottomleft, bottomright (any other value will hide this indicator). |
| status-debuff | topright | The location to display the indicator for debuffs on a player. Valid positions are topleft, topright, bottomleft, bottomright (any other value will hide this indicator). |
| status-hot | bottomright | The location to display the indicator for heal-over-time effects on a player. Valid positions are topleft, topright, bottomleft, bottomright (any other value will hide this indicator). |
| status-buff-selfonly | Disabled as of patch 1.0.6 | Whether or not to filter the buff indicator to only show buffs that you cast on players. Currently disabled as Mythic removed the necessary info in 1.0.6, hopefully will be possible again once 1.1 arrives. |
| status-debuff-selfonly | true | Whether or not to filter the debuff indicator to only show debuffs that your career is capable of dispelling. |
| status-hot-selfonly | Disabled as of patch 1.0.6 | Whether or not to filter the hot indicator to only show hots that you cast on players. Currently disabled as Mythic removed the necessary info in 1.0.6, hopefully will be possible again once 1.1 arrives. |
| bufftracking-freq | 0.5 | How often SquaredBuffIndicators updates its indicators. |
| text-position-name | center | Where the unit's name is displayed. Possible values are center, top, bottom, or none. |
| text-position-hp | none | Where the unit's health percentage is displayed. Possible values are center, top, bottom, or none. |
| text-position-level | none | Where the unit's career rank is displayed. Possible values are center, top, bottom, or none. |
| text-position-ap | none | Where the unit's action point percentage is displayed. Possible values are center, top, bottom, or none. |
| text-font-center | font_clear_small_bold | The font used to display the center text. (See here for options.) |
| text-font-top | font_clear_small_bold | The font used to display the top text. (See here for options.) |
| text-font-bottom | font_clear_small_bold | The font used to display the bottom text. (See here for options.) |
| text-align-center | center | The alignment of the text in the center text area. Recommended values are "center", "leftcenter", or "rightcenter". |
| text-align-top | center | The alignment of the text in the top text area. Recommended values are "center", "leftcenter", or "rightcenter". |
| text-align-bottom | center | The alignment of the text in the top text area. Recommended values are "center", "leftcenter", or "rightcenter". |
| deplete-off | false | Setting this option to true will cause the boxes to always be completely filled, if you prefer to not have the bar-like effect but instead just have them change color/text. Setting it to false will return to the standard bar-like functionality of the fill. |
| icon-position | center | Sets the anchoring of the center icon. Possible values are center (default), left, right, top, bottom, topleft, topright, bottomleft, bottomright. |
| icon-offset-x | 0 | Sets the horizontal position relative to the anchor point of the icon. Negative values are to the left, positive values to the right. |
| icon-offset-y | 0 | Sets the vertical position relative to the anchor point of the icon. Negative values are upwards, positive values are downwards. |
| icon-scale | 0 | Forces a particular scaling for the class icon. Setting this to 0 will have Squared use its own method for determining how to size the icon. Setting it to anything above 0 will use that exact scaling (if you want to change this, start at 1 and work larger/smaller from there). |
| testmode | false | Setting this to turn will turn on a test mode that displays a random set of 4 groups with 6 members each (with varying health levels and classes) to allow for visual preview of changes without joining a larger group. Set it to false again to turn it off. |
| update-freq | 0.5 | How often Squared updates its unit displays in Warband or Scenario modes - by default, this is every 0.5 seconds. |
| texture-border | tint_square | The texture used for rendering the border element of each unit. |
| texture-background | tint_square | The texture used for rendering the background element of each unit. |
| texture-foreground | tint_square | The texture used for rendering the foreground element of each unit. |
| key-assist | alt | Which modifier key will allow you to assist the clicked unit. Possibilities are alt, ctrl, or shift. |
| key-assist-final | false | If this is true, using the modifier key for assisting when clicking on a unit will not also target that unit. If it is false, then clicking with the modifier key will both assist and target the unit. |
Facts
- Date created
- 11 Dec 2008
- Last updated
- 16 Feb 2009
- #40
Aiiane Fri, 03 Oct 2008 18:13:54Lavaground, that issue should be fixed in version 1.8 or above.
- #39
Aiiane Fri, 03 Oct 2008 18:13:19Khyrsanth, go into the Layout Editor (Esc for Main Menu -> Customize Interface -> Layout Editor) and dragged the 'Squared Anchor' to where you want it.
- #38
Khyrsanth Fri, 03 Oct 2008 15:07:16Is there also a way to change the place of the squared Hitpoints on the screen? To drag and drop it somewhere else i would like it to have?
- #37
stalkenu Fri, 03 Oct 2008 13:52:52Satina,
The command to adjust the border would be /sqr bordersize 1
I set my border to 1 and it is just a hairline, i believe it is set to 4 by default. I dont know the range but it could go up or down im sure by just changing the number
- #36
totolka Fri, 03 Oct 2008 05:22:51How do you move the grid? (IE. reposition it on my screen)
EDIT - NVM - I found it in the UI Editor. Very nice job on the mod. Thank you
- #35
Lavaground Fri, 03 Oct 2008 03:11:54Hi, i tried to set namelength to 8 or higher, but it seems that the max nameleght is 6 or 7... extending width won't help
But as the others already said:
Thx for this great addon !
- #34
Satina Fri, 03 Oct 2008 01:07:07Can we get a setting to adjust the padding in between the squares?
Great addon!
- #33
Veronis Fri, 03 Oct 2008 00:25:32If you have the problem sangdrax8 described below, it's caused by Hovercast - when you hover the mouse over someone within the Squared frames it automatically selects them, creating the illusion that the frames are randomly selecting people. The only fix I've found is to uninstall hovercast.
- #32
sangdrax8 Thu, 02 Oct 2008 20:24:30I just tried a scenario with it for the first time, and perhaps I have something wrong, but if I clicked on any square, it would keep my self as the target. I could hover cast but that is it. Also if I clicked on my own icon in the top left it seemed to randomly select someone else. I do have both this and hovercast installed, they don't cause problems together do they?
I also experienced the LoS and range not updating till I clicked on it. I will try translating the ability to a number to ensure it was correctly set.
edit------
Just checked by not specifying a value, and my LoS tracking was set to the correct ability. It just doesn't check unless I click on it. The default page says 0 is every frame, if I change default will it possibly work?
- #31
Tailial Thu, 02 Oct 2008 19:35:15I may be wrong but as far as I'm aware it is not possible with the current WAR UI to automatically check range/los on targets so the mod needs you to manually select a target first and then it will tell you if you can cast on them. More importantly it will remember whether you can cast on them or not so if you regularly click the frame you can have a fairly good idea who is in your local area.
It's not ideal but its a lot easier than not having a range checker