This tutorial is originally written for the WON version of Half-Life.
Alternatives for the Steam version will either be:
- Presented in a two-column table in the same page, or
- Linked to a separate page in the navigation panel above
Download attachment
Putting a Splash Screen in your Mod
This tutorial follows up where
part 1 ended. You've done all there is to do in said part and now it comes to the splash screen. It's simple once you understand it.
First of all, go to your new Mod directory and create a folder named
gfx
. Go into the new
gfx
folder and create another folder called
shell
. if you are unsure of the directory structure, then look at an existing mod like DMC, TFC or Ricochet.
Now find a picture you want to use and make sure it follows the criteria:
- The picture MUST be 640 x 480 resolution.
- Color depth may be anything. It depends of your video-card's capabilities.
- The picture MUST be a Bitmap picture "bmp"
If your picture fits the description above, place it in the newly created
shell
folder.
Now start your Mod and notice the background picture. BUT SOMETHING'S WRONG!
Why is the HL logo being displayed?
For some reason, there has to be a logo in the Mod. And since you don't have one, the game will use the original HL logo. So quit and go to your Mod directory. Create a new folder named
media
. Take an empty video clip from another Mod or use the one included in the download zip, and put it into your new media folder. If you want, you can modify the animation logo and add your own.
Start up your Mod again and notice the difference. It's just the picture that will be displayed.
This is the same way you change all the buttons in the HL menu too. New Game, Load Game Configuration etc. Look at some Mods how they've done it. It all comes down to format, size and name.
Copy the
.bmp
files you want to modify from the
$INSTALL_DIR\valve\gfx\shell
folder into your new
shell
folder. The main list of buttons is found in the
btns_main.bmp
. You can edit this file in MSPaint or any other paint program. I don't know why they used the horizontal list format, as it isn't easy to change, but with a little bit of work you can achieve some great results.
My swanky new splash screen!