Menu Background
Jump to navigation
Jump to search
![English (en) English (en)](/w/images/3/37/Flag-en.png)
Note:Since the
Half-Life 25th Aniversary Update, the engine uses the files ![File](/w/images/thumb/1/15/Icon-File-filled-cropped.png/15px-Icon-File-filled-cropped.png)
Note:This reduces the file size.
Note:liblist.gam must be set to
Example:HD_BackgroundLayout.txt
Example:BackgroundLayout.txt
XBLAH's Modding Tool - Game Menu Editor
![English (en) English (en)](/w/images/3/37/Flag-en.png)
![Translate (Translate) Translate (Translate)](/w/images/a/a8/Flag-Translate.png)
Creating a background manually
GoldSrc background images are split into TGA tiles.
Creating the tiles
The tile files are indexed by .resource/BackgroundLayout.txt
and .resource/BackgroundLoadingLayout.txt
. The files should usually have the same content, although there are some cases you could use different backgrounds. See Condition Zero Deleted Scenes for example vanilla usage.
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
![Half-Life](/w/images/thumb/a/a0/Hl_icon.png/16px-Hl_icon.png)
![File](/w/images/thumb/1/15/Icon-File-filled-cropped.png/15px-Icon-File-filled-cropped.png)
resource/HD_BackgroundLayout.txt
and ![File](/w/images/thumb/1/15/Icon-File-filled-cropped.png/15px-Icon-File-filled-cropped.png)
resource/HD_BackgroundLoadingLayout.txt
if liblist.gam has hd_background "1"
.Specifications
- Dimensions: 256x256px
- Origin: Bottom-left
- RTE Compression: Supported for 24-bit images.
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Creating the layout file
For games running on Half-Life 25th Anniversary engine/SDK
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
hd_background "1"
in order for this to work.![PlacementTip.png](/w/images/thumb/c/cc/PlacementTip.png/14px-PlacementTip.png)
For other GoldSrc games, or pre-25th anniversary engine/SDK
![PlacementTip.png](/w/images/thumb/c/cc/PlacementTip.png/14px-PlacementTip.png)
resolution 800 600 resource/background/test_1_a_loading.tga fit 0 0 resource/background/test_1_b_loading.tga fit 256 0 resource/background/test_1_c_loading.tga fit 512 0 resource/background/test_1_d_loading.tga fit 768 0 resource/background/test_2_a_loading.tga fit 0 256 resource/background/test_2_b_loading.tga fit 256 256 resource/background/test_2_c_loading.tga fit 512 256 resource/background/test_2_d_loading.tga fit 768 256 resource/background/test_3_a_loading.tga fit 0 512 resource/background/test_3_b_loading.tga fit 256 512 resource/background/test_3_c_loading.tga fit 512 512 resource/background/test_3_d_loading.tga fit 768 512
Utilities
![](/w/images/thumb/3/30/XBLAH%27s_Modding_Tool_-_Game_Menu_Editor_v2.0.2.png/392px-XBLAH%27s_Modding_Tool_-_Game_Menu_Editor_v2.0.2.png)
![XBLAH's Modding Tool](/w/images/a/a8/Xblahmt-16px.png)
XBLAH's Modding Tool
- Creating a background for a
GoldSrc mod requires spliting the image into multiple TGAs by hand and indexing them in a layout file. This process is streamlined in
XBLAH's Modding Tool using an intuitive interface, that creates all the required files based on the background image you import. The tool also allows you to merge all the tiles and export an existing background into a single image See more.