Report article 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!

Congratulations!
This tutorial was made by HLCRAZY. Moddb.com

Post comment Comments
deadrawkstar
deadrawkstar Apr 18 2012, 6:34pm says:

would you be interested in doing more tutorials?

+6 votes     reply to comment
HLCRAZY
HLCRAZY Apr 29 2012, 3:41am says:

sure, I'd do tutorials anytime for anyone

+3 votes     reply to comment
gearlord707
gearlord707 May 5 2012, 7:52am says:

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

+2 votes     reply to comment
HLCRAZY
HLCRAZY May 6 2012, 5:02am 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
Moddb.com
Thanks for your intrest :D

+1 vote     reply to comment
Loxagos_Snake
Loxagos_Snake Sep 22 2012, 9:22am 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
HLCRAZY Dec 15 2012, 3:38pm 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
HoodedHero Sep 23 2012, 10:01pm 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
RedOctober2131 Mar 30 2013, 4:33pm 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
Smoke_N_Iron Jul 14 2013, 7:51pm 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
Gkthepwner Jul 16 2013, 8:47pm 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
Smoke_N_Iron Jul 20 2013, 10:45pm 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
Guest May 31 2014, 10:47am says:

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

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
Half-Life 2
Half-Life 2 Single & Multiplayer First Person Shooter
Half-Life 2: Episode One
Half-Life 2: Episode One Single Player First Person Shooter
Half-Life 2: Episode Two
Half-Life 2: Episode Two Single & Multiplayer First Person Shooter
Related Engines
Source
Source Commercial Released Oct 31, 2004
Related Groups
Valve
Valve Developer & Publisher