Setting up Hammer

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Fearlezz points.
  • Post: Give Fearlezz your thoughts on this Tutorial.
  • Vote: Help Fearlezz win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Setting up Hammer

Start mapping for L4D today!

This tutorial will guide you how to set up hammer for Left 4 Dead so you can create your own awesome l4d maps >:D.

Written by Fearlezz

Step 1.0 Creating a new mod
1.1

Open up Source SDK. Choose The Orange Box as the engine, and press Create a Mod.
1.2

Choose Half-Life 2 Multiplayer. However, if you can not choose this option, choose anything esle, it does not matter.Now fill in the directory. Doesn't matter where you install it. I choose to install it C:\Program\Left4Fake\. Name; Left4Fake. The name is totally random and you can put in whatever you want. However, I recomend that you do not put Left 4 Dead, or Left4dead. Since it might screw up your SDK when the official SDK is released for L4D
1.3

When its done copying the new files, click continue and then next. Now close down Source SDK and follow the step below.
Written by Occlusion

Step 2.0 Extracting Materials and Models
2.1

2.2

Okay, now you need to add the materials and models from l4d to your new mod. Download the VPK extractor and run it (Green Icon). Now press extract and find the file called "pak01_dir.vpk" which is in this directory; drive:\Program Files\Steam\SteamApps\Common\left4dead\left4dead
2.3

Then another browse box will come up. Now find the mod you just created in your SourceMods Folder (SteamApps\SourceMods\Left4Fake) and press ok. The process of extraction can take around 10 minutes, so don't worry if it takes a while. Now if you were to open your mod with hammer you would see the new textures, but no new models or entities. That's what we are going to fix now!
Written by Fearlezz

Step 3.0 Fixing the models
3.1

First off, you need to download a file that I've created. But Corion on L4Dmaps.net has written this code, I haven't. Download it here;http://www.savefile.com/files/1908708
3.2

Extract this .Bat file to your mod model folder, where you have extracted the L4D models (SteamApps\SourceMods\Left4Fake\models\). If there isn't any models folder, you've done something wrong :S.
3.3

Now Run this file, double click it and a new batch window should pop up. This process will take a while, it copies and deletes different files to make the models work for you =).
3.4

When it is done, you should now have working textures and models in hammer. Although, something is missing, doesn't it? Oh right, the entities, well, lets get started on that then :)
Written by Fearlezz with help from NovaSilisko on L4Dmaps.net

Step 4.0 Adding the Entities
4.1

The finale here is to add the entities. Lets start by downloading the left4dead.fgd Download it here; http://www.gimmik.net/terrenteller/filedump/VDC/L4Dfgd.zip UPDATED
4.2

Open up hammer, with your custom mod selected. Go to Tools>Options A new window should pop up
4.3

It should look something like this:
Now add the left4dead.fgd that you downloaded. It should look like this after;
I have my .fgd on the desktop, not in the same directory as the other .fgd's.
Written by Fearlezz

Step 5.0 Making Hammer automatically launch L4D after Compile
5.1

Welcome to the final step, to make Hammer launch Left 4 Dead after you have compiled your map, this will also save your maps in the maps folder. Open up the options menu again.
5.2

The other options should be following;
$SteamDir\steamapps\SourceMods\Left4Fake
Game Directory:
$SteamDir\steamapps\SourceMods\Left4Fake
Hammer VMF Directory:
$SteamUserDir\sourcesdk_content\l4f
You'll need to create a new folder.
Written by Fearlezz

Step 6.0 Restart and Enjoy!
Guess what? Your done, enjoy the new hammer and dont forget to say thanks! Thanks to: Fearlezz Occlusion NovaSilisko (at l4dmaps.net) Corion (at l4dmaps.net) www.l4dmaps.net
You know how pissed I would be if they would release the official SDK tomorrow? >.>

THE END

