Moved to HL Engine Discussion.Alright.
Here's a compiling 101:
I asume you already have put together a map for the player to move around in. To produce the final bsp product (which is the actualy level file that you put online for other people to download and play), youy map MUST have the following:
1. Geometry. Walls, floors, stuff like that.
2. A starting position for the player. For HL Singleplayer, you need 1 info_player_start entity. For HL Deathmatch, at least one or more info_player_deathmatch entities.
3. At least one light source. This could either be a single point light (lightbulb) or a texture light (a texture that emits light by itself)
4. Your map must be leak free. In other words, it should be sealed off from the void. The void is bacically, the space in which you build. Think of it like a spacecraft in space. The spacecraft is your map, the space is the void. If the spacecraft has a leak, you can pretty much say that the crewmembers will be dead very soon. Leaks are like holes. But when it comes to HL1 mapping, a map that has a leak will still compile, but you won't have any lighting, your map will appear fullbright ingame.
5. An error free map. No invalid brushes. The compiler log will notify you of any errors.
Hammer saves maps in rmf (Rich Text Format) format. But the compile tools cannot read rmf files, only .map files, so you need to convert your map to a .map file. To do this, goto the file menu in Hammer, and choose Export to .MAP. This will export your map as a .map file. Use the same filename.
Now where ready to compile. There are a couple of ways to compile your map:
1. With the build-in compile in Hammer. I would not recommend this.
2. With a front end compiler. A front end is just a Windows application to ease the compilator process. All options and switches can be accessed by simply checking a checkbox. Popular front ends are Nem's Batch Compiler, HLCC and my very own
Compilator.
Make your choice, and download it.
Next, you need the latest compilation tools. If you've chosen for the Compilator
with ZHLT 3.4, you already have the latest compile tools. If not, download them here:
http://www.themightyatom.nl/hldownloads/zhlt34x86final.zip (ZHLT = Zoners Half-Life Tools)
Download that and put it somewhere where you can find it. I suggest you use put everything in the tools directory within your Hammer installation directory. Before you extract the file, make sure you clean up the tools directory. There's a lot of old just in there that is horribly outdated.
We'll continue when you're ready.