Setting up Hammer

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

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • Estevoo avatar
    Estevoo
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    4,243 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    1 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 years ago:

    Have any other place that I can download this file (. bat)?

    Walker bait
  • eon850aye avatar
    eon850aye
    Availability
    Offline
    Account Age Level
    Veteran Age Level icon
    Veteran
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    4,243 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    1 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 years ago:

    This is the problem, I have no money to buy the game!

    Walker bait
  • Fearlezz avatar
    Fearlezz
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    6,509 points
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    User Title
    Mappin' for life
  • Estevoo avatar
    Estevoo
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    4,243 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    1 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 years ago:

    Hey man, can I extract this files with gfc or whatever???

    Walker bait
  • Fearlezz avatar
    Fearlezz
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    6,509 points
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    User Title
    Mappin' for life
  • reyrey723 avatar
    reyrey723
    Availability
    Offline
    Account Age Level
    Veteran Age Level icon
    Veteran
    5 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    3,914 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    5 EF's
    Account Age Level
    Veteran Age Level icon
    Veteran
    6 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    5 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
    User Title
    criminal minimal
  • dr.Cola avatar
    dr.Cola
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    849 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    4 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 years ago:

    Why can't i download L4Dfgd.zip? All i get is a 404 error. :/

  • audiOtrash avatar
    audiOtrash avatar
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    3,914 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    5 EF's
    Account Age Level
    Veteran Age Level icon
    Veteran
    6 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    5 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
    User Title
    criminal minimal

Credits

Key Authors
Fearlezz
Unknown
Occlusion
Unknown
NovaSilisko
Unknown
Corion
Unknown

Submitter

Fearlezz avatar
Fearlezz
Availability
Offline
Points Level
Drudge Points Level icon
Drudge
6,509 points
Account Age Level
Elder Age Level icon
Elder
7 years old
Clearance Level
Member Clearance Level icon
Member

Fearlezz
(Creator/Co-creator)

Rating

Expert+
9.9/10
Based off 19 rating(s)

Details

Genre
Compiling, Mapping
Difficulty Level
Advanced

Stats

Post Count
155
ViewCount
76,156
Date Added
6 years ago
Date Modified
3 years ago

Share

Code to use:

More embeddable images

Bookmark and Share