Comments

  • Estevoo avatar
    Estevoo Offline
    Member Joined 8 years ago
    4,995 points Ranked 839th
    10 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    Report post
    7 years ago:
    Have any other place that I can download this file (. bat)?
    Walker bait
  • eon850aye avatar
    eon850aye Offline
    Member Joined 8 years ago
    Report post
    7 years ago:
    Step 2.3....0 files in package. Whats going on here, the main game plays fine, set my friend up using this tut, worked perfect. Any ideas.
    Bananite
  • Estevoo avatar
    Estevoo Offline
    Member Joined 8 years ago
    4,995 points Ranked 839th
    10 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    Report post
    7 years ago:
    This is the problem, I have no money to buy the game!
    Walker bait
  • Fearlezz avatar
    Fearlezz Offline
    Member Joined 9 years ago
    6,509 points Ranked 607th
    Report post
    7 years ago:
    Posted by estevoo Hey man, can I extract this files with gfc or whatever???
    The official SDK has been released. If you bought L4D then you should have no problems.
    Mappin' for life avatar
    Mantra
    Mappin' for life
  • Estevoo avatar
    Estevoo Offline
    Member Joined 8 years ago
    4,995 points Ranked 839th
    10 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    Report post
    7 years ago:
    Hey man, can I extract this files with gfc or whatever???
    Walker bait
  • Fearlezz avatar
    Fearlezz Offline
    Member Joined 9 years ago
    6,509 points Ranked 607th
    Report post
    7 years ago:
    Posted by reyrey723 HELP!!!!! ermmmmmmm i do the starting but the file when i making it,it will always corrupt i type C:\Program\Left4Fake on install and Left4Fake on name but always to the last part of the downloading it corrupt HELP!!!!!!
    The official SDK has been released. If you bought L4D then you should have no problems.
    Mappin' for life avatar
    Mantra
    Mappin' for life
  • reyrey723 avatar
    reyrey723 Offline
    Member Joined 7 years ago
    Report post
    7 years ago:
    HELP!!!!! ermmmmmmm i do the starting but the file when i making it,it will always corrupt i type C:\Program\Left4Fake on install and Left4Fake on name but always to the last part of the downloading it corrupt HELP!!!!!!
    Bananite
  • audiOtrash avatar
    audiOtrash avatar Offline
    Member Joined 8 years ago
    4,122 points Ranked 1002nd
    12 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Received thanks 5 times Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    Report post
    7 years ago:
    Posted by dr.Cola Why can't i download L4Dfgd.zip? All i get is a 404 error. :/
    google it :) i did it too.

    But why cant i choose Left4Fake under the orange box. i can even run my "created mod" and stuff -.-
    criminal minimal avatar
    Mantra
    criminal minimal
  • dr.Cola avatar
    dr.Cola Offline
    Member Joined 8 years ago
    1,306 points Ranked 3232nd
    8 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    Report post
    7 years ago:
    Why can't i download L4Dfgd.zip? All i get is a 404 error. :/
  • audiOtrash avatar
    audiOtrash avatar Offline
    Member Joined 8 years ago
    4,122 points Ranked 1002nd
    12 medals 0 legendary, 1 rare
    • 6 years a member Medal icon
    • Received thanks 5 times Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    Report post
    7 years ago:
    Ok i did everything it said. i have the folders and everything! models entities.

    BUT when i start sdk it wont let me select anything as "current game" :(
    criminal minimal avatar
    Mantra
    criminal minimal

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
Fearlezz
Unknown
Occlusion
Unknown
NovaSilisko
Unknown
Corion
Unknown

Submitter

Fearlezz avatar
Fearlezz Offline
Member Joined 9 years ago
6,509 points Ranked 607th

Fearlezz
Creator
Send a Private Message to the submitter

Game

Category

Details

Genre
Compiling, Mapping
Difficulty Level
Advanced

Stats

Posts
155
Views
80,931
Date Added
8 years ago
Nov 29 2008 @ 5:10pm UTC
Date Modified
5 years ago
Jul 4 2011 @ 5:08pm UTC

Rating

9.9 Expert+
Votes
19

Ratings Breakdown

CriterionAvg.VotesRange
Overall 9.9 19 9.5 to 10

WiPs by Fearlezz