Pick up the crowbar of research scientist Gordon Freeman, who finds himself on an alien-infested Earth being picked to the bone, its resources depleted, its populace dwindling. Freeman is thrust into the unenviable role of rescuing the world from the wrong he unleashed back at Black Mesa. And a lot of people, people he cares about, are counting on him.

Post tutorial Report content RSS feed How to create a Source Engine mod. Properly.

Hello people! Welcome to my first tutorial! I am going to tell you how to start creating a Source Engine mod. Properly. Make sure you have a Source game first. Single player.

Posted by HLCRAZY on Apr 14th, 2012
Intermediate Starting a mod.

1. Make sure you have Steam. Install it if you don't.
2. When in Steam, go into your library, and change the menu next to search to "Tools".
3. Find Source SDK. Install it if you don't have it.
Split Point. If you have Source SDK Base 2006/7 then skip to step 6. If not, continue.
4. Install Source SDK Base 2006.
5. Install Source SDK Base 2007.
6. Make sure you have run the game you are going to mod for once.
7. Open Source SDK. If it is your first time opening it, wait for a long time while it copies files.
8. Change the box that says Source Engine 2006/7/9/MP to Source Engine 2007.
9. Click on Create a Mod.
10. Select Half-Life 2 Single Player then press ok. Name it and whatnot. Press ok again.
11. Wait. If you play Portal, make a cake, as then it isn't a lie. :D
12. When it finishes, press...ur. Finish?
13. Change the Source Engine 2007 box to Source Engine 2009.
14. Open up the Hammer Editor for whatever Source GAME you have.
15. Click on Tools>Options.
16. Under the Game Configurations tab, press edit where is says the name of the game you opened Hammer for.
17. Press add. Type in the name of the mod.
18. Press ok.
19. Now this is where it gets tricky. Select your new configuration, and where it says game data files, press Add.
19b. Go to Steam\steamapps\[your login name]\sourcesdk\bin\source2009\bin\[the name of the game that the mod is modding for].fgd
20. Before we do anything else, in your web browser, open a new tab and copy this in. Developer.valvesoftware.com
21. Now go to Steam\steamapps\sourcemods\[your mod name] and open gameinfo/GameInfo.txt.
22. Now select the number after

HLCRAZY wrote:SteamAppId

and change it to whatever the number of the game is (on the website) that you are modding for.
23. Now go back to hammer, and change the default "point entity" to an info_player_start, and change the default "solid entity" to a func_detail.
24. Change the game executable directory to

HLCRAZY wrote:$SteamUserDir\Source SDK Base 2007

and the Game Directory to

HLCRAZY wrote:$SteamDir\steamapps\sourcemods\[your mod name]

and the Hammer VMF Directory to

HLCRAZY wrote:C:\Users\[your computer user name]

That should make it so that the uncompiled levels you make go to your Personal Folder, but feel free to change that to wherever you want.
25. Now go to the "Build Programs" tab, and change the Game Executable to

HLCRAZY wrote:$SteamUserDir\Source SDK Base 2007\hl2.exe

and the VBSP directory to

HLCRAZY wrote:$SteamUserDir\sourcesdk\bin\source2009\bin\vbsp.exe

and the VVIS directory to

HLCRAZY wrote:$SteamUserDir\sourcesdk\bin\source2009\bin\vvis.exe

and the VRAD directory to

HLCRAZY wrote:$SteamUserDir\sourcesdk\bin\source2009\bin\vrad.exe

and for "Place compiled maps in this directory" do

HLCRAZY wrote:$SteamDir\steamapps\sourcemods\[your mod name]\maps.

Now in theory, that should be all you need to do!
26. Make sure everything is ok, then change the configuration back to the game you opened hammer with and close.
27. Back at the launcher, select "Edit Game Configurations" and press add.
28. Enter the name of your mod and the mod directory, press ok and when it's done, exit Source SDK and FULLY CLOSE Steam down.
29. Reopen it, and your mod should be there!

This tutorial was made by HLCRAZY. Moddb.com

Post comment Comments
deadrawkstar Apr 18 2012 says:

would you be interested in doing more tutorials?

+6 votes     reply to comment
HLCRAZY Apr 29 2012 says:

sure, I'd do tutorials anytime for anyone

+3 votes   reply to comment
gearlord707 May 5 2012 says:

thanx.....please post similar tutorial for half life1...if u have

+2 votes     reply to comment
HLCRAZY May 6 2012 says:

I'm not sure about hl1, sorry gearlord (shall i call you that?)
i take it this does work then, that's good.
sorry though, i can do goldsrc mapping, but i have no idea how to make a goldsrc mod. sorry D:
i have some video tuts up as well, but my voice is squeaky :D
Thanks for your intrest :D

+1 vote   reply to comment
Loxagos_Snake Sep 22 2012 says:

Useful tutorial, I have a question though. Are this steps for creating a Total Conversion or modding a specific game? I have a feeling that actually these two mean the same, so excuse me if it's stupid!

+1 vote     reply to comment
HLCRAZY Dec 15 2012 replied:

Hello Loxagos! (Sorry for the LATE reply -.-) Thanks for your comment, and I do believe they mean the same thing. It depends which game you are doing a 'Total Conversion' on.

+1 vote   reply to comment
HoodedHero Sep 23 2012 says:

I couldn't do it. Thank you good sir anyway, but I could not fix it or start it. Thanks though =)

+1 vote     reply to comment
RedOctober2131 Mar 30 2013 says:

Omg man i could not create the mod on source 2007 because the grid was black and now everything works thanks to your tutorial!!! your the best!!! i can make mods now for the best fps in the world!!!

+2 votes     reply to comment
Smoke_N_Iron Jul 14 2013 says:

Doesn't matter anymore the thing is busted because of Valve ****ing things up again with Steampipe being 'better'. Source SDK Launcher is obsolete. Mods will no longer have a valid config, mods will launch with a white screen and crash because of a random missing texture. Thank you Valve ya **** ups!

+1 vote     reply to comment
Gkthepwner Jul 16 2013 replied:

Use Source 2013 and quit bitching, then. Besides, all you have to do is edit a few lines in gameinfo.txt and the mods works again.

0 votes     reply to comment
Smoke_N_Iron Jul 20 2013 replied:

Tell me then please if that's all that needs to be done. This way I can get my mod going and my friend Zombie_Expert cannot complete his mod Resident Evil Fall of Raccoon City because of the white screen crash, and the config issue.

+1 vote     reply to comment
Guest May 31 2014 says:

This comment is currently awaiting admin approval, join now to view.

Guest Mar 18 2015 says:

This comment is currently awaiting admin approval, join now to view.

ketro123 Aug 9 2015 says:

Can someone say me , what is number for Half Life 2 in part 21. ?

+1 vote     reply to comment
Sockman111 Aug 19 2015 says:

I need help!!! whenever I run my mod, It shows a white screen while playing the valve intro music, then crashes if I try to skip or if I sit through the intro.

+1 vote     reply to comment
Post a comment

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Half-Life 2
Windows, X360, XBOX, PS3
Developer & Publisher
Send Message
Release date
Released 2004
Game watch
Start tracking
Related Games
Half-Life 2
Half-Life 2 First Person Shooter
Half-Life 2: Episode One
Half-Life 2: Episode One First Person Shooter
Half-Life 2: Episode Two
Half-Life 2: Episode Two First Person Shooter
Related Engines
Source Commercial Released 2004
Related Groups
Valve Developer & Publisher with 6 members