Tutorial for creating your own interface. Let the game’s menu make you feel like home
요구사항
If you bought 지구 2150 – Digital Deluxe Content, you obtained necessary tools for creating your own custom interface. In the game directory you should find a folder Digital Deluxe Content ~와 함께 MyInterface pack inside. It contains all the tools and template interfaces you can edit.
- 도구 – folder with essential tool executables
- AddFileInfo.exe
- InterfaceMap.exe
- MyInterface.exe – an app for people curious about element names, may help with changing font colors
- Pic2Tex.exe – needed for converting graphic files into game-understable format
- WDCreator.exe – packing tool for creating one file containing final interface
- MyInterface – folder with interface templates
- InterfaceED
- InterfaceEDsolid
- InterfaceLC
- InterfaceLCsolid
- InterfaceUCS
- InterfaceUCSsolid
As a first step I suggest copying selected template 그리고 도구 catalogue to another location so you will not overwrite anything by mistake. All the graphic files (.bmp or .tga) you can edit with GIMP free software. BMP files can be edited though you should leave in peace files that have @ symbol in their names. TGA files contain elements that use transparency like cursor or compass.
Modifying files
Change the colors of elements as you wish. Just before saving a modified file proceed like described below.
- 회전하다 Indexed mode with setting to convert everything into optimal 256 color pallet
- 세트 8-조금 fixed point precision
- while exporting check compatibility option of not saving information about color space
- turn off the RLE encoding (compression) while exporting edited file
- leave origin set as default – 왼쪽 하단
Exported in that way files should work in game after compilation.
Changing lights and highlighting
You may want to change lights on buildings and units (researches) visible in every animated menu. For that you have to find the right values in Dialogs.txt 파일. You can find any colour definition by searching for 0xFF string. Corresponding item on the list was Item:20 Animated button.
You must know that Earth have one strange thing with hex color codes, namely it has changed order of RGB values (same as for EarthNet chat color codes). If your desired color have for example – #0000ff (very blue), you would write something like that 0xFF<your color code>:
0xFF0000FF
But in Earth codes are more like BGR than RGB, 그래서.. in order to achieve color blue you have to write:
0xFFFF0000
Compiling interface
After you are done with changings all you need to do is launching the Make_interface.bat file inside your template directory.
In case your directory tree differs the script may not find the tools for compiling the interface so you better ensure it’s correct or simply edit .bat file and paste the right path to your 도구 접는 사람. Of course beside that you can change the name of the interface which will be displayed in-game in options’ combobox.
If something goes wrong with a script better check if all your files are exported correctly and if every needed tool resides inside 도구 접는 사람.
완료
Copy and paste resulted .wd file to a WDFiles catalog located inside game directory. During the game (skirmish, campaign or whatever) you should be able to select it from 인터페이스 tab in the 옵션 메뉴
I hope you will manage to do all this yourself. Feel free to share your original ideas for custom interfaces. I made the LC interface with the main color matching its underground tunnels…
이것이 오늘 우리가 공유하는 모든 것입니다. 지구 2150: The Moon Project 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. koniecpolski. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.