WDW file structure: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>MTS
No edit summary
imported>Aggelakis
m (added Related Articles, added Gameplay category)
Line 15: Line 15:
* 0 = Detached, 1 here would be attached to its standard parent window
* 0 = Detached, 1 here would be attached to its standard parent window
* 2 = Visible, 4 here hides the window. Numbers > 4 in this field produce odd windows with no title bar that do not always function correctly.
* 2 = Visible, 4 here hides the window. Numbers > 4 in this field produce odd windows with no title bar that do not always function correctly.
==Related==
* {{slashcommand|wdw_save}} - No parameters/options. Saves window configuration to wdw.txt in the install directory.
* {{slashcommand|wdw_load}} - No parameters/options. Loads window configuration from wdw.txt in the install directory.
* {{slashcommand|wdw_save_file|path}}
* {{slashcommand|wdw_load_file|path}}
[[Category:Gameplay]]

Revision as of 21:46, 23 September 2008

Overview

Issue 12 introduced the ability to save in-game window positions. This article aims to document the format/syntax of the text files created.

Quick version

status 470 959 295 65 1.000000 7c7c7cff 4d 0 2

  • status = window name
  • 470 = X coordinate
  • 959 = Y coordinate
  • 295 = Width
  • 65 = Height
  • 1.000000 = Window scale
  • 7c7c7cff = Color in RRGGBBAA format. The alpha value is the alpha of the window border, not the window opacity.
  • 4d = Unknown internal field (do not edit)
  • 0 = Detached, 1 here would be attached to its standard parent window
  • 2 = Visible, 4 here hides the window. Numbers > 4 in this field produce odd windows with no title bar that do not always function correctly.

Related

  • /wdw_save - No parameters/options. Saves window configuration to wdw.txt in the install directory.
  • /wdw_load - No parameters/options. Loads window configuration from wdw.txt in the install directory.
  • /wdw_save_file path
  • /wdw_load_file path