Custom window (Slash Command)

From Homecoming Wiki
Jump to navigation Jump to search

/custom_window "Title" can be used to create one of the macro-holding windows from this post; note there's no command to destroy one of these yet, so you still need to text-edit the file to get rid of it, for now.

Before using the command, create a text file named custom.window

Inside the text file type:


Window MyWindow 0 0 200 100

Open 1

End


Save the text file in the following folder in all lowercase letters:

COH folder/data/customwindows/

Create the folders if they don't exist.

Now go into the game, and in the chat box type /custom_window MyWindow

A small box will appear in the upper left corner of the screen. Click on it and the custom window will open.

Drag and drop any macro from your power trays into the custom window and a button will be created with the macro's commands.

Drag the custom window to any location on your screen. Grab the edges of the custom window to resize it.

Note: You can change "MyWindow" into any name you want.

Additional custom windows can be created using the custom_window slash command. Simply use a different name for the new custom window.

TIP: The custom.window text file requires some very specific formatting to work. It's best to use the custom_window command in game, which in turn will reset the text file you created into the correct format. Then you can use a text editor and just copy/past the formatting within the corrected file.


This process was first detailed by @Leandro here https://www.cohtitan.com/forum/index.php?topic=11080.msg186612#msg186612