View Single Post
Unread 07-02-2012, 12:20 PM   #3
Cairenn
Credendo Vides
Premium Member
Secretui Admin
Join Date: Jun 2011
Posts: 66
INTRODUCTION

The original TSW Flash GUI is located inside your game client installation folder.

Typically, in Windows 7, it would be:
  • C:\Program Files (x86)\Funcom\The Secret World\Data\Gui\Default\Flash
This folder contains all the original SWF files published by Funcom.

Those files will be loaded in case no customized UI is found.

To override the original files with your own version, you will need to publish your own SWF files and place them in:
  • C:\Program Files (x86)\Funcom\The Secret World\Data\Gui\Customized\Flash
The new file needs to have the same name as the original file from Funcom.

For example, to override Crafting UI, your file should be:
  • C:\Program Files (x86)\Funcom\The Secret World\Data\Gui\Customized\Flash\Crafting.swf
You can find all the source code for the TSW Flash UI in:
  • C:\Program Files (x86)\Funcom\The Secret World\Data\Gui\Customized\Flash\Sources
Most UIs have one .fla (Flash) file and one or more .as (ActionScript) files.

Sources Folder

Inside the Sources folder you will find the following:
  • PrecompiledClasses.as and PrecompiledClasses.fla
    • These files include any class that is used by more than one UI.
  • GUI folder
    • Inside this folder you will find subfolders for all the Flash UIs in the game. Inside the subfolders will be the .fla and .as files.
  • GUIFramework folder
    • This folder contains the code for the framework developed by Funcom. It includes low level functionality, such as mouse handling and loading clips. This is the root movie clip for all our UIs.
  • Components folder
    • This folder contains the Flash files (.fla) for different basic components used in other UIs. Examples of components are buttons and dropdowns.
  • com folder
    • com\Components
      • This folder contains the ActionScript code used by the components in the folder mentioned above.
    • com\GameInterface
      • This folder contains the ActionScript code that can interface with C++ gamecode.
    • com\PatcherInterface
      • This folder contains the ActionScript code that can interface with the C++ code for the game Patcher.
    • com\Utils
      • This folder contains the ActionScript code simple classes with useful utilities.

Last edited by Cairenn : 07-02-2012 at 01:13 PM.
Cairenn is offline   Reply With Quote