Talk:Wdw save (Slash Command)

From Unofficial Homecoming Wiki
Revision as of 03:39, 2 July 2008 by imported>Aggelakis (→‎Attributes: spacing ftw)
Jump to navigation Jump to search

Attributes

Here is an example of a window's line:

target 0 0 236 66 0.795901 a62929ff 88 0 2

What I gather is:

  • "target" is the window name.
  • "0 0" is the x,y position of the top left of the window, from the top left of the screen.
  • "236 66" is the x,y position of the bottom right of the window.
  • "0.795901" is the scale.
  • "a62929ff" is the color flag.
  • "88" is ?
  • "0" is ?
  • "2" is ?

I thought the last three numbers would be the RGB values, but this is wrong, as changing those numbers does not seem to have any affect. Does anyone have different numbers in their wdw.txt file?

It turns out that the "a62929ff" is the color tag. I don't know what kind of code it's using, because I'm used to six-digit hexadecimal. Changing or removing any of the characters in that string changes the color of the window(s).

-Aggelakis 03:34, 2 July 2008 (UTC)