[EN] Game Editor - OpenXRay/xray-16 GitHub Wiki

Currently, we are developing and expanding the Game Editor functionality. Read further and stay tuned!

How to open the editor

By default, you can open the editor by pressing F10 key.
You can change it to any other key using console command bind editor k<your key> e.g.

bind editor kF11

Tools

In the main menu bar in the upper corner select Tools menu. There you will find some handy and useful tools:

Weather editor

Figure 1. Weather editor

UI Debugger

The interface is pretty simple. Make sure to expand the window as currently it's very small at first open.

In the left area called Tree you will see the entire UI structure will all parents and children. You can select the element by a left click, use double click to see the children of the element. Left click on an element that is already selected to unselect it. You can also enable Draw rects option to see the elements borders.

Figure 2. UI Debugger initial look

When you have selected an item, you will see the properties of the element in the right area called Current element properties. Now you can play with them and adjust. Some properties cannot be changed, however, because they are technical and should be changed in the code by a developer.

Figure 3. UI Debugger with selected element and it's properties
⚠️ **GitHub.com Fallback** ⚠️