Text is a plugin that allows you to create 'text objects' via windower console commands.
Text objects at their most basic level are some text, a font for said text, and a location onscreen to draw said text. They are used extensively by many plugins, such as TParty, Recast, Distance, and Expwatch.
You can use Text, for instance, to display a list of macros that are changed on-the-fly. One instance might be macros to choose an avatar and to choose a bloodpact on the selected avatar.
verbose <level>
Adjusts message spam.
Verbosity 0 suppresses all messages except errors
Verbosity 1 (default) only reports when a wildcard match didn't match anything
Verbosity 2 reports all actions
create <name>
Creates a text object named <name> using default settings. The textobject will be initially invisible.
delete <names> Deletes text object(s)
set <names> fg <red> <green> <blue> [<alpha>]
Sets the foreground color (red, green, blue, and optional alpha). Alpha defaults to 255 if omitted.
set <names> bg <red> <green> <blue> [<alpha>]
Sets the background color (red, green, blue, and optional alpha). Alpha defaults to 255 if omitted.
set <names> position <x> <y>
Shortcut to setting x and y at the same time.
set <names> show
Show the text object(s).
set <names> hide
Hide the text object(s).
set <names> showbg
Show the background for the text object(s).
set <names> hidebg
Hide the background for the text object(s).
set <names> text "<text>"
Sets text displayed by the text object(s). Quotes are mandatory if the text includes any space. You can display multiline text by separating multiple lines with '\n'
set <names> align {left|right}
Changes text alignment.
set <names> font <fontname> <fontsize>
Changes font and font size.
set <names> bold 0/1
Changes whether the text is bolded or not.
set <names> italic 0/1
Changes whether the text is italicized or not.
To save time, you may chain multiple 'set' commands together:
text set MyTextObject fg 255 255 255 255 bg 0 0 0 192 text "White text on a translucent black background"
To change the defaults applied to new text objects, replace 'set <names>' with 'setdefault'. e.g. to ensure all newly created text objects are in 10 point Courier New:
text setdefault font "Courier New" 10
To modify text objects not created by the Text plugin, replace set <names> with devset <name>. Note that devset is case sensitive, does not support wildcards, and is not supported. If devset breaks your plugins, well, you've been warned.
Text object names are case-insensitive (internally they are converted to lowercase). In addition, all names are modified slightly to avoid a possible conflict with textobjects created by Windower or its plugins.
Most commands can apply to multiple text objects. There is limited support for wildcards:
A name of 'Group1*' will match all names starting with 'Group1'. Note that this can only occur at the END of the name for performance reasons.
You can list multiple names, e.g. 'Group1A,Group1B,Group1C'
You can mix wildcards and lists: 'Group1*,Group2*,Group3A,Group3B'
Note that commands that take multiple objects only work on objects already created with 'text create'.