Default Window Configuration: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Rugiel (historical)
m (Added note about window dimensions)
imported>Aggelakis (historical)
m (see also)
Line 17: Line 17:


:'''Note:''' Screen position varies with screen resolution. The numbers shown are for a screen resolution of 1280 x 1024.
:'''Note:''' Screen position varies with screen resolution. The numbers shown are for a screen resolution of 1280 x 1024.
Window configuration uses the following syntax:
{| class="wikitable"
|windowname
|The window's unique name.
|-
|screen x position
|Horizontal position of upper left corner, in pixels from the upper left corner of your screen.
|-
|screen y position
|Vertical position of upper left corner, in pixels from the upper left corner of your screen.
|-
|window size x px
|Window width in pixels {{color|red|at 100% scale}}.
|-
|window size y px
|Window height in pixels {{color|red|at 100% scale}}.
|-
|window scale
|Scale in decimal form. (1.0 = 100%)
|-
|window color (plus alpha)
|Color in hex format (RRGGBBAA). RR = red, GG = green, BB = blue, AA = alpha (transparency).
|-
|screen z position*
|Layering order. Higher-numbered windows are in front of lower-numbered windows.<BR>'''<span style=color:red;>You should probably not mess with this attribute.</span>'''
|-
|docking status
|Binary readout. 0 = not docked, 1 = docked.
|-
|display status
|Binary readout. 2 = displayed, 4 = not displayed.
|}
&#42; conjectured
----
;Notes
You can edit this file manually, similar to the [[Binds]] file, but if your windows are at any scale but 100%, you must take care to manually translate window dimensions into the appropriate scales. For example:
chat 0 620 360 577 0.700000 3399ffff 63 0 2
is the main chat window at 70% scale. Its upper right corner is at screen position (0,620), but its dimensions are actually (360 x 0.7) x (577 x 0.7), or 252 x 404.


==See Also==
==See Also==
{{Slashcommand|window_name}}
* {{Slashcommand|window_name}}
* [[WDW file structure]]


[[Category:Game Client]]
[[Category:Game Client]]

Revision as of 08:47, 6 January 2009

The following is a list of the default window configuration in City of Heroes.

status 985 0 295 65 1.000000 3399ffff 88 0 2
tray 840 974 440 50 1.000000 3399ffff 88 0 2
compass 500 0 280 60 1.000000 3399ff4d 29 0 2
chat 0 824 360 200 1.000000 3399ffff 88 0 2
inspiration 1156 904 124 52 1.000000 3399ffff 88 1 2
defeat 500 462 280 100 1.000000 3399ffff 88 0 4
costume 286 374 707 276 1.000000 3399ffff 88 0 4
baseinv 420 437 150 150 1.000000 3399ffff 88 0 4
salvage 150 150 400 300 1.000000 3399ffff 88 0 4
storedsalvage 150 150 400 300 1.000000 3399ffff 88 0 4
combatnumbers 373 212 533 600 1.000000 3399ffff 88 0 4

This file is identical for City of Villains with the exception of window color (a62929ff).

Note: Screen position varies with screen resolution. The numbers shown are for a screen resolution of 1280 x 1024.

See Also