Half-Life 2: Deathmatch

Half-Life 2: Deathmatch

34 人が評価
[HL2DM] Custom Menu Background
作者: kot.aKew
Here you learn how to costumize your ingame menu background. You can choose any picture you want.

Questions?
Post in the comments.

Would be nice if you rate the guide after you're done, thanks. More guides for customizing will follow.
   
アワード
お気に入り
お気に入り
お気に入りから削除
Required Programs
Use Paint (or any other image editing software) to resize your picture.

Use VTFedit to save your picture in the right format.
Download VTFedit here[nemesis.thewavelength.net]
Step 1 - Prepare your picture
First you need to resize your picture to the right dimensions. Use paint (or any other image editing software) for this. The resolution of the picture should be the same you use ingame.

Example: My game resolution is 1680x1050, so my picture should also have those dimensions.

Save it.
Step 2 - Edit and save it with VTFedit
Open VTFedit. Click File --> Import, choose your picture and click OK. Leave the presets as they are and click OK. (Sometimes it loads a while, just be patient)

Now you only need to save the picture. Click File --> Save as....
Choose following path (if some folders don't exist yet, create them):
Steam\SteamApps\common\Half-Life 2 Deathmatch\hl2mp\custom\my_custom_stuff\materials\console
File name for 4:3 resolutions:
background01.vtf
File name for 16:9 and 16:10 resolutions:
background01_widescreen.vtf

Thats it. Launch the game and be happy with your new custom background.
Final Look
Your game menu background could look like this.

The image quality seems to be bad - how to fix?
If you set your texture quality ingame to "low" the background image will look bad. You can fix this by checking the [x] No Level Of Detail option in VTFedit.

Background turning black when the menu loads?
Thanks Scratch 'n Sniff for this fix.

Scratch 'n Sniff の投稿を引用:
Good Tutorial. It's been a long time since I was able to see my custom background.

However, you forgot to include how to make a custom background01.vmt. I needed to make one because my custom background would show only for a second before the menu appeared, then it turned black. The game created a generic background01.vmt which didn't work.

Here's how to make one:
Open a text editor and copy this bit of code:

"UnlitGeneric"
{
"$basetexture" "console/background01"
"$vertexcolor" 1
"$vertexalpha" 1
"$ignorez" 1
"$no_fullbright" "1"
"$nolod" "1"
}

then save it as background01.vmt in the same location as your background01.vtf.

OR

If you use a widescreen:

"UnlitGeneric"
{
"$basetexture" "console/background01_widescreen"
"$vertexcolor" 1
"$vertexalpha" 1
"$ignorez" 1
"$no_fullbright" "1"
"$nolod" "1"
}

then save it as background01_widescreen.vmt in the same location as your background01_widescreen.vtf.
11 件のコメント
Combiner 1P 2024年8月24日 1時23分 
The guide works, everything is said without fluff, the author is great.
revenge 2023年6月19日 5時56分 
how to do animated wallpaper?
The Slayer 2016年2月24日 0時23分 
Thank's!
kot.aKew  [作成者] 2013年7月10日 19時41分 
Added it to the guide, thanks.
LepeR 2013年7月10日 16時38分 
Good Tutorial. It's been a long time since I was able to see my custom background.

However, you forgot to include how to make a custom background01.vmt. I needed to make one because my custom background would show only for a second before the menu appeared, then it turned black. The game created a generic background01.vmt which didn't work.

Here's how to make one:
Open a text editor and copy this bit of code:

"UnlitGeneric"
{
"$basetexture" "console/background01"
"$vertexcolor" 1
"$vertexalpha" 1
"$ignorez" 1
"$no_fullbright" "1"
"$nolod" "1"
}

then save it as background01.vmt in the same location as your background01.vtf.

OR

If you use a widescreen:

"UnlitGeneric"
{
"$basetexture" "console/background01_widescreen"
"$vertexcolor" 1
"$vertexalpha" 1
"$ignorez" 1
"$no_fullbright" "1"
"$nolod" "1"
}

then save it as background01_widescreen.vmt in the same location as your background01_widescreen.vtf.
kot.aKew  [作成者] 2013年4月28日 10時22分 
:D
On Welfare check 2013年4月28日 10時02分 
ahhaha my picture :P
Clayton 2013年4月28日 7時31分 
Thanks for the tip about checking "No Level Of Detail", I was looking for something like that.
hann 2013年4月24日 15時31分 
thanks the tutorial helped a lot
kot.aKew  [作成者] 2013年4月24日 8時18分 
Thanks to '[MPT] TEK dos filmes' for pointing out the low texture quality issue. I added it to the guide.