UI Editing
Version 2 (sfb, 09/23/2011 04:55 pm)
| 1 | 1 | Botanic | h1. UI Editing |
|---|---|---|---|
| 2 | 1 | Botanic | |
| 3 | 1 | Botanic | Debugging tips: |
| 4 | 1 | Botanic | |
| 5 | 1 | Botanic | compile with FINAL_VERSION unchecked you can hit Shift-F2 to find out debugging info about UI elements And other display info. |
| 6 | 1 | Botanic | |
| 7 | 1 | Botanic | You can also set Local = 1; in your client.cfg |
| 8 | 1 | Botanic | And then copy your .xml to client\user\whatever.xml |
| 9 | 1 | Botanic | And then edit it and type: /resetEditorAndReloadUI |
| 10 | 1 | Botanic | |
| 11 | 1 | Botanic | you can also use /loadui user/whatever.xml |
| 12 | 2 | sfb | |
| 13 | 2 | sfb | h2. Enable the Debug Console |
| 14 | 2 | sfb | |
| 15 | 2 | sfb | You can enable a basic development debug console enabling an additional line in the _actions.xml_. Your client should be build with FINAL_VERSION *off* in order for this to work. To determine what version your client is look in the upper right corner during loading. If you see an _FV_ then you are in FINAL_VERSIOL, otherwise you should see _DEV_ for development or debug. |
| 16 | 2 | sfb | |
| 17 | 2 | sfb | # Copy _actions.xml_ to the _user_ sub-folder of the client. |
| 18 | 2 | sfb | # Edit the _actions.xml_ and find the line that looks like this: |
| 19 | 2 | sfb | <pre><code class="xml"><value value="debug_info" hardtext="uiDebug" contexts="game"/></code></pre> |
| 20 | 2 | sfb | # Add a new line after this line: |
| 21 | 2 | sfb | <pre><code class="xml"><value value="debug_info" hardtext="uiDebug" contexts="game"/></code></pre> |