Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Default Window Configuration"

From Paragon Wiki Archive
Jump to: navigation, search
m (Improved definition of x and y position)
m (Added note about window dimensions)
Line 1: Line 1:
{{Issue12}}
 
 
The following is a list of the default window configuration in City of Heroes.
 
The following is a list of the default window configuration in City of Heroes.
 
<pre>
 
<pre>
Line 32: Line 31:
 
|-  
 
|-  
 
|window size x px
 
|window size x px
|Window width in pixels.
+
|Window width in pixels {{color|red|at 100% scale}}.
 
|-  
 
|-  
 
|window size y px
 
|window size y px
|Window height in pixels.
+
|Window height in pixels {{color|red|at 100% scale}}.
 
|-  
 
|-  
 
|window scale
 
|window scale
Line 54: Line 53:
  
 
&#42; conjectured
 
&#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==

Revision as of 03:42, 21 May 2008

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.

Window configuration uses the following syntax:

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 at 100% scale.
window size y px Window height in pixels 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.
You should probably not mess with this attribute.
docking status Binary readout. 0 = not docked, 1 = docked.
display status Binary readout. 2 = displayed, 4 = not displayed.

* 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

/window_name