Tutorial: Setup Guide: Hammer Last edited 17 years ago2003-07-11 04:00:00 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older tutorials are no longer useful, or they duplicate information from other tutorials and entity guides. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
So, you've fired-up WorldCraft and nothing's working? "Where do I Start?" I hear you screaming. Well, here of course.

This tutorial covers the setting-up of the original game, CS, TFC and DoD. The indented bits give you alternative instructions for setting up mods, and as you'll notice, it's all pretty similar.

Game Configurations

Game Configuration TabGame Configuration Tab
WorldCraft works with game configurations, because it was designed to be able to handle modifications of Half-Life as well as the original game.

You need to create one of these configurations before you can make maps. After your first, making configs for mods will be easy. So, to begin, go to Tools -> Options and click the Game Configurations tab.

Click the Edit button.
Click Add, then type Half-Life and click OK.
Click Close, and Half-Life should be in the Configuration box. Now you need to provide WorldCraft with the basic information that it'll need for compiling and saving your maps.

Game Data Files

Game Data Files (FGDs) store information about the entities that are available for you to use in your maps. The original game has an FGD, and every mod has its own as well. You can usually download a mod's FGD from the mod's homepage, but you should already have some in your WorldCraft folder. FGDs get updated fairly regularly, so the ones that came with your copy of WorldCraft may be out of date, but use them for now anyway. You can always update them later.

So, click Add under Game Data files and browse to your WorldCraft folder. If you have Hammer, your FGDs will be in your HammerfgdHalf-Life folder. Select the file called halflife.fgd and click Open.

Texture Format and Map Type

Ignore these two settings. They were put there so that WorldCraft could later be adapted to work with other games, but they don't do anything yet.

Default PointEntity and SolidEntity class

The entities specified here will be the ones selected by default when you go into entity creation mode. Choose info_player_start as your default point entitiy, and func_wall as your default solid entity. This saves time because the info_player_start is usually the first entity you place, and func_wall is a fairly generic and common solid entity.

Game Executable Directory

Click Browse and find your main Half-Life folder, then click OK.

Mod Directory

For the original game, select the Half-Lifevalve folder. [you can leave this blank for HL]

Game Directory

It's getting a bit silly now, isn't it? Just stick Half-Lifevalve in here. This setting and the one above are just used to find sprites (little 2D images) so that they can be displayed in the preview window. They're not vital.

RMF directory

Here you can choose the folder that you want WorldCraft to be in by default when you save your maps.

Build Programs

Build programs TabBuild programs Tab
Now we move on to the Build Programs tab, where your newly-created Half-Life configuration should already be selected.

For the Game Executable box, browse to your Half-Lifehl.exe file. CSG, BSP, VIS and RAD are the compile tools. They work together to turn your maps into .BSPs that can be played in Half-Life. WorldCraft wants to know where the tools are so that it can control them for you. If you look in your WorldCraft (or Hammertools) folder, you should find a bunch of programs that have names strangely similar to the four boxes you see in the Build Programs tab. Just match the filenames to the box labels. Later you'll want to consider getting better compile tools, but the ones that come with WorldCraft will do fine for now. Check out the Compiling tutorial for a deeper look at compiling.

Place compiled maps in this directory...

This is where compiled maps (.BSPs) go before Half-Life is launched. It should be set to Half-Lifevalvemaps, because that's where Half-Life looks when it's told to load a map.

NOTE: If you do not have this set correctly to the place where your HL maps are, then you will get an error:[font=blue] Map Change Failed. Map not found on server.[/font]


Textures TabTextures Tab
Finally, the Textures tab. Click Add WAD, browse to your Half-Lifevalve folder and select halflife.wad, decals.wad, liquids.wad and xeno.wad (you can hold down Ctrl to select them all in one go). Those are the only ones you'll need; ignore the others. Notice that there's no configuration selector on this tab. The set of WADs you choose apply to all configurations, so you'll need to keep the list up-to-date as you switch mods. All mods can use the original game's textures as well as any they have. So you don't need to remove the Half-Life textures when you switch from mod to mod, but do make sure you remove any for, say, DoD when you move over to CS. If you find that any of this information isn't right, or doesn't work for you, drop us a line on the forums.


And that's it. Click OK on the Options window, and go File -> New. Then head over to the In the Beginning tutorial and get mapping!


You must log in to post a comment. You can login or register a new account.